Compile modules with different flags? #534
-
I'd like to compile my testbench using the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Not really. What you can do is use the Apart from recognising some additional keywords, AFAICT the only difference at the moment between compiling with |
Beta Was this translation helpful? Give feedback.
-
Thanks so much! This has really helped me out.
…On Sun, Aug 1, 2021 at 2:03 AM martinwhitaker ***@***.***> wrote:
As far as I know, the only behavioural difference between Verilog and
SystemVerilog is in the scheduling semantics. But if your Verilog design is
sensitive to this difference, it is probably also sensitive to the
permitted differences between two different simulators (e.g. you have a
subtle race condition). In any case, Icarus Verilog only implements the
original Verilog scheduling semantics. I am pretty sure that there will be
no difference in behaviour if you compile with -g2012 instead of -g2005.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#534 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEC3DC42SZEUXTUMQHE2XFLT2UEWVANCNFSM5BI4WXNA>
.
|
Beta Was this translation helpful? Give feedback.
Not really. What you can do is use the
begin_keywords
andend_keywords
compiler directives to control which keywords are recognised in different sections of your code.Apart from recognising some additional keywords, AFAICT the only difference at the moment between compiling with
-g2009
and-g2012
is the availability of the$countbits
system function.