nand2/01_Boolean_Logic/DMux.v

18 lines
212 B
Coq
Raw Normal View History

2023-01-11 10:13:09 +00:00
/**
* Demultiplexor:
* {a, b} = {in, 0} if sel == 0
* {0, in} if sel == 1
*/
`default_nettype none
module DMux(
input in,
input sel,
output a,
output b
);
// Put your code here:
endmodule