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
| Name | Type | Description |
|---|---|---|
VERSION | string | Version of the Verilator binary that need to be built. |
EXACT_VERSION | bool | If EXACT_VERSION is set, the Verilator given version is build if not found. |
INSTALL_DIR | — | Path 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. |