Home / Learn Verilog / Project File Organisation

Project File Organisation

Where files go.

In shortWhere files go.

What's actually going on

Layoutrtl/ *.v designtb/ *_tb.v testsconstraints/ pins, timingscripts/ Makefile, tcldocs/ spec, waveforms
Layout

The basic idea

Folders: rtl, tb, constraints, scripts, docs, build. One module per file, file name = module name.

Why this comes up

Teams find things and tools script builds.

The mechanics

Use a Makefile or script to build.

Where it is used

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

Try it

A Makefile ideaVerilog: edit and run

Commands you will use daily.

Quick check

1. Module file name...