mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 10:48:27 +02:00
Fix checking built-in method arguments (#5839)
This commit is contained in:
@@ -392,6 +392,7 @@ class RandomizeMarkVisitor final : public VNVisitor {
|
||||
exprp = nullptr;
|
||||
}
|
||||
if (randVarp == fromVarp) break;
|
||||
UASSERT_OBJ(randVarp, nodep, "No rand variable found");
|
||||
AstNode* backp = randVarp;
|
||||
while (backp && !VN_IS(backp, Class)) backp = backp->backp();
|
||||
RandomizeMode randMode = {};
|
||||
|
||||
Reference in New Issue
Block a user