mirror of
https://github.com/verilator/verilator.git
synced 2026-09-04 00:30:34 +02:00
Fix internal error - virtual interface not found (#7010)
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ public:
|
||||
entr.init(false);
|
||||
} else {
|
||||
if (AstConst* const constp = entr.constNodep()) {
|
||||
if (!varrefp->varp()->isSigPublic() && !varrefp->varp()->sensIfacep()) {
|
||||
if (!varrefp->varp()->isSigPublic() && !varrefp->varp()->isVirtIface()) {
|
||||
// Aha, variable is constant; substitute in.
|
||||
// We'll later constant propagate
|
||||
UINFO(4, " replaceconst: " << varrefp);
|
||||
|
||||
Reference in New Issue
Block a user