Home / Learn Verilog / Sequence Generator with ROM

Sequence Generator with ROM

Play a stored pattern.

The short versionPlay a stored pattern.

Theory in plain words

Pattern ROM00001100112011131111
Pattern ROM

The basic idea

A counter addresses a small table of output values.

Why this comes up

Light patterns, waveform tables.

The mechanics

case(counter) or a memory.

Where it is used

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

Try it

LED chaserVerilog: edit and run

Table lookup plus counter.

Quick check

1. Pattern generator = counter +