Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RTimothyEdwards
Copy link
Contributor

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.

which prevents mysterious errors caused by prefetching memory
past the end of a program, resulting in undefined values
propagating through the entire SoC.
Copy link

@piotro888 piotro888 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm it fixes the issue of undefined values in testbenches

Copy link

@algofoogle algofoogle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Real firmware will always have real data in the full address space (even if it wraps around).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants