mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 16:28:53 +02:00
Suppress unsupported for unused constant sequences
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user