Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| learn:programmable-logic:tutorials:basys-3-getting-started-with-microblaze:start [2016/07/14 21:14] – jon peyron | learn:programmable-logic:tutorials:basys-3-getting-started-with-microblaze:start [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Basys 3 - Getting started in Microblaze | + | ====== Basys 3 Getting started in Microblaze |
| + | |||
| + | <WRAP round important 660px> | ||
| + | === Important! === | ||
| + | This guide is obsolete, the updated guide can be found [[: | ||
| + | </ | ||
| > | > | ||
| Line 117: | Line 122: | ||
| > | > | ||
| - | >3.3) Double click the **Clocking Wizard** block to customize it. Click on the **Output Clocks** tab and confirm | + | >3.3) Double click the **Clocking Wizard** block to customize it. Click on the **Output Clocks** tab. Make sure **clk_out1** |
| > | > | ||
| > | > | ||
| Line 134: | Line 139: | ||
| {{: | {{: | ||
| - | >4.3) Change default settings in the block options as shown below and click **OK**. This will customize the block with our new user settings. | + | >4.3) Change default settings in the block options as shown below and click **OK**. This will customize the block with our new user settings. |
| + | > | ||
| + | >Local Memory: 128KB | ||
| + | >Local Memory ECC: None | ||
| + | >Cache Configuration: | ||
| + | >Debug Module: Debug only | ||
| + | > | ||
| + | > | ||
| + | >Clock Connection: / | ||
| + | > | ||
| + | > | ||
| > | > | ||
| - | > | ||
| - | |||
| >4.4) Running the block automation will auto-generate a set of additional IP blocks which will be added to our hardware design automatically based on the options selected in the previous step. **Do not click on Run Connection Automation yet.** | >4.4) Running the block automation will auto-generate a set of additional IP blocks which will be added to our hardware design automatically based on the options selected in the previous step. **Do not click on Run Connection Automation yet.** | ||
| > | > | ||
| Line 150: | Line 163: | ||
| >: | >: | ||
| - | >5.2) Click **Run Connection Automation** in the green banner. Check the **All Automation** | + | >5.2) Click **Run Connection Automation** in the green banner. Check the **All Automation** |
| > | > | ||
| > | > | ||
| - | >5.3) Click **Run Connection Automation** again in the green banner. Check the **All Automation** | + | >5.3) Click **Run Connection Automation** again in the green banner. Check the **All Automation** |
| > | > | ||
| > | > | ||
| - | >5.4) Select {{: | + | >5.4) Select {{: |
| > | > | ||
| - | > | ||
| - | |||
| - | >5.5) Select messages and look at only the Errors. Click on the second blue link and change from active low to active high in the box above the messages console. | ||
| > | > | ||
| - | >{{: | + | >5.5) Click the {{: |
| - | + | ||
| - | >5.6) Add an IP core by clicking on the {{: | + | |
| > | > | ||
| - | >{{:basys3:image_11.jpg?600|}} | + | >{{:learn:programmable-logic: |
| - | + | ||
| - | >5.7) Move all the connections to and from the rst_clk_wiz to the Processor System Reset | + | |
| > | > | ||
| - | >{{: | + | >5.6) Select {{: |
| - | + | ||
| - | 5.8) Click the {{: | + | |
| - | > | + | |
| - | > | + | |
| - | + | ||
| - | 5.9) Select {{: | + | |
| > | > | ||
| > | > | ||
| - | >5.10) Click into the Processor System Reset. Under the basic tab the Ext Reset Logic Level(auto) should be set to 1. | ||
| - | > | ||
| - | > | ||
| ----- | ----- | ||
| Line 200: | Line 197: | ||
| ----- | ----- | ||
| - | ====7. Generate a bitstream ==== | + | ==== 7. Generate a bitstream ==== |
| >7.1) Click Generate bitstream | >7.1) Click Generate bitstream | ||
| Line 207: | Line 204: | ||
| + | ----- | ||
| ====8. Exporting Hardware Design to SDK ==== | ====8. Exporting Hardware Design to SDK ==== | ||
| Line 244: | Line 241: | ||
| >This is the main .C file which will print "Hello World" in the console when executed. | >This is the main .C file which will print "Hello World" in the console when executed. | ||
| > | > | ||
| - | > | ||
| - | > | ||
| > | > | ||
| + | |||
| + | ====10. Programming FPGA with Bit File ==== | ||
| + | |||
| + | >10.1) Make sure that the Basys 3 is turned on and connected to the host PC via the USB-JTAG port - this port will serve dual purpose as the USB-UART connection to the Microblaze. | ||
| + | > | ||
| + | >On the top toolbar, click the {{: | ||
| + | |||
| + | >10.2) Click **Program** to program your FPGA with your hardware design. | ||
| + | > | ||
| + | > | ||
| + | |||
| + | ----- | ||
| + | |||
| + | ====11. Setting up UART Terminal==== | ||
| + | |||
| + | >11.1) Open up a Serial Terminal application(Terra Term). Connect to the Basys 3 UART port with a baud rate of 9600. This baud rate can be altered in your block design by double clicking the Uartlite block. | ||
| + | > | ||
| + | > | ||
| + | > | ||
| + | >11.2) With Tera Term serial port settings | ||
| + | > | ||
| + | > | ||
| + | |||
| + | ----- | ||
| + | ====12. Program the Microblaze Processor==== | ||
| + | |||
| + | >12.1) Back in SDK, select your **Hello_world** project and click the {{: | ||
| + | > | ||
| + | > | ||
| + | |||
| + | >12.2) Your program will run and you should see "Hello World" pop up inside of your Serial Terminal. Hooray! | ||
| + | > | ||
| + | > | ||
| ----- | ----- | ||
| + | / | ||

