Output a when sel is 1, otherwise b. The ternary ?: is banned, so build it from gates. There is a three-gate trick.
2:1 multiplexer par 3
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
No scores yet. Post a passing solution to claim the top spot.