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

Add synchronous RAM macros to support runtime-updatable functions #10

Merged
merged 4 commits into from
Jul 30, 2020

Conversation

sgherbst
Copy link
Owner

This PR adds the macros SYNC_RAM_REAL / SYNC_RAM_INTO_REAL. They are analogous to existing macros SYNC_ROM_REAL / SYNC_ROM_INTO_REAL, except that the lookup table contents are defined at runtime rather than at compile time. This feature is used in the update_bram branch of msdsl to implement runtime-updatable functions; that is, functions whose behavior can be defined while the emulator is running, as opposed to requiring a rebuild of the bitstream. The new feature is exercised in CI tests via tests/test_sync_ram.py.

…r than being dependent on the setting of FLOAT_REAL. this matches better with the fact that the RAM always stores integers
This pull request was closed.
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.

2 participants