Q1) [50 points] Design a 4-bit shift register using D- Flip Flops with the following functions depending on the control
Posted: Sat Feb 19, 2022 3:26 pm
Q1) [50 points] Design a 4-bit shift register using D- Flip Flops with the following functions depending on the control signal S, SO: -Load (S, So=00) - Shift Right (S, S.-01) - Shit Left (S.S. -10) - Reset (S, So = 11) Note: your drawing and wires must be clear. You can also use wire names instead of drawing the actual wire, example below: A Q2) [50 points] Using two 4-bit registers RI and R2, and any logic gates or components (Mux, Decoder, Encoder, Adders, ... etc), design a logic circuit that implements all of the following statements: Co: R2 B 0 (Clear R2 synchronously with the clock) G: R2B R1 R2 (Content of Ri XoRed with the content or R2) C: R2B R1 (Transfer R1 to R2) Cz: R2 B-R1 (2's complement of R1) The control variables are mutually exclusive (i.e., only one control variable can be equal to 1 at any time while the other three are equal to 0). Note: use I-block for each 4-bit register (no need to make 4-Flip Flops and show the internal connections of the register. Example below: A 4-bit Register Block