Skip to content

Commit

Permalink
popcount_tb: Fix the widths of popcount_w5 and popcount_w981
Browse files Browse the repository at this point in the history
  • Loading branch information
diskouna committed Jan 1, 2025
1 parent 7c28d39 commit cd702d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/popcount_tb.sv
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module popcount_tb;
logic popcount_w1;

logic [4:0] data_w5;
logic [3:0] popcount_w5;
logic [2:0] popcount_w5;

logic [15:0] data_w16;
logic [4:0] popcount_w16;
Expand All @@ -47,7 +47,7 @@ module popcount_tb;
logic [6:0] popcount_w64;

logic [980:0] data_w981;
logic [10:0] popcount_w981;
logic [9:0] popcount_w981;

//--------------------- Instantiate MUT ---------------------
popcount #(.INPUT_WIDTH(1)) i_popcount_w1
Expand Down

0 comments on commit cd702d0

Please sign in to comment.