Home / Learn Verilog / Naming Conventions

Naming Conventions

Say what a signal is.

The short versionSay what a signal is.

Theory in plain words

Suffixesrst_n: active-low resetdata_i / data_ocount_r / count_nextCONSTANT in caps
Suffixes

In plain terms

Suffixes: _n active low, _i/_o in/out, _r registered, _next next state, _clk clock, _rst reset.

Why we use it

Readable waveforms and reviews.

Under the hood

Pick one convention for the team.

Real-world use

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

Try it

Names tell the storyVerilog: edit and run

You can tell what each name means at a glance.

Quick quiz

1. _n suffix means...