|
From: Martin W. <ic...@ma...> - 2018-10-13 21:26:28
|
Your first alternative wire [0] my_strobes[14:0]; is illegal syntax. The compiler should of course output an erro message, not go into an infinite loop. I think your second alternative wire my_strobes[15:0]; should work, but this is a SystemVerilog feature, so may not be implemented properly yet. Replacing it with wire [15:0] my_strobes; should work. Morgan McClure wrote: > Hi iVerilog devs, > I've run into an interesting bug with iverilog compiling a module with > unpacked-array instantiation of a module (not sure the correct naming for > this syntax). > When this occurs the CPU sits pegged at 100% but no memory growth and it > never terminates. > I've attached a self contained test program that exhibits the bug, > alternately commenting line 40 or 42 changes the result (one throws a > compiler error that I need an index, the other hangs) > > I'm running on mac, installed with homebrew, revision info here: > > icarus-verilog: stable 10.2 (bottled), HEAD > Verilog simulation and synthesis tool > http://iverilog.icarus.com/ > /usr/local/Cellar/icarus-verilog/10.2_1 (59 files, 5.5MB) * > Poured from bottle on 2018-08-08 at 10:09:06 > From: > https://github.com/Homebrew/homebrew-core/blob/master/Formula/icarus-verilog.rb > > > Compilation arguments were simply: > iverilog -g2005-sv test_me.v > > I've also attached a process sample while it's hung. > > Please let me know if I can provide more information. > > Thanks, > -Morgan > > > > > > _______________________________________________ > Iverilog-devel mailing list > Ive...@li... > https://lists.sourceforge.net/lists/listinfo/iverilog-devel > |