JPS5835646A - Operation analyzing device for central processing system - Google Patents

Operation analyzing device for central processing system

Info

Publication number
JPS5835646A
JPS5835646A JP56133533A JP13353381A JPS5835646A JP S5835646 A JPS5835646 A JP S5835646A JP 56133533 A JP56133533 A JP 56133533A JP 13353381 A JP13353381 A JP 13353381A JP S5835646 A JPS5835646 A JP S5835646A
Authority
JP
Japan
Prior art keywords
analysis
analyzing
clock frequency
address
central processing
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.)
Pending
Application number
JP56133533A
Other languages
Japanese (ja)
Inventor
Fumio Oki
沖 文郎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP56133533A priority Critical patent/JPS5835646A/en
Publication of JPS5835646A publication Critical patent/JPS5835646A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To reduce hardware of a monitor part, by lowering or stopping temporarily the clock frequency given to a CPU during the analyzing operation to make the analysis due to software possible. CONSTITUTION:When an address bus monitor part ABS of an operation analyzing device 2 detects the address of the analysis start, a signal is sent to a clock generator CLK to lower the clock frequency. Simultaneously, the analysis start is displayed. When finding the display of the analysis start, an analyzing part 4 reads contents on an address bus, a control bus, and a data bus to perform the analysis. Since the analyzing operation is performed by software of the analyzing part 4, the speed is comparatively low. Consequently, it is necessary that the clock frequency is lowered to such speed that the analyzing operation follows the clock frequency sufficiently. Thus, the quantity of hardware in the monitor part 3 becomes small because information is not accumulated in the monitor part 3.

Description

【発明の詳細な説明】 本発明は中央処理システムの動作解析装置に関する。[Detailed description of the invention] The present invention relates to an operation analysis device for a central processing system.

従来この種の中央処理システムの動作解析装置において
社中央処理装置(以下CPUと称す)の動作を監視する
為のハードウェアと監視結果を分析する為のソフトウェ
アから構成さnているが。
Conventionally, this type of operation analysis device for a central processing system is composed of hardware for monitoring the operation of a central processing unit (hereinafter referred to as CPU) and software for analyzing the monitoring results.

CPUの動作を監視する為には高速動作が要求さn1分
析はかなりの処理量を要求さnるという事から前−者は
ハードウェアにより後者はソフトウェアにより実現さn
ていた。すなわちハードウェアにより解析の為のデータ
を蓄積し、そnを後で解析するという方法を取っていた
。従って蓄積するデータ量によって解析できる内容が限
らnてしまう欠点があった。
Monitoring the operation of the CPU requires high-speed operation, and n1 analysis requires a considerable amount of processing, so the former is realized by hardware and the latter by software.
was. In other words, the method used was to accumulate data for analysis using hardware and analyze it later. Therefore, there is a drawback that the content that can be analyzed is limited depending on the amount of data stored.

本発明は動作解析対象のCPUに与えるクロ。The present invention provides a clock to be applied to a CPU whose operation is to be analyzed.

りを制御して解析に必要な時間を作り出しCPUの動作
と同時に解析を行なう方法を取る事により上記欠点を解
決した装置を提供するものである。
The purpose of the present invention is to provide an apparatus that solves the above-mentioned drawbacks by controlling the flow rate to create time necessary for analysis and performing analysis simultaneously with the operation of the CPU.

本発明によると中央処理システムのパスラインに接続し
てシステムの動作を解析する装置において、動作解析を
開始するアドレスを検出すると中央処理装置に与えるク
ロ、りの周波数を下げるか。
According to the present invention, in a device connected to a path line of a central processing system to analyze system operation, when an address for starting operation analysis is detected, the frequency of the clock signal applied to the central processing unit is lowered.

または一時停止させる手段、および制御信号、データバ
ス、およびアドレスバスの内容を読込む為の手段を有し
読込だ情報からシステムの動作を解析する事を特徴とす
る中央処理システムの動作解析装置が得らnる。
or a device for analyzing the operation of a central processing system, which has means for temporarily stopping the system, and means for reading the contents of a control signal, a data bus, and an address bus, and analyzes the operation of the system from the read information. Get it.

すなわちCPUはクロックに同期して動作するのでクロ
、り周波数を下げるか、あるいは一時停止するとCPU
の動作が低速にあるいは停止する。
In other words, the CPU operates in synchronization with the clock, so if you lower the clock frequency or pause it, the CPU operates in synchronization with the clock.
operation slows down or stops.

そこでCPUの動作と同時に解析を行なう事が可能とな
る。
Therefore, it becomes possible to perform analysis simultaneously with the operation of the CPU.

