mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-09-05 19:36:55 +02:00
#6130 fixed arith_tree so that a chain link narrower than its consumer is left out of the tree, and added an equivalence regression for the exact failing shape. Cover what that test does not: structural checks that the narrow link survives as its own cell, on both the raw $add path and the alumacc $alu path, and a mixed case where a wider chain consuming the truncated link as a leaf still folds and stays equivalent. Signed-off-by: Daniel M'BOUYOU <[email protected]>