Beruflich Dokumente
Kultur Dokumente
CHAPTER 2:
Storage Components
(part_1)
2
Storage components
Ø Storage components store data and perform some
simple operations.
Ø Storage components include:
o registers
o counters
o memories
o stacks
o queues
Ø Combinatorial and storage components are used for
construction of:
o datapaths
o controllers
Ø Main subsystems of modern processors and other
microchips.
3
Storage components
Ø Storage components store data and perform some
simple operations.
Ø Storage components include:
o registers
o counters
o memories
o stacks
o queues
Ø Combinatorial and storage components are used for
construction of:
o datapaths
o controllers
Ø Main subsystems of modern processors and other
microchips.
4
Registers
ØRegisters are bit wise extensions of flip-flops.
ØRegisters store one data word.
Graphic symbol
Register schematic
5
Graphic symbol
Register schematic
Operation table
6
Register
schematic
7
Register
schematic
8
D0=S1’S0’Q0+ S1’S0I0
+S1S0’IR +S1S0 Q1
Di=S1’S0’Qi+ S1’S0 Ii
+S1S0’Qi-1 +S1S0Qi+1
(1 <= i <= 2)
D3=S1’S0’Q3+ S1’S0I3
+S1S0’Q2 +S1S0 IL
Register schematic
9
Up-counter or
Down-counter???
Di = Qi⊕Ci
Ci+1 = QiCi
counter schematic
10
Logic schematic
11
Graphic symbol
Operation table
Logic schematic
12
BCD counters
Ø Up sequence: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, ......
Ø Down sequence: 0, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 9, ......
BCD up-counter
BCD up/down-counter
Graphic symbol
Logic schematic
15
Timing diagram
Propagation Delay in Ripple Counters
Ø Ripple counters are simple—requiring the fewest
components to produce a given operation
o Cumulative propagation delay can cause problems
at high frequencies
Register-file
ØRegister-file is used as fast temporary storage
Graphic symbol
Register-file cell
Logic schematic
21
Graphic symbol
Register-file cell
Logic schematic
22
Memory address
and content
RAM organization
ØRam memory cells can be static or dynamic.
ØStatic RAM do not lose data with time.
ØDynamic RAM must be refreshed.
Memory cell
Memory schematic
24
Operation table
Control table Output table
Push=Shift right,
count up
Pop=Shift left,
count down
Symbolic design
Operation table
Shift right
Operation table Control table
Queue schematic
31
Control table
Symbolic design
Operation table