3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-10 17:25:49 +00:00
yosys/backends/cxxrtl/runtime/cxxrtl
Catherine 6e003e1af6 cxxrtl: minimize stack space consumed by debug_info().
This commit uses parameter packs to sink `debug_item()` construction
into the `debug_info()`-specific `add()` overload. This makes the stack
space use sub-linear in typical case rather than linear (which is still
the worst case). Oddly, the stack slots that get allocated now are all
for the `0` literal for `lsb_offset`. This could be fixed by allocating
numbers statically but the existing reduction in stack use of ~98% for
a representative example (Minerva SoC) should be enough.
2024-05-08 03:37:14 +00:00
..
capi cxxrtl: expose scope information in the C++ API. 2024-02-26 12:42:48 +00:00
cxxrtl.h cxxrtl: minimize stack space consumed by debug_info(). 2024-05-08 03:37:14 +00:00
cxxrtl_replay.h cxxrtl: fix close of invalid fd in spool destructor. 2024-05-08 00:46:10 +00:00
cxxrtl_time.h cxxrtl: improve robustness of cxxrtl::time. 2024-01-09 13:44:39 +00:00
cxxrtl_vcd.h cxxrtl: reorganize runtime component files. 2023-11-28 15:32:36 +00:00