Two operations that never run together can share one operator. The tool rewrites compatible arithmetic into ALU cells, trims every operator to its used bits, and pays for the sharing with steering muxes.
Lesson | What it covers |
|---|---|
How add, subtract and compare become shared ALU cells. | |
Mutual exclusion, the break-even rule, and the share pass. | |
Trimming operators to kept bits, with signedness intact. | |
Shift-add products and arithmetic through the carry-in. |
When the added muxes exceed the saved operator. Sharing saves one operator but always pays steering, so cheap operators lose.