Remove task lifetime check
Signed-off-by: Kamil Danecki <kdanecki@internships.antmicro.com>
This commit is contained in:
parent
935b3bf9ea
commit
4439f17cd5
|
|
@ -305,7 +305,7 @@ class BeginVisitor final : public VNVisitor {
|
|||
}
|
||||
const std::string newName
|
||||
= m_ftaskp->name() + "__Vstatic__" + dot(m_unnamedScope, nodep->name());
|
||||
if (m_ftaskp->lifetime().isStatic() && nodep->isIO()) {
|
||||
if (nodep->isIO()) {
|
||||
AstVar* keepAsPort = nodep->cloneTreePure(false);
|
||||
nodep->replaceWith(keepAsPort);
|
||||
m_statep->userMarkChanged(keepAsPort);
|
||||
|
|
|
|||
Loading…
Reference in New Issue