-
Notifications
You must be signed in to change notification settings - Fork 110
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 DE4 support #115
base: main
Are you sure you want to change the base?
Add DE4 support #115
Conversation
nmigen_boards/de4.py
Outdated
Resource("clk50", 5, Pins("A19", dir="i"), | ||
Clock(50e6), Attrs(io_standard="1.8-V")), | ||
Resource("clk100", 0, Pins("A21", dir="i"), | ||
Clock(100e6), Attrs(io_standard="1.8-V")), #100MHz assumes SW7 is set to 00 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make this configurable; see the Atlys board for an example of how to do so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than the SW7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than the SW7 issue
because it can be different speeds
|
Added support for the DE4 (Stratix IV devboard). Currently only covers the basic functionality: LEDs, buttons, switches, GPIO headers, clock inputs. Have tested with the blinky.
Something I forgot to add: it's written using device="EP4SGX530", but I believe the DE4 is also available with the EP4SGX230. From reading the discussion on another "add board support" PR, I also realise that the same issue applies to the "clk100" resource, which currently works on the assumption that the configuration switches for one of the clock inputs are set to provide a 100MHz clock.