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.
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.