pub fn yosys_calibrated(packed: bool) -> CostTableExpand description
Leaf costs from Yosys 0.55 synth_xilinx -family xcup maps of the
generated netlists (mapping), with packed selecting
whether the multiplier’s 225 column-chain additions are absorbed into the
DSP48E2 post-adders (P = PCIN + A*B).
Yosys 0.55 does not pack those additions for UltraScale+ (it does for
7-series, and Vivado infers such MACC cascades), so packed = false is
the raw Yosys count and packed = true subtracts the 8,600 LUTs and
9,675 FFs of those adders and accumulator registers. Neither is Vivado
utilization. The controller has not been mapped separately; its row stays
a structural estimate.