Compiler crashes.
MAC OS X 10.9.5 verilog 0.9.7
The code is attached.
In the make file steerD crashes the compiler and steerD2 a trimmed down version of steerD works correctly.
SteerD has 4 similar code segments. Any two will not crash the compiler while and three or more will crash the compiler. SteerD2 is a program reduced to two of the code segments.
make steerD crashes thus.
twoD_steer32D.v:517: warning: Couldn't build unique name for unnamed generate block - using internal name $gen9
twoD_steer32D.v:517: warning: Couldn't build unique name for unnamed generate block - using internal name $gen9
sh: line 1: 48678 Done /usr/local/lib/ivl/ivlpp -L -F"/var/folders/bv/pnxrttkn3znfyrbrbfdz4mpr0000gn/T//ivrlg230c32d7c" -f"/var/folders/bv/pnxrttkn3znfyrbrbfdz4mpr0000gn/T//ivrlg30c32d7c" -p"/var/folders/bv/pnxrttkn3znfyrbrbfdz4mpr0000gn/T//ivrli30c32d7c"
48679 Abort trap: 6 | /usr/local/lib/ivl/ivl -C"/var/folders/bv/pnxrttkn3znfyrbrbfdz4mpr0000gn/T//ivrlh30c32d7c" -C"/usr/local/lib/ivl/vvp.conf" -- -
make: *** [steerD] Error 134
karlfansmbp1617:steering karlfant$
make steerD2 runs correcly thus
twoD_steer32D2.v:517: warning: Couldn't build unique name for unnamed generate block - using internal name $gen9
twoD_steer32D2.v:517: warning: Couldn't build unique name for unnamed generate block - using internal name $gen9
VVP -n twoD_steer32D2
VCD info: dumpfile twoD_steer32D2.vcd opened for output.
pass
pass
karlfansmbp1617:steering karlfant$
Please try the latest release (v10.0). I can reproduce the bug with v0.9, but not with v10.
Thanks.
I installed version 10. iverilog -v says I am executing version 10 but I still get the same error on make steerD.
Karl Fant
fant@theseusresearch.com
On Sep 29, 2015, at 11:29 AM, Martin Whitaker martinwhitaker@users.sf.net wrote:
Related
Bugs:
#996I tried "make steerD" in my build, and it worked fine. Or at least it didn't crash. So I think we are going to need a little more detail. Perhaps it is something mac specific? I have a Mac, so I can give it a try later if no one else pins this down better.
It looks to be a buffer overrun in NetScope::auto_name. Printing out new_name just before it returns true gives the following with v0.9:
With v10, I don't get the segfault, but the subsequent auto-generated names exceed the buffer size, and have garbage at the end.
That's as far as I'll get tonight, so feel free to take it.
OK, I see some things that can be done. I'll take this one on.
I have pushed a fix into git master. I'll probably port this into the v10 branch
as well, but that will happen tomorrow.
Patch cherry-picked into the v10 branch.
Hi Stephen
Thank you. I downloaded from github this morning which said it was updated 17 hours ago and while this is all new to me I think I did the download and install correctly. I there anyway to make sure that I am actually executing the iverilog with the patch from my terminal window?
I am still getting the same error with make steerD
twoD_steer32D.v:517: warning: Couldn't build unique name for unnamed generate block - using internal name $gen9
twoD_steer32D.v:517: warning: Couldn't build unique name for unnamed generate block - using internal name $gen9
sh: line 1: 86926 Done /usr/local/lib/ivl/ivlpp -L -F"/var/folders/bv/pnxrttkn3znfyrbrbfdz4mpr0000gn/T//ivrlg257140c54" -f"/var/folders/bv/pnxrttkn3znfyrbrbfdz4mpr0000gn/T//ivrlg57140c54" -p"/var/folders/bv/pnxrttkn3znfyrbrbfdz4mpr0000gn/T//ivrli57140c54"
86927 Abort trap: 6 | /usr/local/lib/ivl/ivl -C"/var/folders/bv/pnxrttkn3znfyrbrbfdz4mpr0000gn/T//ivrlh57140c54" -C"/usr/local/lib/ivl/vvp.conf" -- -
make: *** [steerD] Error 134
karlfansmbp1617:steering karlfant$ iverilog -v
Icarus Verilog version 10.0 (stable) (v10_0)
Karl Fant
fant@theseusresearch.com
On Sep 30, 2015, at 9:56 AM, Stephen Williams stevewilliams@users.sf.net wrote:
Related
Bugs:
#996The devel version (git master) would have reported as
version 11.0 (devel), so you are still running version 10.
I ported the patch to version to a few hours ago, so you
might not have got that yet if you went to the v10 branch.
On 09/30/2015 01:19 PM, Karl Fant wrote:
--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
Related
Bugs:
#996got it and it works. Thanks
Karl Fant
fant@theseusresearch.com
On Sep 30, 2015, at 2:22 PM, Stephen Williams stevewilliams@users.sf.net wrote:
Related
Bugs:
#996