3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-11 19:53:35 +00:00
yosys/backends/cxxrtl
whitequark fc84f23001 cxxrtl: escape colon in variable names in VCD writer.
The following VCD file crashes GTKWave's VCD loader:

    $var wire 1 ! x:1 $end
    $enddefinitions $end

In practice, a colon can be a part of a variable name that is
translated from a Verilog function, something like:

    update$func$.../hdl/hazard3_csr.v:350$2534.$result
2021-07-19 16:22:55 +00:00
..
cxxrtl.h cxxrtl: add debug_item::{get,set}. 2021-07-18 06:20:45 +00:00
cxxrtl_backend.cc cxxrtl: treat internal wires used only for debug as constants. 2021-07-17 14:23:57 +00:00
cxxrtl_capi.cc cxxrtl: implement debug information outlining. 2020-12-14 01:27:27 +00:00
cxxrtl_capi.h cxxrtl: use static inline instead of inline in the C API. 2020-12-20 14:48:16 +00:00
cxxrtl_vcd.h cxxrtl: escape colon in variable names in VCD writer. 2021-07-19 16:22:55 +00:00
cxxrtl_vcd_capi.cc cxxrtl: add missing namespace. 2020-06-09 06:26:43 +00:00
cxxrtl_vcd_capi.h Fix formatting. NFC. 2020-06-10 15:48:40 +00:00
Makefile.inc cxxrtl: rename cxxrtl.cc→cxxrtl_backend.cc. 2020-06-07 03:48:40 +00:00