- Asked 2/22
- 2078 Bhadra · 6 marks
- 2075 Chaitra · 6 marks
PISO register with 1101 data
Short answer
A 4-bit PISO register loads four bits in parallel when SH/LD' is low, then shifts them out serially LSB first when SH/LD' is high. For data 1101 loaded on clock 1, serial output on clocks 1–4 is 1,0,1,1. The timing diagram illustrates the load and shift waveforms.
Draw a 4 bit PISO shift register and explain its operation along with timing waveform with 1101 data load in input.
A PISO (parallel-in serial-out) shift register accepts all bits of a word at once and shifts them out one bit per clock. It is built from four D flip-flops; a control line SHIFT/LOAD' selects, through AND-OR gates, whether each flip-flop takes its parallel input bit (load) or the output of the flip-flop on its left (shift).
Circuit
PA PB PC PD
| | | |
+-----+ +-----+ +-----+ +-----+
0->| MUX | +-->| MUX | +-->| MUX | +-->| MUX |
+-----+ | +-----+ | +-----+ | +-----+
| | | | | | |
+-----+ | +-----+ | +-----+ | +-----+
|D QA|-+ |D QB|-+ |D QC|-+ |D QD|-->
|> | |> | |> | |> | Serial
+-----+ +-----+ +-----+ +-----+ out
MUX = 2 AND + 1 OR: D = SH.(Q of left FF) + SH'.P
SH/LD' and CLK are common to all stages.
One stage (e.g. stage B):
QA ---------->+-----+
SH/LD' --+--->| AND |--+
| +-----+ | +----+
| +->| OR |--> DB
| +-----+ +->| |
+NOT>| AND |--+ +----+
PB ---------->+-----+
DB = SH.QA + SH'.PB
- SH/LD' = 0 (load): the lower AND gates are enabled, so . At one clock edge all four bits are stored at the same time.
- SH/LD' = 1 (shift): the upper AND gates are enabled, so (and ). Each clock moves the data one place right and the next bit appears at the serial output QD.
Storing and retrieving 1101
Parallel inputs: PA PB PC PD = 1 1 0 1 (PA = MSB, PD = LSB).
- Store (clock 1, SH/LD' = 0): all bits load together: QA QB QC QD = 1101. The LSB (1) is already at the output QD.
- Retrieve (clocks 2, 3, 4, SH/LD' = 1): each clock shifts right and a 0 enters QA. QD shows 0, 1, 1 in turn.
- Serial output after clocks 1 to 4: 1, 0, 1, 1, i.e. 1101 read LSB first. One clock loads, and n - 1 = 3 more clocks deliver the remaining bits.
| CLK | SH/LD' | QA | QB | QC | QD | Serial out |
|---|---|---|---|---|---|---|
| 0 (initial) | - | 0 | 0 | 0 | 0 | - |
| 1 | Load | 1 | 1 | 0 | 1 | 1 |
| 2 | Shift | 0 | 1 | 1 | 0 | 0 |
| 3 | Shift | 0 | 0 | 1 | 1 | 1 |
| 4 | Shift | 0 | 0 | 0 | 1 | 1 |
| 5 | Shift | 0 | 0 | 0 | 0 | 0 |
Timing diagram
1 2 3 4 5
CLK _|‾|_|‾|_|‾|_|‾|_|‾|
SH/LD' ___|‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾|
QA _|‾‾‾|______________
QB _|‾‾‾‾‾‾‾|__________
QC _____|‾‾‾‾‾‾‾|______
QD _|‾‾‾|___|‾‾‾‾‾‾‾|__
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Shift register and 4-bit PISO operation · Digital Logic, chapter 7
- PISO shift register with 1011 data · Digital Logic, chapter 7 · asked 4×
- 4-bit PISO shift register working · Digital Logic, chapter 7 · asked 2×
- SIPO register with 1101 data · Digital Logic, chapter 7 · asked 2×
- SISO register with 1101 data · Digital Logic, chapter 7 · asked 10×
- PISO register with 1010 data · Digital Logic, chapter 7