Professional Documents
Culture Documents
DCO Presentation 2 PDF
DCO Presentation 2 PDF
Requirements of a computer:
Process data
Store data
Move data between the computer and the outside
world
Control the operation of the above
Features
Data and instructions (programs) are stored in
a single read-write memory
Memory contents are addressable by location,
regardless of the content itself
Sequential execution
Generation 5 (? - ?)
VLSI / ULSI
Computer communications networks
Artificial intelligence
Massively parallel machines
Supercomputers
Log of Performance
Mainframes
Minicomputers
Microprocessors
Year
1970 1975 1980 1985 1990 1995
IR
CONTROL SIGNALS
MBR
LATCH
BUS 1
BUS 3 MAR
• Control Unit
– provides control signals necessary to control the hardware of the CPU
– may be hardwired
• signals are generated by a combinational logic circuit
• faster
• less flexible
• harder to design and debug
– may be microprogrammed
• signals are stored in control memory
• slower than hardwired
• more flexible
• easier to design and debug
– Volatile
– can be organized to access a full word or even multiple words per access
2. Processor level
Architectural Features specified
Interfaces
Instruction sets
Data Representation
More detailed individual component specification
4. Gate level
Specify operations at the individual bit level
Gates are primitive elements
Very cumbersome to do manually (logic
minimization, etc.)
Bus Ready
of the devices during normal operation.
Time slice – fixed length time slice of Priority Encoder
bus time offered sequentially to each
processor in round robin fashion.
Polling – address of each device in
turn placed on polling lines. A device 2 X 4 Decoder
may activate bus busy if it is being
polled.
LRU – Least recently used.
FIFO – First in first out. Hardware for parallel arbitration
Rotating Daisy-chain – dynamic
extension of the daisy chain.
Direct Access
Shared read/write mechanism
Individual records have a unique physical address / location.
Access by direct access to general vicinity + local sequential
searching.
Example: Disk Units.
Copyright@ Amity University
Access Method
Random Access
Each addressable location in memory has a unique, physically
wired addressing mechanism.
Access time is independent of previous accesses.
Access time is constant.
Example: Main Memory + some Caches.
Associative:
Random access type of memory
Supports comparison of desired bit locations within a word for a
specified match on many words simultaneously
Word is retrieved based on a portion of its contents rather than
its address.
Constant retrieval time
Example: Many caches.
Copyright@ Amity University
Performance
Access Time (latency)
Random Access = time taken to perform a read or write.
Non-random access memory = time to position read-write mechanism
at desired location.
Memory Cycle Time
Access time + additional time required before a second access can
commence.
Affected by behavior of the system bus not the processor.
Transfer Rate
Rate at which data can be transferred into or out of a memory unit.
For random access memory = 1/(cycle time).
Non random-access memory
TN = TA + ( N / R)
TN = Average time to read or write N bits
TA = Average access time
N = Number of bits
R = Transfer rate, in bits per second (bps)
• Memory
– DRAM capacity: about 60% per year (4x every 3 years)
– Memory speed: about 10% per year
– Cost per bit: improves about 25% per year
• Disk
– capacity: about 60% per year
– Total use of data: 100% per 9 months!
• Network Bandwidth
– Bandwidth increasing more than 100% per year!
Copyright@ Amity University
Levels of Representation
High Level Language
Program
Compiler
Assembly Language
Program
Assembler
Machine Language
Program
Machine Interpretation
Control Signal
Specification
Copyright@ Amity University
Execution Cycle
Instruction Obtain instruction from program storage
Fetch
Operand
Locate and obtain operand data
Fetch
Execute
Compute result value or status
Result
Store Deposit results in storage for later use
Next
Instruction Determine successor instruction
Copyright@ Amity University
The Role of Performance
• Response Time
– Delay between start end end time of a task
• Throughput
– Numbers of tasks per given time
• New: Power/Energy
– Energy per task, power
The advantage of the memory stack is that CPU can refer it without
having to specify an address: the address in always in SP and
automatically updated during a push or pop instruction.
Although this concept may seem obscure at first, RPN has the
advantage of being extremely easy, and therefore fast, for a
computer to analyze.
Example:
2. Arithmetic Micro-operation
3. Logical Micro-operation
4. Shift Micro-operation
In this case the contents of register R2 are copied (loaded) into register
R1
A simultaneous transfer of all bits from the source R1 to the
destination register R2, during one clock pulse
Note that this is a non-destructive; i.e. the contents of R1 are not altered
by copying (loading) them to R2
A register transfer such as
R3 R5
Implies that the digital system has
the data lines from the source register (R5) to the destination register (R3)
Parallel load in the destination register (R3)
Control lines to perform the action
Copyright@ Amity University
BASIC SYMBOLS FOR REGISTER TRANSFERS
Bus lines
B1 C1 D 1 B2 C2 D 2 B3 C3 D 3 B4 C4 D 4
0 0 0 0
4 x1 4 x1 4 x1 4 x1
MUX MUX MUX MUX
x
select
y
4-line bus
Copyright@ Amity University
BUS TRANSFER IN RTL
Depending on whether the bus is to be
mentioned explicitly or not, register transfer
can be indicated as either
R2 R1
or
BUS R1, R2 BUS
Memory Read
AR
unit Write
Serial
input
Arithmetic
Circuit
Select
0 4x1
Ci+1 1 F
2
MUX
i
3
E
i
Logic
Bi Circuit
Ai
Ai-1 shr
Ai+1 shl