mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 16:28:53 +02:00
This commit is contained in:
+1
-1
@@ -4663,7 +4663,7 @@ class LinkDotResolveVisitor final : public VNVisitor {
|
||||
}
|
||||
|
||||
if (nodep->name() == "local::") {
|
||||
if (!m_randSymp) {
|
||||
if (!m_randSymp && !m_randMethodCallp) {
|
||||
nodep->v3error("Illegal 'local::' outside 'randomize() with'"
|
||||
" (IEEE 1800-2023 18.7.1)");
|
||||
m_ds.m_dotErr = true;
|
||||
|
||||
Reference in New Issue
Block a user