forked from github/verilator
Mark --no-relative-cfuncs as scheduled for deprecation.
This commit is contained in:
parent
5da9368032
commit
96f9f8558b
1
Changes
1
Changes
@ -16,6 +16,7 @@ Verilator 4.201 devel
|
||||
* Add EOFNEWLINE warning when missing a newline at EOF.
|
||||
* Changed TIMESCALEMOD from error into a warning.
|
||||
* Verilated signals now use VlWide and VlPacked in place of C arrays.
|
||||
* Mark --no-relative-cfuncs as scheduled for deprecation.
|
||||
* Fix class unpacked-array compile error (#2774). [Iru Cai]
|
||||
* Fix exceeding command-line ar limit (#2834). [Yinan Xu]
|
||||
* Fix false $dumpfile warning on model save (#2834). [Yinan Xu]
|
||||
|
@ -5142,6 +5142,11 @@ Verilator currently requires C++11 or newer compilers. Verilator will
|
||||
require C++14 or newer compilers for both compiling Verilator and compiling
|
||||
Verilated models no sooner than January 2022.
|
||||
|
||||
=item --no-relative-cfuncs
|
||||
|
||||
The --no-relative-cfuncs option is not be required by any C++11 compliant
|
||||
compiler and is planned for removal no sooner than July 2021.
|
||||
|
||||
=item --inhibit-sim
|
||||
|
||||
The --inhibit-sim option is planned for removal no sooner than July 2021.
|
||||
|
@ -1088,6 +1088,9 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc, char
|
||||
m_quietExit = flag;
|
||||
} else if (onoff(sw, "-relative-cfuncs", flag /*ref*/)) {
|
||||
m_relativeCFuncs = flag;
|
||||
if (!m_relativeCFuncs)
|
||||
fl->v3warn(DEPRECATED,
|
||||
"Deprecated --no-relative-cfuncs, unnecessary with C++11.");
|
||||
} else if (onoff(sw, "-relative-includes", flag /*ref*/)) {
|
||||
m_relativeIncludes = flag;
|
||||
} else if (onoff(sw, "-report-unoptflat", flag /*ref*/)) {
|
||||
|
@ -13,7 +13,7 @@ scenarios(simulator => 1);
|
||||
top_filename("t/t_inst_tree.v");
|
||||
|
||||
compile(
|
||||
verilator_flags2 => ['--stats', '--norelative-cfuncs',
|
||||
verilator_flags2 => ['--stats', '-Wno-DEPRECATED', '--norelative-cfuncs',
|
||||
"$Self->{t_dir}/t_inst_tree_inl0_pub1.vlt",
|
||||
$Self->wno_unopthreads_for_few_cores()]
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user