JPS58182768A - History recording system - Google Patents
History recording systemInfo
- Publication number
- JPS58182768A JPS58182768A JP57065657A JP6565782A JPS58182768A JP S58182768 A JPS58182768 A JP S58182768A JP 57065657 A JP57065657 A JP 57065657A JP 6565782 A JP6565782 A JP 6565782A JP S58182768 A JPS58182768 A JP S58182768A
- Authority
- JP
- Japan
- Prior art keywords
- instruction
- recording
- signal
- execution
- history recording
- 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
Links
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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
発明の属する技術分野
本発明はデータ処理装置における命令の履歴記録方式に
関する。DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD The present invention relates to an instruction history recording method in a data processing device.
従来技術
従来、この種の命令履歴記録方式において、命令の受は
付けを監視し、生起した命令情報を記録する回路と命令
の実行処理をおこなう回路を独立に設け、命令情報の記
録と実行処理を同時におこなわせる方式が広く採用され
てきている。この方式では命令の履歴記録回路は命令情
報が失なわれないうちに、リアルタイムに記録を完了さ
せる必要がある。すなわち、命令の実行処理回路が命令
の処理を終えて次の命令の処理を開始する前に命令情報
の採取を終了しなければならない。このため、命令実行
処理時間の最短値に合せて履歴記録回路を設計する必要
があり、しばしば回路を高速化しなければならない。こ
の結果、ハードウェアが高価になりかつ消費電力も増加
するという欠点がある。また、命令情報の採取に失敗す
る恐れがあるという欠点もある。Prior Art Conventionally, in this type of instruction history recording system, a circuit for monitoring the acceptance of instructions and recording information on generated instructions and a circuit for executing instructions are provided independently. A method of performing both at the same time has been widely adopted. In this method, the instruction history recording circuit needs to complete recording in real time before instruction information is lost. That is, the collection of instruction information must be completed before the instruction execution processing circuit finishes processing the instruction and starts processing the next instruction. Therefore, it is necessary to design the history recording circuit in accordance with the shortest instruction execution processing time, and the circuit must often be made faster. As a result, the hardware becomes expensive and power consumption increases. Another disadvantage is that there is a risk of failure in collecting command information.
発明の目的
本発明の目的は上述の欠点を除去するようにした命令の
履歴記録方式を提供することにある。OBJECTS OF THE INVENTION It is an object of the present invention to provide a method for recording the history of instructions, which eliminates the above-mentioned drawbacks.
発明の構成
本発明の方式は外部からの命令を受は付けたことを示す
表示手段と、
前記命令の履歴記録を指示する指示手段と、前記表示手
段による受付表示と前記指示手段による指示とに応答し
て命令の実行の停止を指示する停止指示手段と、
この停止指示手段による実行停止に応答して前記命令を
記録する記録手段と、
この記録手段による記録をしたあとで前記停止した命令
の実行を再開させるよう指示する手段とを備えたことを
特徴とする。Structure of the Invention The method of the present invention includes: a display means for indicating that an external command has been accepted; an instruction means for instructing to record the history of the command; an acceptance display by the display means; and an instruction by the instruction means. stop instruction means for instructing to stop the execution of the instruction in response; recording means for recording the instruction in response to the stop of execution by the stop instruction means; and recording means for recording the stopped instruction after being recorded by the recording means. and means for instructing to restart execution.
発明の実施例
次に本発明について図面を参照して詳細に説明する。図
を参照すると、本発明の一実施例は、中央処理装置1と
入出力バス2を介して接続されており、命令情報A1と
命令受付通知信号A2およびビジー通知信号AIOを発
生するバスインタフェース回路4.履歴記録指示信号A
3を出力する履歴記録指示フリップフロップ(F/F’
)5.命令受付通知信号A2と命令履歴記録指示信号A
3にもとづき記録イネーブル信号A4とその反転論理信
号である命令実行イネーブル信号A5を発生する履歴記
録制御フリップフロップ(F/F)6. 2個のアンド
ゲート回路7および8.アンドゲート回路7の出力であ
る記録開始指示信号A6を受けて命令情報A1の採取と
記録をおこない、採取完了通知信号へ8を出力する命令
情報記録回路9゜およびアンドゲート8の出力である命
令実行開始指示信号A9により命令の実行処理をおこな
い、完了後命令処理完了通知信号A9を出力する命令実
行処理回路10から構成されている。Embodiments of the Invention Next, the present invention will be described in detail with reference to the drawings. Referring to the figure, one embodiment of the present invention includes a bus interface circuit that is connected to a central processing unit 1 via an input/output bus 2 and generates instruction information A1, an instruction acceptance notification signal A2, and a busy notification signal AIO. 4. History recording instruction signal A
A history recording instruction flip-flop (F/F'
)5. Command acceptance notification signal A2 and command history recording instruction signal A
6. A history recording control flip-flop (F/F) that generates a recording enable signal A4 and an instruction execution enable signal A5 which is its inverted logic signal based on 3. Two AND gate circuits 7 and 8. The command information recording circuit 9° receives the recording start instruction signal A6 which is the output of the AND gate circuit 7, collects and records the command information A1, and outputs 8 as the collection completion notification signal, and the command which is the output of the AND gate 8. The instruction execution processing circuit 10 executes instruction execution processing in response to an execution start instruction signal A9, and outputs an instruction processing completion notification signal A9 after completion.
次に第1図に示す本発明の一実施例の動作について詳細
に説明する。中央処理装置1が入出力バス2を経由して
周辺制御装置3に供給した命令がバスインタフェース回
路4にセットされると、該回路4は命令情報A1を出力
すると同時に命令受付通知信号A2を1”にする。これ
とともに、中央処理装置1に対し、命令実行処理中であ
ることをビジー通知信号AIO番こより知らせる。命令
情報の履歴記録をするかしないかは履歴記録指示F/F
5をセットまたはリセットすることで指定できる。命
令の履歴記録が不要の場合には履歴記録指示F/F 5
がリセットされ、履歴記録指示信号=5−
A3が°゛0″になる。命令受付通知信号A2の“1″
に応答して、履歴記録指示信号A3の値が履歴記録制御
F/F6に格納される。すなわち、記録イネーブル信号
A4は°゛O′″になり、アンドゲート回路7の出力で
ある記録開始指示信号A6も”O″になり、命令情報記
録回路9は動作しない。また、命令実行イネーブル信号
A5が“1′″になるのでアンドゲート回路8の入力条
件が満足される。命令実行開始指示信号A7の1″′に
応答して命令実行処理回路10が動作を開始し、命令情
報A1を入力して命令の実行処理をおこなう。処理が完
了すると命令実行完了通知信号A9をバスインタフェー
ス回路4に出力し、命令受付通知信号A2およびビジー
通知信号AIOをリセットして次の命令受付けに備える
。命令の履歴記録をおこなう場合はB歴記録指示F/F
5がセットされ、履歴記録指示信号A3がIt、11
になる。命令受付通知信号A。Next, the operation of the embodiment of the present invention shown in FIG. 1 will be described in detail. When the command supplied by the central processing unit 1 to the peripheral control device 3 via the input/output bus 2 is set in the bus interface circuit 4, the circuit 4 outputs the command information A1 and at the same time outputs the command acceptance notification signal A2 to 1. ”. At the same time, the busy notification signal AIO number informs the central processing unit 1 that the instruction is being executed. Whether or not to record the history of the instruction information is determined by the history recording instruction F/F.
This can be specified by setting or resetting 5. If command history recording is not required, history recording instruction F/F 5
is reset, and the history recording instruction signal = 5-A3 becomes °゛0''. The command acceptance notification signal A2 becomes “1”
In response to this, the value of the history recording instruction signal A3 is stored in the history recording control F/F6. That is, the recording enable signal A4 becomes ``O'''', the recording start instruction signal A6, which is the output of the AND gate circuit 7, also becomes ``O'', and the command information recording circuit 9 does not operate. Since A5 becomes "1'", the input condition of the AND gate circuit 8 is satisfied. In response to the instruction execution start instruction signal A7 of 1"', the instruction execution processing circuit 10 starts operating and transmits the instruction information A1. Input and execute commands. When the processing is completed, an instruction execution completion notification signal A9 is output to the bus interface circuit 4, and the instruction acceptance notification signal A2 and busy notification signal AIO are reset to prepare for acceptance of the next instruction. If you want to record the history of commands, use the B history recording instruction F/F.
5 is set, and the history recording instruction signal A3 is It, 11.
become. Command acceptance notification signal A.
2が1 になると履歴記録指示信号A3の値が履歴記録
制御F/F 6に格納され、記録イネーブル信号A4が
1′″になり、命令実行イネーブル信号6−
A5は0”になる。アンドゲート回路8の命令実行開始
指示信号A7がO″になり、命令実行処理回路10は動
作しない。抜た、アンドゲート回路7の記録開始指示信
号A6がパ1′″1こセットされるので命令情報記録回
路9は命令情報A1の採取を開始する。採取し終ると命
令情報記録回路9は採取完了通知信号A8を出力し、履
歴記録制御F/F6をリセットして記iイネーブル信号
A4をll011に、命令実行イネーブル信号A5を(
tl、7+にする。なお、起動された命令情報記録回路
9の採取情報の記録方法環は本発明と直接関係しないの
で省略する。アンドゲート回路7の出力はtlO#Lに
なり、かわりにアンドゲート回路8の命令実行開始指示
信号A7が1″にセットされ、履歴記録指示のない時と
同様lこ命令実行処理回路10が動作を開始し、命令情
報A1を入力して命令の実行処理をおこなう。処理が完
了すると命令実行完了通知信号A9をバスインタフェー
ス回路4に出力して命令受付通知信号A2およびビジー
通知信号AIOをリセットして次の命令受付に備える。When 2 becomes 1, the value of the history recording instruction signal A3 is stored in the history recording control F/F 6, the recording enable signal A4 becomes 1'', and the instruction execution enable signal 6-A5 becomes 0''. The instruction execution start instruction signal A7 of the AND gate circuit 8 becomes O'', and the instruction execution processing circuit 10 does not operate. The command information recording circuit 9 starts collecting command information A1. When the collection is completed, the command information recording circuit 9 outputs the collection completion notification signal A8, resets the history recording control F/F6, sets the recording enable signal A4 to ll011, and sets the command execution enable signal A5 to (
tl, set it to 7+. Note that the method of recording collected information in the activated command information recording circuit 9 is not directly related to the present invention and will therefore be omitted. The output of the AND gate circuit 7 becomes tlO#L, and instead, the instruction execution start instruction signal A7 of the AND gate circuit 8 is set to 1'', and the instruction execution processing circuit 10 operates in the same way as when there is no history recording instruction. and inputs the instruction information A1 to execute the instruction. When the processing is completed, the instruction execution completion notification signal A9 is output to the bus interface circuit 4, and the instruction acceptance notification signal A2 and the busy notification signal AIO are reset. to prepare for receiving the next command.
なお、記7−
録開始指示信号A6および命令実行開始指示信号人7に
は履歴記録制御F/F6の反転に際し、ヒゲが発生する
ことがあるが、これは命令情報記録回路9および命令実
行処理回路10で同期化することにより取り除かれる。Incidentally, when the history recording control F/F 6 is reversed, whiskers may occur in the recording start instruction signal A6 and the instruction execution start instruction signal A6, but this is because the instruction information recording circuit 9 and the instruction execution processing It is removed by synchronizing in circuit 10.
発明の効果
本発明には、命令情報の採取が終るまで命令実行処理を
禁止することにより、命令情報を失なうことなく、また
、リアルタイムの高速性を必要としない命令の履歴記録
方式を実現できるという効果、がある。Effects of the Invention The present invention realizes an instruction history recording method that does not require loss of instruction information and does not require high-speed real-time performance by prohibiting instruction execution processing until the collection of instruction information is completed. There is an effect that it can be done.
図は本発明の一実施例を示す図である。 The figure shows an embodiment of the present invention.
Claims (1)
段による受付表示と前記指示手段による指示とに応答し
て命令の実行の停止を指示する停止指示手段と、 この停止指示手段による実行停止に応答して前記命令を
記録する記録手段と、 この記録手段番とよる記録をしたあとで前記停止した命
令の実行を再開させるよう指示する手段とを備えたこと
を特徴とする履歴記録方式。[Scope of Claims] Display means for indicating that an external command has been accepted, instruction means for instructing to record the history of the command, and response to the acceptance display by the display means and the instruction by the instruction means. a stop instructing means for instructing to stop the execution of the command; a recording means for recording the command in response to the stop of execution by the stop instructing means; and a recording means for recording the stopped command after recording according to the recording means number. A history recording method comprising means for instructing to restart execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57065657A JPS58182768A (en) | 1982-04-20 | 1982-04-20 | History recording system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57065657A JPS58182768A (en) | 1982-04-20 | 1982-04-20 | History recording system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS58182768A true JPS58182768A (en) | 1983-10-25 |
Family
ID=13293288
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP57065657A Pending JPS58182768A (en) | 1982-04-20 | 1982-04-20 | History recording system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58182768A (en) |
-
1982
- 1982-04-20 JP JP57065657A patent/JPS58182768A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS58182768A (en) | History recording system | |
JPS6363935B2 (en) | ||
JPS5916054A (en) | Microprocessor | |
JPH04362745A (en) | Instruction tracing device | |
JPS607540A (en) | Interruption control circuit | |
JPS58181154A (en) | Microprogram tracing device | |
JPH0230049B2 (en) | ||
JP2747154B2 (en) | I / O processor | |
JPS59144955A (en) | Information processor | |
JPH04365158A (en) | Data processor | |
JPS59142653A (en) | Data gathering device | |
JPH01124037A (en) | Memory dumping system | |
JPS6217840A (en) | Microprogram control system based upon attribution flag | |
JPS60178524A (en) | One-chip microcomputer | |
JPS58178427A (en) | Processing speed control system of digital computer | |
JPS59180755A (en) | Tracing system | |
JPS61175752A (en) | Data processor | |
JPS6134167B2 (en) | ||
JPH0654504B2 (en) | Stand-by mode circuit | |
JPS6029137B2 (en) | Channel control method | |
JPH0467358A (en) | Disk storage device | |
JPH0448344A (en) | Software debug mechanism | |
JPH04205357A (en) | Scanning system | |
JPS5858632A (en) | Controlling method of input/output interface | |
JPS62205483A (en) | Data collecting processor |