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

Platform function to calculate optimal BRAM depth for width #173

Closed
whitequark opened this issue Aug 18, 2019 · 1 comment
Closed

Platform function to calculate optimal BRAM depth for width #173

whitequark opened this issue Aug 18, 2019 · 1 comment

Comments

@whitequark
Copy link
Contributor

This is useful in case the target has BRAMs with variable aspect ratio (most of them do, if not all), and some platform independent gateware that has flexible BRAM requirements, e.g. a crossbar with a FIFO, wants to know the BRAM depth it should specify to avoid having any unused BRAM left over.

@whitequark
Copy link
Contributor Author

It does not appear to be possible to calculate optimal BRAM depth for e.g. Xilinx Series 7 because it depends on the port configuration. Therefore I think nMigen should not provide this functionality, at least until someone comes up with a robust semantics that would fit most applications.

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

No branches or pull requests

1 participant