Skip to content

Commit

Permalink
github issue 422 - reset value of device lifecycle UNPROVISIONED
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitsirks committed Nov 18, 2024
1 parent 2e4feda commit 42d9de4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/integration/rtl/caliptra_top.sv
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,8 @@ el2_veer_wrapper rvtop (
// Security State value captured on a Caliptra reset deassertion (0->1 signal transition)
always_ff @(posedge clk or negedge cptra_noncore_rst_b) begin
if (~cptra_noncore_rst_b) begin
cptra_security_state_Latched_d <= '{device_lifecycle: DEVICE_PRODUCTION, debug_locked: 1'b1}; //Setting the default value to be debug locked and in production mode
cptra_security_state_Latched_f <= '{device_lifecycle: DEVICE_PRODUCTION, debug_locked: 1'b1};
cptra_security_state_Latched_d <= '{device_lifecycle: DEVICE_UNPROVISIONED, debug_locked: 1'b1}; //Setting the default value to be debug locked and in production mode
cptra_security_state_Latched_f <= '{device_lifecycle: DEVICE_UNPROVISIONED, debug_locked: 1'b1};
end
else begin
cptra_security_state_Latched_d <= security_state;
Expand Down

0 comments on commit 42d9de4

Please sign in to comment.