mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Apply 'make format'
This commit is contained in:
@@ -85,10 +85,9 @@ AstArg* V3ParseGrammar::argWrapList(AstNodeExpr* nodep) {
|
||||
}
|
||||
|
||||
AstNode* V3ParseGrammar::createSupplyExpr(FileLine* fileline, const string& name, int value) {
|
||||
AstAssignW* assignp
|
||||
= new AstAssignW{fileline, new AstVarRef{fileline, name, VAccess::WRITE},
|
||||
value ? new AstConst{fileline, AstConst::All1{}}
|
||||
: new AstConst{fileline, AstConst::All0{}} };
|
||||
AstAssignW* assignp = new AstAssignW{fileline, new AstVarRef{fileline, name, VAccess::WRITE},
|
||||
value ? new AstConst{fileline, AstConst::All1{}}
|
||||
: new AstConst{fileline, AstConst::All0{}}};
|
||||
AstStrengthSpec* strengthSpecp
|
||||
= new AstStrengthSpec{fileline, VStrength::SUPPLY, VStrength::SUPPLY};
|
||||
assignp->strengthSpecp(strengthSpecp);
|
||||
|
||||
Reference in New Issue
Block a user