• Do unpacked arrays parse in the current icarus verilog?

    From Johann Klammer@21:1/5 to All on Sat Apr 3 16:48:13 2021
    I'd like to know if it's worth updating the iverilog
    (I'd have to recompile the whole thing coz local changes),
    so I thought I'd ask here first.

    test.v:

    module hh ( input [2:0] a [0:3], output b );

    endmodule


    compile with

    iverilog -g2012 ./test.v

    I get:
    ./test.v:1: assert: elaborate.cc:6410: failed assertion netnet->pin_count()==1 sh: line 1: 25901 Done /usr/lib/ivl/ivlpp -L -F"/tmp/ivrlg2140bed4d" -f"/tmp/ivrlg140bed4d" -p"/tmp/ivrli140bed4d"
    25902 Aborted | /usr/lib/ivl/ivl -C"/tmp/ivrlh140bed4d" -C"/usr/lib/ivl/vvp.conf" -- -

    local version is:
    Icarus Verilog version 11.0 (devel) (dc189fe-dirty)

    Does this work ok on a more current version?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johann Klammer@21:1/5 to All on Sun Apr 4 09:07:42 2021
    Just did a merge & recompile...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)