Lab 11
Lab 11
Batch: BSEE 22
Signature: __________________________
Sequential Circuits: 4-bit Universal Shift Register with Parallel
Load and Left/Right Shift Operations
11.1. Introduction
This lab exercise aims to develop an understanding of the working of a universal shift register and its different modes of
operation. In one task, pseudo-random number sequence is generated by use of shift register and XOR gate and in another a
Johnson counter is designed and tested using a shift register.
11.2. Objectives
This lab will enable the students to achieve the following:
• Understand the shift operation and the construction and working of a shift register
• Demonstrate parallel load, shift left and shift right operations in a universal shift register
• Generate pseudo-random numbers using shift registers
• Design and test the operation of a Johnson counter using shift register
11.4.1. Register
A register is a group of flip-flops that can store binary information. One flip-flop can store one bit. An n-bit register has n
flip-flops and stores n-bits of binary information.
11.4.1.1. Shift register
In addition to flip-flops, a register also has logic gates that determine how the data in the register is to be processed. A register
with combinational logic gates that has the ability to shift its data from right to left or left to right is called a shift register.
Depending on the combinational logic circuit used in the shift register, it may have operations of parallel load, serial input,
clear, right shift and left shift etc.
Figure 11.2: Multisim circuit to test the operation of 74194 shift register
At every clock pulse, change inputs according to Table 11.1. Apply inputs in the same order as given in this table. Keep
the clock frequency very low so that you get time to observe current outputs of the register and also to change inputs in
between consecutive clock pulses. Enter your observed outputs under columns QA, QB, QC and QD. [4]
Table 11.1: Operation of shift register IC 74194
Build this circuit on breadboard using the universal shift register IC 74194 and XOR gate IC 7486. [3]
When running the circuit, initially select parallel load mode of the shift register and load 0001 in the register.
Then, select the right-shift mode of the shift register. Note down the 4-bit output after each positive edge of the clock in
Table 11.2 and show working hardware to the lab engineer to obtain credit. [4]
Table 11.2: Random numbers generated using LSFR
Clock edge O2 O1 O0
1 0 0 0
2 1 0 0
3 1 1 0
4 1 1 1
5 0 1 1
6 0 0 1
7 (Repeat) 0 0 0
Design a 4-bit Johnson counter using a shift register and additional combinational logic circuitry. Draw the logic diagram
of your design in the following box: [3]
Clock edge O3 O2 O1 O0
1 0 0 0 0
2 1 0 0 0
3 1 1 0 0
4 1 1 1 0
5 1 1 1 1
6 0 1 1 1
7 0 0 1 1
8 0 0 0 1
9 0 0 0 0
10 1 0 0 0
Give answer to question 3 of Analysis.
Looking at Table 11.3 and Table 11.4, can you suggest a formula for the number of clock cycles after which an n-bit
Johnson counter repeats itself? Please state below along with reasoning. [2]
Assessment Rubric
Method:
Lab report evaluation and instructor observation during lab sessions.
Successfully uses lab PC Requires assistance in Does not know how to use
and internet to look for looking for IC datasheets computer to look up
7. Computer
2 relevant datasheets, carry and carrying out datasheets or carry out
use
out calculations, or verify calculation and simulation calculation and simulation
results using simulation tasks tasks