@@ -0,0 +1,9 @@
|
||||
module demux(y, z, a, sel);
|
||||
input a, sel;
|
||||
output y, z;
|
||||
wire notSel;
|
||||
|
||||
not(notSel, sel);
|
||||
and(z, a, sel);
|
||||
and(y, a, notSel);
|
||||
endmodule
|
||||
Reference in New Issue
Block a user