Xilinx ML605 Hardware Tutorial
ML605 Xilinx Computer Hardware PDF Hardware Tutorial (40 pages)
Text of Xilinx ML605 Hardware Tutorial
AXI Interface Based
ML605/SP605 MicroBlaze
Processor Subsystem
Hardware Tutorial
UG669 (v3.0) March 15, 2011
Xilinx ML605 ML605/SP605 Hardware Tutorial
www.xilinx.com
UG669 (v3.0) March 15, 2011
Xilinx is disclosing this user guide, manual, release note, and/or specification (the “Documentation”) to you solely for use in the development
of designs to operate with Xilinx hardware devices. You may not reproduce, distribute, republish, download, display, post, or transmit the
Documentation in any form or by any means including, but not limited to, electronic, mechanical, pho
ML605/SP605 Hardware Tutorial www.xilinx.com
3
UG669 (v3.0) March 15, 2011
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Hardware and Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ML605/SP605 Hardware Tutorial www.xilinx.com
5
UG669 (v3.0) March 15, 2011
AXI Interface Based ML605/SP605
MicroBlaze Processor Subsystem
Hardware Tutorial
Introduction
This tutorial provides the steps required to build and modify the Xilinx® ML605
MicroBlaze™ Processor Subsystem or the Xilinx SP605 MicroBlaze Processor Subsystem.
The tutorial starts with steps in building the basic subsystem. The basic subsystem is then
modified by adding the cores nec
ML605/SP605 Hardware Tutorial UG669 (v3.0) March 15, 2011
Prerequisites
Prerequisites
Prerequisites required to run the basic tutorial are:
•
ML605 MicroBlaze Processor Subsystem:
•
Proper hardware setup and software installation, as described in UG668, Getting
Started with the Virtex-6 FPGA ML605 Embedded Kit [Ref 2]
•
Familiarity with the ML605 MicroBlaze Processor Subsystem, documented in
DS668, AXI Interface Based ML605 Embedded
ML605/SP605 Hardware Tutorial www.xilinx.com
7
UG669 (v3.0) March 15, 2011
Included Files and Systems
Included Files and Systems
The Tutorial_Sandbox directory is a working area for this tutorial. It is provided as part
of the ML605 or SP605 Embedded Kit and contains the benchmarking IP cores that are
added to the base MicroBlaze Processor Subsystem to create the benchmarking system.
Figure 1 shows the directory structure for the Tutorial_Sandbox working a
ML605/SP605 Hardware Tutorial UG669 (v3.0) March 15, 2011
Included Files and Systems
The directory structure of the completed tutorial (Tutorial_Completed) is shown in
Figure 2.
X-Ref Target - Figure 2
Figure 2:
Completed Tutorial Directory Structure
ML605_Embedded_Kit/
SP605_Embedded_Kit
Documentation
edkBmmFile_bd.bmm
system.xml
ise_top.bit (contains no bootloop)
system.ucf
SW
HW
hw_platform
hw
data
BenchmarkDemo.elf
BenchmarkDemo
SDK_Ex
ML605/SP605 Hardware Tutorial www.xilinx.com
9
UG669 (v3.0) March 15, 2011
Executing the System
Executing the System
The ready_for_download directory contains the pre-built bitstream and ELF files for
the ML605 or SP605 MicroBlaze Processor Subsystem. The directory structure of the
ML605_System is shown in DS668, AXI Interface Based ML605 Embedded Kit MicroBlaze
Processor Subsystem Data Sheet [Ref 3]. The directory structure of the SP605_System is
shown in
ML605/SP605 Hardware Tutorial UG669 (v3.0) March 15, 2011
Executing the System
5.
Configure and exercise the MicroBlaze Processor Subsystem by launching the Xilinx
Microprocessor Debugger (XMD). Open a command shell with the proper ISE Design
tool and EDK environment settings.
Note: To set environment variables, run the settings32.bat file located in the Xilinx
installation area. At the command prompt, type C:\Xilinx\13.1\ISE_DS\settings3
ML605/SP605 Hardware Tutorial www.xilinx.com
11
UG669 (v3.0) March 15, 2011
Executing the System
Set all of the DIP switches labeled GPIO DIP SW (SW1) to the ON position. Then
read from the GPIO register which inputs data from the DIP switches:
XMD% mrd 0x81440000
The value 0x000000FF should be returned:
81440000: 000000FF
Change the DIP switch settings and verify that the correct value is read from the
GPIO register.
Note: Switch 1 is the most significant