JPH04336651A - Command overrun detecting circuit for magnetic disk controller - Google Patents

Command overrun detecting circuit for magnetic disk controller

Info

Publication number
JPH04336651A
JPH04336651A JP3107750A JP10775091A JPH04336651A JP H04336651 A JPH04336651 A JP H04336651A JP 3107750 A JP3107750 A JP 3107750A JP 10775091 A JP10775091 A JP 10775091A JP H04336651 A JPH04336651 A JP H04336651A
Authority
JP
Japan
Prior art keywords
command
counter
overrun
processor
signal
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
JP3107750A
Other languages
Japanese (ja)
Inventor
Shigeo Yamazaki
茂雄 山崎
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
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 filed Critical NEC Corp
Priority to JP3107750A priority Critical patent/JPH04336651A/en
Publication of JPH04336651A publication Critical patent/JPH04336651A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To effectively perform the evaluation or the like of a command overrun recovery processing for firmware by attaining the arbitrary setting of a command overrun detection point. CONSTITUTION:This circuit detects the command overrun fault indicating that a command notification signal 101 from a processor 1 against a data transfer control part 2 is not in time. When the issue of the command notification signal 101 is later than a counter 3 goes to 0, a comparison result output signal 501 from a comparator 5 becomes active by the comparison between a counted value output signal 302 and a registered value output signal 401. Normally, the command overrun occurs when the command notification signal 101 is not issued when the counter 3 goes to 0, and an arbitrary value is set within the range which does not exceed the initial value of the counter to the register 4. Thus, the operational test can be effectively performed by showing the processor 1 as if the command overrun were generated when the command overrun does not occur essentially.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、磁気ディスク制御装置
のコマンドオーバーラン検出回路に関する。コマンドオ
ーバーラン検出回路は、磁気ディスク制御装置のデータ
転送制御部に対するプロセッサからの指令が間にあわな
かったことを示すコマンドオーバーラン障害を検出する
回路である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a command overrun detection circuit for a magnetic disk control device. The command overrun detection circuit is a circuit that detects a command overrun failure indicating that a command from a processor to a data transfer control unit of a magnetic disk control device was not received in time.

【0002】0002

【従来の技術】従来のこの種のオーバーラン検出回路の
一例を図2に示す。
2. Description of the Related Art An example of a conventional overrun detection circuit of this type is shown in FIG.

【0003】すなわち、磁気ディスク装置のフォーマッ
トを制御するカウンタ30のカウント零通知信号301
とデータ転送制御部20からの有効指令未受信信号20
1の論理積を行うことによりプロセッサ10からの指令
が間にあわなかったことを検出し、これをコマンドオー
バーラン検出通知信号601によりプロセッサ10に通
知している。この通知を受けたプロセッサ10は、コマ
ンドオーバーラン発生時の処理を行うファームウェアを
実行することにより、その回復処理を行っていた。
That is, the count zero notification signal 301 of the counter 30 that controls the format of the magnetic disk device
and a valid command non-reception signal 20 from the data transfer control unit 20.
By performing a logical product of 1, it is detected that the command from the processor 10 is not received in time, and this is notified to the processor 10 using a command overrun detection notification signal 601. The processor 10 that received this notification performed recovery processing by executing firmware that performs processing when a command overrun occurs.

【0004】0004

【発明が解決しようとする課題】上述した従来のコマン
ドオーバーラン検出回路では、当然本来の意味でコマン
ドオーバーランしか検出することができず、一方ファー
ムウェアはコマンドオーバーランが発生しない処理速度
となるよう設計される為、通常の動作試験ではファーム
ウェアのコマンドオーバーラン回復処理の評価を行い難
いという問題点がある。
[Problems to be Solved by the Invention] The above-mentioned conventional command overrun detection circuit can only detect command overruns in the original sense, but on the other hand, the firmware is designed to achieve a processing speed that does not cause command overruns. Because of the design, there is a problem in that it is difficult to evaluate the firmware's command overrun recovery processing in normal operation tests.

