Skip to content

Commit

Permalink
Update add.v
Browse files Browse the repository at this point in the history
  • Loading branch information
afasolino authored May 30, 2024
1 parent c856c2c commit 79c8c31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/add.v
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ module add #(parameter N=16) (
wire is_not_zero ;
wire is_nar;
wire Xi_nzn_2;
wire [N-5:0]norm_mant ;

assign X_not_zero = i_s_1 | i_nzn_1;
assign X_nar = i_s_1 & ~(i_nzn_1);
Expand Down Expand Up @@ -97,7 +96,7 @@ module add #(parameter N=16) (
( .i_ozb (count_type),
.i_in (add_mant_shift),
.o_count(count),
.o_r (norm_mant_tmp)
.o_r (_tmp)
);

assign add_sf = {larger_number[5] , larger_number} - ({2'b00 , count}) + 1;
Expand Down

0 comments on commit 79c8c31

Please sign in to comment.