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

SRAM support? #71

Open
RetroHQ opened this issue Mar 11, 2022 · 3 comments
Open

SRAM support? #71

RetroHQ opened this issue Mar 11, 2022 · 3 comments

Comments

@RetroHQ
Copy link

RetroHQ commented Mar 11, 2022

Could you give any advice on how to implement an SRAM controller?

I see there is the BmbSramGenerator.scala in deprecated but this is not compatible with the latest branch and I do not have enough knowledge of any of this to know quite how to migrate it.

Help with this much appreciated.

@RetroHQ
Copy link
Author

RetroHQ commented Mar 11, 2022

After a good amount of comparison between different versions / branches and some good old trial and error I seem to have migrated the blackice SRAM code to something which compiles and generates verilog and valid looking nets.

I may have more queries on this, but it's looking promising and a great way to learn how this HDL translates into verilog -- it's all very much black magic to me atm.

@Dolu1990
Copy link
Member

Hi,

So SaxonSoc was very very experimental in its paradigme in version 1.0, and i guess that BmbSramGenerator is a legacy from that time.

Version 3.0 stabilized things quite a bit, but not everything was ported.

Let me know if something isn't going well.

@mixotricha
Copy link

I have some hardware where I need to implement an sram controller. Wondering if the code referred to above ( or the modified code ) ever got posted anywhere. I tried looking for the depreciated version and could not find.

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

No branches or pull requests

3 participants