12 lines
188 B
Coq
12 lines
188 B
Coq
|
|
|
||
|
|
module muxN
|
||
|
|
#(parameter WID = 4, parameter SWID = 2)
|
||
|
|
(input wire [WID-1:0] D,
|
||
|
|
input wire [SWID-1:0] S,
|
||
|
|
output reg Q
|
||
|
|
/* */);
|
||
|
|
|
||
|
|
always @* Q = D[S];
|
||
|
|
|
||
|
|
endmodule // add
|