21
Serial to Parallel & Parallel to
Serial Conversion
Serial to Parallel Conversion
Serial to Parallel Conversion (SIPO) is a relatively simple matter of
clocking in a single bit stream into a register and shifting each bit
in turn until the register is full. Then the parallel output can be read
directly. In this example VHDL model, the size of the register is set
by the generic (n), which in this case defaults to 8. Notice that in
this example, the reset signal (nrst) is synchronous, not asynchro-
nous as has been used before. In this case, the only signal that the
process will react to is an event on the clock (clk), and a rising_edge
event at that. When this event occurs, the reset signal is checked to
see if it is low, otherwise the register is clock ...