I have s9_emio already that has 51 emio pins configured to go to the 47 externally routed FPGA signals and the 4 onboard LED. This time I am repeating that projet, but setting up the Tcl scripts so I can put it on Github, as well as use it as a jumping off port to add fancy LED control.
I start by making a throw-away block diagram project I call "zzz".
I launch Vivado and use the create project "wizard".
The part is xc7z010clg400-1.
Next we create a block design. The usual "design_1" default will be fine. I add the Zynq block and do two customizations:
Go to Sources, expand Design Sources, then select design_1 and get a menu. Select "create HDL wrapper".
We could have done this right up front, but it doesn't hurt at all to do it after setting up the model and generating the HDL wrapper.
Under "sources" I use the big "+" and change the selection to "add or create constraints". Then I used the "add" button, navigate to where my constraint file is, and add it.
/u1/home/tom/vivado/zzz/zzz.runs/impl_1/design_1_wrapper.bit
And we have a bitstream!
/u1/home/tom/vivado/s9_emio/s9_emio.runs/impl_1/design_1_wrapper.bitWe can copy this into Kyu, rebuild, and write some C code to test this.
Tom's Computer Info / tom@mmto.org