Digital Logic Design: Storage Components
Digital Logic Design: Storage Components
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 register files
o queues
o stacks
Combinatorial and storage components are used for
construction of:
o datapaths
o controllers
Main subsystems of modern processors and other
microchips.
3
Registers
Registers are bit wise extensions of flip-flops.
Registers store one data word.
Graphic symbol
Register schematic
4
Graphic symbol
Register schematic
Operation table
5
Register
schematic
6
Register
schematic
7
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
8
Up- or
Down-counter???
Di = Qi⊕Ci
Ci+1 = QiCi
counter schematic
9
Logic schematic
10
Graphic symbol
Operation table
Logic schematic
11
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
Asynchronous counters
Each FF in synchronous counters changes its output at
the same time.
Graphic symbol
Logic schematic
14
Timing diagram
15
Register-file
Register-file is used as fast temporary storage
Graphic symbol
Register-file cell
Logic schematic
20
Graphic symbol
Register-file cell
Logic schematic
21
Memory address
and content
RAM organization
Ram memory cells can be static or dynamic.
Static RAM’s do not lose data with time.
Dynamic RAM’s must be refreshed.
Memory cell
Memory schematic
23
RAM timing
Read-cycle timing
Write-cycle timing
24
Operation table
Control table Output table
Push=Shift right
Pop=Shift left
Symbolic design
Operation table
Queue schematic
31
Control table
Symbolic design
Operation table
Schematic
32