Skip to content

Commit

Permalink
Removed duplicate lines of code that was causing compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
anjpar committed Jan 14, 2025
1 parent 237cf75 commit a948182
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/caliptra_prim/rtl/caliptra_prim_count.sv
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ module caliptra_prim_count
// Saturation logic
logic uflow, oflow;
assign oflow = incr_en && ext_cnt[Width];
assign uflow = decr_en && ext_cnt[Width];
logic [Width-1:0] cnt_sat;
assign cnt_sat = (uflow) ? '0 :
(oflow) ? {Width{1'b1}} : ext_cnt[Width-1:0];
Expand All @@ -122,8 +121,6 @@ module caliptra_prim_count

assign cnt_d_committed[k] = commit_i ? cnt_d[k] : cnt_q[k];

assign cnt_d_committed[k] = commit_i ? cnt_d[k] : cnt_q[k];

logic [Width-1:0] cnt_unforced_q;
caliptra_prim_flop #(
.Width(Width),
Expand Down

0 comments on commit a948182

Please sign in to comment.