Tests: Advance UVM through V3LinkDot Param (#1538 partial)

This commit is contained in:
Wilson Snyder
2023-09-14 20:09:43 -04:00
parent 6e589377f4
commit 131eb319e0
2 changed files with 9 additions and 7 deletions
+6 -6
View File
@@ -153,12 +153,6 @@ static void process() {
// Remove parameters by cloning modules to de-parameterized versions
// This requires some width calculations and constant propagation
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
V3LinkLValue::linkLValue(v3Global.rootp()); // Resolve new VarRefs
V3Error::abortIfErrors();
@@ -177,6 +171,12 @@ static void process() {
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
V3Width::width(v3Global.rootp());