Full adder par 5

Compute the sum bit s and carry-out cout of a + b + cin. The obvious version repeats a & b style terms; a shared half-adder does better.

Rules: a single module golf, boolean operators & | ^ ~ only (no case, no ?:, no arithmetic). Your score is the number of gates Yosys reads from your code, before it would optimize.

Leaderboard

#PlayerGates
1Roldao7