Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AVR32AP Datasheet(PDF) 30 Page - ATMEL Corporation

Part # AVR32AP
Description  32-bit AVR Microcontroller
PDF  181 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AVR32AP Datasheet(HTML) 30 Page - ATMEL Corporation

Back Button AVR32AP Datasheet HTML 26Page - ATMEL Corporation AVR32AP Datasheet HTML 27Page - ATMEL Corporation AVR32AP Datasheet HTML 28Page - ATMEL Corporation AVR32AP Datasheet HTML 29Page - ATMEL Corporation AVR32AP Datasheet HTML 30Page - ATMEL Corporation AVR32AP Datasheet HTML 31Page - ATMEL Corporation AVR32AP Datasheet HTML 32Page - ATMEL Corporation AVR32AP Datasheet HTML 33Page - ATMEL Corporation AVR32AP Datasheet HTML 34Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 181 page
background image
30
32001A–AVR32–06/06
AVR32
labeled flushedaddress that must be flushed from the cache. INVALIDATEI is a macro that is
defined to be the command for invalidation of the icache.
cache
INVALIDATEI
nop
rjmp flushedaddress
3.9.6
Hazards on the Q flag
Some of the instructions in the instruction set updates the status register Q flag. Many of these
instructions, like satadd, generate the new Q flag after a single cycle so no hazards are present
between these instructions and other instructions. The sats, satu, satrnds, satrndu and some
multiply instructions, require several cycles before updating the Q flag. The required Q flag
latency for each of these instructions is listed in Section 10. on page 154. The user must make
sure that any of these instructions have completed and updated the Q flag before using the Q
flag in any computations. In the following example, a satrnds instruction is followed by a branch-
if-q-set instruction. A nop is needed in order to guarantee correct execution.
satrnds
r0>>0, 5
nop
brqs targetaddress
3.10
Event handling
The CPU is able to respond to different events. An event can be either an interrupt or an excep-
tion. Interrupts are requests from external modules and are routed through the interrupt
controller. Exceptions are system events that require handling outside normal program flow.
Different types of exceptions can occur during execution of an instruction. Some exceptions are
instruction-address related, and occur during instruction fetch. Other exceptions occur during
decode, like unimplemented instruction and illegal opcode. Data access instructions can cause
data-address related exceptions, like DTLB miss. Exceptions can occur in different pipe stages,
depending on the type of exception. Several exceptions can be related to the same instruction.
Mechanisms must therefore be implemented so that several exceptions associated with the
same instruction can be handled correctly. The exception priorities are defined Table 3-2 on
page 34. An instruction that has caused an exception request is called a contaminated
instruction.
Each pipeline stage has a pipeline register that holds the exception requests associated with the
instruction in that pipeline stage. This allows the exception request to follow the contaminated
instruction through the pipeline.
Events are detected in two different pipeline stages. The D stage detects all data-address
related exceptions (DTLB multiple hit, DTLB miss, DTLB protection and DTLB modified). All
other exceptions and interrupts are detected in the A1 stage. Data breakpoints are also detected
in A1.
A complication occurs with the event detection in the A1 stage: The instruction tagged as con-
taminated may be part of a folded branch. In this case, the event is taken only if the branch
prediction was correct. Otherwise, the entire folded branch instruction is flushed.
Data-address related exceptions are detected in the D stage. The address boundary check unit
ensures that no sequential instructions are issued unless it can be guaranteed that the data
access will not generate an exception.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com