Skip to content
hw.dev
hw.dev/signal/makerchip-debug-signals-25-percent-cells-2026
SignalMakerchip Template

One Debug Flag Added 25 Percent More Cells to a Tiny Chip

A template debug option preserved dead logic during synthesis and made one Tiny Tapeout design about 25 percent larger.

Thesis connection

Stamping generated hardware source and measuring the built result exposes tool options that silently change the chip.

#eda#verification#tools#software
Read Original

Makerchip's Tiny Tapeout template carried a debug option that made one design about 25 percent larger in a generic synthesis run, according to the project's commit. The option marked every Transaction-Level Verilog (TL-Verilog) debug signal to be kept, so Yosys, the tool that turns logic source into chip cells, could not remove signals the finished design never used.

The template now keeps those names in simulation waveforms without preserving their hardware. It also regenerates the register-transfer-level (RTL) Verilog file and stamps it with a hash of the TL-Verilog source. That hash matters because the checked-in generated file had gone stale and still contained an older lab's test bench.

Debug settings and generated files both look harmless in review, yet each changed what reached manufacturing. A release check for generated hardware should rebuild from source, compare the embedded source hash, and report cell count changes before accepting the design.