Skip to content

Verilator

Nic30 edited this page Dec 4, 2018 · 1 revision

Verilator

Verilator is Verilog -> C++ compiler. It is form of simulator. Verilator is focused mainly on performance, it also supports multiprocessing.

Verilator internal representation

All Verilator source files are stored in single directory $(GIT)/src/. In the beginning of each C++ there is a description what module does.

  • V3Ast* files contains of Verilator internal representation. It is Verilog like AST with an extra optimization flags.
  • V3Emit* files contains to conversions to different target languages like Verilog or C++
  • V3Prep* files contains Verilog pre-processor (lex/yacc grammar included)
  • V3Parse* files contains verilog parser (lex/yacc grammar included)
Clone this wiki locally