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

Writeable instruction memory tests #12

Closed
wants to merge 8 commits into from

Conversation

SyedAnasAlam
Copy link
Contributor

Fixed a number of issues in writeable instruction memory.
Added chisel test for testing writable instruction memory. The test loads a number of programs one after another and ensures the accumulator ends with 0.
LED register is only updated upon an exit system call. Useful for testing in FGPA to see end value of accumulator.
Added system call instruction to indicate end of file, this is used by program loader to know when last bytes of program have been received.
Added LerosConfig.scala, all constants and configurations related to Leros are entered here.
Added SramSim.scala, this is a SRAM simulation model that matches the ones used in the Edu4Chip project. This SRAM model is used in data memory and instruction memory.

@schoeberl
Copy link
Member

This PR fails the CI. Please check it.

@schoeberl
Copy link
Member

This PR is also a bit too big. Can we please split it. Thanks, Martin

@schoeberl
Copy link
Member

As agreed we will close this.

@schoeberl schoeberl closed this Oct 19, 2024
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