Change -sv option to select 1800-2017 instead of 1800-2005.
This commit is contained in:
parent
d77beecc6e
commit
cf2810db8b
2
Changes
2
Changes
|
|
@ -5,6 +5,8 @@ The contributors that suggested a given feature are shown in []. Thanks!
|
||||||
|
|
||||||
* Verilator 4.105 devel
|
* Verilator 4.105 devel
|
||||||
|
|
||||||
|
*** Change -sv option to select 1800-2017 instead of 1800-2005.
|
||||||
|
|
||||||
*** Support $random and $urandom seeds.
|
*** Support $random and $urandom seeds.
|
||||||
|
|
||||||
*** Support 'super'.
|
*** Support 'super'.
|
||||||
|
|
|
||||||
|
|
@ -1461,7 +1461,7 @@ future version of Verilator no longer always packs unpacked structures.
|
||||||
=item -sv
|
=item -sv
|
||||||
|
|
||||||
Specifies SystemVerilog language features should be enabled; equivalent to
|
Specifies SystemVerilog language features should be enabled; equivalent to
|
||||||
"--language 1800-2005". This option is selected by default, it exists for
|
"--language 1800-2017". This option is selected by default, it exists for
|
||||||
compatibility with other simulators.
|
compatibility with other simulators.
|
||||||
|
|
||||||
=item +systemverilogext+I<ext>
|
=item +systemverilogext+I<ext>
|
||||||
|
|
|
||||||
|
|
@ -1101,7 +1101,7 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc, char
|
||||||
} else if (onoff(sw, "-structs-unpacked", flag /*ref*/)) {
|
} else if (onoff(sw, "-structs-unpacked", flag /*ref*/)) {
|
||||||
m_structsPacked = flag;
|
m_structsPacked = flag;
|
||||||
} else if (!strcmp(sw, "-sv")) {
|
} else if (!strcmp(sw, "-sv")) {
|
||||||
m_defaultLanguage = V3LangCode::L1800_2005;
|
m_defaultLanguage = V3LangCode::L1800_2017;
|
||||||
} else if (onoff(sw, "-threads-coarsen", flag /*ref*/)) { // Undocumented, debug
|
} else if (onoff(sw, "-threads-coarsen", flag /*ref*/)) { // Undocumented, debug
|
||||||
m_threadsCoarsen = flag;
|
m_threadsCoarsen = flag;
|
||||||
} else if (onoff(sw, "-trace", flag /*ref*/)) {
|
} else if (onoff(sw, "-trace", flag /*ref*/)) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue