Getting Started - Tool Installation
Obtaining your FPGA board
Process is still being established.
- We will email you instructions on when/where to pick up your FPGA board.
Software Installation
Important. Follow the instructions in this document.
- It is also linked in the
Labs..Lab0subdirectory of the EE 560 shared folder. - It has links to all the software and installation guides needed and multiple tabs for various programs that you may need to install.
ONLY use the links below AFTER completing the necessary installations above.
Familiarize Yourself with Xilinx Vivado (May Be able to Skip)
- Xilinx Vivado - Digilent instructions
- We expect that you have already installed Xilinx Vivado using the instructions linked at the top of this page.
- EE354L_Lab1_Nexys4_VDI_Questasim_Vivado_Intro.pdf and [pptx]((https://viterbi-web.usc.edu/www-classes/engr/ee-s/254/ee254l_lab_manual/introduction/EE354L_Lab1_Nexys4_VDI_Questasim_Vivado_Intro.pptx)
Test Your Xilinx Access and FPGA
Once you have received an FPGA and installed the tools above (or gained access to the VDI), let us test your board and tool access.
- From your PC or the VDI, download or clone the code in this Github repo (or there may be a .zip file with the code in our shared folder).
- Use the
.tclfilesynsubfolder to create a Vivado project with the provided Verilog source and.xdccontsraints file in thesrcfolder. To do this follow these steps:- Start Vivado.
- Once it loads, choose
Tools..Run Tcl Scriptand navigate to thesynsubfolder and find the provided.tclfile. Choose it and clickOK. It should create a project for you in thesynfolder and reference the sources in thesrcfolder.
- Before synthesizing from the raw source files, try to use the
Hardware Managerto download a solution (pre-synthesized).bitfile.- The
bitsubfolder it contains a solution.bitfile you can use to program the FPGA via Vivado, via theHardware Manager. - Connect your FPGA via the USB cable.
- Click
Open Hardware Managerfrom the lower area of the left-hand Flow Navigator (it will be underGenerate Bitsream). - When
Hardware Manageropens, there should be an option toOpen Targetat the top. Select that and then chooseAuto Connect. If you are asked to allow permission for any software to access various resources, sayYesor agree. - The connection should succeed and under the Hardware pane near the upper left, you should find a hierarchy of
localhost,xilinx_..., and thenxc7a100t...which is our FPGA part. Right click thatxc7at100row and chooseProgram Device. In theBitstream filearea choose...to navigate and select the provided.bitfile. Download that bitstream and verify you seeFFFF0000and a seqeunce of LEDS going in both directions.
- The
- Next, attempt to recreate your own version of the
.bitfile from original sources (Verilog design and constraints (.xdc) file) by synthesizing, implementing, and generating the bit stream. See if you can achieve the same functionality with your.bitfile.- Close
Hardware Managerand double-clickGenerate Bitstream. This will synthesize, implement and produce a new bitstream in some subfolders undersyn. It will take several moments. Be patient - Once it completes successfully, walk through the steps again to open Hardware Manager, connect to and program the board using the new
.bitfile, and verify its behavior.
- Close
Reference this material as needed:
- Nexys A7 Links
Editor
- If you don’t have an editor, we recommend Visual Code
- A secondary option is Notepad++
SCF Access
Separately, using your USC NetID make sure you can access your Unix account on viterbi-scf1.usc.edu or viterbi-scf2.usc.edu. Sometimes, if you did not access it for quite a long time, it gets disabled and then you need to reset your password at here. You will need access to submit the code and answers for many labs.
