Support rand_mode (#5273)

Signed-off-by: Krzysztof Bieganski <[email protected]>
This commit is contained in:
Krzysztof Bieganski
2024-07-31 22:30:48 +01:00
committed by GitHub
parent 403a197e23
commit 2f5c58b345
21 changed files with 762 additions and 189 deletions
+2 -2
View File
@@ -3322,8 +3322,8 @@ class LinkDotResolveVisitor final : public VNVisitor {
} else if (VN_IS(nodep, New) && m_statep->forPrearray()) {
// Resolved in V3Width
} else if (nodep->name() == "randomize" || nodep->name() == "srandom"
|| nodep->name() == "get_randstate"
|| nodep->name() == "set_randstate") {
|| nodep->name() == "get_randstate" || nodep->name() == "set_randstate"
|| nodep->name() == "rand_mode") {
if (AstClass* const classp = VN_CAST(m_modp, Class)) {
nodep->classOrPackagep(classp);
} else {