JP5376509B2 - 実行履歴トレース方法 - Google Patents
実行履歴トレース方法 Download PDFInfo
- Publication number
- JP5376509B2 JP5376509B2 JP2009063164A JP2009063164A JP5376509B2 JP 5376509 B2 JP5376509 B2 JP 5376509B2 JP 2009063164 A JP2009063164 A JP 2009063164A JP 2009063164 A JP2009063164 A JP 2009063164A JP 5376509 B2 JP5376509 B2 JP 5376509B2
- Authority
- JP
- Japan
- Prior art keywords
- trace
- information
- data
- execution
- access
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/3471—Address tracing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/3636—Software debugging by tracing the execution of the program
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/3648—Software debugging using additional hardware
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/3648—Software debugging using additional hardware
- G06F11/3656—Software debugging using additional hardware using a specific debug interface
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Description
11 半導体装置
12 外部デバッグ装置
13 ホストコンピュータ
15 デバッガソフトウェア
16 トレースバッファ
21 CPU
22 デバッグ回路
23 RAM
24 ROM
25 周辺回路
26 内部バス
Claims (5)
- CPUを含む半導体装置において前記CPUによりプログラムを実行したときの前記CPUの実行に関する実行履歴を、1つ又は複数のトレース対象命令に関して、ソフトウェアを介して前記半導体装置の外部からトレースするトレース方法であって、
前記実行履歴として記録対象の情報が発生した命令実行サイクル毎に、前記発生した記録対象の情報を前記1つ又は複数のトレース対象命令の実行に関するトレース情報として、命令毎に整理することなくそのままバッファに記録し、
前記命令実行サイクル毎に記録された前記1つ又は複数のトレース対象命令の実行に関するトレース情報において少なくとも1つのトレース対象命令のトレース情報が異なるサイクルに分けて格納されており、前記ソフトウェアにより、前記トレース情報を前記1つ又は複数のトレース対象命令毎に纏めるようにデータ並べ替えを実行することにより、異なるサイクルに分かれているトレース情報を命令実行毎に1つに纏めたデータ形式のトレース情報に再構成する
各段階を含むことを特徴とする実行履歴トレース方法。 - 前記半導体装置に含まれるデバッグ回路が前記トレース情報を前記バッファに記録し、前記半導体装置に結合されるコンピュータ上で実行される前記ソフトウェアにより前記データ並び替えを実行することを特徴とする請求項1記載の実行履歴トレース方法。
- 前記トレース情報を前記バッファに記録する段階は、1つの前記命令実行サイクルで発生し得る前記記録対象の情報を漏れなく格納するビット幅を用いて前記トレース情報を前記バッファに記録することを特徴とする請求項1又は2に記載の実行履歴トレース方法。
- 前記1つ又は複数のトレース対象命令は命令実行の履歴を示す分岐情報とデータアクセス実行の履歴を示すデータアクセス情報とを含み、前記命令実行サイクル毎に前記バッファに記録する前記トレース情報は、分岐元を示すデータ格納用ビット、分岐先を示すデータ格納用ビット、分岐要因を示すデータ格納用ビット、実行プログラムカウンタ値を示すビット、リードデータ値の有効を示すデータ格納用ビット、リードデータID格納用ビット、リードデータ値格納用ビット、データアクセスの有効を示すデータ格納用ビット、リード又はライトアクセスを示すデータ格納用ビット、アクセスサイズを示すデータ格納用ビット、アクセスアドレス格納用ビット、ライトデータ格納用ビット、リードアクセスID格納用ビットを含むことを特徴とする請求項1乃至3の何れか一項記載の実行履歴トレース方法。
- 前記1つ又は複数のトレース対象命令を指定する段階を更に含み、前記トレース情報を前記バッファに記録する段階は、前記指定した記録対象の情報が発生した命令実行サイクル毎に前記トレース情報を前記バッファに記録することを特徴とする請求項1乃至4の何れか一項記載の実行履歴トレース方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009063164A JP5376509B2 (ja) | 2009-03-16 | 2009-03-16 | 実行履歴トレース方法 |
US12/721,667 US8578216B2 (en) | 2009-03-16 | 2010-03-11 | Execution history tracing method |
US14/068,652 US9507688B2 (en) | 2009-03-16 | 2013-10-31 | Execution history tracing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009063164A JP5376509B2 (ja) | 2009-03-16 | 2009-03-16 | 実行履歴トレース方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010218139A JP2010218139A (ja) | 2010-09-30 |
JP5376509B2 true JP5376509B2 (ja) | 2013-12-25 |
Family
ID=42731674
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009063164A Active JP5376509B2 (ja) | 2009-03-16 | 2009-03-16 | 実行履歴トレース方法 |
Country Status (2)
Country | Link |
---|---|
US (2) | US8578216B2 (ja) |
JP (1) | JP5376509B2 (ja) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5376509B2 (ja) | 2009-03-16 | 2013-12-25 | スパンション エルエルシー | 実行履歴トレース方法 |
US9304844B2 (en) * | 2013-02-27 | 2016-04-05 | Qualcomm Incorporated | System and method for preserving critical debug data in a portable computing device |
RU2635044C2 (ru) | 2013-06-27 | 2017-11-08 | Интел Корпорейшн | Режим слежения в устройстве обработки в системах трассировки команд |
US9703667B2 (en) * | 2015-02-22 | 2017-07-11 | International Business Machines Corporation | Hardware-based edge profiling |
US9443192B1 (en) | 2015-08-30 | 2016-09-13 | Jasmin Cosic | Universal artificial intelligence engine for autonomous computing devices and software applications |
US9582762B1 (en) | 2016-02-05 | 2017-02-28 | Jasmin Cosic | Devices, systems, and methods for learning and using artificially intelligent interactive memories |
US9864933B1 (en) | 2016-08-23 | 2018-01-09 | Jasmin Cosic | Artificially intelligent systems, devices, and methods for learning and/or using visual surrounding for autonomous object operation |
US10452974B1 (en) | 2016-11-02 | 2019-10-22 | Jasmin Cosic | Artificially intelligent systems, devices, and methods for learning and/or using a device's circumstances for autonomous device operation |
US10607134B1 (en) | 2016-12-19 | 2020-03-31 | Jasmin Cosic | Artificially intelligent systems, devices, and methods for learning and/or using an avatar's circumstances for autonomous avatar operation |
US10387298B2 (en) * | 2017-04-04 | 2019-08-20 | Hailo Technologies Ltd | Artificial neural network incorporating emphasis and focus techniques |
US11615297B2 (en) | 2017-04-04 | 2023-03-28 | Hailo Technologies Ltd. | Structured weight based sparsity in an artificial neural network compiler |
US10102449B1 (en) | 2017-11-21 | 2018-10-16 | Jasmin Cosic | Devices, systems, and methods for use in automation |
US10474934B1 (en) | 2017-11-26 | 2019-11-12 | Jasmin Cosic | Machine learning for computing enabled systems and/or devices |
US10402731B1 (en) | 2017-12-15 | 2019-09-03 | Jasmin Cosic | Machine learning for computer generated objects and/or applications |
CN108255732B (zh) * | 2018-01-24 | 2022-03-18 | 广东乐心医疗电子股份有限公司 | 跟踪单片机系统运行状态的方法 |
CN108647131B (zh) * | 2018-04-08 | 2021-04-27 | 广州视源电子科技股份有限公司 | 运行日志的输出系统 |
JP6978458B2 (ja) * | 2019-02-28 | 2021-12-08 | ファナック株式会社 | シーケンスプログラムのトレースに用いるシーケンスプログラム処理装置 |
US11811421B2 (en) | 2020-09-29 | 2023-11-07 | Hailo Technologies Ltd. | Weights safety mechanism in an artificial neural network processor |
US11874900B2 (en) | 2020-09-29 | 2024-01-16 | Hailo Technologies Ltd. | Cluster interlayer safety mechanism in an artificial neural network processor |
US11947439B2 (en) * | 2020-11-30 | 2024-04-02 | International Business Machines Corporation | Learning from distributed traces for anomaly detection and root cause analysis |
Family Cites Families (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS607080U (ja) * | 1983-06-28 | 1985-01-18 | 横河電機株式会社 | マイクロプロセツサアナライザ |
JPH0844587A (ja) * | 1994-07-28 | 1996-02-16 | Hitachi Ltd | トレース装置 |
US6314530B1 (en) * | 1997-04-08 | 2001-11-06 | Advanced Micro Devices, Inc. | Processor having a trace access instruction to access on-chip trace memory |
JP3542463B2 (ja) * | 1997-07-29 | 2004-07-14 | Necエレクトロニクス株式会社 | 集積回路装置、その動作制御方法 |
JP3116901B2 (ja) | 1998-04-28 | 2000-12-11 | 日本電気株式会社 | プログラム検査方法、プログラム検査装置及びプログラム検査プログラムを記録した記録媒体 |
JP3506609B2 (ja) | 1998-06-30 | 2004-03-15 | 京セラ株式会社 | 積層型圧電アクチュエータ |
JP2000222228A (ja) * | 1999-01-29 | 2000-08-11 | Hitachi Ltd | リソース占有順序の検証によるデッドロック防止方法 |
JP2000222243A (ja) * | 1999-02-03 | 2000-08-11 | Nec Corp | デバッグ装置及びデバッグ方法 |
JP2002318734A (ja) * | 2001-04-18 | 2002-10-31 | Teamgia:Kk | 通信ログ処理方法及びシステム |
JP2003085000A (ja) * | 2001-09-10 | 2003-03-20 | Mitsubishi Electric Corp | トレース情報生成装置およびその方法 |
US6615371B2 (en) * | 2002-03-11 | 2003-09-02 | American Arium | Trace reporting method and system |
JP2003296136A (ja) * | 2002-04-04 | 2003-10-17 | Mitsubishi Electric Corp | トレース装置 |
US20030212937A1 (en) * | 2002-05-07 | 2003-11-13 | Marc Todd | System and method for exposing state based logic signals within an electronics system over an existing network conduit |
JP2008523456A (ja) * | 2004-05-12 | 2008-07-03 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | トレースコプロセッサを備えたデータ処理システム |
JP2006012064A (ja) * | 2004-06-29 | 2006-01-12 | Toshiba Corp | トレース装置 |
US7810075B2 (en) * | 2005-04-29 | 2010-10-05 | Sap Ag | Common trace files |
US7689867B2 (en) * | 2005-06-09 | 2010-03-30 | Intel Corporation | Multiprocessor breakpoint |
US20060294343A1 (en) * | 2005-06-27 | 2006-12-28 | Broadcom Corporation | Realtime compression of microprocessor execution history |
JP4847734B2 (ja) * | 2005-10-31 | 2011-12-28 | ルネサスエレクトロニクス株式会社 | 半導体集積回路装置、それのデバッグシステム及びデバッグ方法。 |
US20070234306A1 (en) * | 2006-03-31 | 2007-10-04 | Klinger Uwe D | Tracing performance of machine-readable instructions |
JP2008033849A (ja) * | 2006-08-01 | 2008-02-14 | Hitachi Ltd | 障害解析システム |
JP2008059515A (ja) * | 2006-09-04 | 2008-03-13 | Hitachi Software Eng Co Ltd | プログラム実行過程の表示方法及びシステム並びにプログラム |
JP4846493B2 (ja) * | 2006-09-05 | 2011-12-28 | 富士通セミコンダクター株式会社 | デバッグシステム及びデバッグ回路 |
JP5376509B2 (ja) | 2009-03-16 | 2013-12-25 | スパンション エルエルシー | 実行履歴トレース方法 |
-
2009
- 2009-03-16 JP JP2009063164A patent/JP5376509B2/ja active Active
-
2010
- 2010-03-11 US US12/721,667 patent/US8578216B2/en active Active
-
2013
- 2013-10-31 US US14/068,652 patent/US9507688B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
US9507688B2 (en) | 2016-11-29 |
US20100235686A1 (en) | 2010-09-16 |
US8578216B2 (en) | 2013-11-05 |
JP2010218139A (ja) | 2010-09-30 |
US20140075249A1 (en) | 2014-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5376509B2 (ja) | 実行履歴トレース方法 | |
CN110603528B (zh) | 调试系统和方法 | |
JP5679989B2 (ja) | デバッグパイプライン | |
CN109144515B (zh) | Dcs图形化算法组态的离线仿真方法和装置 | |
JPS6116100B2 (ja) | ||
CN103093005A (zh) | 一种遥信数据处理方法和装置 | |
CN111078217A (zh) | 脑图生成方法、装置和计算机可读存储介质 | |
JP2007310565A (ja) | システムlsi検証装置及びシステムlsi検証プログラム | |
US8966323B2 (en) | Monitoring multiple data transfers | |
US8468393B2 (en) | Triggering diagnostic operations within a data processing apparatus | |
CN102597965B (zh) | 动作检验装置及动作检验方法 | |
US10816600B1 (en) | Protocol analysis and visualization during simulation | |
JP4472557B2 (ja) | プログラム作成装置 | |
CN113874802B (zh) | 控制系统、可编程逻辑控制器以及信息处理方法 | |
JP6510430B2 (ja) | トレースデータ編集装置及び方法 | |
CN111008133B (zh) | 粗粒度数据流架构执行阵列的调试方法及装置 | |
JP3892873B2 (ja) | プログラマブルコントローラ | |
JP5702265B2 (ja) | プログラム自動生成装置およびプログラム自動生成方法 | |
JPH08180094A (ja) | アーキテクチャ・シミュレータ | |
JP2005165825A (ja) | トレース情報記録装置 | |
JP2007018313A (ja) | 回路設計プログラム、回路設計装置、回路設計方法 | |
JP2001166969A (ja) | プログラム動作情報表示システム及びプログラムを記録したコンピュータ読み取り可能な記録媒体 | |
US20020062208A1 (en) | Method and apparatus for visualization of microprocessor pipeline operation | |
CN102782657B (zh) | 动作检验装置及动作检验方法 | |
JP5034867B2 (ja) | ソフトウェア検証支援プログラム、該プログラムを記録した記録媒体、ソフトウェア検証支援装置、およびソフトウェア検証支援方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111125 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130213 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130219 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130422 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130521 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130718 |
|
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: 20130820 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20130822 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130918 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5376509 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
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 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |