-
Tried to build one of the graphics projects in vivado 2022.2 but when i enter the code for say "top_square" i get a lot of syntax errors. Is this code not written to work in vivado 2022.2 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello, Thank you for creating the first question in Project F discussions. 😃 The FPGA Graphics projects should work fine in Vivado 2022.2. What sort of syntax errors are you seeing? Did you run the create project script? The project creation script is configured for the Digilent Arty board by default. If you have a different board, you need to follow the instructions in the README: https://github.com/projf/projf-explore/tree/main/graphics/fpga-graphics#other-xilinx-7-series-boards If you haven't already checked out the FPGA Graphics blog post, then I recommend reading that to get an understanding of the different files in the project. I hope this helps, and good luck with your hardware design. |
Beta Was this translation helpful? Give feedback.
-
Many thanks Will for getting back to me. Being a novice with FPGA coding, I had only worked with Verilog code and was not aware of SystemVerilog code (although I had read this on your blog). In Vivado 2022.2 I created a new project for an Arty A7-35. I then created a Design Source ("Create File" not "Add File") but did not change the file type from "Verilog" to "SystemVerilog", hence the syntax errors I was seeing in the created (pasted) code. I have now successfully "Run Synthesis", "Run Implementation" and "Generate Bitstream" for your "top_square" project. My Arty A7-35 should be arriving tomorrow, so I can then program the Arty and connect it to a VGA monitor. |
Beta Was this translation helpful? Give feedback.
Hello,
Thank you for creating the first question in Project F discussions. 😃
The FPGA Graphics projects should work fine in Vivado 2022.2. What sort of syntax errors are you seeing?
Did you run the create project script?
graphics/fpga-graphics/xc7/vivado/create_project.tcl
The project creation script is configured for the Digilent Arty board by default. If you have a different board, you need to follow the instructions in the README: https://github.com/projf/projf-explore/tree/main/graphics/fpga-graphics#other-xilinx-7-series-boards
If you haven't already checked out the FPGA Graphics blog post, then I recommend reading that to get an understanding of the different files in the project.
I…