Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
learn:programmable-logic:tutorials:nexys-video-dpti-demo:start [2017/02/07 10:44] – Sergiu Arpadi | learn:programmable-logic:tutorials:nexys-video-dpti-demo:start [2021/06/09 00:31] (current) – Arthur Brown | ||
---|---|---|---|
Line 5: | Line 5: | ||
----- | ----- | ||
===== Overview ===== | ===== Overview ===== | ||
+ | The DPTI demo consists of a Vivado hardware project, an SDK project for the MicroBlaze processor, and a Windows application written in Visual Studio. Using these, the user can communicate with the Nexys Video' | ||
+ | |||
==== Features Used ==== | ==== Features Used ==== | ||
Line 26: | Line 28: | ||
^ USB HID Host | ^ USB HID Host | ||
^ USB PROG/ | ^ USB PROG/ | ||
+ | |||
- | + | ---- | |
- | ===== Description ===== | + | |
- | The DPTI demo consists of a Vivado hardware project, an SDK project for the Microblaze processor and a Windows application written in Visual Studio. Using them the user can communicate with the Nexys Video' | + | |
- | | + | |
===== Prerequisites ===== | ===== Prerequisites ===== | ||
Line 37: | Line 37: | ||
* **Basic familiarity with Vivado** | * **Basic familiarity with Vivado** | ||
* //This experience can be found by walking through our " | * //This experience can be found by walking through our " | ||
- | * **Basic familiarity with SDK** | + | * **Basic familiarity with Xilinx |
- | * **Basic familiarity with Visual Studio 2008** | + | |
===Hardware=== | ===Hardware=== | ||
* **Nexys Video FPGA board** | * **Nexys Video FPGA board** | ||
* **Micro-USB cable** | * **Micro-USB cable** | ||
- | * **Nexys Video Power Supply** | ||
- | |||
===Software=== | ===Software=== | ||
- | * **Vivado Design Suite 2015.X** | + | * **Vivado Design Suite 2015.4** |
* // | * // | ||
- | * **Visual Studio 2008 Express Edition** | + | * **Xilinx SDK** |
- | * //Availavle | + | * **Digilent Adept 2 System** |
+ | * //Available | ||
- | ==== 1. Setup ==== | ||
- | Connect the Nexys Video to the PC using the USB PROG port. Plug in your Nexys Video and power it on. | + | ----- |
- | + | ||
- | ==== 2. Download the Project ==== | + | |
+ | ===== Downloads ===== | ||
Nexys Video Support Repository -- [[https:// | Nexys Video Support Repository -- [[https:// | ||
- | ==== 3. Load the Vivado Project | + | ------- |
- | + | ===== Tutorial ===== | |
- | In your now unzipped project, open the file NexysVideoDMAAudio.xpr. This should open your project in Vivado. | + | |
- | + | ||
- | *The screenshots below are from another project but should look relatively the same and will work for our purposes. | + | |
- | + | ||
- | + | ||
- | {{: | + | |
- | ==== 4. Synthesize, Implement and Generate Bitstream ==== | ||
- | To complete this step all that you need to do is click **Generate Bitstream** on the left hand menu towards the bottom. Vivado will run through both Run Synthesis and Run Implementation before it generates the bitstream automatically. If you want, you can click each step by itself in the order of **Run Synthesis**, | ||
- | {{: | + | ==== 1. Generate the Project ==== |
- | ==== 5. Connect | + | >1.1) Download the repository linked in the download section |
+ | > | ||
+ | >1.2) Generate the **DPTI** project within | ||
- | Once you have generated your bit file, Click on the hardware manager and connect to your board by choosing the local server option (Or press auto connect). | ||
- | {{:nexys4-ddr: | + | ---- |
- | After your board is connected, click program device to load the DMA Audio Demo onto your Nexys Video. | + | ==== 2. Build the Project ==== |
- | ==== 4. Export to SDK ==== | + | >2.1) Click **Generate Bitstream** on the left-hand menu towards the bottom. Vivado will run through both Run Synthesis and Run Implementation before it generates the bitstream automatically. |
+ | > | ||
+ | >Note: If you want, you can click each step by itself in the order of **Run Synthesis**, | ||
+ | > | ||
+ | > | ||
- | Export the microblaze project by going to **File> | + | ---- |
+ | ==== 3. Export to SDK ==== | ||
- | ==== 5. Import | + | >Export the MicroBlaze project by going to **File> |
- | In your project Explorer window on the left side, click **File> | + | ---- |
- | ==== 6. Program | + | ==== 4. Import |
- | Click **Xilinx Tools>Program FPGA** and click **Program**. Xilinx | + | >In your project Explorer window on the left side, click **File>Import** then expand the General tab and click **Existing Projects into Workspace**. Navigate to the download folder, select the **sdk** folder, and click OK. In the //Import// window, click Finish to import the SDK project. Once the project has been imported, right-click on **design_1_wrapper_hw_platform_0**, |
- | ==== 7. Run the program ==== | + | ---- |
- | Right click on the **demo** folder and click **Run as> | + | ==== 5. Program |
- | ===== Running | + | >Click **Xilinx Tools> |
- | This portion will help you run the demo and observe all its features. | + | ---- |
- | ==== 1. Recording from an input ==== | + | ==== 6. Run the SDK program |
- | To record from the microphone input, press btnu. To record from the line input, press btnr. Once the recording is activated, the message "Start Recording..." | + | > |
- | ==== 2. Playing to an output ==== | + | ---- |
- | To play to the microphone input, press btnd. To play to the line output, press btnl. Once the playback | + | ==== 7. Running the Nexys Video DPTI Demo ==== |
+ | > | ||
+ | >7.1) Double-click on the **DPTI_Transfer.exe** file found in the **DPTI_Transfer> | ||
+ | > | ||
+ | >7.2) Select **Write | ||
+ | > | ||
+ | > | ||
+ | > | ||
+ | >Click on the **Select file** button and choose a file that you wish to transfer | ||
+ | > | ||
+ | >After selecting the file, press the **Write data** button to send the file. You can follow | ||
+ | > | ||
+ | > | ||
+ | > | ||
+ | >When the transfer | ||
+ | > | ||
+ | > | ||
+ | > | ||
+ | >7.3) Now select the **Read from memory** option | ||
+ | > | ||
+ | > | ||
+ | > | ||
+ | > | ||
- | {{tag> | + | {{tag> |