mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Do not create aliases for forced port signals (#5105)
+ don't remove forced signals in V3Const and Dfg Fixes #5062
This commit is contained in:
@@ -443,7 +443,7 @@ class AstToDfgVisitor final : public VNVisitor {
|
||||
// Mark variables with external references
|
||||
if (nodep->isIO() // Ports
|
||||
|| nodep->user2() // Target of a hierarchical reference
|
||||
|| nodep->isForceable() // Forceable
|
||||
|| nodep->isForced() // Forced
|
||||
) {
|
||||
getNet(nodep)->setHasExtRefs();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user