mirror of https://github.com/YosysHQ/yosys.git
10 lines
150 B
Coq
10 lines
150 B
Coq
|
module mux_21 (a,b,sel,y);
|
||
|
input a, b;
|
||
|
output y;
|
||
|
input sel;
|
||
|
wire y;
|
||
|
|
||
|
assign y = (sel) ? b : a;
|
||
|
|
||
|
endmodule
|