【0005】また、ファームウェアの処理速度が、本来
のコマンドオーバーラン発生ポイントに対してどの程度
余裕を持っているかを知る為の性能評価を行う場合、フ
ォーマット制御カウンタの状態及びプロセッサのデータ
転送指令の発行タイミング等をロジックトレーサ等によ
り測定しなければならず作業の効率化という点で問題で
あった。
[0005] Furthermore, when performing a performance evaluation to find out how much margin the firmware processing speed has with respect to the original command overrun occurrence point, it is necessary to evaluate the state of the format control counter and the data transfer command of the processor. Issue timing, etc. had to be measured using a logic tracer, which was a problem in terms of work efficiency.

【0006】[0006]

【課題を解決するための手段】本発明の磁気ディスク制
御装置のコマンドオーバーラン検出回路は、操作員の操
作により任意の値にセットすることの可能なレジスタと
、磁気ディスク装置から入力されるクロックにより減算
を行うカウンタと、前記レジスタ及びカウンタの出力値
を入力とし、これら入力の一致検出を出力する比較器と
、プロセッサからの指令通知信号と前記カウンタからの
カウント零通知信号とに応答して有効指令未受信信号を
出力しデータ転送を制御するデータ転送制御部と、前記
比較器出力及び前記有効指令未受信信号を入力とする論
理積回路と、該論理積回路の出力によりセットされ、こ
れをコマンドオーバーラン検出として前記プロセッサに
通知するフリップフロップ回路とを有することを特徴と
する。
[Means for Solving the Problems] A command overrun detection circuit for a magnetic disk control device of the present invention includes a register that can be set to an arbitrary value by an operator's operation, and a clock input from the magnetic disk device. a counter that performs subtraction, a comparator that receives the output values of the register and the counter as input and outputs a detection of coincidence of these inputs, and a comparator that responds to a command notification signal from the processor and a count zero notification signal from the counter. a data transfer control section that outputs a valid command not received signal and controls data transfer; an AND circuit that receives the output of the comparator and the valid command not received signal as input; and an output of the AND circuit; and a flip-flop circuit that notifies the processor of command overrun detection.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0008】図1は本発明の一実施例のブロック図であ
る。
FIG. 1 is a block diagram of one embodiment of the present invention.

【0009】本実施例では、通常の動作時は操作員によ
りレジスタ4にはレジスタ制御信号102として“0”
がセットされる。その後、プロセッサ1は指令通知信号
101を介してデータ転送の実行をデータ転送制御部2
に指令し、データ転送制御部はカウンタ3からのカウン
ト零通知信号301によりデータ転送実行を開始する。   このとき、もしプロセッサ1からの指令通知信号1
01の発行がカウンタが0になるよりも遅れると、カウ
ンタ3からのカウント値出力信号302とレジスタから
のレジスタ値出力信号401の比較により、比較器5か
らの比較結果出力信号501がアクティブとなる。また
、この場合にはデータ転送制御部2の有効指令未受信信
号201はまだアクティブである為、論理積回路7はそ
の出力であるコマンドオーバーラン表示F/Fセット指
示信号701をアクティブとし、この結果、コマンドオ
ーバーラン表示F/F6をセットして、その出力である
コマンドオーバーラン検出通知信号601によりプロセ
ッサ1に通知する。
In this embodiment, during normal operation, the operator sets the register 4 to "0" as the register control signal 102.
is set. Thereafter, the processor 1 instructs the data transfer control unit 2 to execute the data transfer via the command notification signal 101.
The data transfer control unit starts executing the data transfer in response to the count zero notification signal 301 from the counter 3. At this time, if command notification signal 1 from processor 1
When the issuance of 01 is delayed before the counter reaches 0, the comparison result output signal 501 from the comparator 5 becomes active by comparing the count value output signal 302 from the counter 3 and the register value output signal 401 from the register. . In addition, in this case, since the valid command not received signal 201 of the data transfer control unit 2 is still active, the AND circuit 7 makes its output, the command overrun display F/F set instruction signal 701, active. As a result, the command overrun display F/F 6 is set and the command overrun detection notification signal 601 that is the output thereof is used to notify the processor 1.

