Suppress unsupported for unused constant sequences

This commit is contained in:
Wilson Snyder
2025-12-03 21:23:48 -05:00
parent 4dedfbfe08
commit 7957701db8
12 changed files with 257 additions and 120 deletions
+4
View File
@@ -188,6 +188,10 @@ class LinkResolveVisitor final : public VNVisitor {
}
void visit(AstNodeFTaskRef* nodep) override {
VL_RESTORER(m_currentRandomizeSelectp);
if (nodep->taskp()) {
if (AstSequence* const seqp = VN_CAST(nodep->taskp(), Sequence))
seqp->isReferenced(true);
}
if (nodep->name() == "randomize") {
if (const AstMethodCall* const methodcallp = VN_CAST(nodep, MethodCall)) {