Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed DRUM4_16_u and DRUM7_16_u #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DRUM4_16_u.v
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ LOD u2(.in_a(b),.out_a(l2));
P_Encoder u3(.in_a(l1), .out_a(k1));
P_Encoder u4(.in_a(l2), .out_a(k2));

ux_16_3 u5(.in_a(a), .select(k1), .out(m));
Mux_16_3 u5(.in_a(a), .select(k1), .out(m));

ux_16_3 u6(.in_a(b), .select(k2), .out(n));
Mux_16_3 u6(.in_a(b), .select(k2), .out(n));
assign p=(k1>3)?k1-3:0;
assign q=(k2>3)?k2-3:0;
assign mm=(k1>3)?({1'b1,m,1'b1}):a[3:0];
Expand Down
2 changes: 1 addition & 1 deletion DRUM7_16_u.v
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Computer-Aided Design (ICCAD). 2015.

*/

module DRUM7_17_u(a, b, r);
module DRUM7_16_u(a, b, r);
input [15:0]a,b;
output [31:0]r;

Expand Down