JPH0512171A - Peripheral controller - Google Patents

Peripheral controller

Info

Publication number
JPH0512171A
JPH0512171A JP16484291A JP16484291A JPH0512171A JP H0512171 A JPH0512171 A JP H0512171A JP 16484291 A JP16484291 A JP 16484291A JP 16484291 A JP16484291 A JP 16484291A JP H0512171 A JPH0512171 A JP H0512171A
Authority
JP
Japan
Prior art keywords
command
command transfer
transfer
circuit
peripheral
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
JP16484291A
Other languages
Japanese (ja)
Inventor
Kazuhiko Yagi
和彦 八木
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP16484291A priority Critical patent/JPH0512171A/en
Publication of JPH0512171A publication Critical patent/JPH0512171A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a peripheral controller which can delay the transfer of a command by an optional time and can evaluate the command overrun, etc., with high efficiency. CONSTITUTION:A peripheral controller 1 consists of a command transfer circuit 2 which controls the transfer of commands among plural peripheral devices 11, a microporgram control circuit 3 which is connected to a CPU 12 to receive various control instructions and controls each device included in the controller 1, and a command transfer delay counter 4 which receives a command transfer delay command produced by the CPU 12 via the circuit 3 to set the value to a counter and delays the command transfer speed by an optional time.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は周辺制御装置に関し、特
にコマンド転送遅延を制御する機能を持つ周辺制御装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a peripheral controller, and more particularly to a peripheral controller having a function of controlling command transfer delay.

【0002】[0002]

【従来の技術】従来の周辺制御装置は、コマンドオーバ
ランの試験を行う場合、コマンドオーバランを故意に発
生させるように周辺装置に高負荷をかけるか、ファーム
ウェアでコマンド転送を遅らすルーチンを作り評価を行
っていた。
2. Description of the Related Art A conventional peripheral control device, when performing a command overrun test, puts a high load on the peripheral device so as to intentionally generate a command overrun, or makes a routine for delaying command transfer by firmware and evaluates it. Was there.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の周辺制
御装置は、コマンドオーバランを故意に発生させるには
周辺装置に高負荷をかけるか、ファームウェアでコマン
ド転送を遅らすルーチンを作ることで行っていたので、
準備のために多くの人手を必要とし、さらに、コマンド
オーバラン等の試験を行うために長時間の試験時間を必
要とするという問題点がある。
In the above-mentioned conventional peripheral control device, in order to intentionally generate a command overrun, a high load is applied to the peripheral device, or a routine for delaying command transfer is made in firmware. So
There is a problem that a lot of manpower is required for preparation and a long test time is required for conducting a test such as command overrun.

【0004】本発明の目的は、コマンド転送を任意の時
間だけ遅らすことができ、コマンドオーバラン等の評価
を効率よく行うことができる周辺制御装置を提供するこ
とにある。
An object of the present invention is to provide a peripheral control device capable of delaying command transfer by an arbitrary time and efficiently evaluating command overrun and the like.

【0005】[0005]

【課題を解決するための手段】本発明の周辺制御装置
は、中央処理装置および複数の周辺装置と接続し前記複
数の周辺装置との間でのコマンド転送を制御するコマン
ド転送回路と前記中央処理装置と接続し各種の制御指示
を受け前記コマンド転送回路を制御するマイクロプログ
ラム制御回路とを有する周辺制御装置において、前記中
央処理装置の発行するコマンド転送遅延指示コマンドを
前記マイクロプログラム制御回路を介して受けカウンタ
に値を設定しコマンド転送速度を任意の時間遅らせるコ
マンド転送遅延カウンタを設ける構成である。
SUMMARY OF THE INVENTION A peripheral control device of the present invention is a central processing unit and a command transfer circuit which is connected to a plurality of peripheral devices and controls command transfer between the plurality of peripheral devices and the central processing unit. In a peripheral control device having a micro program control circuit connected to a device and receiving various control instructions to control the command transfer circuit, a command transfer delay instruction command issued by the central processing unit is passed through the micro program control circuit. The configuration is such that a command transfer delay counter that sets a value in the reception counter and delays the command transfer speed for an arbitrary time is provided.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

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

