18.03.2015 Views

Open Core Protocol Debug Interface Specification rev 1.0 - OCP-IP

Open Core Protocol Debug Interface Specification rev 1.0 - OCP-IP

Open Core Protocol Debug Interface Specification rev 1.0 - OCP-IP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>OCP</strong>-<strong>IP</strong> Confidential<br />

Table of Contents<br />

Table of Contents.................................................................................................................................3<br />

1. <strong>OCP</strong> <strong>Debug</strong> specification overview ........................................................................................................5<br />

1.1 <strong>OCP</strong> statement of need for debug standardization ..................................................................................5<br />

1.1.1 Other ongoing <strong>Debug</strong> activities.......................................................................................................6<br />

1.2 <strong>OCP</strong> <strong>Debug</strong> strategy................................................................................................................................7<br />

1.3 Common guidelines and infrastructure ...................................................................................................7<br />

1.4 Scalability and configurability of debug resources .................................................................................7<br />

1.5 Comprehensive set of debug features......................................................................................................8<br />

1.6 <strong>OCP</strong> debug Business Model....................................................................................................................8<br />

2. Technical approach .................................................................................................................................9<br />

2.1 Three Views of <strong>Debug</strong>ging .....................................................................................................................9<br />

2.2 Technical scope of <strong>OCP</strong> <strong>Debug</strong> <strong>Interface</strong> .............................................................................................11<br />

3. <strong>Debug</strong> Components and <strong>IP</strong> <strong>Interface</strong>s...................................................................................................11<br />

3.1 <strong>Debug</strong> interface definitions...................................................................................................................12<br />

3.2 Basic Socket Level <strong>Debug</strong> interfaces....................................................................................................12<br />

3.3 <strong>Core</strong> <strong>Debug</strong> Socket <strong>Interface</strong>s...............................................................................................................13<br />

3.4 Cross Triggering Socket <strong>Interface</strong>s.......................................................................................................15<br />

3.4.1 <strong>OCP</strong> Cross Triggering – General Requirements ...........................................................................16<br />

3.4.2 <strong>OCP</strong> Cross Triggering – General Configurations .........................................................................17<br />

3.4.3 Fundamental Trigger Limitations..................................................................................................17<br />

3.4.4 Cycle-exact Trigger and Feedback................................................................................................18<br />

3.4.5 Cycle-exact Trigger with Relaxed Feedback ................................................................................18<br />

3.4.6 Exact triggering in a star configuration.........................................................................................19<br />

3.5 <strong>OCP</strong> Synchronized Run Control ...........................................................................................................19<br />

3.6 <strong>OCP</strong> Trace <strong>Interface</strong>s ............................................................................................................................19<br />

4. Extended (Optional) <strong>Debug</strong> interfaces..................................................................................................20<br />

4.1 Performance Monitoring .......................................................................................................................21<br />

4.2 System Time-stamping .........................................................................................................................22<br />

4.2.1 Synchronous start of local time stamp counters............................................................................22<br />

4.3 Power Management Monitoring ...........................................................................................................23<br />

4.4 Security <strong>Debug</strong> <strong>Interface</strong> ......................................................................................................................24<br />

5. Single Stepping and Virtual Single Stepping with Multi-core Chips....................................................24<br />

6. EDA and SW Tools Support.................................................................................................................25<br />

6.1 ESL Design and Design Checkers Support...........................................................................................25<br />

6.2 Programmers Model..............................................................................................................................25<br />

Appendix Implementation Examples ................................................................................27<br />

A. MCDS Example of <strong>OCP</strong> <strong>Debug</strong> <strong>Interface</strong> Implementation and <strong>Protocol</strong> .............................................27<br />

A.1 Trace Ports and <strong>Protocol</strong>, Complete Example with MCDS ..................................................................27<br />

A.2 The 12 MCDS Trace Ports and corresponding <strong>OCP</strong> <strong>Debug</strong> Socket Signal s.........................................32<br />

A.3 <strong>Debug</strong> Transactor – RUN Control Bus Master ......................................................................................36<br />

A.4 OCDS/MCDS Complete Example of Run Control: On-Chip <strong>Debug</strong> Support.......................................37<br />

3 of 62<br />

© 2007 <strong>OCP</strong>-<strong>IP</strong> Association, All Rights Reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!