Skip to main content

build_scripts

verilator_build(**kwargs)

Build and install the Verilator binary. It might not build a new Verilator binary, if one is found using find_package() cmake function.

Keyword Arguments

NameTypeDescription
VERILATOR_TAGstringVerilator tag, branch, or commit to build.
EXACT_VERSIONboolIf EXACT_VERSION is set, the Verilator given version is build if not found.
INSTALL_DIRPath to the location where the binary will be installed. The default is ${PROJECT_BINARY_DIR}/verilator/${VERILATOR_TAG} or ${FETCHCONTENT_BASE_DIR}/verilator/${VERILATOR_TAG} if FETCHCONTENT_BASE_DIR is set.