Question
(65 points) In this question, you are asked to design a 4-bit register with both shift and parallel load features. The inputs of the register
(65 points) In this question, you are asked to design a 4-bit register with both shift and parallel load
features. The inputs of the register include a 2-bit control code X Y
, a 4-bit input value I3 I2 I1 I0, and a
clock signal. The outputs of the register are the 4 bits Q3 Q2 Q1 Q0 corresponding to the value stored in
the register
.
The operations of the register is defined below:
X Y
Operation
0 0
Hold the current value stored (i.e., Q3 Q2 Q1 Q0 are not changed)
0 1
Shift right (i.e., new Q3=I3, new Q2=Q3, new Q1=Q2, new Q0=Q1)
1 0
Shift left (i.e., new Q3=Q2, new Q2=Q1, new Q1=Q0, new Q0=I0)
1 1
Load new date (i.e., new Q3=I3, new Q2=I2, new Q1=I1, new Q0=I0)
You are allow to use any number of D flip-flops, multiplexers of any size, decodes of any size, encoders of
any size, AND gates, OR gates and NOT gates. (Notice that you may not need to use some of the devices
listed above.) Please draw a circuit diagram to show your design. Please label your diagram clearly
.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started