Home / Learn Verilog / Pipeline Registers

Pipeline Registers

Cut long logic into stages.

Bottom lineCut long logic into stages.

Breaking it down

Pipelineinstage 1regstage 2regout
Pipeline

What it is

Registers between stages let each stage work on a different item every clock.

Why it matters

Higher clock speed at the cost of latency.

Mechanically speaking

Register stage outputs.

Shows up in

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

Try it

Two-stage pipelineVerilog: edit and run

Output appears two clocks after the input.

Check yourself

1. Pipelining raises...