mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
Fix spacing
This commit is contained in:
parent
0b501df959
commit
e1a48dcb07
@ -693,7 +693,7 @@ public:
|
||||
iterateAndNextNull(nodep->offset());
|
||||
puts(",");
|
||||
iterateAndNextNull(nodep->operation());
|
||||
puts(")==-1?-1:0)");
|
||||
puts(") == -1 ? -1 : 0)");
|
||||
}
|
||||
virtual void visit(AstFTell* nodep) override {
|
||||
puts("VL_FTELL_I(");
|
||||
@ -703,7 +703,7 @@ public:
|
||||
virtual void visit(AstFRewind* nodep) override {
|
||||
puts("(VL_FSEEK_I(");
|
||||
iterateAndNextNull(nodep->filep());
|
||||
puts(", 0, 0)==-1?-1:0)");
|
||||
puts(", 0, 0) == -1 ? -1 : 0)");
|
||||
}
|
||||
virtual void visit(AstFRead* nodep) override {
|
||||
puts("VL_FREAD_I(");
|
||||
|
@ -786,7 +786,7 @@ private:
|
||||
// Static doesn't need save-restore as if below will re-fill proper value
|
||||
stmt += "static int __Vfuncnum = -1;\n";
|
||||
// First time init (faster than what the compiler does if we did a singleton
|
||||
stmt += "if (VL_UNLIKELY(__Vfuncnum==-1)) { __Vfuncnum = Verilated::exportFuncNum(\""
|
||||
stmt += "if (VL_UNLIKELY(__Vfuncnum == -1)) { __Vfuncnum = Verilated::exportFuncNum(\""
|
||||
+ nodep->cname() + "\"); }\n";
|
||||
// If the find fails, it will throw an error
|
||||
stmt += "const VerilatedScope* __Vscopep = Verilated::dpiScope();\n";
|
||||
|
Loading…
Reference in New Issue
Block a user