Hide thumbs Also See for MicroBlaze:

Advertisement

Quick Links

MicroBlaze
Microcontroller
Reference Design
User Guide v1.3.1
UG133 v1.3.1 January 7, 2005
R

Advertisement

Table of Contents
loading

Summary of Contents for Xilinx MicroBlaze

  • Page 1 MicroBlaze Microcontroller Reference Design User Guide v1.3.1 UG133 v1.3.1 January 7, 2005...
  • Page 2 Xilinx, Inc. assumes no obligation to correct any errors contained herein or to advise any user of this text of any correction if such be made. Xilinx, Inc. will not assume any liability for the accuracy or correctness of any engineering or software support or assistance provided to a user.
  • Page 3 MicroBlaze Microcontroller Ref Des User Guide UG133 v1.3.1 January 7, 2005 The following table shows the revision history for this document. Version Revision 7/22/04 Initial Xilinx release. 8/27/04 Edited content; imported new images 11/19/04 Reconfigured book; added new chapter; incorporated edits...
  • Page 4: Table Of Contents

    ....... . 11 UG133 January 7, 2005 www.xilinx.com MicroBlaze Microcontroller Ref Des User Guide...
  • Page 5: About This Guide

    Xilinx Spartan-3 Starter Kit Board, the design may be modified readily for any Xilinx or third party platform. This guide is an aid in getting started and learning how to use the Xilinx Embedded Development Kit (EDK) tools. It does this through examples, which show how multiple software images can be run on a defined soft Microcontroller hardware configuration.
  • Page 6: Additional Resources

    Additional Resources Additional Resources For additional information, go to http://support.xilinx.com. The following table lists some of the resources available from this website. You can also directly access these resources using the provided URLs. Resource Description/URL Tutorials Tutorials covering Xilinx design flows, from design entry to verification and debugging http://support.xilinx.com/support/techsup/tutorials/index.htm...
  • Page 7: Online Document

    Cross-reference link to a Figure 2-5 in the Virtex-II Red text location in another document Handbook. Go to http://www.xilinx.com Blue, underlined text Hyperlink to a website (URL) for the latest speed files. MicroBlaze Microcontroller Ref Des User Guide www.xilinx.com UG133 January 7, 2005...
  • Page 8: Microcontroller Reference Design Overview

    This guide is provided as an aid in getting started and learning how to use the Xilinx Embedded Development Kit (EDK) tools. It does this through examples, which show how multiple software images can run on a defined soft microcontroller hardware configuration.
  • Page 9: Microblaze Microcontroller Reference Design Number

    Reference Design Building Blocks MicroBlaze Microcontroller Reference Design Number 1 Reference Design Building Blocks The block diagram of the MicroBlaze Microcontroller used in this MicroBlaze Microcontroller Reference Design is shown in Figure 2-1. The design includes an Internal Block RAM memory, an RS232 UART, 4 GPIO blocks, and a JTAG_UART used for software debugging.
  • Page 10: Features

    Microblaze design using an OPB interrupt controller and an OPB microprocessor debug module (MDM) reference design available on the Embedded Design Kit web site at http://www.support.xilinx.com/ise/embedded/edk_examples.htm For documentation on interrupts, see the MicroBlaze Processor Reference Guide in the EDK documentation. MicroBlaze Microcontroller Ref Des User Guide www.xilinx.com...
  • Page 11: Getting Started

    • ISE 6.3i or later To download the completed reference design, the following hardware is required: • Xilinx Spartan-3 Evaluation Board. For information on the evaluation board, see http://www.xilinx.com/products/spartan3/s3boards.htm. • Xilinx Parallel Cable used to program and debug the device •...
  • Page 12: Updating And Generation Hardware Files

    “Tools>Update Bitstream”. This will run any of the programs needed to generate the Hardware Application for this reference design. The message panel should read: Memory Initialization completed successfully. Done. MicroBlaze Microcontroller Ref Des User Guide www.xilinx.com UG133 January 7, 2005...
  • Page 13: Downloading Design Files To The Fpga

    Software Application can be initially added to the FPGA bitstream. This will configure the MicroBlaze Microcontroller program and Data memory with the software application already pre-loaded. This means that as soon as the FPGA has been successfully configured, the MicroBlaze Microcontroller Software Application will already be running on the MicroBlaze Microcontroller Hardware Application.
  • Page 14: Loading The "Calculator_App" Software Application

    Note: Close all other XMD and GDB windows prior to downloading a configuration bits. Running the Calculator_App program After the Calculator_App has been loaded, the hyperterminal should show: Simple Calculator App for Spartan-3 Starter Kit Push button to start math operation... MicroBlaze Microcontroller Ref Des User Guide www.xilinx.com UG133 January 7, 2005...
  • Page 15: Selecting A Software Application To Be Loaded With A Boot Loader After The Fpga Is Configured And The Processor Is Running

    Loader after the FPGA is Configured and the Processor is Running This step will show an example of how a Hardware Application can be initially loaded with a “Stub” program. This will configure the MicroBlaze Microcontroller where it is waiting to be loaded with the actual Software Application.
  • Page 16: Loading The "Microblaze_0_Xmdstub" Software Application

    Selecting a Software Application to be Loaded with a BOOT Loader after the FPGA is loaded and run, and then a different Software Application can be loaded and run. In this example the MicroBlaze processor must be loaded with a Software Application through the use of a stub program.
  • Page 17: Loading The "Testapp" Software Application With Xmd_Stub

    Begin from step 2 to configure the device prior to loading a new application program and debugging. Make certain to close all XMD and GDB windows. Figure Top x-ref 2-3 Figure 2-5: Target Selection for Software Debugger MicroBlaze Microcontroller Ref Des User Guide www.xilinx.com UG133 January 7, 2005...
  • Page 18: Loading The "Calculator_App" Software Application With Xmd_Stub

    Calculator_App program Additional MicroBlaze and EDK Information Congratulations, you have successfully integrated a MicroBlaze Microcontroller into an FPGA and executed software code. For additional information on MicroBlaze and the EDK tools, go to http://support.xilinx.com. MicroBlaze Microcontroller Ref Des User Guide www.xilinx.com...

Table of Contents