Chargement…
Chargement…
8-bit register combining parallel load and left shift. Loading copies the input data into the register. When i_shift is active, the register shifts left by one bit and inserts '0' at the LSB. Output o_msb continuously reflects the current MSB, o_reg(7); it does not store the bit that was just shifted out of the register. Load has priority over shift.
Reset is asynchronous and active-high.
| Signal | Direction | Width | Description |
|---|---|---|---|
i_clk | Input | 1 bit | System clock |
i_reset | Input | 1 bit | Active-high async reset |
i_load | Input | 1 bit | Parallel load |
i_shift | Input | 1 bit | Left shift |
i_data | Input | 8 bits | Parallel data |
o_msb | Output | 1 bit | Most significant bit |
o_reg | Output | 8 bits | Register content |