次に本発明の実施例について図面を参照して説尋Φ七す
奪呻→とパスラインBLとよりなる。また2は本発明に
係る動作解析装置で監視部3と解析部4とよりなる。更
に監視部はアドレスバスの監視をするABS、制御信号
を魁視するCBS。
Next, referring to the drawings, an embodiment of the present invention will be explained, consisting of Φ7 and a pass line BL. Reference numeral 2 denotes a motion analysis device according to the present invention, which includes a monitoring section 3 and an analysis section 4. Furthermore, the monitoring section includes an ABS that monitors the address bus and a CBS that monitors control signals.

データバスを監視するDBSおよびクロ、りを発生する
CLKより成る。また解析部はCPU、メモリーMEM
、表示装置DISPおよび電鍵部KEYにより構成さn
る。
It consists of a DBS that monitors the data bus and a CLK that generates clock signals. In addition, the analysis part is the CPU, memory MEM
, consisting of the display device DISP and the electronic key section KEY.
Ru.

動作解析対象システムlにこの動作解析装置2を接ぎ込
み動作を開始させると最初は正常な周波数でCLKより
クロックを供給する。ABSはアドレスバスの状態を監
視して解析を開始するアドレスがアドレスバスに表われ
るのを待つ。この時。
When this motion analysis device 2 is inserted into a system 1 to be motion analyzed and its motion is started, a clock is initially supplied from CLK at a normal frequency. The ABS monitors the state of the address bus and waits for an address to appear on the address bus to begin analysis. At this time.

CBSが監視している制御信号をサンプリング信号とし
て使用する。解析開始のアドレスは解析部4よりデータ
としてABSに書き込inる。
The control signal monitored by CBS is used as the sampling signal. The analysis start address is written into the ABS as data by the analysis unit 4.

ABSが解析開始のアドレスを検出するとCLKに信号
を送りクロ、り周波数を下げる。同時に解析開始の表示
を出す。解析部4はABSを監視しており、解析開始の
表示を見つけるとABS、CBS。
When the ABS detects the address to start analysis, it sends a signal to CLK and lowers the clock frequency. At the same time, a message indicating the start of analysis is displayed. The analysis unit 4 monitors the ABS, and when it finds the indication that the analysis has started, it detects the ABS and CBS.

D )3 Sの各ユニッ)t−通してアドレスバス、コ
ントロールバス、データバスの内容を読込み解析をする
。解析動作は解析部4のソフトフェアによ多行なわnる
ので比較的遅い。従ってこの時は解析動作が充分に追従
できる早さまでクロック周波数を下げておく必要がある
。解析動作を終了するアドレスに達した事を解析部4が
検出するとCLKにクロ、り周波数を元に戻す信号を送
出する。そnによりCPUは正常動作に戻る。この様に
して解析した結果はメモI)MEMK蓄積し表示装置D
ISPに表示する。また解析の開始、終了アドレスの設
定等は電鍵部KEYにより行なう。
D) The contents of the address bus, control bus, and data bus are read and analyzed through the 3 S units) t-. The analysis operation is relatively slow because much of it is performed by the software of the analysis section 4. Therefore, at this time, it is necessary to lower the clock frequency to a speed that allows the analysis operation to follow sufficiently. When the analysis section 4 detects that the address at which the analysis operation ends is reached, it sends a signal to CLK to return the frequency to its original value. This causes the CPU to return to normal operation. The results of analysis in this way are stored in memo I) MEMK and displayed on device D.
Display on ISP. The start and end addresses of analysis are set using the electronic key KEY.

本実施例では監視部3での情報蓄積を行なわないので監
視部3のバードウェア量が小さくなる。
In this embodiment, since information is not stored in the monitoring section 3, the amount of hardware in the monitoring section 3 is reduced.

また解析結果を蓄積するので蓄積する情報量が必要最、
J−限となり解析部4のハードウェア量が小さくなる。
Also, since the analysis results are accumulated, the amount of information to be accumulated is
J-limit, and the amount of hardware of the analysis section 4 becomes small.

