JP4648622B2 - ダイナミック・トレース用プログレッシブ拡張圧縮マスク - Google Patents
ダイナミック・トレース用プログレッシブ拡張圧縮マスク Download PDFInfo
- Publication number
- JP4648622B2 JP4648622B2 JP2003392669A JP2003392669A JP4648622B2 JP 4648622 B2 JP4648622 B2 JP 4648622B2 JP 2003392669 A JP2003392669 A JP 2003392669A JP 2003392669 A JP2003392669 A JP 2003392669A JP 4648622 B2 JP4648622 B2 JP 4648622B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- trace
- trace address
- section
- comparison
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/362—Debugging of software
- G06F11/3636—Debugging of software by tracing the execution of the program
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Tests Of Electronic Circuits (AREA)
Description
本発明のこれらおよびその他の態様を図面に示す。
(1)トレース・アドレスの比較方法であって、
比較アドレスを格納するステップと、
現トレース・アドレスのそれぞれの等しい長さの区間(セクション)を、格納した比較アドレスと比較するステップと、
前記格納した比較アドレスのそれぞれの区間と一致しない前記現トレース・アドレスの最下位区間、または前記格納した比較アドレスと一致しない前記現トレース・アドレスの区間よりも下位にある前記トレース・アドレスの下位区間のみを送信することによって、前記現トレース・アドレスの指示を送信するステップと、
から成る、トレース・アドレスの比較方法。
(2)前記比較するステップは、前記現トレース・アドレスの区間を、前記格納した比較アドレスの対応する区間と、最上位区間から最下位区間まで順次比較する、第1項記載のトレース・アドレスの比較方法。
(3) 更に、中央演算装置のメモリ・マップ・レジスタへの書き込み動作によって、前記比較アドレスを指定するステップを含む、第1項記載のトレース・アドレスの比較方法。
(4)更に、前記現トレース・アドレスに、前記格納した比較アドレスのそれぞれの区間と一致する区間がない場合、前記現トレース・アドレスを前記比較アドレスとして格納するステップを含む、第1項記載のトレース・アドレスの比較方法。
(5)前記区間は、前記格納した以前のトレース・アドレスおよび前記現トレース・アドレスの長さの整数分の1である、第1項記載のトレース・アドレスの比較方法。
現トレース・アドレスを受け取る入力と、
比較アドレスを格納する比較アドレス・レジスタと、
複数の区間比較器であって、各区間比較器が前記比較アドレス・レジスタに接続されて前記比較アドレスの1区間を受け取り、更に前記入力に接続されて前記現トレース・アドレスの対応する区間を受け取り、各々、前記対応する区間の一致または不一致を示す、複数の区間比較器と、
前記入力と前記区間比較器の各々とに接続されたトレース・ストリーム制御部であって、前記格納した比較アドレスのそれぞれの区間と一致しない前記現トレース・アドレスの最下位区間、または前記格納した比較アドレスと一致しない前記現トレース・アドレスの区間よりも下位にある、前記現トレース・アドレスの下位区間のみを送信する、トレース・ストリーム制御部と、
を備えているトレース圧縮装置。
(7)更に、
前記比較アドレス・レジスタの出力を受け取る第1入力と、メモリ・マップ書き込みデータを受け取る第2入力と、前記比較レジスタの入力に接続された出力と、制御入力とを有するマルチプレクサであって、前記制御入力における信号に応じて、前記第1入力または前記第2入力の一方を前記出力に結合する、マルチプレクサを備えており、
前記マルチプレクサの前記制御入力が、メモリ・マップ書き込み指示を受け取り、該マルチプレクサが前記第2入力を選択することによって、前記比較アドレス・レジスタに対応するアドレスへのメモリ・マップ・レジスタ書き込み時に、前記メモリ・マップ書き込みデータを前記比較レジスタに格納する、第6項記載のトレース圧縮装置。
(8)更に、
前記比較アドレス・レジスタの出力を受け取る第1入力と、前記現トレース・アドレスを受け取る第2入力と、前記比較アドレス・レジスタの入力に接続された出力と、制御入力とを有するマルチプレクサであって、前記制御入力における信号に応じて前記第1入力または前記第2入力の一方を前記出力に結合する、マルチプレクサを備えており、
前記トレース・ストリーム制御部が、前記マルチプレクサの前記制御入力に接続されており、前記現トレース・アドレスに前記比較アドレス・レジスタの対応する区間と一致する区間がない場合、前記トレース・ストリーム制御部が前記マルチプレクサの前記制御入力に信号を供給し、前記マルチプレクサに前記第2入力を選択させることによって、前記現トレース・アドレスを前記比較アドレス・レジスタに格納する、第6項記載のトレース圧縮装置。
(9)前記区間は、格納されている以前のアドレスおよび現トレース・アドレスの長さの整数分の1である、第6項記載のトレース・アドレス圧縮装置。
(10)前記以前のトレース・アドレスおよび前記現アドレスは、32ビットの長さを有し、
前記複数の区間比較器は、それぞれ、前記以前のトレース・アドレスおよび前記現トレース・アドレスのそれぞれ上位3バイトを比較する3つのバイト比較器から成り、
前記トレース・ストリーム制御部は、
最上位ビット比較器が一致を検出しない場合、前記現トレース・アドレスの4バイトを送信し、
最上位バイト比較器が一致を検出し、第2位バイト比較器が一致を検出しない場合、前記現トレース・アドレスの上位3バイトを送信し、
最上位バイト比較器および第2位バイト比較器が一致を検出し、第3位バイト比較器が一致を検出しない場合、前記現トレース・アドレスの上位2バイトを送信し、
最上位バイト比較器、第2位バイト比較器、および第3位バイト比較器が各々一致を検出した場合、前記現トレース・アドレスの最下位バイトを送信する、
ように動作する、第6項記載のトレース・アドレス圧縮装置。
110 デバッガ・アプリケーション・プログラム
120 ホスト・コンピュータ
130 エミュレーション・コントローラ
140 オンチップ・デバッグ機構
201 CPUコア
210 バス・イベント検出器
211 補助イベント検出器
213 カウンタ/ステートマシン
220 トリガ・ビルダ
230 トレース収集
240 トレース・エクスポート
241 リアル・タイム・データ交換エクスポート
245 局部発振器
250 走査アダプタ
260 ピン・マネージャおよびピン・マクロ
501 アドレス入力
502 出力
503 トレース・ストリーム制御回路
504、505、506 NORゲート
510 漸進トレース比較部
511 バイト1比較器
512 バイト2比較器
513 バイト3比較器
515 マルチプレクサ
516 比較アドレス・レジスタ
520 プログラマブル比較ユニット
521、522、523 比較器
525 マルチプレクサ
526 比較アドレス・レジスタ
527 ライト・バス
Claims (2)
- トレース・アドレスの圧縮の方法であって、
以前のトレース・アドレスを格納するステップと、
現トレース・アドレスのそれぞれ複数の等しい長さの区間を、前記格納された以前のトレース・アドレスの対応する複数の等しい長さの区間と比較するステップと、
前記格納された以前のトレース・アドレスのそれぞれの区間と一致しない、前記現トレース・アドレスの下位区間、または前記格納された以前のトレース・アドレスと一致しない前記現トレース・アドレスの、ある区間よりも下位にある区間、のみを送信することによって、前記現トレース・アドレスの指示を送信するステップと、
前記現トレース・アドレスのどの区間も、前記格納された以前のトレース・アドレスの対応する区間に一致しない場合、前記現トレース・アドレスを以前のトレース・アドレスとして格納するステップと、
前記現トレース・アドレスの少なくとも1つの区間が、前記格納された以前のトレース・アドレスの対応する区間に一致する場合、前記格納された以前のトレース・アドレスを再利用するステップと、
を含む、方法。 - トレース圧縮装置であって、
現トレース・アドレスを受け取る入力と、
以前のトレース・アドレスを格納する比較アドレス・レジスタと、
複数の区間比較器であって、各区間比較器が前記比較アドレス・レジスタに接続されて前記以前のトレース・アドレスの1区間を受け取り、更に前記入力に接続されて前記現トレース・アドレスの対応する区間を受け取り、各区間比較器が、前記間隔的に対応する区間の一致または不一致を示す、前記複数の区間比較器と、
前記入力と前記区間比較器の各々とに接続されたトレース・ストリーム制御部と、
を含み、
前記トレース・ストリーム制御部が、
前記格納した以前のトレース・アドレスのそれぞれの区間と一致しない、前記現トレース・アドレスの下位区間、または前記格納した前記以前のトレース・アドレスと一致しない前記現トレース・アドレスの、ある区間よりも下位にある区間、のみを送信し、
前記現トレース・アドレスのどの区間も、前記格納された以前のトレース・アドレスの対応する区間に一致しない場合、前記現トレース・アドレスを以前のトレース・アドレスとして格納するよう、前記比較アドレス・レジスタを制御し、
前記現トレース・アドレスの少なくとも1つの区間が、前記格納された以前のトレース・アドレスの対応する区間に一致する場合、前記格納された以前のトレース・アドレスを再利用するよう、前記比較アドレス・レジスタを制御する、
前記トレース圧縮装置。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US10/302,189 US7162552B2 (en) | 2002-11-22 | 2002-11-22 | Programmable extended compression mask for dynamic trace |
| US10/301,969 US7171497B2 (en) | 2002-11-22 | 2002-11-22 | Progressive extended compression mask for dynamic trace |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004178591A JP2004178591A (ja) | 2004-06-24 |
| JP4648622B2 true JP4648622B2 (ja) | 2011-03-09 |
Family
ID=32658823
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003392669A Expired - Lifetime JP4648622B2 (ja) | 2002-11-22 | 2003-11-21 | ダイナミック・トレース用プログレッシブ拡張圧縮マスク |
Country Status (3)
| Country | Link |
|---|---|
| US (6) | US7162552B2 (ja) |
| EP (1) | EP1443401B1 (ja) |
| JP (1) | JP4648622B2 (ja) |
Families Citing this family (20)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6754852B2 (en) * | 2000-03-02 | 2004-06-22 | Texas Instruments Incorporated | Debug trigger builder |
| US7162552B2 (en) * | 2002-11-22 | 2007-01-09 | Texas Instruments Incorporated | Programmable extended compression mask for dynamic trace |
| DE102004052417B4 (de) * | 2004-10-28 | 2010-09-02 | Infineon Technologies Ag | Schaltung und Verfahren zur Weiterleitung von Datenpaketen in einem Netzwerk |
| US7590912B2 (en) * | 2005-05-16 | 2009-09-15 | Texas Instruments Incorporated | Using a chip as a simulation engine |
| EP1922555B1 (en) | 2005-08-09 | 2014-10-08 | Texas Instruments Incorporated | Selectable jtag or trace access with data store and output |
| US7698542B2 (en) * | 2006-08-25 | 2010-04-13 | Infineon Technologies Ag | Circuit and method for comparing program counter values |
| JP4846493B2 (ja) | 2006-09-05 | 2011-12-28 | 富士通セミコンダクター株式会社 | デバッグシステム及びデバッグ回路 |
| GB2462051B (en) * | 2007-05-31 | 2013-04-17 | Vestas Wind Sys As | Method of controlling a wind turbine in a wind power plant |
| JP2009042815A (ja) * | 2007-08-06 | 2009-02-26 | Renesas Technology Corp | 半導体集積回路及びデバッグシステム |
| US8869109B2 (en) * | 2008-03-17 | 2014-10-21 | Microsoft Corporation | Disassembling an executable binary |
| JP5316780B2 (ja) * | 2009-03-03 | 2013-10-16 | ハートランド・データ株式会社 | ソースコードトレーサ |
| US8407528B2 (en) * | 2009-06-30 | 2013-03-26 | Texas Instruments Incorporated | Circuits, systems, apparatus and processes for monitoring activity in multi-processing systems |
| GB2483509B (en) * | 2010-09-13 | 2017-08-02 | Advanced Risc Mach Ltd | Data processing apparatus, trace unit and diagnostic apparatus |
| US8943369B2 (en) | 2011-02-21 | 2015-01-27 | Texas Instruments Incorporated | Prioritizing stall/reason data into priority information stream over PC/data trace |
| US9495169B2 (en) | 2012-04-18 | 2016-11-15 | Freescale Semiconductor, Inc. | Predicate trace compression |
| US9542298B2 (en) * | 2014-07-08 | 2017-01-10 | International Business Machines Corporation | Reducing resource overhead in verbose trace using recursive object pruning prior to string serialization |
| US9372947B1 (en) | 2014-09-29 | 2016-06-21 | Cadence Design Systems, Inc. | Compacting trace data generated by emulation processors during emulation of a circuit design |
| US10506079B2 (en) * | 2017-09-14 | 2019-12-10 | Arm Limited | Packet compression |
| US12182485B1 (en) * | 2018-12-04 | 2024-12-31 | Cadence Design Systems, Inc. | Embedded processor architecture with shared memory with design under test |
| CN109614332B (zh) * | 2018-12-07 | 2021-11-02 | 中国航空工业集团公司洛阳电光设备研究所 | 一种硬件虚拟化分层建模方法 |
Family Cites Families (23)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4087794A (en) * | 1973-01-02 | 1978-05-02 | International Business Machines Corporation | Multi-level storage hierarchy emulation monitor |
| US4325120A (en) * | 1978-12-21 | 1982-04-13 | Intel Corporation | Data processing system |
| JPS5886648A (ja) * | 1981-11-18 | 1983-05-24 | Mitsubishi Electric Corp | トレ−ス装置 |
| US4511960A (en) * | 1982-01-15 | 1985-04-16 | Honeywell Information Systems Inc. | Data processing system auto address development logic for multiword fetch |
| US4453093A (en) * | 1982-04-02 | 1984-06-05 | Honeywell Information Systems Inc. | Multiple comparison circuitry for providing a software error trace signal |
| US5140687A (en) * | 1985-10-22 | 1992-08-18 | Texas Instruments Incorporated | Data processing apparatus with self-emulation capability |
| US4935881A (en) * | 1987-04-14 | 1990-06-19 | Jeffrey Lowenson | Method and apparatus for testing missile systems |
| US5848264A (en) * | 1996-10-25 | 1998-12-08 | S3 Incorporated | Debug and video queue for multi-processor chip |
| JP3684831B2 (ja) * | 1998-03-31 | 2005-08-17 | セイコーエプソン株式会社 | マイクロコンピュータ、電子機器及びデバッグシステム |
| US6457144B1 (en) * | 1998-12-08 | 2002-09-24 | International Business Machines Corporation | System and method for collecting trace data in main storage |
| JP2000322299A (ja) * | 1999-05-10 | 2000-11-24 | Hitachi Ltd | データ記録方法 |
| US6615370B1 (en) * | 1999-10-01 | 2003-09-02 | Hitachi, Ltd. | Circuit for storing trace information |
| JP2001175500A (ja) * | 1999-12-17 | 2001-06-29 | Nec Ic Microcomput Syst Ltd | インサーキットエミュレータのトレース方法、トレース手順を記録した記録媒体およびトレース回路 |
| GB2362968B (en) * | 1999-12-23 | 2003-12-10 | St Microelectronics Sa | Computer system with debug facility |
| US6754852B2 (en) * | 2000-03-02 | 2004-06-22 | Texas Instruments Incorporated | Debug trigger builder |
| JP2001356930A (ja) * | 2000-03-02 | 2001-12-26 | Texas Instr Inc <Ti> | エミュレータ・目標デバイス間接続の自動検出方法および装置 |
| JP3796111B2 (ja) * | 2000-11-10 | 2006-07-12 | 株式会社ルネサステクノロジ | データプロセッサ |
| JP2002163127A (ja) * | 2000-11-27 | 2002-06-07 | Mitsubishi Electric Corp | トレース制御回路 |
| US7093236B2 (en) * | 2001-02-01 | 2006-08-15 | Arm Limited | Tracing out-of-order data |
| US7162552B2 (en) * | 2002-11-22 | 2007-01-09 | Texas Instruments Incorporated | Programmable extended compression mask for dynamic trace |
| US8099273B2 (en) * | 2003-06-05 | 2012-01-17 | Mentor Graphics Corporation | Compression of emulation trace data |
| US7278063B2 (en) * | 2003-07-10 | 2007-10-02 | International Business Machines Corporation | Method and system for performing a hardware trace |
| US20060294343A1 (en) * | 2005-06-27 | 2006-12-28 | Broadcom Corporation | Realtime compression of microprocessor execution history |
-
2002
- 2002-11-22 US US10/302,189 patent/US7162552B2/en not_active Expired - Lifetime
- 2002-11-22 US US10/301,969 patent/US7171497B2/en not_active Expired - Lifetime
-
2003
- 2003-11-21 EP EP03104328A patent/EP1443401B1/en not_active Expired - Lifetime
- 2003-11-21 JP JP2003392669A patent/JP4648622B2/ja not_active Expired - Lifetime
-
2006
- 2006-12-05 US US11/566,751 patent/US7475172B2/en not_active Expired - Lifetime
- 2006-12-05 US US11/566,757 patent/US7383367B2/en not_active Expired - Lifetime
- 2006-12-05 US US11/566,766 patent/US7606696B2/en not_active Expired - Lifetime
- 2006-12-05 US US11/566,762 patent/US7562170B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| US20070094546A1 (en) | 2007-04-26 |
| JP2004178591A (ja) | 2004-06-24 |
| US20040153836A1 (en) | 2004-08-05 |
| US20070094644A1 (en) | 2007-04-26 |
| US20070094645A1 (en) | 2007-04-26 |
| US7383367B2 (en) | 2008-06-03 |
| US7475172B2 (en) | 2009-01-06 |
| US7562170B2 (en) | 2009-07-14 |
| US7162552B2 (en) | 2007-01-09 |
| US7606696B2 (en) | 2009-10-20 |
| EP1443401A3 (en) | 2008-03-12 |
| US20040103349A1 (en) | 2004-05-27 |
| EP1443401B1 (en) | 2011-12-21 |
| US7171497B2 (en) | 2007-01-30 |
| EP1443401A2 (en) | 2004-08-04 |
| US20070094545A1 (en) | 2007-04-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4648622B2 (ja) | ダイナミック・トレース用プログレッシブ拡張圧縮マスク | |
| US9047406B2 (en) | Maintaining coherent synchronization between data streams on detection of overflow | |
| US6859897B2 (en) | Range based detection of memory access | |
| JP5519060B2 (ja) | オンチップデータプロセッサのトレースおよびタイミング情報の獲得と出力 | |
| EP1130501B1 (en) | Dynamically configurable debug port for concurrent support of debug functions from multiple data processing cores | |
| US7133821B2 (en) | Read FIFO scheduling for multiple streams while maintaining coherency | |
| JP2004178590A (ja) | データ一致認定および完全または部分的重複によって、多数のサイズのメモリ・アクセスを検出するアドレス範囲比較器 | |
| US7610518B2 (en) | Program counter range comparator with equality, greater than, less than and non-equal detection modes | |
| US20040103399A1 (en) | Data trace compression map | |
| US7047270B2 (en) | Reporting a saturated counter value | |
| US8374841B2 (en) | Precise detection of triggers and trigger ordering for asynchronous events | |
| US20040153895A1 (en) | Imprecise detection of triggers and trigger ordering for asynchronous events | |
| CN1997971A (zh) | 测试具有异步微控制器的集成电路的仿真和调试接口 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061121 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100108 |
|
| A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20100402 |
|
| A602 | Written permission of extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A602 Effective date: 20100407 |
|
| A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20100507 |
|
| A602 | Written permission of extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A602 Effective date: 20100512 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100607 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20101207 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101210 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131217 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4648622 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| EXPY | Cancellation because of completion of term |