mirror of
https://github.com/verilator/verilator.git
synced 2025-01-15 11:04:14 +00:00
Make trigger dumping functions always Slow code
This commit is contained in:
parent
3f19ba1554
commit
00c1f67c57
@ -495,8 +495,8 @@ const TriggerKit createTriggers(AstNetlist* netlistp, SenExprBuilder& senExprBui
|
|||||||
// Create the trigger computation function
|
// Create the trigger computation function
|
||||||
AstCFunc* const funcp = makeSubFunction(netlistp, "_eval_triggers__" + name, slow);
|
AstCFunc* const funcp = makeSubFunction(netlistp, "_eval_triggers__" + name, slow);
|
||||||
|
|
||||||
// Create the trigger dump function (for debugging)
|
// Create the trigger dump function (for debugging, always 'slow')
|
||||||
AstCFunc* const dumpp = makeSubFunction(netlistp, "_dump_triggers__" + name, slow);
|
AstCFunc* const dumpp = makeSubFunction(netlistp, "_dump_triggers__" + name, true);
|
||||||
dumpp->ifdef("VL_DEBUG");
|
dumpp->ifdef("VL_DEBUG");
|
||||||
|
|
||||||
// Add a print to the dumping function if there are no triggers pending
|
// Add a print to the dumping function if there are no triggers pending
|
||||||
|
Loading…
Reference in New Issue
Block a user