Archived
1
0

gates dump

This commit is contained in:
Erick
2022-03-01 23:35:17 +01:00
parent 540aac9fca
commit 0646b73f9a
24 changed files with 455 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
include "demux.v";
module demux4way(out0, out1, out2, out3, i0, i1, sel);
input i0, i1;
input [3:0] sel;
output out0, out1, out2, out3;
wire [3:0] [1:0] sel0 = sel;
wire [0:3] [1:0] sel1 = sel;
demux(out0, out1, i0, sel0);
demux(out2, out3, i1, sel1);
endmodule