-
Notifications
You must be signed in to change notification settings - Fork 118
Add support for Alchitry Pt V2 board #259
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
base: main
Are you sure you want to change the base?
Conversation
Clock(100e6), | ||
Attrs(IOSTANDARD="LVCMOS33"), | ||
), | ||
Resource("rst_n", 0, Pins("N15", dir="i"), Attrs(IOSTANDARD="LVCMOS33")), |
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.
Use LEDResources
.
Attrs(IOSTANDARD="LVCMOS33"), | ||
), | ||
# QSPI Flash | ||
Resource( |
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.
Use SPIFlashResources
.
# Analog differential pair (e.g., for XADC) | ||
Resource("vp_vn", 0, DiffPairs("L10", "M9", dir="i")), | ||
# DDR3 SDRAM | ||
Resource( |
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.
Use DDR3Resource
.
Attrs(IOSTANDARD="LVCMOS33"), | ||
), | ||
# Analog differential pair (e.g., for XADC) | ||
Resource("vp_vn", 0, DiffPairs("L10", "M9", dir="i")), |
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.
Can this be used as a Verilog input
?
Resource("led", 7, Pins("W20", dir="o"), Attrs(IOSTANDARD="LVCMOS33")), | ||
# FTDI USB Interface | ||
Resource( | ||
"usb", |
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.
A better name would be something like "ft232"
(assuming it's that chip).
This is based off of the existing official(?) definitions found at:
https://github.com/alchitry/Alchitry-Labs-V2/blob/master/src/main/kotlin/com/alchitry/labs2/hardware/pinout/PtV2TopPin.kt
https://github.com/alchitry/Alchitry-Labs-V2/blob/master/src/main/kotlin/com/alchitry/labs2/hardware/pinout/PtV2BottomPin.kt
There is also an alpha revision file for the top pins which we ignore for now, assuming it's some early unused revision:
https://github.com/alchitry/Alchitry-Labs-V2/blob/master/src/main/kotlin/com/alchitry/labs2/hardware/pinout/PtV2AlphaTopPin.kt
It's very lightly tested for now, but figured it's better to have some initial definition out there.