lowRISC / opentitan

OpenTitan: Open source silicon root of trust
https://www.opentitan.org
Apache License 2.0
2.53k stars 754 forks source link

[otp_ctrl/dv] use mem_bkdr_util interface to read check ECC uncorrectable error #17798

Open cindychip opened 1 year ago

cindychip commented 1 year ago

Description

Current OTP testbench stores expected otp array in otp_ctrl_scoreboard. When we backdoor write OTP memory to create ECC error, this was not updated on scb. So the current scb can only predict ECC correctable error.

Proposed solution: Since the mem_bkdr_util is used, we can directly store OTP memory array in mem_bkdr_util and it should update the backdoor injected errors.

V3 or future release: If the read is ECC uncorrectable error, OTP_CTRL will trigger fatal alert and lock the block. So to check the read data from this ECC uncorrectable error is not very important.

andreaskurth commented 3 months ago

Proposing to move to M7 to resolve this as part of V3

moidx commented 4 weeks ago

Moved to next earlgrey iteration.