Xilinx MicroBlaze Скачать руководство пользователя страница 9

MicroBlaze Microcontroller Ref Des User Guide

www.xilinx.com

2

UG133 January 7, 2005

Reference Design Building Blocks

R

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. This configuration utilizes approximately 50% of a Spartan-3™ XC3S200 
device.

Application

Some applications for the MicroBlaze processor include:

Industrial Controller

Consumer Application

Office Automation

Data Communication

Figure Top x-ref 2-1

Figure  2-1: 

MicroBlaze Microcontroller Block Diagram

Re

s

et

Interr

u

pt

JTAG Port

s

 

Clock

MicroBl

a

ze

CPU
Core

D

ua

l Ported

BlockRAM

(BRAM)

UART

4X

GPIO

JTAG_UART

xip

3

12

ILMB

DLMB

DOPB

A

B

OPB

Содержание MicroBlaze

Страница 1: ...R MicroBlaze Microcontroller Reference Design User Guide v1 3 1 UG133 v1 3 1 January 7 2005...

Страница 2: ...cribed herein other than circuitry entirely embodied in its products Xilinx provides any design code or information shown or described herein as is By providing the design code or information as one p...

Страница 3: ...The following table shows the revision history for this document Version Revision 7 22 04 1 0 Initial Xilinx release 8 27 04 1 1 Edited content imported new images 11 19 04 1 2 Reconfigured book adde...

Страница 4: ...the Design and Launching XPS 4 Updating and Generation Hardware Files 5 Downloading Design Files to the FPGA 6 Selecting a Software Application to Run When the FPGA is Configured 6 Loading the Calcul...

Страница 5: ...ontroller configurations from which an engineer can choose The soft microcontroller features and peripherals in the FPGA may be used without modification or may be modified and customized using the Xi...

Страница 6: ...ce specific information on Xilinx device characteristics including readback boundary scan configuration length count and debugging http support xilinx com xlnx xweb xil_publications_index jsp Problem...

Страница 7: ...connected Square brackets An optional entry or parameter However in bus specifications such as bus 7 0 they are required ngdbuild option_name design_name Braces A list of items from which you must cho...

Страница 8: ...peripherals 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 im...

Страница 9: ...esign includes an Internal Block RAM memory an RS232 UART 4 GPIO blocks and a JTAG_UART used for software debugging This configuration utilizes approximately 50 of a Spartan 3 XC3S200 device Applicati...

Страница 10: ...onfigured as output ports to drive the 7 segment LEDs on the board 8 bit GPIO configured as input ports to read onboard dip switches 3 bit GPIO configured as input ports to read push buttons JTAG_UART...

Страница 11: ...st application Launching Xilinx Platform Studios XPS Downloading the Reference Designs Go to the MicroBlaze lounge at http www xilinx com microblaze_mcu_refdes1 Download the reference design starting...

Страница 12: ...pplication can run any number of Software Applications When the Base System Wizard is used to create a Hardware System it also will create a simple Software Application to test the selected Hardware f...

Страница 13: ...tstream 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...

Страница 14: ...f the PC On the PC using hyperterminal make certain that the bit rate is set for 57600 bps on the serial port 3 Turn on the power on to the Spartan 3 Evaluation Board 4 In XPS to make sure that the EL...

Страница 15: ...w1 ON Sw0 ON Where Word 1 is 1 and Word 0 is 3 Add 3 1 4 Sub 3 1 2 Mult 3 1 3 Each time one of the Push Button switches is pressed the result should be displayed in decimal on the 7 Seg display and it...

Страница 16: ...over it Verify that this is the case for microblaze_0_bootloop Project TestApp and Project Calculator_App If any are set please Right click and confirm that Mark to Initialize BRAMs is not checked If...

Страница 17: ...select Tools Software Debugger to open the GDB interface Source Window 2 Choose TestApp from the User Application window 3 In GDB select the File Target Settings to display the Target Selection dialog...

Страница 18: ...ram repeat the procedure in section Loading the TestApp Software Application with XMD_STUB Start with step 1 and choose Calculator_App in step 5 instead of TestApp See Running the Calculator_App progr...

Отзывы: