Forum Discussion
YigalB1
New Contributor
1 year agoDE10 Lite setting pins from VErilog RTL
In my design, the GPIOs need to be used to connect to external host (Raspberry PI (aka RPI) in this case). The GPIOs connector of the DE10 lite will be connected to the RPI connector. Some are inp...
- 1 year ago
Just edit the top-level. And you need to give unique names to inputs vs. outputs (GPIO_IN vs. GPIO_OUT perhaps).
RichardT_altera
Super Contributor
1 year agoDropping a note to ask if my last reply was helpful to you.
Do you need any further assistance from my side?
Regards,
Richard Tan
- YigalB11 year ago
New Contributor
I think there is a way to control pinout from the RTL source file.
There is a "golden top" within "CD-ROM" download files. All the pins are listed, I assume these are keywords that guide the pin planner.
The problem I faced was with definition of IOs: GPIO[35:0] was defined as INOUT.
When trying to define part of it as Input, and part as output (i.e input GPIO[7:0]; output GPIO[15:8];) the compiler reported error fo double definition of GPIO.