Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| learn:programmable-logic:tutorials:cmod-a7-user-demo:start [2017/03/28 16:39] – [Downloads] Andrew Holzer | learn:programmable-logic:tutorials:cmod-a7-user-demo:start [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Overview ===== | ===== Overview ===== | ||
| + | |||
| + | ==== Description ==== | ||
| + | |||
| + | This simple User Demo project is a Microblaze project that tests the SRAM on the Cmod A7 and features the basic I/O on the device. | ||
| + | |||
| + | * The SRAM is tested and the results can be seen through the UART port. | ||
| + | * The RGB LED cycles through different colors while BTN1 is pressed. | ||
| + | * The User LEDs display a 2 bit binary counter while BTN1 is pressed. | ||
| + | |||
| + | ------- | ||
| + | |||
| ==== Features Used ==== | ==== Features Used ==== | ||
| - | |||
| | ^ Not Used ^ Used ^ | | ^ Not Used ^ Used ^ | ||
| ^ 2 user LEDs | | ^ 2 user LEDs | | ||
| - | ^ 1 tri-color | + | ^ 1 tri-color |
| ^ 2 User Push Buttons | ^ 2 User Push Buttons | ||
| ^ 48 GPIO Pins | ^ 48 GPIO Pins | ||
| Line 17: | Line 27: | ||
| ^ USB-UART Bridge | ^ USB-UART Bridge | ||
| ^ 512 kB SRAM | | ^ 512 kB SRAM | | ||
| - | |||
| - | |||
| - | ===== Description ===== | ||
| - | |||
| - | This simple User Demo project is a Microblaze project that tests the SRAM on the Cmod A7 and features the basic I/O on the device. | ||
| - | |||
| - | * The SRAM is tested and the results can be seen through the UART port | ||
| - | * BTN1 when pressed cycles through different colors of the RGB LED | ||
| - | * BTN1 when pressed creates a binary counter with the user LEDs counting up to 3 | ||
| - | |||
| - | |||
| - | ------- | ||
| ===== Prerequisites ===== | ===== Prerequisites ===== | ||
| Line 38: | Line 36: | ||
| ===Software=== | ===Software=== | ||
| * **Vivado Design Suite 2016.4** | * **Vivado Design Suite 2016.4** | ||
| - | * //Newer versions can be used, but the procedure may vary slightly// | + | * // |
| * Xilinx SDK 2016.4 must be included in the installation | * Xilinx SDK 2016.4 must be included in the installation | ||
| * **Digilent Board Support Files for Vivado** | * **Digilent Board Support Files for Vivado** | ||
| * Follow the [[vivado: | * Follow the [[vivado: | ||
| + | |||
| ----- | ----- | ||
| ===== Downloads ===== | ===== Downloads ===== | ||
| - | Cmod A7 15T Project Repository -- [[https:// | + | Cmod A7 15T OOB Project Repository -- [[https:// |
| - | Cmod A7 35T Project Repository -- [[https:// | + | Cmod A7 35T OOB Project Repository -- [[https:// |
| + | |ZIP Archive]] | ||
| ------- | ------- | ||
| - | ===== How to... ===== | ||
| + | ===== Download and Launch the Cmod A7 Out of Box Demo ===== | ||
| - | ==== 1. Generate the Project ==== | + | > |
| - | + | ||
| - | >1.1) Download | + | |
| - | + | ||
| - | >1.2) Generate the **User** project in the Projects folder by following this guide before continuing: | + | |
| - | + | ||
| - | ==== 2. Build the Project | + | |
| - | + | ||
| - | >2.1) Click **Generate Bitstream** on the left hand menu towards the bottom. Vivado will run through both Run Synthesis | + | |
| - | > | + | |
| - | >Note: If you want, you can click each step by itself | + | |
| > | > | ||
| - | >{{: | + | ><WRAP round important 660px> |
| + | ===Important=== | ||
| + | Make sure that between the 15T and 35T versions of the project, you download the version that applies to your Cmod A7. | ||
| + | </ | ||
| - | ==== 3. Program the Board ==== | + | >2) In order to fully use the demo, you will need to connect a serial terminal to your Cmod A7. Plug your board into your computer with a Micro USB cable and make sure it has power. Then open a serial terminal (such as TeraTerm) |
| - | + | ||
| - | >3.1) Once you have generated | + | |
| > | > | ||
| - | >{{:nexys4-ddr:deviceconnected.jpg?600|}} | + | >{{:learn: |
| - | >3.2) Click program to load the project onto your Cmod A7. | ||
| - | ==== 4. Export to SDK ==== | + | ===== Using the Cmod A7 Out of Box Demo ===== |
| - | Export the microblaze project by going to **File> | + | ==== 1. Observing |
| - | + | >For this demo, every time **BTN1** | |
| - | ==== 5. Import the SDK files ==== | + | |
| - | + | ||
| - | In your project Explorer window on the left side, click **File> | + | |
| - | + | ||
| - | ==== 6. Program the FPGA ==== | + | |
| - | + | ||
| - | Click **Xilinx Tools> | + | |
| - | + | ||
| - | ==== 4. Run the Project ==== | + | |
| - | + | ||
| - | + | ||
| - | This portion will help you run the demo and observe all its features. | + | |
| - | + | ||
| - | >4.1) Observing the different LED colors | + | |
| - | > | + | |
| - | >For this demo, every time btn1 is pressed, the led state changes. The user LEDs create a 2 bit binary counter that increments every time the button is pressed. The RGB LED changes color every time the button is pressed. | + | |
| > | > | ||
| > | > | ||
| - | >4.2) UART | + | ==== 2. UART Messages ==== |
| - | > | + | |
| - | >Connect a terminal program with the settings 9600 baud rate, 8 bits, one stop bit, and no parity bit. On reset, the board will go through a memory test and will print out the result. If the memory is working, the following message will appear. | + | >Whenever |
| > | > | ||
| > | > | ||
| - | > | + | |
| - | >Also whenever | + | >Whenever |
| > | > | ||
| > | > | ||
| - | {{tag> | + | {{tag> |

