Fix printtimescale

This commit is contained in:
Wilson Snyder 2022-11-16 18:17:24 -05:00
parent 79e0fa3327
commit a58cd66358
2 changed files with 2 additions and 2 deletions

View File

@ -876,7 +876,7 @@ public:
}
void visit(AstPrintTimeScale* nodep) override {
puts("VL_PRINTTIMESCALE(");
putsQuoted(protect(nodep->name()));
putsQuoted(protect(nodep->prettyName()));
puts(", ");
putsQuoted(nodep->timeunit().ascii());
puts(", vlSymsp->_vm_contextp__);\n");

View File

@ -1,4 +1,4 @@
Time scale of __024unit is 10ps / 10ps
Time scale of $unit is 10ps / 10ps
Time scale of from_unit is 10ps / 10ps
Time scale of t is 100ps / 10ps
*-* All Finished *-*