mirror of
https://github.com/verilator/verilator.git
synced 2025-01-04 05:37:48 +00:00
Fix tracing escaped dotted identifiers.
This commit is contained in:
parent
eea2712eac
commit
91b1e66933
2
Changes
2
Changes
@ -7,6 +7,8 @@ indicates the contributor was also the author of the fix; Thanks!
|
||||
|
||||
*** Improved warning when "do" used as identifier.
|
||||
|
||||
**** Fix tracing escaped dotted identifiers.
|
||||
|
||||
* Verilator 3.713 2009/08/04
|
||||
|
||||
** Support constant function calls for parameters. [many!]
|
||||
|
@ -1796,10 +1796,13 @@ class EmitCTrace : EmitCStmts {
|
||||
puts("if (!Verilated::calcUnusedSigs()) vl_fatal(__FILE__,__LINE__,__FILE__,\"Turning on wave traces requires Verilated::traceEverOn(true) call before time 0.\");\n");
|
||||
|
||||
//Future; need to wait to estabilish backwards compatibility
|
||||
//puts("#if defined(SPTRACEVCDC_VERSION) && SPTRACEVCDC_VERSION >= 1320\n");
|
||||
//puts("vcdp->scopeEscape(' ');\n");
|
||||
puts("#if defined(SPTRACEVCDC_VERSION) && SPTRACEVCDC_VERSION >= 1330\n");
|
||||
puts("vcdp->scopeEscape(' ');\n");
|
||||
puts("t->traceInitThis (vlSymsp, vcdp, code);\n");
|
||||
//puts("vcdp->scopeEscape('.');\n"); // Restore so SystemPerl traced files won't break
|
||||
puts("vcdp->scopeEscape('.');\n"); // Restore so SystemPerl traced files won't break
|
||||
puts("#else\n");
|
||||
puts("t->traceInitThis (vlSymsp, vcdp, code);\n");
|
||||
puts("#endif\n");
|
||||
puts("}\n");
|
||||
|
||||
puts("void "+topClassName()+"::traceFull(SpTraceVcd* vcdp, void* userthis, uint32_t code) {\n");
|
||||
|
Loading…
Reference in New Issue
Block a user