The serial input (SI) of a shift register is the single wire through which new bits enter, one per clock edge. It drives the D input of the first flip-flop in the chain.
- In a shift right register, SI feeds Q3.
- In a shift left register, SI feeds Q0.
- A universal shift register has two: SIR for shifting right (into Q3) and SIL for shifting left (into Q0).
What you connect to SI decides what the register does:
- external data: serial reception, as in a SIPO register,
- 0: a logical shift,
- the register's own MSB: an arithmetic shift right,
- its own serial output: a rotate, or a ring counter if it runs forever,
- the complement of its serial output: a johnson counter,
- another register's serial output: a serial transfer.
Like any synchronous input, SI only matters at the rising edge. Its value just before the edge is what enters.