Closed rswarbrick closed 10 months ago
The current sram_ctrl_execution_test.c
test:
This test is working on the FPGA with an OTP that allows SRAM execution. Without SRAM execution, parts 1 and 2 still pass, but enabling SRAM execution fails.
@rswarbrick do you think we need to handle the error thrown by step 3 and re-run steps 1 and 2 to ensure that trying to execute from SRAM still triggers the exception?
Well, I guess that would be the super paranoid approach :-)
Can't we be a bit lazier though? Presumably, there's an "allow SRAM execution" config bit which starts out false. With an OTP that doesn't allow SRAM execution, does the config bit ever change? If not, maybe there's an easier test there?
Test point name
chip_sw_sram_execution
Host side component
None
OpenTitanTool infrastructure implemented
None
Silicon Validation (SiVal)
None
Emulation Targets
Contact person
@rswarbrick
Checklist
sram_ctrl_execution_test.c
to work in silicon: we expect to be in life-cycle state PROD, where SRAM execution is not allowed.