mirror of
https://github.com/verilator/verilator.git
synced 2025-01-19 12:54:02 +00:00
Fix forked processes compiled as slow/cold (#3766)
This commit is contained in:
parent
afc66f6a85
commit
0a3c90e517
@ -237,6 +237,7 @@ void orderSequentially(AstCFunc* funcp, const LogicByScope& lbs) {
|
||||
bodyp->unlinkFrBackWithNext();
|
||||
// If the process is suspendable, we need a separate function (a coroutine)
|
||||
if (procp->isSuspendable()) {
|
||||
funcp->slow(false);
|
||||
subFuncp = createNewSubFuncp(scopep);
|
||||
subFuncp->name(subFuncp->name() + "__" + cvtToStr(scopep->user2Inc()));
|
||||
subFuncp->rtnType("VlCoroutine");
|
||||
|
Loading…
Reference in New Issue
Block a user