Enable non-synthesizable code removal in Surelog.
diff --git a/systemverilog-plugin/uhdmsurelogastfrontend.cc b/systemverilog-plugin/uhdmsurelogastfrontend.cc index cac39ef..86ddc78 100644 --- a/systemverilog-plugin/uhdmsurelogastfrontend.cc +++ b/systemverilog-plugin/uhdmsurelogastfrontend.cc
@@ -172,6 +172,7 @@ clp->setParse(true); clp->fullSVMode(true); clp->setCacheAllowed(true); + clp->setReportNonSynthesizable(true); if (this->shared.defer) { clp->setCompile(false); clp->setElaborate(false);