| Electronic Components Datasheet Search |
|
AT697E Datasheet(PDF) 16 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT697E Datasheet(HTML) 16 Page - ATMEL Corporation |
|
16 / 154 page ![]() 16 AT697E 4226G–AERO–05/09 the calling function’s in registers, and the calling function gets a new set of local and out registers for its own use. Only the pointer changes because the registers and return address do not need to be stored on a stack. The RETURN instruction acts in the oppo- site way Figure 3. Overlapping Windows The Window Invalid Mask register (WIM) is controlled by supervisor software and is used by hardware to determine whether a window overflow or underflow trap is to be generated by a SAVE, RESTORE, or RETT instruction. When a SAVE, RESTORE, or RETT instruction is executed, the current value of the CWP is compared against the WIM register. If the SAVE, RESTORE, or RETT instruc- tion would cause the CWP to point to an “invalid” register set, a window_overflow or window_underflow trap is caused. To prevent erroneous operations from SEU errors in the main register file, each word is protected with a 7-bit EDAC checksum. The EDAC checksums are checked when the register is used as operand in an instruction. Any single-bit error is corrected and written back to the register file before the instruction is executed. If an un-correctable error is detected, a register hardware error trap (trap 0x20) is generated. The protection can be enabled/disabled by programming the ‘di’ bit from register file pro- tection control register. By setting the ‘te’ bit, errors can be inserted in the register file to test the protection function. When the ‘te’ bit is set, the register checksum is combined with the ‘tcb’ field before being written to the register file. Due to the presence of the two dual-port rams for register file implementation, the fol- lowing rules apply to the error injection test process. • Test checkbits TCB[2:0] is Xored with checkbit[6:4] corresponding to the %rs1 operand. • Test checkbits TCB[5:3] is Xored with checkbit[6:4] corresponding to the %rs2 operand. Here is a simple example for the test of a single error in register file %rs1 ! 0x32 = ! register file test enable ! tcb[2:0] = 0x4 ! tcb[5:3] = 0x1 globals w0 locals w7 locals w1 locals w2 locals w3 locals w4 locals w5 locals w6 locals w0 outs w1 outs w2 outs w3 outs w4 outs w5 outs w6 outs w7 outs w0 ins w1 ins w2 ins w3 ins w4 ins w5 ins w6 ins w7 ins W0 W2 W4 W6 W7 W1 W3 W5 cwp |
|
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 |
| 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 |