mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Apply 'make format'
This commit is contained in:
parent
947b6fd23f
commit
490bc63eb5
@ -118,7 +118,7 @@ class EmitCModel final : public EmitCFunc {
|
||||
}
|
||||
}
|
||||
}
|
||||
if(v3Global.opt.emitAccessors()) {
|
||||
if (v3Global.opt.emitAccessors()) {
|
||||
puts("\n// ACCESSORS\n"
|
||||
"// The application code should use these methods to\n"
|
||||
"// propagate new values into/out from the Verilated model\n"
|
||||
|
@ -65,7 +65,8 @@ class NameVisitor final : public VNVisitorConst {
|
||||
nodep->name(newname);
|
||||
nodep->editCountInc();
|
||||
} else if (VN_IS(nodep, CFunc) && VN_AS(nodep, CFunc)->isConstructor()) {
|
||||
} else if (v3Global.opt.emitAccessors() && VN_IS(nodep, Var) && VN_AS(nodep, Var)->isSigPublic()) {
|
||||
} else if (v3Global.opt.emitAccessors() && VN_IS(nodep, Var)
|
||||
&& VN_AS(nodep, Var)->isSigPublic()) {
|
||||
const string newname = "__Vm_sig_" + nodep->name();
|
||||
nodep->name(newname);
|
||||
nodep->editCountInc();
|
||||
|
Loading…
Reference in New Issue
Block a user