3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-01-19 08:43:20 +00:00
yosys/backends
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
..
aiger
blif
btor
cxxrtl cxxrtl: minimize stack space consumed by debug_info(). 2024-05-08 03:37:14 +00:00
edif
firrtl
intersynth
jny
json
rtlil
simplec
smt2
smv
spice
table
verilog