Closed aignacio closed 2 years ago
I expect you need to make a list:
compile_args = ["-f", "verilator.flags"]
Maybe should make a change so another way would work too 🤔
It does work when adding as you suggest + abs path of the flags file. Thanks =)
verilator.flags
-Wno-UNOPTFLAT
-Wno-TIMESCALEMOD
....
/axi_dma [Full path of container image]/verilator_config.vlt
verilator_config.vlt
`verilator_config
lint_off -rule WIDTH -file "**/rggen_register_common.v"
lint_off -rule WIDTH -file "**/rggen_adapter_common.v"
lint_off -rule UNSIGNED -file "**/rggen_address_decoder.v"
lint_off -rule WIDTH -file "**/csr_dma.v"
Hi @themperek,
do you know how can I add an input configuration file for verilator? According to the verilator manual, it's possible with
-f verilator.flags
but when I add this option incompile_args
it shows the following error....For instance here there is an example of how it works while running verilator standalone.