Electronic Components Datasheet Search
  English  ▼

X  

AVR32AP Datasheet(PDF) 64 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) 64 Page - ATMEL Corporation

Back Button AVR32AP Datasheet HTML 60Page - ATMEL Corporation AVR32AP Datasheet HTML 61Page - ATMEL Corporation AVR32AP Datasheet HTML 62Page - ATMEL Corporation AVR32AP Datasheet HTML 63Page - ATMEL Corporation AVR32AP Datasheet HTML 64Page - ATMEL Corporation AVR32AP Datasheet HTML 65Page - ATMEL Corporation AVR32AP Datasheet HTML 66Page - ATMEL Corporation AVR32AP Datasheet HTML 67Page - ATMEL Corporation AVR32AP Datasheet HTML 68Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 64 / 181 page
background image
64
32001A–AVR32–06/06
AVR32
5.1.3
Instruction forwarding
If for some reason the instruction buffer is empty, the fetched instruction will be forwarded past
the fetch queue and into ID as soon as it is fetched. This forwarding is done only when it can be
ensured that the entire instruction is contained in the fetched word. This is ensured if the 2 least
significant bits of the PC of the desired instruction equal 00. If the bits are 10, the fetched instruc-
tion must pass via the instruction buffer. This will impose a 1-cycle penalty on the case where
the addressed instruction is a compact instruction, but is done for critical path simplification.
Instruction forwarding is done only in RISC mode, no instruction forwarding is done in Java
mode.
5.2
Branch prediction
5.2.1
Functionality
AVR32 AP implements special hardware in order to minimize the penalty from mispredicted
branches. A branch target buffer (BTB) is used in order to record information about the outcome
of encountered branches. This information is used to predict the outcome of branches based on
the recorded history of the branch. The hardware is able to start fetching instructions from the
predicted path, so that no branch penalty is experienced if the prediction was correct. If the pre-
diction was wrong, the pipeline will have to be flushed and execution resume at the correct path.
If prediction information about an encountered branch is contained in the BTB, hardware will in
many cases be able to fold the branch instruction with the following instruction. In this process,
the branch instruction is removed from the execution stream and its condition codes are passed
on to the following instruction. This instruction is sent down the pipe together with the condition
codes of the branch. If the branch was predicted correctly, the folded instruction is allowed to
complete. Otherwise, the folded instruction is flushed from the pipeline and execution continues
from the alternate branch path.
Branch prediction is enabled or disabled according to the Branch Prediction Enable (BE) bit in
the CPUCR system register. Before enabling or disabling the BTB, it must be invalidated. No
branches should be executed between the BTB invalidate and the BTB enable or disable.
Branch prediction is invisible to the programmer. Hardware makes sure that the program exe-
cutes correctly regardless of a branch being predicted or not, and the correctness of the
prediction.



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