Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3309186B2 - Channel control device - Google Patents
[go: Go Back, main page]

JP3309186B2 - Channel control device - Google Patents

Channel control device

Info

Publication number
JP3309186B2
JP3309186B2 JP03837692A JP3837692A JP3309186B2 JP 3309186 B2 JP3309186 B2 JP 3309186B2 JP 03837692 A JP03837692 A JP 03837692A JP 3837692 A JP3837692 A JP 3837692A JP 3309186 B2 JP3309186 B2 JP 3309186B2
Authority
JP
Japan
Prior art keywords
counter
interrupt
control device
channel control
register
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.)
Expired - Fee Related
Application number
JP03837692A
Other languages
Japanese (ja)
Other versions
JPH05210600A (en
Inventor
義久 柴田
Original Assignee
日本電気エンジニアリング株式会社
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 日本電気エンジニアリング株式会社 filed Critical 日本電気エンジニアリング株式会社
Priority to JP03837692A priority Critical patent/JP3309186B2/en
Publication of JPH05210600A publication Critical patent/JPH05210600A/en
Application granted granted Critical
Publication of JP3309186B2 publication Critical patent/JP3309186B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はチャネル制御装置の評価
における擬似障害設定方式に関し、特にその高負荷状態
設定方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pseudo fault setting method for evaluating a channel control device, and more particularly to a high load state setting method.

【0002】[0002]

【従来の技術】従来のチャネル制御装置は図2に示すよ
うに外部装置1に接続され、チャネル制御装置2と、複
数のチャネル装置31〜33と、各チャネル装置31〜
33に接続された複数の周辺装置41〜43とによって
システムが構成されている。設計評価フェーズにおいて
は、種々の周辺装置41〜43をチャネル装置31〜3
3に接続し、テストプログラム等により入出力動作を実
行して、結果を正解値と比較している。これにより、チ
ャネル制御装置2およびチャネル装置31〜33の機能
を確認している。
2. Description of the Related Art A conventional channel control device is connected to an external device 1 as shown in FIG. 2, and includes a channel control device 2, a plurality of channel devices 31 to 33, and channel devices 31 to 33.
A system is configured by a plurality of peripheral devices 41 to 43 connected to 33. In the design evaluation phase, various peripheral devices 41 to 43 are connected to the channel devices 31 to 3.
3, the input / output operation is executed by a test program or the like, and the result is compared with the correct answer value. Thus, the functions of the channel control device 2 and the channel devices 31 to 33 are confirmed.

【0003】また、最高性能等の高負荷状態での機能を
評価するに際しては、全チャネル装置31〜33に磁気
ディスク等の高速で動作する周辺装置41〜43を接続
する。そこで、全周辺装置41〜43がなるべく同時、
かつ、長時間にわたって動作するように、テストプログ
ラムによる入出力動作を実行する。
When evaluating functions under a high load state such as the highest performance, peripheral devices 41 to 43 that operate at high speed, such as magnetic disks, are connected to all channel devices 31 to 33. Therefore, all the peripheral devices 41 to 43 are preferably at the same time,
In addition, an input / output operation by a test program is executed so as to operate for a long time.

【0004】[0004]

【発明が解決しようとする課題】解決しようとする問題
は、高負荷評価において、全チャネル装置に対して,そ
れぞれ周辺装置を接続した条件下で、全装置が同時に動
作するような特殊なジョブを試験プログラムとして開発
して実行する必要のある点である。
The problem to be solved is that in a high load evaluation, a special job in which all devices operate simultaneously under the condition that peripheral devices are connected to all channel devices, respectively. This is a point that needs to be developed and executed as a test program.

【0005】[0005]

【課題を解決するための手段】本発明は、割り込み禁止
フリップフロップを備え、マイクロプログラムに対する
割り込みマスクのタイミング,およびその期間を任意に
設定できるようにして、全チャネルに対して周辺装置を
接続しなくても高負荷状態での評価を行うことができる
ようにした点を特徴とする。
SUMMARY OF THE INVENTION The present invention comprises an interrupt-inhibiting flip-flop, which allows the timing of an interrupt mask for a microprogram and the period thereof to be arbitrarily set, and connects peripheral devices to all channels. It is characterized in that evaluation under a high load state can be performed without the need.

【0006】[0006]

【実施例】次に、本発明について図面を参照して詳細に
説明する。図1は、本発明によるチャネル制御装置の一
実施例を示すブロック図である。図1において、1は外
部装置,20はチャネル制御装置,31〜33はチャネ
ル装置である。チャネル制御装置20において、10〜
12はそれぞれ第1〜第3のレジスタ,13〜15はそ
れぞれ第1〜第3のカウンタ,16は高負荷モードを表
示するための表示手段,17は割り込み禁止フリップフ
ロップ(以下、割り込み禁止F/Fと称する。),18
は優先回路,19はマイクロプログラム制御部である。
Next, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of a channel control device according to the present invention. In FIG. 1, 1 is an external device, 20 is a channel control device, and 31 to 33 are channel devices. In the channel control device 20, 10 to
12 is a first to third register, 13 to 15 are first to third counters respectively, 16 is a display means for displaying a high load mode, 17 is an interrupt disable flip-flop (hereinafter referred to as an interrupt disable F / F). F.), 18
Is a priority circuit, and 19 is a microprogram control unit.

