0
\$\begingroup\$

I am able to do a VCD dump of multidimensional arrays using the $dumpfile() and $dumpvars() commands in the iverilog simulator, but the same commands are not working for Verilator. Kindly do let me know if there is any way to do the dump.

\$\endgroup\$
0

1 Answer 1

0
\$\begingroup\$

Verilator has limits on the size of arrays it will dump. See these two switches:

 --trace-max-array <depth>   Maximum bit width for tracing
 --trace-max-width <width>   Maximum array depth for tracing
\$\endgroup\$
2
  • \$\begingroup\$ ..thanks a lot for the info but can you tell me where can I find these two switches or where should I insert them myself to make it take my values. \$\endgroup\$ Aug 1, 2019 at 5:27
  • \$\begingroup\$ veripool.org/projects/verilator/wiki/… \$\endgroup\$
    – dave_59
    Aug 1, 2019 at 5:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.