Passing arrays is only supported in SystemVerilog and V0.9 does not and never will support this. The development version does not support this as shown either, though it can use a packed array to the same effect (e.g. input [7:0][29:0] tx_data_buffer). Packed arrays are fairly new additions so they may not be 100%, but we try to fix bugs in existing functionality before we add new functionality.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are there any current plans to support arrays to modules? I'm hitting an assert in evaluate.cc (most current code). I'm working on a collection of existing code that uses arrays heavily.
There are plans to add this functionality, but it takes time and we don't always have much of that available since real work often gets in the way of us working on Icarus.
Multidimensional arrays are supported in the development branch with some limitations regarding how the bounds checking works, etc.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Passing arrays is only supported in SystemVerilog and V0.9 does not and never will support this. The development version does not support this as shown either, though it can use a packed array to the same effect (e.g. input [7:0][29:0] tx_data_buffer). Packed arrays are fairly new additions so they may not be 100%, but we try to fix bugs in existing functionality before we add new functionality.
Are there any current plans to support arrays to modules? I'm hitting an assert in evaluate.cc (most current code). I'm working on a collection of existing code that uses arrays heavily.
Mask_window.v:16: assert: elaborate.cc:6243: failed assertion netnet->pin_count()==1
Thank you very much for Icarus Verilog. Has made my life much easier!
Please add support of multidimensional arrays in iverilog.
May be via additional parameter to command line.
There are plans to add this functionality, but it takes time and we don't always have much of that available since real work often gets in the way of us working on Icarus.
Multidimensional arrays are supported in the development branch with some limitations regarding how the bounds checking works, etc.