nand2/01_Boolean_Logic/Mux.v

18 lines
187 B
Coq
Raw Normal View History

2023-01-11 10:13:09 +00:00
/**
* Multiplexor:
* out = a if sel == 0
* b otherwise
*/
`default_nettype none
module Mux(
input a,
input b,
input sel,
output out
);
// Put your code here:
endmodule