1. Write a behavioral VHDL module that implements the 8-bit shift register of Figure A
SI (Serial in)
8-Bit Serial-In, Serial-Out Shift Register
so (Serial out)
CLK
(a) Block diagram
Serial in
(Serial out)
(b) Logic diagram
Figure A.
Do not use individual flip-flops in your code. Add an active-low asynchronous reset input, ClrN. Simulate the module to obtain a timing diagram similar to Figure B. Then, write VHDL code for a 16-bit serial-in, serial-out shift register using two of these modules.
10 11 12 13 14 15 16 17
Clock Period
so
Clock Period
Figure B.