Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button AVR32AP Datasheet HTML 21Page - ATMEL Corporation AVR32AP Datasheet HTML 22Page - ATMEL Corporation AVR32AP Datasheet HTML 23Page - ATMEL Corporation AVR32AP Datasheet HTML 24Page - ATMEL Corporation AVR32AP Datasheet HTML 25Page - ATMEL Corporation AVR32AP Datasheet HTML 26Page - ATMEL Corporation AVR32AP Datasheet HTML 27Page - ATMEL Corporation AVR32AP Datasheet HTML 28Page - ATMEL Corporation AVR32AP Datasheet HTML 29Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 181 page
background image
25
32001A–AVR32–06/06
AVR32
3.7
Writeback
The three subpipes share a writeback (WB) stage with three register file write ports. If the three
subpipes produces four results at the same time, the MUL pipeline is temporarily stalled until a
writeback port is available. The WB stage also contains logic for:
• Sign- or zero-extention of data loaded from cache.
• Execution of ldins and ldswp.
• Output formatting of data loaded from unaligned addresses.
3.8
Forwarding hardware and hazard detection
The pipeline is implemented in such a way that the programmer in most cases will not have to
consider hazards between instructions when writing code. Efficient operand forwarding mecha-
nisms are implemented in order to minimize pipeline stalls due to data dependencies. When
dependencies exist, the hardware will stall the affected parts of the pipeline in order to guaran-
tee correct execution. Data forwarding is done automatically and is invisible to the user. This
ensures that all code will execute correctly, even though the pipeline may have to be stalled in
some cases. The user should be aware of these stalls and try to rewrite the code so that no such
dependencies arise. This will result in faster execution.
Since instructions are allowed to complete out of order, both Write-After-Read (WAR), Write-
After-Write (WAW) and Read-After-Write (RAW) hazards may occur. If an instruction is affected
by a hazard, or will provoke a hazard, it is frozen in the IS stage until the hazard is resolved. This
will also freeze all upstream pipeline stages. All downstream stages are allowed to continue exe-
cution. Instructions storing data to memory will read the data to store from the register file in the
D pipeline stage. This pipeline stage has a dedicated hazard detection and forwarding unit. If the
data to store to memory is not available in the D stage, the LS pipe will have to stall. Newer
instructions may still start executing in the other pipelines.
3.8.1
IS stage forwarding
The IS stage is able to forward data from the register file inputs to the register file outputs. If data
to write is present at the write ports of the register file at the same time as the register is read,
the data not yet written will be read. This ensures that data from the writeback stages are for-
warded to the register file outputs. This is illustrated in Figure 3-2:
Figure 3-2.
Forwarding inside the IS stage
Register File
Write address
Write data
Read address
n ==
Write address
m
Read port n
Write port m
Forwarded data



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