Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
learn:programmable-logic:tutorials:program_fpgas_through_multisim:start [2020/08/04 11:33] – [Software] Monica Ignat | learn:programmable-logic:tutorials:program_fpgas_through_multisim:start [2022/09/12 14:18] (current) – changed forum.digilentinc.com to forum.digilent.com Jeffrey | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Programming Digilent FPGA Boards Through Multisim ====== | ====== Programming Digilent FPGA Boards Through Multisim ====== | ||
- | {{https:// | + | |
===== Overview ===== | ===== Overview ===== | ||
Line 9: | Line 9: | ||
====Hardware==== | ====Hardware==== | ||
You will need one of Digilent' | You will need one of Digilent' | ||
- | *[[http://store.digilentinc.com/ | + | *[[https://digilent.com/shop/ |
- | *[[http://store.digilentinc.com/ | + | *[[https://digilent.com/shop/arty-a7-artix-7-fpga-development-board/ |
- | *[[http://store.digilentinc.com/ | + | *[[https://digilent.com/shop/ |
- | *[[http://store.digilentinc.com/ | + | *[[https://digilent.com/shop/ |
- | *[[http://store.digilentinc.com/nexys-4-ddr-artix-7-fpga-trainer-board-recommended-for-ece-curriculum/ | + | *[[https://digilent.com/shop/nexys-a7-fpga-trainer-board-recommended-for-ece-curriculum/ |
- | Note that in order to fully utilize the capabilities of the Basys 3 and Nexys 4 DDR, there are some configuration file changes that need to be made. Please see step 5 below for more information on that. | + | Note that in order to fully utilize the capabilities of the Basys 3 and Nexys 4 DDR, there are some configuration file changes that need to be made. Please see [[# |
====Software==== | ====Software==== | ||
- | * [[http://store.digilentinc.com/labview-home-bundle/NI |LabVIEW | + | * [[https://www.ni.com/en-us/ |
- | * [[http://store.digilentinc.com/ | + | * [[https://digilent.com/shop/ |
- | * [[https:// | + | * Xilinx Vivado |
- | * [[http:// | + | * [[https:// |
| | ||
Install each program, starting with LabVIEW and following the on screen prompts. Make sure that each is running properly before continuing. Double check that all programs were installed to the same root directory. On some Windows machines, LabVIEW installs to " | Install each program, starting with LabVIEW and following the on screen prompts. Make sure that each is running properly before continuing. Double check that all programs were installed to the same root directory. On some Windows machines, LabVIEW installs to " | ||
Line 29: | Line 29: | ||
=====Tutorial===== | =====Tutorial===== | ||
- | ====1. Installing the LabVIEW/ | + | ====1. Installing the LabVIEW |
- | Click on the link above to navigate to the download page for the tool module. You'll see two options. | + | Click on the link above to navigate to the download page for the tool module. You'll see the following. |
- | + | ||
- | {{https:// | + | |
- | + | ||
- | The recommended "NI Download Manager" | + | |
- | + | ||
- | If the *.iso file does not auto-mount then double click on it to open it from your default Downloads folder. Double click on Setup. | + | |
- | + | ||
- | {{https:// | + | |
- | Click on " | + | {{: |
- | {{https:// | + | Your downloaded software is delivered using the NI Package Manager. After the download is complete, NI Package Manager launches and you can start installing the software. |
- | The software will do a quick search for any updates. Accept any that show up then click " | + | First, read and accept the license agreements. Then, click on " |
- | {{https:// | + | {{:learn: |
- | Accept | + | The package manager will display information regarding |
- | {{https:// | + | {{:learn: |
Click " | Click " | ||
- | {{https:// | + | {{:learn: |
Get some popcorn, watch a movie, take a nap, grow some roses, etc. while you watch the progress bar. | Get some popcorn, watch a movie, take a nap, grow some roses, etc. while you watch the progress bar. | ||
- | {{https:// | + | {{:learn: |
Once the install is complete, be sure to restart your computer. | Once the install is complete, be sure to restart your computer. | ||
- | After restarting, navigate to " | + | After restarting, navigate to " |
- | {{https:// | + | {{:learn: |
Now that all of the correct programs and associated files are installed, let's get to programming some logic. | Now that all of the correct programs and associated files are installed, let's get to programming some logic. | ||
Line 175: | Line 167: | ||
{{https:// | {{https:// | ||
- | In the next window be sure that the "NI LabVIEW FPGA" tool option is highlighted in the box. Click " | + | In the next window be sure that the "NI LabVIEW FPGA" tool option is highlighted in the box. Click " |
- | {{https:// | + | {{:learn: |
Multisim will then connect to Vivado to generate the correct files it needs to program the board. This may take several minutes. Once the 4 steps are complete, your board is programmed and ready. | Multisim will then connect to Vivado to generate the correct files it needs to program the board. This may take several minutes. Once the 4 steps are complete, your board is programmed and ready. | ||
- | {{https:// | + | {{:learn: |
Here is my Basys 3 with the Full Adder circuit loaded. | Here is my Basys 3 with the Full Adder circuit loaded. | ||
Line 190: | Line 182: | ||
Multisim uses configuration files to communicate between Multisim and Vivado. Each board requires two, one as a .mspc file and the other as either .ucf or as .xdc. If you have either the Basys 3 or the Nexys 4 DDR (not the original Nexys 4) there are some files that are either missing or incomplete, so here is a quick walkthrough on how to add and/or modify them. If you are using any other board, you can skip this step. | Multisim uses configuration files to communicate between Multisim and Vivado. Each board requires two, one as a .mspc file and the other as either .ucf or as .xdc. If you have either the Basys 3 or the Nexys 4 DDR (not the original Nexys 4) there are some files that are either missing or incomplete, so here is a quick walkthrough on how to add and/or modify them. If you are using any other board, you can skip this step. | ||
- | For the Nexys 4 DDR, first be sure that Multisim is not running. Then download [[https:// | + | For the Nexys 4 DDR, first be sure that Multisim is not running. Then download [[https:// |
The Basys 3 configuration files that are packaged with Multisim when you install it are missing some definitions. If you simply want to download the correct versions and overwrite the existing files, download [[https:// | The Basys 3 configuration files that are packaged with Multisim when you install it are missing some definitions. If you simply want to download the correct versions and overwrite the existing files, download [[https:// | ||
Line 198: | Line 190: | ||
{{https:// | {{https:// | ||
- | In order to fix this, we need to modify these installed configuration files. To find them, first make sure that Multisim is not running, then navigate to the root directory for Multisim. The file path should be similar to " | + | In order to fix this, we need to modify these installed configuration files. To find them, first make sure that Multisim is not running, then navigate to the root directory for Multisim. The file path should be similar to " |
{{https:// | {{https:// | ||
Line 313: | Line 305: | ||
{{https:// | {{https:// | ||
- | If you have any problems with this process, feel free to post your questions to the [[https:// | + | If you have any problems with this process, feel free to post your questions to the [[https:// |
{{tag> | {{tag> |