Академический Документы
Профессиональный Документы
Культура Документы
Chapter 18
Release 16/7/2009
Chapter Objectives
List the Computer Components
Release 16/7/2009
Recall
A flip-flop is digital circuit which is used to store a
Release 16/7/2009
Computer Components - I
A digital computer consists of three different units
I/O unit comprises of input and output unit Memory unit is used to store programs and data Processor unit comprises of two units Arithmetic Logic
Unit (ALU) and control unit. ALU executes all mathematical operations and Control units coordinate operations of all the functional units.
Release 16/7/2009 Jetking Infotrain Ltd.
Computer Components - II
Computer components follow the Von Neumann
Architecture design. This design is based on three basic concepts. They are:
Data and instructions are stored in a read-write memory The memory contents are located by the addresses without considering that which type of data is contained there Execution is done using sequential method, one instruction to the next
Jetking Infotrain Ltd.
Release 16/7/2009
Computer Function
The basic function of computer is execution of a
program
To execute a program, the processor uses two steps
namely fetch cycle and execution cycle. The basic instruction cycle is shown :
Release 16/7/2009
Question for GD
Time Limit-2mins
Release 16/7/2009
following actions
Processor-memory - This action will transfer the data from memory to processor or processor to memory. Processor-I/O - This action will transfer the data from the processor and I/O module and vice versa.
Release 16/7/2009
Data Processing - This action will perform the arithmetic and logical operations
Control - This action will alert the sequence of instructions execution to set the program counter to the next instruction that is to be fetched.
Release 16/7/2009
Question for GD
stage.
Time Limit-2mins
Release 16/7/2009
Interrupts - I
Interrupts are used for increasing the processing
efficiency
With the interrupts the processor can be busy
executing the other instructions while the input/output devices are carrying out processing
An interrupt is just a pause of the normal sequence of
program execution
Release 16/7/2009
Interrupts - II
The Instruction cycle with interrupts is shown below
Release 16/7/2009
Question for GD
What are interrupts?
Time Limit-2mins
Release 16/7/2009
I/O function
The data can be directly exchanged with the
Release 16/7/2009
BUS Structures - I
Group of lines that is used to connect all the units via
BUS Structures - II
The single bus structure is shown below
Release 16/7/2009
different functions
Separate Lines
Data Lines
Address Lines
Control Lines
Release 16/7/2009
Question for GD
What is the role of a Bus?
Time Limit-2mins
Release 16/7/2009
Address Lines:
Known as data bus Provides a path for moving data between system modules Consists of 32 to 100 data lines that can be defined as the width of the data bus
Source or destination of the data on the data bus can be designated by their address lines Used to determine the maximum possible capacity of the memory system with the width of address bus
Release 16/7/2009
Control Lines
Use and access of data and address lines are
Memory write I/O write Transfer ACK Bus request Interrupt request Reset
Release 16/7/2009
Question for GD
lines?
Time Limit-2mins
Release 16/7/2009
Multiple-Bus Hierarchies
Performance will suffers when you connect more
As more devices are attached to the bus, the bus length increases. Subsequently the propagation delay increases respectively. If the aggregate data transfer demand comes near to the capacity of the bus, it may block the bus
Release 16/7/2009
Main Memory
System Bus
Network SCSI
Modem
Serial
Expansion Bus
Release 16/7/2009
Processor
System Bus
SCSI
Firewire
Graphic
Video
LAN
FAX
Modem
Serial
Expansion Bus
Release 16/7/2009
Question for GD
high performance architecture?
Time Limit-2mins
Release 16/7/2009
Bus Standards
There are various bus standards, they are:
ISA - Industry Standards Architecture PCI - Peripheral Component Interface PCIe - Peripheral Component Interconnect Express PCIx - Peripheral Component Interconnect Extended
Release 16/7/2009
ISA slot
PC/XT bus is an eight-bit ISA that is used by Intel
provides some features like temperature monitoring and voltage reading with the help of buses as ISA services.
Release 16/7/2009 Jetking Infotrain Ltd.
Hands on
Identify ISA bus slot on motherboard
Release 16/7/2009
Release 16/7/2009
Hands on
Identify PCI bus slot on motherboard
Release 16/7/2009
PCI Features
Requires very few chips to be implemented Supports other buses attached to the PCI bus Can function with the 64-bit data bus Supports high bandwidth Supports a variety of microprocessors including both single and multiple processors Can function as a peripheral bus Uses the synchronization timing and centralized arbitration scheme Provides better system performance for the highspeed input/output devices
Release 16/7/2009
Question for GD
Time Limit-2mins
ISA bus width is of _______ bits PCI bus width is of ________ bits
Release 16/7/2009
PCIx
PCIx is a double wide version of PCI It is similar in its electrical implementation and also
Release 16/7/2009
Hands on
Identify PCIx bus slot on motherboard
Release 16/7/2009
PCIe
PCIe is a high-speed peripheral interconnect from
Release 16/7/2009
Hands on
Identify PCIe bus slot on motherboard
Release 16/7/2009
Question for GD
Time Limit-2mins
Release 16/7/2009
Working of Memory
Memory can store both program instructions and data In order to run an instruction the process control
circuits should move the word from the memory to the processor Operands and the results of the operation should also be moved between the processor and the memory In order to perform this task two basic operations are used : Load Used for moving a copy of the content from the memory to the processor Store - Move and store the information from the processor to the memory
Release 16/7/2009 Jetking Infotrain Ltd.
System Performance
Performance of a computer depends on the
system performance
Performance of the system is also affected by the
Question for GD
Time Limit-2mins
1. _________
2. _________ 3. _________
4. _________
Release 16/7/2009
Processor Clock
Clock signals defines the times instances for a digital
system When the clock signal moves from 0 to 1, it is known as rising edge If the clock signal moves from 1 to 0, it is known as falling edge Generated by a special-purpose circuit such as clock driver Clock signal controls the processor circuits Clock rate can be defined with the length of the clock cycle R = 1/P
Jetking Infotrain Ltd.
Release 16/7/2009
instructions in parallel
It is possible to start executing several instructions in
Clock Rates
Clock rates affects the performance of the system There are two possibilities to increase the clock rate:
Improve integrated circuit (IC) technology that makes logic circuits faster and reduces the time for completing a basic task Reducing amount of processing in one basic step also reduces the clock period (P)
Release 16/7/2009
Question for GD
What is a Clock Rate?
Time Limit-2mins
Release 16/7/2009
number of instructions, whereas Complex Instruction Set Computing supports relatively large number of instructions.
CISC instructions are powerful and are used for
of complex instructions.
Release 16/7/2009 Jetking Infotrain Ltd.
Performance Measurement
System Performance Evaluation Corporation (SPEC)
is an organization that selects and publishes the application programs for different application domains, with the test results for commercially available computers
SPEC rating =
Release 16/7/2009
Question for GD
Time Limit-2mins
Release 16/7/2009
dropping tremendously and the performance and capacity of these machines keep rising This process has helped in developing applications which are able to perform highly complex application at a very fast rate Examples: Image Processing Speech Recognition Video Conferencing Simulation Modeling
Release 16/7/2009 Jetking Infotrain Ltd.
Microprocessor Speed
Speed of the operation was increased by reducing
is given below
Other Techniques
Branch Prediction
Speculative Execution
Release 16/7/2009
Performance Balance
Due to imbalance in architecture the overall
performance of the system has not improved much Some of the ways in which this problem can be solved are: By using wide data paths, the number of bits fetched from the DRAM could be increased Include cache or buffering technique in the DRAM Introduce a new cache which will lie in between the processor and main memory Use higher speed bus between processor and memory
Release 16/7/2009 Jetking Infotrain Ltd.
architecture is:
Increase the speed of the processor by reducing the size of logic gates so that more number of them can be included in the chip Size of the cache which lies between the processor and the main memory should be increased Processor architecture should be modified in order to increase the speed of the instruction being executed
Release 16/7/2009
Question for GD
speed 1. _________ 2. _________ 3. _________
Time Limit-2mins
Release 16/7/2009
Summary - I
Basic computer components are CPU ,Main memory,
efficiency
Summary - II
I/O devices are used to exchange data between the
Mind Map
Draw the mind map to summarize this chapter
Release 16/7/2009