解析の内容も一般的には命令コードの分析、アドレス情
報の蓄積等しか行なわnていないが、本実施例ではソフ
トウェアにより解析を行なうのでアドレスからラベル(
I#定のアドレスに対して付けらnた仮の名称)への変
換、レジスタの内容の表示、特定アドレスの通過回数の
カウント等の機能を容易に付加できる効果がある。
The content of the analysis is generally limited to analysis of instruction codes and accumulation of address information, but in this example, the analysis is performed by software, so it is possible to analyze the information from the address to the label (
This has the effect of easily adding functions such as conversion to a temporary name given to a fixed address, displaying the contents of a register, and counting the number of times a specific address has passed.

淘本実施例ではクロック周波数を下げる方式を採用して
いるが、解析を開始するとクロックを停止して、l動作
周期の解析が終わるとクロ、りを再び出力する動作をく
シ返えす方式でも同様の効果がある。
In this example, a method of lowering the clock frequency is adopted, but it is also possible to stop the clock when analysis starts, and then repeat the operation of outputting black and red again when the analysis of l operation cycle is completed. It has a similar effect.

本発明ではCPUの動作が遅くなる事は避けらnないが
解析の開始、終了アドレスを決定しその間だけクロ、り
を下げる方式とすnば影響を最小のものにできる。また
動作遅れが問題になる場合は実際上少ないものと考えら
扛る。
In the present invention, although it is unavoidable that the CPU operation becomes slow, the influence can be minimized by determining the start and end addresses of analysis and lowering the clock rate only during that time. Furthermore, it is believed that the number of cases in which operational delay becomes a problem is actually rare.

本発明は以上説明したように解析動作中CPUに与える
クロック周波数を下げるかまたは一時停止させる事によ
りソフトウェアによる解析を可能としたので監視部のハ
ードウェアが小さくなり解析の内容も細かくする事が可
能となる効果がある。
As explained above, the present invention enables analysis by software by lowering or temporarily stopping the clock frequency applied to the CPU during analysis operation, so the hardware of the monitoring unit becomes smaller and the content of analysis can be made more detailed. This has the effect of

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すブロック図である。 CPU・・・・・・中央処理装置、CLK・・・・・・
クロ、り発生器、ABS・・・・アドレスバス監視部、
CBS・・・・・・制御信号監視部%DBS・・・・・
・データバス監視部、MEM・・・・・・メモIJ−,
KEY・・・・・・電鍵部、DISP・・・・・・表示
部。
FIG. 1 is a block diagram showing one embodiment of the present invention. CPU...Central processing unit, CLK...
Black, ri generator, ABS...Address bus monitoring section,
CBS... Control signal monitoring section %DBS...
・Data bus monitoring unit, MEM... Memo IJ-,
KEY: Electronic key section, DISP: Display section.

Claims (1)

【特許請求の範囲】[Claims] 中央処理システムのパスラインに接続してシステムの動
作を解析する装置において、動作解析を開始するアドレ
スを検出すると中央処理装置に与えるクロ、りの周波数
を下げるかまたは一時停止させる手段、および制御信号
、データバス、およ
In a device connected to a path line of a central processing system to analyze system operation, means for lowering or temporarily stopping the frequency of clock signals given to the central processing unit when an address for starting operation analysis is detected, and a control signal , data bus, and
JP56133533A 1981-08-26 1981-08-26 Operation analyzing device for central processing system Pending JPS5835646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56133533A JPS5835646A (en) 1981-08-26 1981-08-26 Operation analyzing device for central processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56133533A JPS5835646A (en) 1981-08-26 1981-08-26 Operation analyzing device for central processing system

Publications (1)

Publication Number Publication Date
JPS5835646A true JPS5835646A (en) 1983-03-02

Family

ID=15107024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56133533A Pending JPS5835646A (en) 1981-08-26 1981-08-26 Operation analyzing device for central processing system

Country Status (1)

Country Link
JP (1) JPS5835646A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6270951A (en) * 1985-09-24 1987-04-01 Nec Corp Memory system for information hysteresis
JPH03152634A (en) * 1989-11-09 1991-06-28 Oki Electric Ind Co Ltd Debugging device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6270951A (en) * 1985-09-24 1987-04-01 Nec Corp Memory system for information hysteresis
JPH03152634A (en) * 1989-11-09 1991-06-28 Oki Electric Ind Co Ltd Debugging device

Similar Documents

Publication Publication Date Title
JPS5835646A (en) Operation analyzing device for central processing system
JPH0981415A (en) Testing method for graphic user interface program
JPS6137082Y2 (en)
JPS5939783B2 (en) logical state tracker
JP2602331Y2 (en) Continuous pulse width measuring device
JPS59154886A (en) Access method of display memory in character broadcast receiver
JP2990099B2 (en) Trace buffer control method
JP2985748B2 (en) Waveform measuring instrument
JPS59189459A (en) Operation analyzing device of microprocessor system
JP3230474B2 (en) Waveform display device with clock cycle display function
JPS6216691Y2 (en)
JPS61270954A (en) Line supervising device
JPH02208785A (en) Bus/monitor incorporated type one chip microprocessor
JP2775830B2 (en) Instruction frequency measurement method
JP2786033B2 (en) Time measuring device
JPH05173846A (en) Fault analysis information tracing method
JPS6141181A (en) Display unit
JPH02178745A (en) Single chip microcomputer
JPH05312837A (en) Waveform display method and its device
JPS60143389A (en) Image data control system
JPS61200583A (en) Display processor
JPS61285556A (en) Memory writing system
JPS6252676A (en) Image processor
JPS62214359A (en) Signal display device displaying part of input signal
JPH0566757U (en) Integrated circuit