efabless / caravel_mgmt_soc_litex

https://caravel-mgmt-soc-litex.readthedocs.io/en/latest/
Apache License 2.0
25 stars 15 forks source link

Added an initialization loop to the SPI flash emulation module #133

Open RTimothyEdwards opened 7 months ago

RTimothyEdwards commented 7 months ago

Added an initialization loop to the SPI flash emulation module, which prevents mysterious errors caused by prefetching memory past the end of a program, resulting in undefined values propagating through the entire SoC. Hopefully this will prevent others from wasting a lot of time tracking down the resulting non-issues in simulations.