Make trigger dumping functions always Slow code

This commit is contained in:
Geza Lore 2022-07-14 16:28:09 +01:00
parent 3f19ba1554
commit 00c1f67c57

View File

@ -495,8 +495,8 @@ const TriggerKit createTriggers(AstNetlist* netlistp, SenExprBuilder& senExprBui
// Create the trigger computation function
AstCFunc* const funcp = makeSubFunction(netlistp, "_eval_triggers__" + name, slow);
// Create the trigger dump function (for debugging)
AstCFunc* const dumpp = makeSubFunction(netlistp, "_dump_triggers__" + name, slow);
// Create the trigger dump function (for debugging, always 'slow')
AstCFunc* const dumpp = makeSubFunction(netlistp, "_dump_triggers__" + name, true);
dumpp->ifdef("VL_DEBUG");
// Add a print to the dumping function if there are no triggers pending