Verilator¶
Useful Links
- Homepage: https://verilator.org/
- Documentation: https://verilator.org/guide/latest
- Current default version: v5.024
Example Build
--
Initialisation¶
To use verilator, load the kissb.verilator package in your build file:
1 |
|
Then you can init the toolchain:
1 |
|
The default runtime will be a pre-build binary downloaded to the toolchain folders.
Compilation¶
After initialisation, you can call verilator using the verilator.run command:
1 2 |
|
Running¶
To run a compiled model, you can directly execute the binary, or you can execute the binary from the docker image. The verilator.simulate method will run through the correct path.
1 2 |
|
Pre-Build Binaries¶
Version | System | URL |
---|---|---|
GIT master | linux | https://kissb.s3.de.io.cloud.ovh.net/hdl/verilator/verilator-master.zip |
GIT stable (v5.026) | linux | https://kissb.s3.de.io.cloud.ovh.net/hdl/verilator/verilator-stable.zip |
v5.024 | linux | https://kissb.s3.de.io.cloud.ovh.net/hdl/verilator/verilator-v5.024.zip |
v5.022 | linux | https://kissb.s3.de.io.cloud.ovh.net/hdl/verilator/verilator-v5.022.zip |
v5.020 | linux | https://kissb.s3.de.io.cloud.ovh.net/hdl/verilator/verilator-v5.020.zip |