Abstraction and Implementation of 16-bit Multiplexor Chip in Hardware Design Language and Java™.
Mux16 (16-bit Multiplexor) Chip
An 16-bit multiplexor is almost similar to the Multiplexor Chip described previously, except that both inputs are each 16-bit wide, while the selector is a single bit.
Chip name: Mux16
Inputs: a[16], b[16], sel
Outputs: out[16]
Function: If sel=0 then for i=0..15 out[i]=a[i]
else for i=0..15 out[i]=b[i].
Implementation of Mux16 Chip in HDL
The function in the above abstraction can help in the implementation of Mux16 Chip.
The Mux16, can considered splitting into 16 Multiplexor chips, each taking a bit from each input. Each Multiplexor chip uses the same single-bit register.