System Grab Bag

View all TLDR pages from common (or from all pages)

verilator

Converts Verilog and SystemVerilog hardware description language (HDL) design into a C++ or SystemC model to be executed after compiling. More information: https://veripool.org/guide/latest/.
  • Build a specific C project in the current directory:
    verilator --binary --build-jobs 0 -Wall {{path/to/source.v}}
  • Create a C++ executable in a specific folder:
    verilator --cc --exe --build --build-jobs 0 -Wall {{path/to/source.cpp}} {{path/to/output.v}}
  • Perform linting over a code in the current directory:
    verilator --lint-only -Wall
  • Create XML output about the design (files, modules, instance hierarchy, logic and data types) to feed into other tools:
    verilator --xml-output -Wall {{path/to/output.xml}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.