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 Terasic DE0-CV #31

Merged
merged 1 commit into from Oct 3, 2019
Merged

Add Terasic DE0-CV #31

merged 1 commit into from Oct 3, 2019

Conversation

Ravenslofty
Copy link
Contributor

No description provided.

Resource("clk50", 2, Pins("E10", dir="i"),
Clock(50e6), Attrs(io_standard="3.3-V LVTTL")),
Resource("clk50", 3, Pins("V15", dir="i"),
Clock(50e6), Attrs(io_standard="3.3-V LVTTL")),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't there some sort of global reset pin?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P22 (DEV_CLRN) is connected to a button to reset the FPGA. To me it doesn't make much sense to add that as a device when the world ends if it's pressed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that pin hardcoded in the toolchain? Or is it actually usable in user designs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the pinout list it's fixed as DEV_CLRn, so I would imagine it's not usable in designs.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's usable in user designs:

You can also tie the DEV_CLRn pin to VCCIO or leave the DEV_CLRn pin unconnected provided that the Enable device-wide reset (DEV_CLRn) option is disabled and not used as a user I/O pin

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ECP5 has a similar "fixed function" pin which is actually totally arbitrary and just routed like any other global input.

But I think this doesn't really matter, I'll merge as it is since it looks fine.

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

Successfully merging this pull request may close these issues.

None yet

2 participants