Design a 1024 bit serial-in/serial-out unidirectional shift register using a 1K × 1 bit RAM with a data input Din, data output Dout and control input READ/WRITE'. You may assume the availability of standard SSI and MSI components such as gates, registers and counters.
I know how to design shift register using flip-flops but I don't know how to do it by RAM. Please explain how to design it using RAM and if possible please provide a good reference so that I know more about it.