【0007】高負荷モードで動作させる場合、外部装置
1は第1〜第3のレジスタ10〜12に適当なカウント
値を設定し、表示手段16と割り込み禁止F/F17と
を“1”にセットする。割り込み禁止F/F17の出力
は優先回路18に入力され、割り込み禁止F/F17が
リセットされるまで、チャネル31〜33からの割り込
み要求をマスクする。
When operating in the high load mode, the external device 1 sets an appropriate count value in the first to third registers 10 to 12, and sets the display means 16 and the interrupt disable F / F 17 to "1". I do. The output of the interrupt disable F / F 17 is input to the priority circuit 18 and masks interrupt requests from the channels 31 to 33 until the interrupt disable F / F 17 is reset.

【0008】第1のカウンタ13は第1のレジスタ10
の値を取り込み、チャネル制御装置20の内部クロック
にしたがってカウントダウンを開始する。オール0が検
出されるまで、第1のカウンタ13は第1のレジスタ1
0の値を取り込み、カウントダウンを続行する。第2の
カウンタ14は第2のレジスタ11の値を取り込み、第
1のカウンタ13がオール0を検出したときに減算を行
う。
The first counter 13 has a function of the first register 10
And counts down according to the internal clock of the channel control device 20. Until all 0s are detected, the first counter 13 keeps the first register 1
Fetch a value of 0 and continue countdown. The second counter 14 takes in the value of the second register 11 and performs subtraction when the first counter 13 detects all 0s.

【0009】減算が進行し、第2のカウンタ14がオー
ル0を検出したときに減算を中断し、割り込み禁止F/
F17をリセットする。割り込み禁止F/F17のリセ
ットにより、優先回路18に対するマスク状態は解除さ
れ、チャネル装置31〜33からの割り込み要求を受け
付けることが可能となる。第3のカウンタ15は第2の
カウンタがオール0を検出すると第3のレジスタ12の
値を取り込み、第1のカウンタ13がオール0を検出し
たときに減算を行う。
When the subtraction proceeds and the second counter 14 detects all 0s, the subtraction is interrupted and the interrupt disable F /
Reset F17. By resetting the interrupt disable F / F 17, the mask state for the priority circuit 18 is released, and it becomes possible to accept an interrupt request from the channel devices 31 to 33. The third counter 15 takes in the value of the third register 12 when the second counter detects all 0s, and performs subtraction when the first counter 13 detects all 0s.

【0010】減算が進行し、第3のカウンタ15がオー
ル0を検出すると減算を中断し、割り込み禁止F/F1
7をセットして、再び優先回路18をマスク状態にす
る。さらに、第2のカウンタ14に第2のレジスタ11
の値を取り込み、減算を再開する。以降、同様に高負荷
モードを表示する表示手段16が外部装置1によってリ
セットされるまで、第2および第3のカウンタ14,1
5による減算が繰り返して実行され、それぞれオール0
が検出される都度、割り込み禁止F/F17のリセット
およびセットが行われ、一定期間にわたってチャネル装
置31〜33からの割り込み要求がマスクされる。
When the subtraction proceeds and the third counter 15 detects all 0s, the subtraction is interrupted and the interrupt inhibition F / F1
7 is set, and the priority circuit 18 is again set to the mask state. Further, the second counter 11 stores the second register 11
Take the value of and restart the subtraction. Thereafter, the second and third counters 14 and 1 until the display unit 16 for displaying the high load mode is reset by the external device 1.
The subtraction by 5 is repeatedly performed, and all 0
Is detected, the interrupt disable F / F 17 is reset and set, and the interrupt request from the channel devices 31 to 33 is masked for a certain period.

【0011】第3のカウンタ15がオール0を検出した
とき、第1のレジスタ10の内容を、その時点のマイク
ロプログラムアドレスで設定し直すことにより、第1の
カウンタ13の周期を変化さるせことができる。
When the third counter 15 detects all zeros, the cycle of the first counter 13 is changed by resetting the contents of the first register 10 with the microprogram address at that time. Can be.

【0012】[0012]

【発明の効果】以上説明したように本発明は、それぞれ
3個のレジスタおよびカウンタを設け、チャネル装置か
らの割り込みマスクのタイミング,および期間を自由に
設定できるようにして、全チャネル装置に対して、それ
ぞれ周辺装置を接続することなく、有効な高負荷状態で
評価を行うことができる利点がある。
As described above, according to the present invention, three registers and counters are provided, respectively, so that the timing and the period of the interrupt mask from the channel device can be set freely. There is an advantage that evaluation can be performed in an effective high load state without connecting peripheral devices.

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

【図1】本発明によるチャネル制御装置の一実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a channel control device according to the present invention.

【図2】従来技術によるチャネル制御装置の一接続例を
示すブロック図である。
FIG. 2 is a block diagram showing a connection example of a conventional channel control device.

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

