Home / Learn Verilog / Shift Register: Serial In, Parallel Out

Shift Register: Serial In, Parallel Out

Collect serial bits into a word.

The short versionCollect serial bits into a word.

Theory in plain words

SIPOdinFF0FF1FF2FF3q[3:0]
SIPO

Definition

Each clock shifts the register and inserts the new bit.

Why you need this

Serial receivers (UART, SPI).

How it works

q <= {q[N-2:0], din};

Where you'll see this

  • Everyday RTL design
  • FPGA and ASIC projects
  • Testbenches and debugging

Try it

SIPOVerilog: edit and run

MSB first: 8 clocks collect one byte.

Test what you just read

1. SIPO collects...