Archived
1
0

various fixes

This commit is contained in:
Erick
2022-03-04 01:38:03 +01:00
parent f598d2d71b
commit 53170f5c5a
25 changed files with 65 additions and 264 deletions
+4 -4
View File
@@ -1,12 +1,12 @@
include "demux.v";
'include "demux.v"
module demux4way(out0, out1, out2, out3, i0, i1, sel);
input i0, i1;
input [3:0] sel;
input [1:0] sel;
output out0, out1, out2, out3;
wire [3:0] [1:0] sel0 = sel;
wire [0:3] [1:0] sel1 = sel;
wire [1:0] [1:0] sel0 = sel;
wire [0:1] [1:0] sel1 = sel;
demux(out0, out1, i0, sel0);
demux(out2, out3, i1, sel1);