Skip to main content

Module shift_reg

Module shift_reg 

Source
Expand description

N-bit left-shift register.

Each cycle, shifts the state left by one and feeds the input bit into bit 0. Output is the current state (pre-shift).

Functions§

shift_register_left
Construct an N-bit left-shift register. Requires N >= 2.

Type Aliases§

ShiftRegisterLeftSync
An N-bit left-shift register, N >= 2.