【0008】本発明の周辺制御装置1は、複数の周辺装
置11との間でのコマンド転送を制御するコマンド転送
回路2と、中央処理装置12と接続し各種の制御指示を
受け周辺制御装置1内の各装置を制御するマイクロプロ
グラム制御回路3と、中央処理装置12の発行するコマ
ンド転送遅延指示コマンドをマイクロプログラム制御回
路3を介して受けカウンタに値を設定しコマンド転送速
度を任意の時間遅らせるコマンド転送遅延カウンタ4と
で構成している。
The peripheral control device 1 of the present invention is connected to a command transfer circuit 2 for controlling command transfer between a plurality of peripheral devices 11 and a central processing unit 12, and receives various control instructions to receive the peripheral control device 1. The command transfer delay instruction command issued by the central processing unit 12 and the micro program control circuit 3 for controlling each device therein are set in the receiving counter via the micro program control circuit 3 to delay the command transfer speed by an arbitrary time. It is composed of the command transfer delay counter 4.

【0009】次に動作について説明する。Next, the operation will be described.

【0010】マイクロプログラム制御回路3は、中央処
理装置12から周辺装置11へのコマンド実行指示を受
信すると、コマンド転送回路2にコマンドを設定し、コ
マンド転送回路2は、周辺装置11との間でコマンド転
送を行う。マイクロプログラム制御回路3は、中央処理
装置12からコマンド転送遅延指示コマンドを受信する
と、コマンド転送遅延カウンタ4に受信したコマンド転
送遅延指示コマンドの指示する遅延時間を設定する。こ
れ以降、マイクロプログラム制御回路3は、中央処理装
置12から周辺装置11に対するコマンド転送指示を受
信すると、コマンド転送回路2にコマンドと転送方向を
設定した後、コマンド転送遅延カウンタ4に遅延開始信
号を送る。コマンド転送遅延カウンタ4は、マイクロプ
ログラム制御回路3からの遅延開始信号を受け取ると、
カウンタを起動し先に設定したカウンタ数が尽きると、
コマンド転送回路2に転送開始信号を送る。コマンド転
送回路2はコマンド転送遅延カウンタ4からの転送開始
信号を受け取ると、先に設定してあるコマンドおよび転
送方向に従って、周辺装置11に対しコマンド転送を行
う。
Upon receiving the command execution instruction from the central processing unit 12 to the peripheral device 11, the micro program control circuit 3 sets a command in the command transfer circuit 2, and the command transfer circuit 2 communicates with the peripheral device 11. Perform command transfer. Upon receiving the command transfer delay instruction command from the central processing unit 12, the microprogram control circuit 3 sets the delay time indicated by the received command transfer delay instruction command in the command transfer delay counter 4. After that, when the micro program control circuit 3 receives a command transfer instruction for the peripheral device 11 from the central processing unit 12, it sets a command and a transfer direction in the command transfer circuit 2 and then sends a delay start signal to the command transfer delay counter 4. send. When the command transfer delay counter 4 receives the delay start signal from the microprogram control circuit 3,
When the counter is started and the number of counters set in advance is exhausted,
A transfer start signal is sent to the command transfer circuit 2. Upon receiving the transfer start signal from the command transfer delay counter 4, the command transfer circuit 2 transfers the command to the peripheral device 11 according to the previously set command and transfer direction.

【0011】[0011]

