Stalling CPU pipeline to prevent corruption in trace while maintaining coherency with asynchronous events
Abstract
A method of preventing trace data first-in-first-out buffer overflow in a pipelined data processor stops new instructions when a trace data first-in-first-out buffer is in danger of overflowing. The method also stalls a predetermined number of pipeline stages in the pipeline ahead of the first pipeline stage. The trace data first-in-first-out buffer is emptied while the pipeline is stalled. On restart, the stalled pipeline stages are restarted ahead of re-enabling new instructions. Asynchronous trigger events received during the stall may be buffered and unrolled in order or merely stored and applied simultaneously on restart.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A data processor integrated circuit comprising: a data processor ( 210 ) generating trace data; a trace data collection unit ( 230 ) connected to said data processor and receiving said trace data; a trace data export unit ( 240 ) connected to said trace data collection unit including at least one trace data first-in-first-out buffer, said trace data export unit operable to determine when a trace data first-in-first-out buffer is in danger of overflowing; upon determination that the trace data first-in-first-out buffer is in danger of overflowing stalling a predetermined number of pipeline stag
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