Skip to content

Commit

Permalink
removed deadcode found by FPV
Browse files Browse the repository at this point in the history
  • Loading branch information
Mojtaba Bisheh Niasar committed Sep 16, 2024
1 parent acce92d commit 8ca7970
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/doe/rtl/doe_core_cbc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ module doe_core_cbc(
st_IV_engine_stars:
begin
if (IV_updated_delayed)
IV_enc_state <= st_IV_engine_idle;
else if(enc_ready)
IV_enc_state <= st_IV_engine_idle;
else
IV_enc_state <= st_IV_engine_stars;
Expand Down
2 changes: 1 addition & 1 deletion src/ecc/rtl/ecc_pm_ctrl.sv
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ module ecc_pm_ctrl
default : begin stalled <= 1'b0; stall_cntr <= '0; end
endcase
end
else if ((!stalled) | (stalled & (stall_cntr == 0))) begin
else begin
stalled <= 0;
unique case (prog_cntr)
NOP : begin // Waiting for new valid command
Expand Down

0 comments on commit 8ca7970

Please sign in to comment.