Add comment
Signed-off-by: Kamil Danecki <kdanecki@internships.antmicro.com>
This commit is contained in:
parent
8eaf171135
commit
c816addc60
|
|
@ -385,6 +385,8 @@ class LinkParseVisitor final : public VNVisitor {
|
|||
}
|
||||
}
|
||||
} else if (m_ftaskp) {
|
||||
// Variables in static tasks with timing control can be used after the task has ended
|
||||
// with use of join..fork_none, so they need to be static
|
||||
if (m_ftaskp->lifetime().isStatic() && m_hasTimingControl) {
|
||||
nodep->lifetime(VLifetime::STATIC_IMPLICIT);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue