Home / Learn Verilog / Replicated Hardware

Replicated Hardware

Arrays of identical units.

The short versionArrays of identical units.

Theory in plain words

Parallel PEsPE0PE1PE2PE3top
Parallel PEs

What it is

Generate replicates cells such as comparators or processing elements.

Why it matters

Parallel hardware for speed.

Mechanically speaking

Use arrays of wires indexed by the genvar.

Shows up in

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

Try it

Four comparatorsVerilog: edit and run

Comparator i looks for the value 3*i.

Check yourself

1. Replication trades...