01-15-2015 10:50 PM
I have been trying to use the GPIOs in Vivado 2014.1
Since, the Zybo board is not mentioned in the supported boards while creating the project, i have mentioned the package.
I just want to read the switch value and print it in the console window in SDK.
I had made the model, added the required constraints in the xdc file, generated the bitstream and then exported it to SDK.
It worked fine.
Next, i changed my design to read the status of the push button. Accordingly i changed the xdc file, generated the bitstream and
exported to SDK. Now, after running the elf file, still the program is taking the values of switches and not the push buttons,
I have tried cleaning up the project in SDK, resetting the runs in Vivado and generating the bitstream. But, still the values are read
from switches. What would be the problem??
Can anyone help me at the earliest??
Thanks in advance
01-16-2015 02:50 AM
01-18-2015 05:32 AM
01-19-2015 01:33 AM - edited 01-19-2015 01:42 AM
01-19-2015 01:51 AM
You can create your custom board definition in Vivado.
Follow the steps below:
1. The files, you need, should be placed in the following location:
<Installation directory>\<Vivado Version>\data\boards\board_parts\<device family>\<Board Name>\<Board Version>
In the <Board Version> folder, you must have the following file:
The board_part.xml file contains the board info: part number, family of device, package, speed grade, definition of interfaces on the boards connected to the FPGA, etc.
2.. For Zynq board, you need to have the:
The ps7.tcl file (for Zynq) contains the initialization parameters.
If you have a DDRx component and want to have an easy MIG environment, have the:
The mig.prj (for non Zynq) is the MIG project file with the appropriate memory definitions.
At the end of the process, close the Vivado and reopen it to make sure you can find the new item in the board selection menu