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 [2017/05/15 18:52] – brandon marcum | 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 [[# | ||
====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 27: | 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:// | + | {{:learn: |
- | The recommended "NI Download | + | Your downloaded software is delivered using the NI Package |
- | If the *.iso file does not auto-mount then double | + | First, read and accept |
- | {{https:// | + | {{:learn: |
- | Click on " | + | The package manager will display information regarding the software being installed. |
- | {{https:// | + | {{:learn:programmable-logic:tutorials: |
- | + | ||
- | The software will do a quick search for any updates. Accept any that show up then click " | + | |
- | + | ||
- | {{https:// | + | |
- | + | ||
- | Accept the 3 License Agreements and click " | + | |
- | + | ||
- | {{https:// | + | |
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 173: | 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 185: | Line 179: | ||
{{https:// | {{https:// | ||
- | ====5. | + | ====5. |
- | In working | + | 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 |
+ | |||
+ | 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:// | ||
+ | |||
+ | When you open a new PLD project in Multisim and select the Basys 3 as your target board, there are several I/O options that are missing. Specifically, | ||
{{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 200: | Line 200: | ||
{{https:// | {{https:// | ||
- | There is no need to modify any of the data in the top section. The portion we are concerned with is all the data between the | + | There is no need to modify any of the data in the top section. The portion we are concerned with is all the data between the < |
- | + | ||
- | tags. Each I/O pin definition requires a few basic parameters to define it. The " | + | |
You are welcome to add the missing pins on your own as needed, or you can copy and paste the definitions found here. | You are welcome to add the missing pins on your own as needed, or you can copy and paste the definitions found here. | ||
< | < | ||
Line 307: | 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> |