Question: need VHDL code for this question with same entity Rotating and shifting Machine Introduction The aim of this task is to design a digital circuit

need VHDL code for this question with same entity
Rotating and shifting Machine Introduction The aim of this task is to design a digital circuit which rotates a 4-bit input vector by a varying amount. Your design must adapt to the entity declared below. The input is applied on the port Din. The number of bits to rotate by is programmed on port N. if RotateLeft is ' 1 ', the Dout should be rotated left, otherwise right. If Enable is ' 0 ', the output on Dout should be the same as the input. Please follow the table below for further information. You are required to simulate your design using testbench. The test bench has OK signal, which should remain true. Synthesize your design to make sure the circuit does not produce any latches. The design must be critically analysed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
