LUTs
Half Adder
Full Adder
Always Block
- For an
x
bit y
:1 multiplexers, the number of multiplexers we need is equivalent to the bit-width of the data
- i.e., for a 4 bit 8:1 multiplexer, you need 4 8:1 multiplexers, one for each bit of the input (LSB…MSB)
module 3to1mux(
);