Skip to content

Commit

Permalink
Remove use of always_comb from binary_operators.sv (#2330)
Browse files Browse the repository at this point in the history
Changes from #2266 since author has not responded. Fixes #2253.
  • Loading branch information
rachitnigam authored Nov 4, 2024
1 parent 3687b07 commit 95fb141
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion primitives/binary_operators.sv
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ module std_fp_div_pipe #(
running <= running;
end

always_comb begin
always @* begin
if (acc >= {1'b0, right}) begin
acc_next = acc - right;
{acc_next, quotient_next} = {acc_next[WIDTH-1:0], quotient, 1'b1};
Expand Down
2 changes: 1 addition & 1 deletion yxi/tests/axi/dynamic/dyn-mem-vec-add-axi-wrapped.expect
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ module std_fp_div_pipe #(
running <= running;
end

always_comb begin
always @* begin
if (acc >= {1'b0, right}) begin
acc_next = acc - right;
{acc_next, quotient_next} = {acc_next[WIDTH-1:0], quotient, 1'b1};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ module std_fp_div_pipe #(
running <= running;
end

always_comb begin
always @* begin
if (acc >= {1'b0, right}) begin
acc_next = acc - right;
{acc_next, quotient_next} = {acc_next[WIDTH-1:0], quotient, 1'b1};
Expand Down

0 comments on commit 95fb141

Please sign in to comment.