1 外部装置 2,20 チャネル制御装置 31〜33 チャネル装置 41〜43 周辺装置 10〜12 レジスタ 13〜15 カウンタ 16 表示手段 17 割り込み禁止F/F 18 優先回路 19 マイクロプログラム制御部 DESCRIPTION OF SYMBOLS 1 External device 2, 20 Channel control device 31-33 Channel device 41-43 Peripheral device 10-12 Register 13-15 Counter 16 Display means 17 Interrupt prohibition F / F 18 Priority circuit 19 Micro program control part

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 動作シーケンスを制御するためのマイク
ロプログラム制御部と、 前記マイクロプログラム制御部によって与えられたそれ
ぞれのカウント値を設定するための複数のレジスタと、 前記カウント値をカウントするための複数のカウンタ
と、 前記カウンタでオール0が検出されたならばリセットが
かかって割り込みをマスクするための割り込み禁止フリ
ップフロップと、 前記割り込み禁止フリップフロップがリセットされる都
度、割り込み要求を前記マイクロフリップフロップ制御
部に送出するための優先回路とを備えたチャネル制御装
置。
A microprogram controller for controlling an operation sequence; a plurality of registers for setting respective count values provided by the microprogram controller; and a plurality of registers for counting the count value A counter, an interrupt prohibiting flip-flop for masking an interrupt by resetting when all 0s are detected by the counter, and controlling the interrupt request by the micro-flip-flop whenever the interrupt prohibiting flip-flop is reset. A channel control device comprising a priority circuit for sending the signal to the unit.
【請求項2】 前記複数のカウンタのうちの第1のカウ
ンタは前記複数のレジスタのうちの第1のレジスタに設
定された値を取り込み、内部クロックにしたがって減算
を行い、オール0が検出されるまで減算を続け、 かつ、前記割り込み禁止フリップフロップは前記オール
0によりリセットされ、割り込みを受け付けるが、再び
セットされて前記複数のカウンタのうちの第2のカウン
タに同様の動作を続けさせるように構成した請求項1記
載のチャネル制御装置。
2. A first counter of the plurality of counters fetches a value set in a first register of the plurality of registers, performs subtraction according to an internal clock, and detects all zeros. And the interrupt prohibiting flip-flop is reset by the all 0s and accepts an interrupt, but is set again to cause the second counter of the plurality of counters to continue the same operation. 2. The channel control device according to claim 1, wherein:
【請求項3】 前記マイクロプログラム制御部は前記第
1のレジスタの値を設定するとともに、前記複数のカウ
ンタのうちの最後のカウンタがオール0を検出したなら
ば、前記第1のレジスタの内容を設定し直すことにより
周期を変更することができるように構成した請求項1記
載のチャネル制御装置。
3. The microprogram control unit sets the value of the first register and, if the last counter of the plurality of counters detects all 0s, sets the content of the first register. 2. The channel control device according to claim 1, wherein the period can be changed by resetting.
JP03837692A 1992-01-30 1992-01-30 Channel control device Expired - Fee Related JP3309186B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03837692A JP3309186B2 (en) 1992-01-30 1992-01-30 Channel control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03837692A JP3309186B2 (en) 1992-01-30 1992-01-30 Channel control device

Publications (2)

Publication Number Publication Date
JPH05210600A JPH05210600A (en) 1993-08-20
JP3309186B2 true JP3309186B2 (en) 2002-07-29

Family

ID=12523566

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03837692A Expired - Fee Related JP3309186B2 (en) 1992-01-30 1992-01-30 Channel control device

Country Status (1)

Country Link
JP (1) JP3309186B2 (en)

Also Published As

Publication number Publication date
JPH05210600A (en) 1993-08-20

Similar Documents

Publication Publication Date Title
US5717851A (en) Breakpoint detection circuit in a data processor and method therefor
US5758059A (en) In-circuit emulator in which abrupt and deferred arming and disarming of several events on a microprocessor chip are controlled using a single-input pin
JP3309186B2 (en) Channel control device
JPH0736821A (en) Dma transfer controller
JPS61267858A (en) Microcomputer
JPS6167148A (en) Microcomputer
JP3231148B2 (en) Digital timer device and method
SU1005062A1 (en) Failure consequence correction device
JP2517943B2 (en) Timer device
JPH05258082A (en) Microcomputer
JPH02287840A (en) Microprocessor
JPH10340208A (en) Microprocessor
JPH0292014A (en) Signal output circuit
JPH0363863A (en) Microcomputer
JPS61241843A (en) Information processor
JPH02206846A (en) Data processor
JPH04242845A (en) Data processor
JPH03149620A (en) Microprocessor
JPH04338835A (en) Interruption control circuit
JPH0427730B2 (en)
JPH1069460A (en) Bus control device
JPS63304181A (en) Test mode selecting circuit
JPH04236637A (en) Microprocessor fault detecting circuit
JPH04262475A (en) Microcomputer with built-in fuzzy arithmetic circuit
JPH04332056A (en) Microcomputer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees