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

Add DE4 support #115

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Add DE4 support #115

wants to merge 8 commits into from

Conversation

H-S-S-11
Copy link
Contributor

@H-S-S-11 H-S-S-11 commented Oct 2, 2020

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.

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
Copy link
Member

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.

Copy link
Member

@whitequark whitequark left a 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

Copy link
Member

@whitequark whitequark left a 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
@H-S-S-11
Copy link
Contributor Author

  • should clarify that "different speeds" is not a selection from a list of possible speeds, but means GCLKIN can come from either an external connector or an internal PLL with arbitrary clock speed.

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

Successfully merging this pull request may close these issues.

None yet

2 participants