1
0
mirror of synced 2026-01-26 12:13:24 +00:00
Files
YosysHQ.yosys/tests
Natalia Kokoromyti 8b6925c5b0 Add opt_balance_tree pass for timing optimization
This pass converts cascaded chains of arithmetic and logic cells ($add,
$mul, $and, $or, $xor) into balanced binary trees to improve timing
performance in hardware synthesis.

The optimization uses a breadth-first search approach to identify chains
of compatible cells, then recursively constructs balanced trees that
reduce the critical path depth.

Features:
- Supports arithmetic cells: $add, $mul
- Supports logic cells: $and, $or, $xor
- Command-line options: -arith (arithmetic only), -logic (logic only)
- Preserves signed/unsigned semantics
- Comprehensive test suite with 30 test cases

Original implementation by Akash Levy <akash@silimate.com> for Silimate.
Upstreamed from https://github.com/Silimate/yosys
2026-01-13 14:20:11 -08:00
..
2026-01-06 16:19:04 -08:00
2026-01-07 13:21:33 +13:00
2025-11-07 17:45:07 +13:00
2025-11-19 15:26:02 +01:00
2026-01-06 14:48:16 +01:00
2025-12-21 21:47:40 +00:00
2025-12-16 04:16:03 -08:00