From: Lonnie L G. <lg...@sr...> - 2015-01-09 20:58:52
|
What is the earliest version of iverilog that has –g2009 support I tried it with .9.6 on centos and it only has g2005? Is that the latest version on centos? That’s what I see on centos 6.5. Lonnie From: Cary R. [mailto:cy...@ya...] Sent: Thursday, January 08, 2015 3:37 PM To: Discussions concerning Icarus Verilog development Subject: Re: [Iverilog-devel] do while loop syntax. Are you telling Icarus to use SystemVerilog (e.g. -g2009, -g2012 or -g2005-sv)? The following example runs correctly (displays 0 to 9) using the latest code from git and the -g2009 flag: module top; integer val; initial begin val = 0; do begin $display(val); val += 1; end while (val < 10); end endmodule Since SystemVerilog is not that complete in Icarus it is not enabled by default. Cary On Thursday, January 8, 2015 1:17 PM, Lonnie Gliem <lg...@sr...> wrote: What is the do while syntax for iverilog. I have the loop below that compiles fine in vcs but errors out in iverilog. do begin @(posedge clk); err = $carte_accept(listening_sockfd); end while (err == -1); Here are the errors. /home/dvl/installs/TRIAL_5.3_64/opt/srcci/comp/lib/macros/map_m/v/eth_command_accept.v:87: syntax error /home/dvl/installs/TRIAL_5.3_64/opt/srcci/comp/lib/macros/map_m/v/eth_command_accept.v:88: error: malformed statement /home/dvl/installs/TRIAL_5.3_64/opt/srcci/comp/lib/macros/map_m/v/eth_command_accept.v:95: syntax error Here is the version: Icarus Verilog version 0.10.0 (devel) (s20140801-15-g4ea512c) Thansk for the help Lonnie ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net <http://goparallel.sourceforge.net/> _______________________________________________ Iverilog-devel mailing list Ive...@li... https://lists.sourceforge.net/lists/listinfo/iverilog-devel |