【0010】これに対しプロセッサ1からの指令通知信
号101の発行がカウンタ3が0となるまでに行われた
場合にはカウンタ3が0となり、比較結果出力信号50
1がアクティブとなっても有効指令未受信信号201が
既にインアクティブとなっている為、コマンドオーバー
ラン表示F/F6はセットされず正常にデータ転送が実
行される。
On the other hand, if the command notification signal 101 is issued from the processor 1 before the counter 3 reaches 0, the counter 3 becomes 0, and the comparison result output signal 50
1 becomes active, since the valid command not received signal 201 has already become inactive, the command overrun display F/F6 is not set and data transfer is executed normally.

【0011】次に、コマンドオーバーラン回復処理の評
価を行う方法について説明する。
Next, a method for evaluating command overrun recovery processing will be explained.

【0012】前述した通り通常はカウンタ3が0になっ
たときに指令通知信号101が発行されていなかった場
合にコマンドオーバーランとなるが、レジスタ4にカウ
ンタ3の初期値を超えない範囲で任意の値を設定するこ
とにより、本来コマンドオーバーランとならない時点で
コマンドオーバーランが発生したごとくプロセッサに見
せることが可能となる。
As mentioned above, normally, a command overrun occurs if the command notification signal 101 has not been issued when the counter 3 reaches 0. By setting the value of , it is possible to make it appear to the processor that a command overrun has occurred at a point where a command overrun would not normally occur.

【0013】コマンドオーバーラン表示F/F6がセッ
トされる動作は、比較器5へのレジスタ値出力信号40
1の値が変わる以外は前述した通常時の動作と全く同様
である。また、レジスタ4に設定する値を種々変化させ
て、そのしきい値を求めることによりコマンドオーバー
ランに対するファームウェアの性能余裕を測定すること
ができる。
The operation of setting the command overrun indicator F/F6 is to output the register value output signal 40 to the comparator 5.
The operation is exactly the same as the normal operation described above except that the value of 1 is changed. Further, by varying the value set in the register 4 and finding the threshold value, it is possible to measure the performance margin of the firmware against a command overrun.

【0014】尚、カウンタ3は、図示しない磁気ディス
ク装置より入力されるクロック入力信号901によりカ
ウントダウンし、そのカウント零通知信号301をデー
タ転送制御部2に出力することにより磁気ディスク装置
のフォーマットを制御する。
The counter 3 counts down in response to a clock input signal 901 input from a magnetic disk device (not shown), and controls the format of the magnetic disk device by outputting the count zero notification signal 301 to the data transfer control unit 2. do.

【0015】[0015]

【発明の効果】以上説明したように本発明は、コマンド
オーバーラン検出ポイントを任意に設定可能としたこと
により、本来コマンドオーバーランが発生しない状態で
もこれを容易に発生させることを可能としファームウェ
アのコマンドオーバーラン回復処理の評価やコマンドオ
ーバーランに対する余裕度の測定等を効率よく実施する
ことを可能とするという効果を有する。
[Effects of the Invention] As explained above, the present invention makes it possible to set the command overrun detection point arbitrarily, thereby making it possible to easily cause a command overrun to occur even in a state where it would not otherwise occur. This has the effect of making it possible to efficiently evaluate command overrun recovery processing, measure margin against command overruns, and the like.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】従来のコマンドオーバーラン検出回路のブロッ
ク図をである。
FIG. 2 is a block diagram of a conventional command overrun detection circuit.

【符号の説明】[Explanation of symbols]

