Professional Documents
Culture Documents
Outline: - More structure, with multiple stages or cells that are identical or
close to identical circuits are considered.
- Registers are particular useful for storing information during the
processing of data.
- Counters assist us in sequencing the processing.
- Register transfer notation (microoperations)
4-Bit Register
K1 : R 2 ← R1
K 2 : R 2 ← R1, R1 ← R 2 ; Exchange
7-5) Microoperations
Microoperation is an elementary operation performed on data stored in
registers or memory.
- Transfer Microoperations
- Arithmetic Microoperations
X K1 : R1 ← R1 + R 2
XK1 : R1 ← R1 + R 2 + 1
Note: (
X K1 + XK1 = X + X K1 = K1 )
- Logic Microoperations
- The AND microoperations can be used for clearing one or more bits
in a register to 0
10101101 10101011 R1 (data)
00000000 10101011 R2 (mask)
00000000 10101011 R1 ← R1 ∧ R 2
- Shift Microoperations
K1 K 2 : R 0 ← R 2
- Shift Registers
Shift : Q ← slQ
Shift ⋅ Load : Q ← D
S1 ⋅ S 0 : Q ← slQ
S1 ⋅ S 0 : Q ← srQ
S1 ⋅ S 0 : Q ← D
- Ripple Counter
D A1 = Q1 ⊕ ((Q0 ⋅ S + Q0 ⋅ S ) ⋅ EN )
D A 2 = Q2 ⊕ ((Q0 ⋅ Q1 ⋅ S + Q0 ⋅ Q1 ⋅ S ) ⋅ EN )
D A3 = Q3 ⊕ ((Q0 ⋅ Q1 ⋅ Q2 ⋅ S + Q0 ⋅ Q1 ⋅ Q2 ⋅ S ) ⋅ EN )
- Other Counters
- BCD Counter
( )
Di = A(t + 1) = AND ⋅ Ai ⋅ Bi + EXOR ⋅ Ai Bi + Ai Bi + OR ⋅ ( Ai + Bi ) + AND ⋅ EXOR ⋅ OR ⋅ Ai
- Memory Transfer
Read: DR ← M [ AR]
Write: M [ AR] ← DR
Serial Transfer
- Serial Addition