Tests: Advance UVM through V3LinkDot Param (#1538 partial)
This commit is contained in:
parent
6e589377f4
commit
131eb319e0
|
|
@ -153,12 +153,6 @@ static void process() {
|
||||||
// Remove parameters by cloning modules to de-parameterized versions
|
// Remove parameters by cloning modules to de-parameterized versions
|
||||||
// This requires some width calculations and constant propagation
|
// This requires some width calculations and constant propagation
|
||||||
V3Param::param(v3Global.rootp());
|
V3Param::param(v3Global.rootp());
|
||||||
if (v3Global.opt.debugExitUvm()) {
|
|
||||||
V3Error::abortIfErrors();
|
|
||||||
if (v3Global.opt.xmlOnly()) V3EmitXml::emitxml();
|
|
||||||
cout << "--debug-exit-uvm: Exiting after UVM-supported pass\n";
|
|
||||||
std::exit(0);
|
|
||||||
}
|
|
||||||
V3LinkDot::linkDotParamed(v3Global.rootp()); // Cleanup as made new modules
|
V3LinkDot::linkDotParamed(v3Global.rootp()); // Cleanup as made new modules
|
||||||
V3LinkLValue::linkLValue(v3Global.rootp()); // Resolve new VarRefs
|
V3LinkLValue::linkLValue(v3Global.rootp()); // Resolve new VarRefs
|
||||||
V3Error::abortIfErrors();
|
V3Error::abortIfErrors();
|
||||||
|
|
@ -177,6 +171,12 @@ static void process() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (v3Global.opt.debugExitUvm()) {
|
||||||
|
V3Error::abortIfErrors();
|
||||||
|
if (v3Global.opt.xmlOnly()) V3EmitXml::emitxml();
|
||||||
|
cout << "--debug-exit-uvm: Exiting after UVM-supported pass\n";
|
||||||
|
std::exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
// Calculate and check widths, edit tree to TRUNC/EXTRACT any width mismatches
|
// Calculate and check widths, edit tree to TRUNC/EXTRACT any width mismatches
|
||||||
V3Width::width(v3Global.rootp());
|
V3Width::width(v3Global.rootp());
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,9 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(vlt => 1);
|
scenarios(vlt => 1);
|
||||||
|
|
||||||
lint(
|
lint(
|
||||||
v_flags2 => ["-Wno-PKGNODECL -Wno-UNPACKED -Wno-RANDC -Wno-IMPLICITSTATIC -Wno-CONSTRAINTIGN -Wno-MISINDENT",
|
v_flags2 => ["--timing",
|
||||||
|
"-Wno-PKGNODECL -Wno-UNPACKED -Wno-RANDC -Wno-IMPLICITSTATIC -Wno-CONSTRAINTIGN -Wno-MISINDENT",
|
||||||
|
"-Wno-WIDTHEXPAND -Wno-WIDTHTRUNC -Wno-CASTCONST -Wno-REALCVT",
|
||||||
"--error-limit 200 --debug-exit-uvm"],
|
"--error-limit 200 --debug-exit-uvm"],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue