various fixes
This commit is contained in:
+5
-5
@@ -1,5 +1,5 @@
|
||||
include "mux4way16.v";
|
||||
include "mux16.v";
|
||||
'include "mux4way16.v"
|
||||
'include "mux16.v"
|
||||
|
||||
module mux8way16(out, i0, i1, i2, i3, i4, i5, i6, i7, sel);
|
||||
input [15:0]i0;
|
||||
@@ -10,12 +10,12 @@ module mux8way16(out, i0, i1, i2, i3, i4, i5, i6, i7, sel);
|
||||
input [15:0]i5;
|
||||
input [15:0]i6;
|
||||
input [15:0]i7;
|
||||
input [3:0]sel;
|
||||
input [7:0]sel;
|
||||
output [15:0]out;
|
||||
wire tmpMux1, tmpMux1;
|
||||
|
||||
wire [3:0] [1:0] sel0 = sel;
|
||||
wire [0:3] [1:0] sel1 = sel;
|
||||
wire [7:0] [3:0] sel0 = sel;
|
||||
wire [0:7] [3:0] sel1 = sel;
|
||||
|
||||
mux4way16(tmpMux0, i0, i1, i2, i3, sel0);
|
||||
mux4way16(tmpMux1, i4, i5, i6, i7, sel1);
|
||||
|
||||
Reference in New Issue
Block a user