【0001】[0001]
【産業上の利用分野】本発明は、マイクロプロセッサを
CPUとする制御装置における、マイクロプロセッサ
I/Oアクセス トレース方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprocessor in a control device having a microprocessor as a CPU.
I / O access trace method.
【0002】[0002]
【従来の技術】従来の技術としては、制御装置コントロ
ールFW自身でメモリにI/Oアクセス トレースデー
タを格納あるいは、トレース専用HWでバスのI/Oア
クセスをトレースメモリに格納していた。2. Description of the Related Art As a conventional technique, a controller FW itself stores I / O access trace data in a memory, or a trace dedicated HW stores bus I / O access in a trace memory.
【0003】[0003]
【発明が解決しようとする課題】上述した従来の方式の
内FW自身でメモリにI/Oアクセストレースデータを
格納する方式では、制御装置コントロールFWの各セク
ションにI/Oアクセストレースデータ作成のFW容量
が増大し、かつ複雑となり、トレース専用HWでバスの
I/Oアクセスをトレースメモリに格納する方式では、
トレース専用HWの分HW量が増大、かつ複雑し、トレ
ースメモリの読みだし手段も必要となる欠点があった。Among the above-mentioned conventional methods, in the method of storing the I / O access trace data in the memory by the FW itself, the FW for creating the I / O access trace data in each section of the control unit control FW. The capacity increases and becomes complicated, and in the method of storing the I / O access of the bus in the trace memory with the trace dedicated HW,
There is a drawback in that the HW amount for the trace dedicated HW increases and is complicated, and a reading means of the trace memory is also required.
【0004】[0004]
【課題を解決するための手段】本発明のトレース方式
は、DMA以外のマイクロプロセッサからのI/Oアク
セスのアドレスとデータをラッチするI/Oアクセス記
憶レジスタと、前記I/Oアクセス記憶レジスタにデー
タがラッチされたことをマイクロプロセッサに割り込み
で通知するI/O割り込み制御機構と、前記割り込みに
より起動されるI/Oアクセス トレース割り込みハン
ドラを有してる。According to the trace method of the present invention, an I / O access storage register for latching an address and data of an I / O access from a microprocessor other than a DMA and the I / O access storage register are provided. It has an I / O interrupt control mechanism for notifying the microprocessor that the data has been latched by an interrupt, and an I / O access trace interrupt handler activated by the interrupt.
【0005】更に本発明のトレース方式は、マイクロプ
ロセッサ内部に設けたI/Oアクセス専用のアドレスと
データを記憶するI/Oアクセスレジスタと、DMA以
外のマイクロプロセッサからのI/Oアクセスがあった
ことをマイクロプロセッサに割り込みで通知するI/O
割り込み制御機構と、前記割り込みにより起動されるI
/Oアクセス トレース割り込みハンドラを有してる。Further, in the trace method of the present invention, there are I / O access registers for storing addresses and data dedicated to I / O access provided inside the microprocessor, and I / O access from microprocessors other than DMA. I / O to notify the microprocessor by interrupt
Interrupt control mechanism and I activated by the interrupt
/ O access Has a trace interrupt handler.
【0006】[0006]
【実施例】次に、本発明について図面を参照して説明す
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.
【0007】図1は本発明の一実施例を示すHWブロッ
ク図である。図1において、マイクロプロセッサ1はバ
ス2を介してメモリ3、I/Oコントローラ4およびI
/Oアクセス記憶レジスタ5に接続されており、I/O
アクセス記憶レジスタ5はI/O割り込み制御機構6を
介してマイクロプロセッサに接続されている。FIG. 1 is a HW block diagram showing an embodiment of the present invention. In FIG. 1, a microprocessor 1 includes a memory 3, an I / O controller 4 and an I / O controller 4 via a bus 2.
I / O connected to the I / O access storage register 5
The access storage register 5 is connected to the microprocessor via the I / O interrupt control mechanism 6.
【0008】図2は本発明の一実施例を示すFWブロッ
ク図である。図2において、10はモニタFWブロッ
ク,11は制御装置コントロールFWブロック,12は
割り込みハンドラFWブロック,13はI/Oアクセス
トレース割り込みハンドラFWをそれぞれ示してい
る。FIG. 2 is a FW block diagram showing an embodiment of the present invention. In FIG. 2, 10 is a monitor FW block, 11 is a controller control FW block, 12 is an interrupt handler FW block, and 13 is an I / O access trace interrupt handler FW.
【0009】マイクロプロセッサ1からI/Oアクセス
が有ったとき、バス2にI/Oアクセスが発行される。
そのI/Oアクセスの内DMAアクセスを除くI/Oア
クセスをI/Oアクセス記憶レジスタ5がラッチし、I
/O割り込み制御機構6がマイクロプロセッサ1に割り
込みをかけ、この割り込みにより起動されたI/Oアク
セス トレース割り込みハンドラ13はI/Oアクセス
記憶レジスタ5からデータを読みだし、メモリ3のトレ
ースエリアに定義したエリアにI/Oアクセス記憶レジ
スタ5から読みだしたデータをI/Oアクセス トレー
スデータとして格納し、割り込み処理を終了する。この
動作原理によりI/Oアクセスのトレースが採取でき
る。When there is an I / O access from the microprocessor 1, the I / O access is issued to the bus 2.
The I / O access storage register 5 latches the I / O accesses other than the DMA access among the I / O accesses.
The / O interrupt control mechanism 6 interrupts the microprocessor 1, and the I / O access trace interrupt handler 13 activated by this interrupt reads data from the I / O access storage register 5 and defines it in the trace area of the memory 3. The data read from the I / O access storage register 5 is stored in the designated area as I / O access trace data, and the interrupt process is terminated. A trace of I / O access can be collected by this operation principle.
【0010】次に、図3は本発明の他の実施例を表すH
Wブロック図である。図3において、マイクロプロセッ
サ31はバス32を介してメモリ33、I/Oコントロ
ーラ34およびI/O割り込み制御機構35にそれぞれ
接続されている。なおマイクロプロセッサ31にはその
内部にI/Oアクセスレジスタ36を有している。Next, FIG. 3 shows an H of another embodiment of the present invention.
It is a W block diagram. In FIG. 3, the microprocessor 31 is connected to a memory 33, an I / O controller 34 and an I / O interrupt control mechanism 35 via a bus 32. The microprocessor 31 has an I / O access register 36 inside.
【0011】図4は本発明の他の実施例を表すFWブロ
ック図である。図4において、40はモリタFWブロッ
ク,41は制御装置コントロールFWブロック、42は
割り込みハンドラFWブロック、43はI/Oアクセス
トレース割り込みハンドラFWをそれぞれ示してる。FIG. 4 is a FW block diagram showing another embodiment of the present invention. In FIG. 4, 40 is a Morita FW block, 41 is a controller control FW block, 42 is an interrupt handler FW block, and 43 is an I / O access trace interrupt handler FW.
【0012】マイクロプロセッサ31からI/Oアクセ
スレジスタ36を使用したI/Oアクセスが有ったと
き、バス32にI/Oアクセスが発行される。そのI/
Oアクセスの内DMAアクセスを除くI/Oアクセスの
時I/O割り込み制御機構35がマイクロプロセッサ3
1に割り込みをかけ、この割り込みにより起動されたI
/Oアクセス トレース割り込みハンドラ43はI/O
アクセスレジスタ36からデータを読みだし、メモリ3
3のトレースエリアに定義したエリアにI/Oアクセス
レジスタ36から読みだしたデータをI/Oアクセス
トレースデータとして格納し、割り込み処理を終了す
る。この動作原理によりI/Oアクセスのトレースが採
取できる。When there is an I / O access from the microprocessor 31 using the I / O access register 36, the I / O access is issued to the bus 32. That I /
In the case of I / O access except DMA access of O access, the I / O interrupt control mechanism 35 causes the microprocessor 3 to operate.
I interrupted by 1 and I started by this interrupt
/ O access Trace interrupt handler 43 is I / O
The data is read from the access register 36 and stored in the memory 3
I / O access to the data read from the I / O access register 36 to the area defined in the trace area 3
Store as trace data and end interrupt processing. A trace of I / O access can be collected by this operation principle.
【0013】[0013]
【発明の効果】以上説明したように本発明のマイクロプ
ロセッサ I/Oアクセス トレース方式は、制御装置
コントロールFWの各セクションにI/Oアクセス ト
レースデータ作成のFWを埋め込む必要がなく、I/O
アクセス トレースを行う専用HWも必要とせず、容易
にI/Oアクセス トレースが採取できる。As described above, according to the microprocessor I / O access trace system of the present invention, it is not necessary to embed the FW for creating the I / O access trace data in each section of the control unit control FW, and the I / O
I / O access traces can be easily collected without the need for a dedicated HW to perform access traces.
【図1】本発明の一実施例を示すHWブロック図であ
る。FIG. 1 is a HW block diagram showing an embodiment of the present invention.
【図2】本発明の一実施例を示すFWブロック図であ
る。FIG. 2 is a FW block diagram showing an embodiment of the present invention.
【図3】本発明の他の実施例を示すHWブロック図であ
る。FIG. 3 is a HW block diagram showing another embodiment of the present invention.
【図4】本発明の他の実施例を示すFWブロック図であ
る。FIG. 4 is a FW block diagram showing another embodiment of the present invention.
1,31 マイクロプロセッサ 2,32 バス 3,33 メモリ 4,34 I/Oコントローラ 5 I/Oアクセス記憶レジスタ 6,35 I/O割り込み制御機構 36 I/Oアクセスレジスタ 10,40 モニタFWブロック 11,41 制御装置コントロールFWブロック 12,42 割り込みハンドラFWブロック 13,43 I/Oアクセス トレース割り込みハン
ドラ1,31 Microprocessor 2,32 Bus 3,33 Memory 4,34 I / O Controller 5 I / O Access Storage Register 6,35 I / O Interrupt Control Mechanism 36 I / O Access Register 10,40 Monitor FW Block 11, 41 Control device control FW block 12,42 Interrupt handler FW block 13,43 I / O access Trace interrupt handler
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4179528AJPH0628268A (en) | 1992-07-07 | 1992-07-07 | Microprocessor i/o access tracing system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4179528AJPH0628268A (en) | 1992-07-07 | 1992-07-07 | Microprocessor i/o access tracing system |
| Publication Number | Publication Date |
|---|---|
| JPH0628268Atrue JPH0628268A (en) | 1994-02-04 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4179528APendingJPH0628268A (en) | 1992-07-07 | 1992-07-07 | Microprocessor i/o access tracing system |
| Country | Link |
|---|---|
| JP (1) | JPH0628268A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6769054B1 (en)* | 2001-02-26 | 2004-07-27 | Emc Corporation | System and method for preparation of workload data for replaying in a data storage environment |
| US6775826B1 (en)* | 2001-02-26 | 2004-08-10 | Emc Corporation | System and method for replaying workload data in a data storage environment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61240352A (en)* | 1985-04-17 | 1986-10-25 | Fujitsu Ltd | Interface-signal reading system |
| JPH02284249A (en)* | 1989-04-26 | 1990-11-21 | Toshiba Corp | Bus tracer |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61240352A (en)* | 1985-04-17 | 1986-10-25 | Fujitsu Ltd | Interface-signal reading system |
| JPH02284249A (en)* | 1989-04-26 | 1990-11-21 | Toshiba Corp | Bus tracer |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6769054B1 (en)* | 2001-02-26 | 2004-07-27 | Emc Corporation | System and method for preparation of workload data for replaying in a data storage environment |
| US6775826B1 (en)* | 2001-02-26 | 2004-08-10 | Emc Corporation | System and method for replaying workload data in a data storage environment |
| US7213113B2 (en)* | 2001-02-26 | 2007-05-01 | Emc Corporation | System and method for preparation of workload data for replaying in a data storage environment |
| Publication | Publication Date | Title |
|---|---|---|
| JPH056901B2 (en) | ||
| JP3628373B2 (en) | Power management unit, computer system, and method for accessing a plurality of configuration registers in a power management unit of a computer system | |
| JPH0628268A (en) | Microprocessor i/o access tracing system | |
| JPH01124049A (en) | microprocessor | |
| JPH0447350A (en) | Main storage read/response control | |
| JPS59197946A (en) | Memory device | |
| JPH03137736A (en) | Operation tracing system for micro processor | |
| JPS61217834A (en) | Data processor | |
| JP2785855B2 (en) | Information processing device | |
| JP3127737B2 (en) | Digital signal processor | |
| JPH08123725A (en) | Write-back cache system | |
| KR890008681A (en) | Processor control unit | |
| JPH06301633A (en) | Data transfer device | |
| JPH02110744A (en) | information processing equipment | |
| JPH07281924A (en) | Trace device and emulator equipped with the same | |
| JPS6349942A (en) | Arithmetic processing unit | |
| JPH03256127A (en) | Microprocessor system | |
| JPH04199336A (en) | microcomputer | |
| EP0278263A3 (en) | Multiple bus dma controller | |
| JPS62239242A (en) | Debugging device | |
| JPH07311733A (en) | SCSI controller | |
| JPS58186853A (en) | Initial diagnosis method | |
| JPH03269752A (en) | Information processing system and input/output controller used for the same | |
| JPH01318128A (en) | Cache error processing system | |
| JPS58134350A (en) | memory controller |
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal | Free format text:JAPANESE INTERMEDIATE CODE: A02 Effective date:19980428 |