- 1medium
4-to-1 Mux with the Ternary Operator
Build a 4-to-1 multiplexer using nested ternary (conditional) operators instead of a case statement.
- 2medium
Parity Generator (reduction operators)
Generate an even-parity bit for an 8-bit bus using the unary XOR reduction operator.
- 3hard
Parameterized XOR Ring (generate)
Use a generate-for loop and a WIDTH parameter to build an N-bit ring of XOR gates that scales to any bus width.