Assertion failed: (ivl_signal_dimensions(port) == 0), function function_argument_logic, file draw_ufunc.c, line 30.
sh: line 1: 38594 Done /usr/local/Cellar/icarus-verilog/10.1.1/lib/ivl/ivlpp -v -L -F"/var/folders/4h/s3tn_h_s2ksgvx8t5lwz9wl00000gq/T//ivrlg226a91740" -f"/var/folders/4h/s3tn_h_s2ksgvx8t5lwz9wl00000gq/T//ivrlg26a91740" -p"/var/folders/4h/s3tn_h_s2ksgvx8t5lwz9wl00000gq/T//ivrli26a91740"
38595 Abort trap: 6 | /usr/local/Cellar/icarus-verilog/10.1.1/lib/ivl/ivl -v -C"/var/folders/4h/s3tn_h_s2ksgvx8t5lwz9wl00000gq/T//ivrlh26a91740" -C"/usr/local/Cellar/icarus-verilog/10.1.1/lib/ivl/vvp.conf" -- -
sorry for the trouble. I'm new to verilog.
thanks
Sarma
On Sun, Jul 2, 2017 at 12:46 PM, Martin Whitaker martinwhitaker@users.sf.net wrote:
Related
Bugs:
#1015This is happening because you have declared a function port as an array:
This is a SystemVerilog feature that is not currently supported by Icarus. Of course the compiler should output a suitable error message rather than an assertion failure. But in your case you don't need this functionality, and can fix the problem by writing:
Reassigning to devel, as that's where this will be fixed first.
Fixed in both master and v10 branches. If compiling with -g2005 or earlier, an error message will be output, otherwise a "sorry" message will be output to indicate this feature is not yet supported.