mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Set fabricated variable lifetimes
Set implicit net and traced coverage var lifetimes. No functional change.
This commit is contained in:
@@ -3285,6 +3285,7 @@ class LinkDotResolveVisitor final : public VNVisitor {
|
||||
}
|
||||
AstVar* const newp
|
||||
= new AstVar{nodep->fileline(), VVarType::WIRE, nodep->name(), VFlagLogicPacked{}, 1};
|
||||
newp->lifetime(VLifetime::STATIC_IMPLICIT);
|
||||
newp->trace(modp->modTrace());
|
||||
modp->addStmtsp(newp);
|
||||
// Link it to signal list, must add the variable under the module;
|
||||
|
||||
Reference in New Issue
Block a user