mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Refactor to create VCMethod (#3715). No functional change intended.
This commit is contained in:
+1
-1
@@ -280,7 +280,7 @@ void V3DfgPasses::binToOneHot(DfgGraph& dfg, V3DfgBinToOneHotContext& ctx) {
|
||||
}
|
||||
{ // tab.fill(0)
|
||||
AstCMethodHard* const callp = new AstCMethodHard{
|
||||
flp, new AstVarRef{flp, tabVtxp->varp(), VAccess::WRITE}, "fill"};
|
||||
flp, new AstVarRef{flp, tabVtxp->varp(), VAccess::WRITE}, VCMethod::UNPACKED_FILL};
|
||||
callp->addPinsp(new AstConst{flp, AstConst::BitFalse{}});
|
||||
callp->dtypeSetVoid();
|
||||
initp->addStmtsp(callp->makeStmt());
|
||||
|
||||
Reference in New Issue
Block a user