Shift registers (SISO, SIPO, ring and Johnson counters)
To verify serial-in parallel-out operation of a shift register and build ring and Johnson counters from it.
Theory
A shift register is a chain of D flip-flops: on each clock edge every bit moves one place. Serial-in parallel-out turns a serial stream into parallel bits. Feeding the last output back to the input makes a ring counter (N states for N flip-flops). Feeding back the complement makes a Johnson (twisted-ring) counter with 2N states.
Apparatus
- IC 7495 or 74164 (or 74HC595 with an Arduino)
- Digital trainer kit
- LEDs
Circuit connections
- Serial input from a switch, clock from the pulser, parallel outputs to LEDs; feedback from the last Q (or Q′) to the serial input for the counters
Procedure
Pre-lab check
4 questions · 75% to be readyTry the readings before the lab
| Clock | Q0 | Q1 | Q2 | Q3 |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 1 | 1 | 0 | 0 | 0 |
| 2 | 0 | 1 | 0 | 0 |
| 3 | 1 | 0 | 1 | 0 |
| 4 | 1 | 1 | 0 | 1 |
Precautions
- Clear the register before each run.
- Use a debounced clock.
My readings
Type what you measured. It goes into your record book, and to My Garage when you are signed in.
| S. No. | Clock | Q0 | Q1 | Q2 | Q3 |
|---|---|---|---|---|---|
| 1 | |||||
| 2 | |||||
| 3 | |||||
| 4 | |||||
| 5 | |||||
| 6 |
Check my readings
Put the value you set in the first column, then compare. Real parts have tolerance.
Your lab record
Everything above is free. The print-ready write-up comes with Maker.
Printed pages leave the observation table empty for your own readings.
Viva practice
Say your answer out loud first, then check. The first 2 answers are free; Maker opens all 4.
Quick answers for your record and viva
What is the aim of the shift registers (siso, sipo, ring and johnson counters) experiment?
To verify serial-in parallel-out operation of a shift register and build ring and Johnson counters from it.
What apparatus is needed for shift registers (siso, sipo, ring and johnson counters)?
IC 7495 or 74164 (or 74HC595 with an Arduino), Digital trainer kit, LEDs.
What is the theory behind shift registers (siso, sipo, ring and johnson counters)?
A shift register is a chain of D flip-flops: on each clock edge every bit moves one place. Serial-in parallel-out turns a serial stream into parallel bits. Feeding the last output back to the input makes a ring counter (N states for N flip-flops). Feeding back the complement makes a Johnson (twisted-ring) counter with 2N states.
What result should I get in shift registers (siso, sipo, ring and johnson counters)?
Data shifts one place per clock. The ring counter has 4 states and the Johnson counter 8.
What precautions should I take in shift registers (siso, sipo, ring and johnson counters)?
Clear the register before each run. Use a debounced clock.
