Make your own free website on Tripod.com

Homework Assignment 2

Design a 3 bit shift register that will perform the following operations:

Shift Arithmetic Right when the control lines are 00
Shift Circular Left when the control lines are 01
Load a number in parallel when the control lines are 10
Retain its current value when the control lines are 11

Label the 3 output lines of the flip-flops (Q2, Q1, Q0), the input lines to the flip-flops (D2, D1, D0), the control lines, and the clock.

Run the simulation in single step. and start by loading the binary number 101 into the register. Then show that the other operations are performed correctly by doing the circular shift until the register again contains 101, then showing that it retains this value when the control lines are 11, and finally performing the arithmetic shift until the number no longer changes.

 

 

 

 

Nedstat Counter ;