【発明の効果】以上説明したように、本発明は、中央処
理装置の発行するコマンド転送遅延指示コマンドをマイ
クロプログラム制御回路を介して受け、カウンタに値を
設定しコマンド転送速度を任意の時間遅らせるコマンド
転送遅延カウンタを設けることにより、コマンド転送を
任意の時間だけ遅らすことができ、コマンドオーバラン
等の評価を効率よく行うことができるという効果が有
る。
As described above, according to the present invention, the command transfer delay instruction command issued by the central processing unit is received through the micro program control circuit, the value is set in the counter, and the command transfer speed is delayed for an arbitrary time. By providing the command transfer delay counter, command transfer can be delayed by an arbitrary time, and there is an effect that the command overrun and the like can be efficiently evaluated.

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

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

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

1 周辺制御装置 2 コマンド転送回路 3 マイクロプログラム制御回路 4 コマンド転送遅延カウンタ 11 周辺装置 12 中央処理装置 1 Peripheral Control Device 2 Command Transfer Circuit 3 Micro Program Control Circuit 4 Command Transfer Delay Counter 11 Peripheral Device 12 Central Processing Unit

Claims (1)

【特許請求の範囲】 【請求項1】 中央処理装置および複数の周辺装置と接
続し前記複数の周辺装置との間でのコマンド転送を制御
するコマンド転送回路と前記中央処理装置と接続し各種
の制御指示を受け前記コマンド転送回路を制御するマイ
クロプログラム制御回路とを有する周辺制御装置におい
て、前記中央処理装置の発行するコマンド転送遅延指示
コマンドを前記マイクロプログラム制御回路を介して受
けカウンタに値を設定しコマンド転送速度を任意の時間
遅らせるコマンド転送遅延カウンタを設けることを特徴
とする周辺制御装置。
Claim: What is claimed is: 1. A command transfer circuit connected to a central processing unit and a plurality of peripheral devices to control command transfer between the plurality of peripheral devices, and a variety of devices connected to the central processing unit. In a peripheral control device having a micro program control circuit for receiving a control instruction and controlling the command transfer circuit, a command transfer delay instruction command issued by the central processing unit is set in a reception counter via the micro program control circuit. A peripheral control device is provided with a command transfer delay counter that delays the command transfer speed for an arbitrary time.
JP16484291A 1991-07-05 1991-07-05 Peripheral controller Pending JPH0512171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16484291A JPH0512171A (en) 1991-07-05 1991-07-05 Peripheral controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16484291A JPH0512171A (en) 1991-07-05 1991-07-05 Peripheral controller

Publications (1)

Publication Number Publication Date
JPH0512171A true JPH0512171A (en) 1993-01-22

Family

ID=15800960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16484291A Pending JPH0512171A (en) 1991-07-05 1991-07-05 Peripheral controller

Country Status (1)

Country Link
JP (1) JPH0512171A (en)

Similar Documents

Publication Publication Date Title
JPS63238630A (en) Interruption controller for microprocessor
JPH01162967A (en) Method and device for interruption processing
JPH0512171A (en) Peripheral controller
JPS60219919A (en) Power source energizing system
JPS61156363A (en) Data processing unit
JPH02227758A (en) Peripheral controller
JPH02287853A (en) Peripheral controller
JPS629418A (en) Timer control system
JPS59703A (en) Sequence control system
JPH0470915A (en) Power control system for information processor
JPS60168240A (en) Interrupt processing circuit
JPH08328881A (en) Task scheduling system
JPH1040139A (en) Performance monitor system
JPH063924B2 (en) Polling control method
JPS61187044A (en) Information processor
JPH0240755A (en) Data processor
JPS61136115A (en) Basic clock generating circuit of microcomputer system
JPH04278637A (en) Cpu control circuit
JPH0243657A (en) Transaction processing scheduling system
JPH03282616A (en) Printer interface circuit
JPH0567025A (en) Peripheral controller
JPH02197943A (en) Eoi-nrfd control system for ieee488 bus
JPH04291430A (en) Program tracing system
JPS61161553A (en) Hardware simulator
JPH0328937A (en) Peripheral controller