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

In nmigen.build, extras should probably be a dict, not an array #72

Closed
whitequark opened this issue Jun 1, 2019 · 0 comments
Closed
Milestone

Comments

@whitequark
Copy link
Contributor

In oMigen we had four kinds of things that in nMigen go to extras:

  • Drive(x)
  • IOStandard(x)
  • Misc("K=V")
  • Misc("K")

All of these with the exception of the last are essentially key-value pairs. The last one appears to be almost exclusively used as Misc("PULLUP") on Xilinx platforms, and it could as well be replaced with PULLUP=TRUE (this is done for Sayma).

To reduce the amount of ad-hoc mini-languages, let's just use a dict instead.

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