mirror of
https://github.com/verilator/verilator.git
synced 2025-01-09 08:07:46 +00:00
Commentary
This commit is contained in:
parent
29f1a9208e
commit
c8ba51581f
@ -2558,19 +2558,19 @@ void V3EmitC::emitc() {
|
|||||||
UINFO(2,__FUNCTION__<<": "<<endl);
|
UINFO(2,__FUNCTION__<<": "<<endl);
|
||||||
// Process each module in turn
|
// Process each module in turn
|
||||||
for (AstNodeModule* nodep = v3Global.rootp()->modulesp(); nodep; nodep=nodep->nextp()->castNodeModule()) {
|
for (AstNodeModule* nodep = v3Global.rootp()->modulesp(); nodep; nodep=nodep->nextp()->castNodeModule()) {
|
||||||
if (v3Global.opt.outputSplit()) {
|
if (v3Global.opt.outputSplit()) {
|
||||||
{ EmitCImp imp; imp.main(nodep, false, true); }
|
{ EmitCImp fast; fast.main(nodep, false, true); }
|
||||||
{ EmitCImp imp; imp.main(nodep, true, false); }
|
{ EmitCImp slow; slow.main(nodep, true, false); }
|
||||||
} else {
|
} else {
|
||||||
{ EmitCImp imp; imp.main(nodep, true, true); }
|
{ EmitCImp both; both.main(nodep, true, true); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void V3EmitC::emitcTrace() {
|
void V3EmitC::emitcTrace() {
|
||||||
UINFO(2,__FUNCTION__<<": "<<endl);
|
UINFO(2,__FUNCTION__<<": "<<endl);
|
||||||
if (v3Global.opt.trace()) {
|
if (v3Global.opt.trace()) {
|
||||||
{ EmitCTrace imp (true); imp.main(); }
|
{ EmitCTrace slow(true); slow.main(); }
|
||||||
{ EmitCTrace imp (false); imp.main(); }
|
{ EmitCTrace fast(false); fast.main(); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user