yosys/backends/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
..
runtime cxxrtl: minimize stack space consumed by `debug_info()`. 2024-05-08 03:37:14 +00:00
Makefile.inc cxxrtl: install `cxxrtl_time.h` and `cxxrtl_replay.h`. 2024-02-26 17:55:56 +00:00
cxxrtl_backend.cc cxxrtl: minimize stack space consumed by `debug_info()`. 2024-05-08 03:37:14 +00:00