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 |
|---|---|---|
VERILATOR_TAG | string | Verilator tag, branch, or commit to build. |
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/${VERILATOR_TAG} or ${FETCHCONTENT_BASE_DIR}/verilator/${VERILATOR_TAG} if FETCHCONTENT_BASE_DIR is set. |