This is an old revision of the document!
You will use the Xilinx Vivado design software to design digital circuits and then test those designs on the circuit board. This is a very large, commercial software package that is being provided free of charge for your use. Options for using this to complete the labs include the following (sorted from most preferable to least preferable).
You will go to the Xilinx website and download and install a copy of Vivado to run. This is ONLY available if you are running Windows. If you have a Mac you must do Option #2.
PROS:
CONS:
Xilinx provides a “free” version of the Vivado tools for student use called “WebPack”. This is a limited version of the tool that only works with a few of the FPGAs that Xilinx manufactures. Fortunately, it supports the FPGA we are using for our class. If you have access to a computer/laptop with plenty of hard drive space (the compressed image is about 10 GB and expands to about 25 GB) and a decent processor, you may want to pursue this route. Make sure you download version 2019.1(but if mistakenly you get 2019.2 like some have, it should not really matter).
That should do it.
You will use the “LabConnect” software from the college to run Vivado on the lab machines. You will then install Digilent Adept 2, a smaller piece of software, on your machine to control the circuit board. Like option #1, it is ONLY available if you have Windows. If you have a Mac you must do Option #2.
PROS:
CONS:
You will then use LabConnect to run the Vivado design tools. Once you have a design completed you will have to copy the circuit configuration file (.bit) from the lab computers to your local machine and then use the Digilent Adept 2 sofware you just downloaded above to actually program the circuit board to test your circuits.
Run the Adept you just installed to conect to the board.
The first time you run Adept, Windows might take a while trying to update the Digilent drivers. In my testing on a Win7 machine (old) I figured it would never finish so I told it to cancel. It installed the standard drivers and everything worked just fine.
When you fire up Adept, if the board is plugged in and powered on, it should auto-detect as shown in the figure below. The 220 lab boards have xc7a100t FPGA devices on them and so the figure below shows this has been detected by the software. This shows that it is ready to program the board and you are ready to go. Any time the tutorials in the lab tell you to run the Xilinx Hardware Manager, you should run Adept on your local computer instead.
If you have problems with Option #2 you can use this one. It is a hybrid of #2 and #3 and requires a much smaller download.
This assumes you will use LabConnect as in Option #3. CAEDM does have a LabConnect option - follow the instructions above but do the Mac version of the install. Most everything else is similar. Once you have LabConnect installed you will be able to do Vivado designs on a lab machine in the department.
The problem is that once you finish your design, you need a way to get the .bit file onto your local machine to program the board you have. The following instructions show how to set up that step.
So, the big picture is this: (a) use LabConnect to do FPGA design on the department lab machines, (b) copy the resulting .bit file from the department machine to your local machine (in the Linux machine), © program the .bit file into the FPGA using vivado_lab.
If you have problems with Options #2 or #5 you can use this one. It is a hybrid of #2 and #3 and requires a much smaller download.
This assumes you will use LabConnect as in Option #3. CAEDM does have a LabConnect option to allow you to work on the BYU lab machines - follow the instructions above but do the Mac version of the install. Most everything else is similar. Once you have LabConnect installed you will be able to do Vivado designs on a lab machine in the department.
The problem is that once you finish your design, you need a way to get the .bit file onto your local machine to program the board you have. The following instructions show how to set up that step.
Now, follow the instructions at: https://github.com/byu-cpe/BYU-Computing-Tutorials/wiki/Program-7-Series-FPGA-from-a-Mac-or-Linux-Without-Xilinx. It will show you how you can program the board directly from your Mac (or any other machine that will run 'openocd'.
So, the big picture is this: (a) use LabConnect to do FPGA design on the department lab machines, (b) copy the resulting .bit file from the department machine to your local machine (in the Linux machine), © program the .bit file into the FPGA using openocd.
If you have a Mac, you must do #2. If you have Windows you can do any of #1, #2, #3. I can see benefits with each of them.