1,10    プロセッサ 2,20    データ転送制御部 3,30    カウンタ 4,40    レジスタ 5    比較器 6,60    コマンドオーバーラン表示F/F7,
70    論理積回路 101    指令通知信号 102    レジスタ制御信号 201    有効指令未受信信号 301    カウント零通知信号 302    カウント値出力信号 401    レジスタ値出力信号 501    比較結果出力信号 601    コマンドオーバーラン検出通知信号70
1    コマンドオーバーラン表示F/Fセット指示
信号 901    クロック入力信号
1, 10 Processor 2, 20 Data transfer control unit 3, 30 Counter 4, 40 Register 5 Comparator 6, 60 Command overrun display F/F 7,
70 AND circuit 101 Command notification signal 102 Register control signal 201 Valid command not received signal 301 Count zero notification signal 302 Count value output signal 401 Register value output signal 501 Comparison result output signal 601 Command overrun detection notification signal 70
1 Command overrun display F/F set instruction signal 901 Clock input signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  操作員の操作により任意の値にセット
することの可能なレジスタと、磁気ディスク装置から入
力されるクロックにより減算を行うカウンタと、前記レ
ジスタ及びカウンタの出力値を入力とし、これら入力の
一致検出を出力する比較器と、プロセッサからの指令通
知信号と前記カウンタからのカウント零通知信号とに応
答して有効指令未受信信号を出力しデータ転送を制御す
るデータ転送制御部と、前記比較器出力及び前記有効指
令未受信信号を入力とする論理積回路と、該論理積回路
の出力によりセットされ、これをコマンドオーバーラン
検出として前記プロセッサに通知するフリップフロップ
回路とを有することを特徴とする磁気ディスク制御装置
のコマンドオーバーラン検出回路。
1. A register that can be set to an arbitrary value by an operator's operation, a counter that performs subtraction based on a clock input from a magnetic disk device, and output values of the register and counter as inputs; a comparator that outputs input coincidence detection; a data transfer control unit that outputs a valid command non-reception signal in response to a command notification signal from the processor and a count zero notification signal from the counter to control data transfer; The present invention further includes: an AND circuit inputting the comparator output and the valid command not received signal; and a flip-flop circuit that is set by the output of the AND circuit and notifies the processor of this as command overrun detection. Features: Command overrun detection circuit for magnetic disk controllers.
JP3107750A 1991-05-14 1991-05-14 Command overrun detecting circuit for magnetic disk controller Pending JPH04336651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3107750A JPH04336651A (en) 1991-05-14 1991-05-14 Command overrun detecting circuit for magnetic disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3107750A JPH04336651A (en) 1991-05-14 1991-05-14 Command overrun detecting circuit for magnetic disk controller

Publications (1)

Publication Number Publication Date
JPH04336651A true JPH04336651A (en) 1992-11-24

Family

ID=14467022

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3107750A Pending JPH04336651A (en) 1991-05-14 1991-05-14 Command overrun detecting circuit for magnetic disk controller

Country Status (1)

Country Link
JP (1) JPH04336651A (en)

Similar Documents

Publication Publication Date Title
US4130240A (en) Dynamic error location
JP2001318807A (en) Method and device for controlling task switching
JPH04336651A (en) Command overrun detecting circuit for magnetic disk controller
JPH0793056A (en) Method and device for detecting reset signal
US6957174B2 (en) Sensor signal debouncing
JPS6218939B2 (en)
JPH0434617A (en) Command overrun detecting circuit for magnetic disk controller
JPH04311230A (en) Device for detecting idling state of cpu
JPH0510995A (en) Pulse width measuring device
KR200280669Y1 (en) interrupt equipement having an error detecting function
JPS63241622A (en) Data processor
JP3090069B2 (en) Control device
JPH04106637A (en) Stall detection circuit
JPH0784814A (en) Error detecting device of computer
JPH0365739A (en) Control device
JPH0498540A (en) Processor load monitoring system
SU1711209A1 (en) Device for determining product maintenance parameters
JP3308670B2 (en) Event-driven processing equipment failure detection device
JP2601509Y2 (en) Detector chattering prevention device
JPS5937880Y2 (en) Abnormality monitoring device
JPS5935250A (en) Program controller
JPH03123945A (en) Information processor
JPH01243140A (en) Controller
JPH04160652A (en) Stall detecting circuit
JPH03217947A (en) Trouble position point-out method