bash-4.2$ vvp -V
Icarus Verilog runtime version 0.9.7 (v0_9_7)
It appears that when a filename is provided that is larger than 64 bytes, an unrelated error is caused.
vvp -M /home/Jamie/projects/xilinx/minsoc/trunk/bench/verilog/vpi/ -mjp-io-vpi /home/Jamie/projects/xilinx/minsoc/trunk/sim/run/minsoc_bench +file_name=/home/Jamie/projects/xilinx/minsoc/trunk/sim/run/ping-twobyte-sizefirst.hex
Causes this error:
void vvp_vector4_t::set_bit(unsigned int, vvp_bit4_t)
Assertion 'idx < size_' failed
If I simply change the file_name to be less than 64 characters, everything works. (same file, just renamed or moved so path + file name does not exceed 64 characters.)
While this is easy to fix, the error does not suggest the cause (my impression is that this error is for port size mismatches, and can be valid in other cases.)
Log in to post a comment.