Hades logo    Hades applet banner

TAMS / Java / Hades / applets (print version): contents | previous | next

parallel-in serial-out shift-register

parallel-in serial-out shift-register screenshot

Description

A parallel-load serial-out shift-register.

Use mouse-clicks or type the bindkeys 'c' and 'e' to control the clock and enable (load/nshift) inputs, and the bindkeys '0' .. '7' to control the data inputs.

All flipflops are connected to the same clock and reset signals. and are sensitive to the rising-edge of the clock signal. The multiplexers are controlled via the 'LOAD/nSHIFT' input. When 'LOAD/nSHIFT' is high during the rising-edge of the clock, the flipflops are loaded with the parallel input data. When 'LOAD/nSHIFT' is low during the rising-edge of the clock, the multiplexers connect subsequent stages, so that the register contents is shifted by one bit-position.

The default value on an idle RS-232 serial communication channel is high, while the start bit is low. This explains the constant input values for the first (bottom-most) flipflops. The next eight flipflops provide the actual input data, with the least-significant bit transmitted first. The next flipflops provide the optional parity bit and the required extra stop bit.

Run the applet | Run the editor (via Webstart)


Impressum | 24.11.06
http://tams.informatik.uni-hamburg.de/applets/hades/webdemos/45-misc/30-uart/shifter_print.html