MicroBlaze Processor Reference Guide
65
UG081 (v14.7)
Reset, Interrupts, Exceptions, and Break
Reset, Interrupts, Exceptions, and Break
MicroBlaze supports reset, interrupt, user exception, break, and hardware exceptions. The following
section describes the execution flow associated with each of these events.
The relative priority starting with the highest is:
1. Reset
2. Hardware Exception
3. Non-maskable Break
4. Break
5. Interrupt
6. User Vector (Exception)
defines the memory address locations of the associated vectors and the hardware
enforced register file locations for return addresses. Each vector allocates two addresses to allow full
address range branching (requires an
IMM
followed by a
BRAI
instruction). Normally the vectors
start at address 0x00000000, but the parameter
C_BASE_VECTORS
can be used to locate them
anywhere in memory.
The address range 0x28 to 0x4F is reserved for future software support by Xilinx. Allocating these
addresses for user applications is likely to conflict with future releases of EDK support software.
All of these events will clear the reservation bit, used together with the LWX and SWX instructions
to implement mutual exclusion, such as semaphores and spinlocks.
Reset
When a
Reset
,
MB_Reset
or
Debug_Rst
(1)
occurs, MicroBlaze flushes the pipeline and starts
fetching instructions from the reset vector (address 0x0). Both external reset signals are active high
and should be asserted for a minimum of 16 cycles.
Table 2-38:
Vectors and Return Address Register File Location
Event
Vector Address
Register File
Return Address
Reset
C_BASE_V 0x00000000 -
C_BASE_V 0x00000004
-
User Vector (Exception)
C_BASE_V 0x00000008 -
C_BASE_V 0x0000000C
Rx
Interrupt
1
1. With low-latency interrupt mode, the vector address is supplied by the Interrupt Controller.
C_BASE_V 0x00000010 -
C_BASE_V 0x00000014
R14
Break: Non-maskable hardware
C_BASE_V 0x00000018 -
C_BASE_V 0x0000001C
R16
Break: Hardware
Break: Software
Hardware Exception
C_BASE_V 0x00000020 -
C_BASE_V 0x00000024
R17 or BTR
Reserved by Xilinx for future use C_BASE_V 0x00000028 -
C_BASE_V 0x0000004F
-
1. Reset input controlled by the XMD debugger via MDM.
Содержание MicroBlaze
Страница 1: ...MicroBlaze Processor Reference Guide Embedded Development Kit EDK 14 7 UG081 v14 7...
Страница 4: ...MicroBlaze Processor Reference Guide www xilinx com UG081 v14 7...
Страница 8: ...8 www xilinx com MicroBlaze Processor Reference Guide UG081 v14 7 Chapter 1 Introduction Send Feedback...
Страница 262: ...262 www xilinx com MicroBlaze Processor Reference Guide UG081 v14 7 Send Feedback...