JP5850732B2 - 半導体装置及びその制御方法 - Google Patents
半導体装置及びその制御方法 Download PDFInfo
- Publication number
- JP5850732B2 JP5850732B2 JP2011273295A JP2011273295A JP5850732B2 JP 5850732 B2 JP5850732 B2 JP 5850732B2 JP 2011273295 A JP2011273295 A JP 2011273295A JP 2011273295 A JP2011273295 A JP 2011273295A JP 5850732 B2 JP5850732 B2 JP 5850732B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- instruction
- trace information
- microprocessor
- bus
- 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
- G06F11/348—Circuit details, i.e. tracer hardware
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3041—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is an input/output interface
-
- 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/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/349—Performance evaluation by tracing or monitoring for interfaces, buses
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Description
図1は、本発明の実施の形態1にかかる半導体装置の構成例を示す図である。本実施の形態にかかる半導体装置1は、マイクロプロセッサに分岐命令が発生した場合に、その分岐前に指定されていた命令メモリのアドレスの情報を取得してトレース情報として出力するトレース情報出力部を備える。このトレース情報は、分岐命令の実行中にマイクロプロセッサがデータメモリに対してアクセスを行わない期間、データバスを介してデータメモリに書き込まれる。それにより、本実施の形態にかかる半導体装置1は、トレース情報を保持(格納)するための専用のメモリを別途備える必要が無いため、コストの増大を抑制することができる。以下、具体的に説明する。
図4は、本発明の実施の形態2にかかる半導体装置の構成例を示す図である。図4は、図1に示す半導体装置1の具体的な構成例を半導体装置1aとして示したものである。以下、具体的に説明する。
図5は、本発明の実施の形態3にかかる半導体装置の構成例を示す図である。図5に示す半導体装置1bでは、図4に示す半導体装置1aと比較して、命令バス(より詳細には、命令バスのアドレス伝達用バス)のビット幅が、データバス(より詳細には、データバスのデータ伝達用バス)のビット幅より大きい点が異なる。
11 マイクロプロセッサ
12 トレース情報出力部
13 命令メモリ
14 データメモリ
15 命令バス
16 データバス
17a 選択回路
1a 半導体装置
11a マイクロプロセッサ
12a トレース情報出力部
13a 命令メモリ
14a データメモリ
15a 命令バス
16a データバス
1b トレース情報出力部
11b マイクロプロセッサ
12b トレース情報出力部
13b 命令メモリ
14b データメモリ
15b 命令バス
16b データバス
17b 選択回路
18b データメモリ
Claims (7)
- 複数の命令が格納される第1メモリと、
複数のデータが格納される第2メモリと、
第1及び第2バスと、
前記第1メモリに格納された複数の命令のうち指定したアドレスの命令を前記第1バスを介して取り込んで実行し、その実行結果に基づいて前記第2バスを介して前記第2メモリに対してアクセスを行うマイクロプロセッサと、
前記マイクロプロセッサに分岐命令が発生した場合に、その分岐前に指定されていた前記第1メモリのアドレスの情報を取得してトレース情報として出力するトレース情報出力部と、を備え、
前記マイクロプロセッサは、パイプライン処理により前記複数の命令を順次実行し、
前記トレース情報出力部から出力された前記トレース情報は、前記マイクロプロセッサが分岐後の命令をフェッチする期間に、前記第2バスを介して前記第2メモリに書き込まれる、半導体装置。 - 前記トレース情報は、前記マイクロプロセッサが前記分岐後の命令をフェッチする期間と、更に、前記マイクロプロセッサが前記分岐後の命令を実行し、実行結果に基づいて前記第2メモリに対してアクセスを行うまでの期間に、前記第2バスを介して前記第2メモリに書き込まれることを特徴とする請求項1に記載の半導体装置。
- 前記トレース情報出力部は、分岐前に指定されていた前記第1メモリのアドレスの情報として、分岐前の前記第1バス上のアドレスの情報を出力することを特徴とする請求項1又は2に記載の半導体装置。
- 前記トレース情報出力部及び前記マイクロプロセッサの何れか一方と、前記第2バスと、の間の信号経路を設定する選択回路をさらに備えた請求項1〜3のいずれか一項に記載の半導体装置。
- 複数の命令が格納される第1メモリと、
複数のデータが格納される第2メモリと、
第1及び第2バスと、
前記第1メモリに格納された複数の命令のうち指定したアドレスの命令を前記第1バスを介して取り込んで実行し、その実行結果に基づいて前記第2バスを介して前記第2メモリに対してアクセスを行うマイクロプロセッサと、
トレース情報を出力するトレース情報出力部と、を備えた半導体装置の制御方法であって、
前記マイクロプロセッサは、パイプライン処理により前記複数の命令を順次実行し、
前記マイクロプロセッサに分岐命令が発生した場合に、その分岐前に指定されていた前記第1メモリのアドレスの情報を取得して前記トレース情報として出力し、
前記トレース情報出力部から出力された前記トレース情報を、前記マイクロプロセッサが分岐後の命令をフェッチする期間に前記第2バスを介して前記第2メモリに書き込む、半導体装置の制御方法。 - 前記トレース情報を、前記マイクロプロセッサが前記分岐後の命令をフェッチする期間と、更に、前記マイクロプロセッサが前記分岐後の命令を実行し、実行結果に基づいて前記第2メモリに対してアクセスを行うまでの期間に、前記第2バスを介して前記第2メモリに書き込むことを特徴とする請求項5に記載の半導体装置の制御方法。
- 前記トレース情報出力部は、分岐前に指定されていた前記第1メモリのアドレスの情報として、分岐前の前記第1バス上のアドレスの情報を出力することを特徴とする請求項5又は6に記載の半導体装置の制御方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011273295A JP5850732B2 (ja) | 2011-12-14 | 2011-12-14 | 半導体装置及びその制御方法 |
US13/678,080 US9032255B2 (en) | 2011-12-14 | 2012-11-15 | Semiconductor device and control method thereof |
US14/684,988 US20150220415A1 (en) | 2011-12-14 | 2015-04-13 | Semiconductor device and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011273295A JP5850732B2 (ja) | 2011-12-14 | 2011-12-14 | 半導体装置及びその制御方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013125389A JP2013125389A (ja) | 2013-06-24 |
JP5850732B2 true JP5850732B2 (ja) | 2016-02-03 |
Family
ID=48611498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011273295A Active JP5850732B2 (ja) | 2011-12-14 | 2011-12-14 | 半導体装置及びその制御方法 |
Country Status (2)
Country | Link |
---|---|
US (2) | US9032255B2 (ja) |
JP (1) | JP5850732B2 (ja) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11449533B2 (en) * | 2018-02-22 | 2022-09-20 | Entigenlogic Llc | Curating knowledge for storage in a knowledge database |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0444125A (ja) * | 1990-06-11 | 1992-02-13 | Matsushita Electric Ind Co Ltd | マイクロプロセッサ |
JP2760228B2 (ja) | 1991-09-04 | 1998-05-28 | 日本電気株式会社 | キャッシュメモリを内蔵したマイクロプロセッサとそのトレースアナライザ |
EP0530816A3 (en) | 1991-09-04 | 1993-09-15 | Nec Corporation | Microprocessor with cache memory and trace analyzer therefor |
JP3000779B2 (ja) * | 1992-02-28 | 2000-01-17 | 富士通株式会社 | プロセッサの実行状態の情報収集方法 |
US5379388A (en) * | 1992-07-08 | 1995-01-03 | Advanced Micro Devices, Inc. | Digital signal processing apparatus with sequencer designating program routines |
JPH08171505A (ja) * | 1994-12-16 | 1996-07-02 | Fujitsu Ltd | 半導体装置 |
JP2872117B2 (ja) * | 1996-06-27 | 1999-03-17 | 日本電気アイシーマイコンシステム株式会社 | マイクロプロセッサ |
JP3289704B2 (ja) * | 1999-06-03 | 2002-06-10 | 日本電気株式会社 | マイクロコンピュータ |
JP2001084142A (ja) * | 1999-09-09 | 2001-03-30 | Toshiba Corp | マイクロプロセッサ |
JP3796111B2 (ja) * | 2000-11-10 | 2006-07-12 | 株式会社ルネサステクノロジ | データプロセッサ |
JP3805314B2 (ja) * | 2003-02-27 | 2006-08-02 | Necエレクトロニクス株式会社 | プロセッサ |
US20090222646A1 (en) * | 2008-02-28 | 2009-09-03 | International Business Machines Corporation | Method and apparatus for detecting processor behavior using instruction trace data |
-
2011
- 2011-12-14 JP JP2011273295A patent/JP5850732B2/ja active Active
-
2012
- 2012-11-15 US US13/678,080 patent/US9032255B2/en active Active
-
2015
- 2015-04-13 US US14/684,988 patent/US20150220415A1/en not_active Abandoned
Also Published As
Publication number | Publication date |
---|---|
US20150220415A1 (en) | 2015-08-06 |
US9032255B2 (en) | 2015-05-12 |
US20130159783A1 (en) | 2013-06-20 |
JP2013125389A (ja) | 2013-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5850774B2 (ja) | 半導体集積回路装置及びそれを用いたシステム | |
JP5905911B2 (ja) | シングルステップ実行を用いる診断コード | |
JP2007188147A (ja) | デバッグ支援装置及びデバッグ処理方法をコンピュータに実行させるためのプログラム | |
JP2008282308A (ja) | 協調検証装置、協調検証方法、協調検証プログラム | |
JP5850732B2 (ja) | 半導体装置及びその制御方法 | |
JP2006318412A (ja) | 半導体装置 | |
JPH1078887A (ja) | デバッグシステム及びデバッグ方法 | |
JP2007034825A (ja) | デバッグ装置 | |
JP2019204388A (ja) | 半導体装置、およびデバッグ方法 | |
JP2016091277A (ja) | トレースシステムおよびicチップ | |
JP7202225B2 (ja) | 半導体装置及びデバッグシステム | |
JP7378254B2 (ja) | マルチプロセッサデバイス | |
JP2013058228A (ja) | 保安処理装置 | |
JP2005165825A (ja) | トレース情報記録装置 | |
WO2020209016A1 (ja) | 半導体装置及びデバッグシステム | |
JP2012088839A (ja) | デバッグ装置、デバッグ方法 | |
US9342359B2 (en) | Information processing system and information processing method | |
JP2002366378A (ja) | プログラムのデバッグ装置及びデバッグ方法、並びに記憶媒体 | |
JP2010033323A (ja) | マルチプロセッサ及びそれをデバッグするデバッグ装置並びに前記マルチプロセッサをデバッグするデバッグ方法 | |
JP2013175076A (ja) | 情報処理装置および情報処理装置における異常分析方法 | |
JP2009009201A (ja) | デバッグ装置 | |
JP5718600B2 (ja) | 情報処理システム、および、情報処理方法 | |
JP2007213415A (ja) | メモリ装置 | |
JP2012242931A (ja) | エミュレータ及びデバッグ方法 | |
JP2008111682A (ja) | 半導体試験方法および半導体試験装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140814 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150316 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150407 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150602 |
|
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: 20151124 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20151201 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5850732 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |