ucb-bar / testchipip

BSD 3-Clause "New" or "Revised" License
80 stars 59 forks source link

Clear MIP in BootROM #239

Closed jerryz123 closed 2 months ago

jerryz123 commented 2 months ago

I'll bump CY with this to check with CY's CI

jerryz123 commented 2 months ago

The MIP CSR is not reset-iniitalized, which means it can take on random values between simulation runs. While correctly written M-mode firmware handles this with no problem, it does cause some minor divergence in code path.

This non-determinism is undesirable.