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
VERSIONstringVersion of the Verilator binary that need to be built.
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/v${VERSION} or ${FETCHCONTENT_BASE_DIR}/verilator/v${VERSION} if FETCHCONTENT_BASE_DIR is set.