nand2/01_Boolean_Logic/Mux4Way16.v
Michael Schröder 971b323822 added v2.0
2023-01-11 23:04:57 +01:00

20 lines
308 B
Verilog

/**
* 16-bit multiplexor:
* for i = 0..15 out[i] = a[i] if sel == 0
* b[i] if sel == 1
*/
`default_nettype none
module Mux4Way16(
input [15:0] a,
input [15:0] b,
input [15:0] c,
input [15:0] d,
input [1:0] sel,
output [15:0] out
);
// Put your code here:
endmodule