How to implement 4 bit right shift register using D flip flop?
Is there any way to convert universal logic gates ( or ) to DFF and then implement 4 bit right shift register?
I am attaching the shift right code which I did using or gates, can you please help me to do the 4 bit right shift register using DFF. Thank you
Basically what I need to do is the input number(4 bit) should get shifted to the right side. What I did was for 16 bit right shift using or gates. Can you please tell how to implement for 4 bit number using DFF( D flip flop).
Just keep in mind that and HDL file is nothing more than a description how how to wire something up. If you have a schematic (which you do), then just assign every wire a name (in the inputs and outputs already have names) and then use those names to connect the corresponding pins on all the charts. But you need to decide how you are going to handle the reset because the DFF you have available doesn't have a reset input. One way to do that would be to first focus on designing a part, say DFFR, that does have a reset input.