Download PDF document - Eetasia.com
Transcript
AN1979 - APPLICATION NOTE TABLE OF CONTENTS PAGE 1 INTRODUCTION ........................................................................................................ 1 2 SUPER10 BONDOUT TRACE WINDOW .................................................................. 3 2.1 GENERAL FEATURES ............................................................................................... 3 2.2 TRACE WINDOW OPTIONS ...................................................................................... 3 2.3 ANALYSIS OF A TRACE WINDOW CONTENT ......................................................... 4 3 TRACE CONTENT EXAMPLES ................................................................................ 5 3.1 TRACE INTERPRETATIONS FOR BRANCH INSTRUCTIONS ................................. 5 3.1.1 3.1.2 Trace of a Mispredicted Jump and a "Zero-cycle" Jump ............................................ Trace of a "Zero_cycle" Mispredicted Jump ............................................................... 5 6 3.2 TRACE INTERPRETATIONS FOR READ/WRITE ACCESSES IN SP10 MEMORIES 7 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 Write and Read Accesses in Internal Data Memory ................................................... Read accesses in internal Program Memory .............................................................. Operand Read Access in Standard External Memory ................................................ Operand write access in standard external memory .................................................. Operand Accesses in External IO Space ................................................................... Dual Port RAM dependencies with the MAC instructions ........................................... 7 8 9 10 11 12 3.3 TRACE INTERPRETATIONS OF AN INTERRUPT SERVICE ROUTINE .................. 13 3.3.1 3.3.2 Trace of a Switch Context Instruction ......................................................................... Trace of a Return from Interrupt (RETI) Instruction .................................................... 13 14 3.4 TRACE INTERPRETATIONS IN CASE OF REGISTER DEPENDENCIES ............... 15 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 General Purpose Register Dependencies .................................................................. Multiply and Divide Unit .............................................................................................. Accesses to CPU-SFRs ............................................................................................. Arithmetic Instructions and the "reg, mem" Addressing Mode .................................... Impact of the Peripheral Frequency ........................................................................... 15 16 16 18 18 3.5 TRACE INTERPRETATION OF A CODE EXECUTED FROM EXTERNAL MEMORY 19 4 CONCLUSION ........................................................................................................... 21 5 REFERENCES ........................................................................................................... 21 6 APPENDIX ................................................................................................................. 21 2/22