Archived
1
0

Grouped the gates and corrected xnor16.v nor16.v (#6)

Alright!
This commit is contained in:
Konstantin
2022-08-26 15:40:32 +02:00
committed by GitHub
parent 613b7710c7
commit 6d8b27dac8
22 changed files with 18 additions and 18 deletions
+13
View File
@@ -0,0 +1,13 @@
'include "demux4way.v"
module demux8way(out0, out1, out3, out4, out5, out6, out7, i0, i1, i2, i3, sel);
input i0, i1, i2, i3;
input [7:0]sel;
output out0, out1, out2, out3, out4, out5, out6, out7;
wire [7:0] [3:0] sel0 = sel;
wire [0:7] [3:0] sel1 = sel;
demux4way (out0 ,out1, out2, out3, i0, i1, sel0);
demux4way (out4, out5, out6, out7, i2, i3, sel1);
endmodule