Skip to main content
Glama

verilator_compile

Compile Verilog/SystemVerilog design files to C++ for hardware verification and simulation using Verilator.

Instructions

Compile Verilog/SystemVerilog design files to C++ using Verilator

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYesVerilog/SystemVerilog files to compile
topModuleNoTop module name
outputDirNoOutput directory for compiled filesobj_dir
languageNoHDL language standardsystemverilog
optimizationNoOptimization level
traceNoEnable waveform tracing
traceFormatNoWaveform formatvcd
coverageNoEnable coverage collection
threadsNoNumber of threads for compilation
definesNoMacro definitions
includesNoInclude directories
warningsNoWarning flags to enable
suppressWarningsNoWarning flags to suppress
makeFlagsNoAdditional make flags
verilatorFlagsNoAdditional Verilator flags

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ssql2014/verilator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server