of 25/25
MicroBlaze Tutorial Introduction This tutorial guides you through the process of using Xilinx Embedded Development Kit (EDK) software tools, in which this tutorial will use the Xilinx Platform Studio (XPS) tool to create a simple processor system. ISE Version: 9.2i or 10.1i Objectives This processor project should perform two simple jobs.First, it toggles the LED on the board off and on. Secondly, it continuously prints "Microblaze" to the screen. Process 1. Step through the project design steps. 2. Verify outputs on HyperTerminal. Implementation 1. Open the Xilinx Platform Studio by selecting it from the start menu. Figure 1 XPS Project Selection

MicroBlaze Tutorial Implementation

  • View
    2

  • Download
    0

Embed Size (px)

Text of MicroBlaze Tutorial Implementation

Microsoft Word - mb_tutorialIntroduction
This tutorial guides you through the process of using Xilinx Embedded Development Kit (EDK) software tools, in which this tutorial will use the Xilinx Platform Studio (XPS) tool to create a simple processor system. ISE Version: 9.2i or 10.1i
Objectives
This processor project should perform two simple jobs.First, it toggles the LED on the board off and on. Secondly, it continuously prints "Microblaze" to the screen.
Process
1. Step through the project design steps. 2. Verify outputs on HyperTerminal.
 
Figure 1 XPS Project Selection
 
                                             Figure 2 Project Directory Selection
3. Choose a directory for the sample project. Avoid directory names with spaces in them. 
    Figure 3 BSB Screen      
 
 
Figure 4 Board Selection
 
 
Figure 5 Processor Type
6. Select Next, saving the Microblaze as the processor to use in this design. (The EDK software allows the user to create a project for one of two types of processors. The
 
 
Figure 6 Basic Selections
7. Select Next, saving the default settings. (This is a menu specifically designed to configure the Microblaze. If there were a desire to change the clock frequencies then
 
Figure 7 Screen 1 of 3 for Interfaces
 
Figure 8 Screen 2 of 3 for Interfaces
 
Figure 9 Screen 3 of 3 for Interfaces
 
Figure 10 Internal Peripherals
 
Figure 11 Software Setup
 
Figure12 Address Maps
 
Figure 13 BSB Completion
 
 
Figure 15 OPB Connections
                                            
                                                                      Figure 16 Add Project
17. Double click on the Add Software Application Project. Choose a suitable project name, such as “test”. Don’t forget that the project name cannot have spaces.
Select OK.
Figure 17 Add Source File
 
 
 
 
Figure 18 For adding source file
 
Figure 19 System.c
 
Figure 20 Linker Script
 
 
Figure 21 Memory Assignments
 
Figure 22 Initialize BRAM
23. It is necessary to initialize the BRAM with the test project. Right-click on Default:microblaze_0_bootloop and deselect the Mark to Initialize BRAMs option.
 
Figure 24 HyperTerminal
25. Start the HyperTerminal software. As stated above, it is necessary to have a null modem cable to communicate between the Hyper Terminal on the PC and the FPGA platform. Hyper Terminal should be configured to connect using the port assigned to the USB-to- Serial cable.
Figure 25 Port Confirmation
26. If you are unsure about which COM Port you are using, you can see by going to the Device Manager under the hardware tab. To get there, go to control panel and then system. As shown above, the USB-to-Serial adapter that is connected to this PC is connected to COM6, therefore Hyper Terminal is also configured to connect using COM6.
Figure 26 HyperTerminal Parameters
 
Figure 27 Download Bitstream