JP3399776B2 - Computer and method for transferring peripheral device control data in computer - Google Patents

Computer and method for transferring peripheral device control data in computer

Info

Publication number
JP3399776B2
JP3399776B2 JP09760997A JP9760997A JP3399776B2 JP 3399776 B2 JP3399776 B2 JP 3399776B2 JP 09760997 A JP09760997 A JP 09760997A JP 9760997 A JP9760997 A JP 9760997A JP 3399776 B2 JP3399776 B2 JP 3399776B2
Authority
JP
Japan
Prior art keywords
peripheral device
data
control data
intermediate buffer
dma
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
JP09760997A
Other languages
Japanese (ja)
Other versions
JPH10289196A (en
Inventor
利之 上原
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP09760997A priority Critical patent/JP3399776B2/en
Publication of JPH10289196A publication Critical patent/JPH10289196A/en
Application granted granted Critical
Publication of JP3399776B2 publication Critical patent/JP3399776B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、コンピュータお
よびコンピュータにおける周辺デバイス制御データの転
送方法に関し、特に周辺デバイスデータ用スレーブ制御
部に周辺デバイスを接続された周辺デバイスの制御用デ
ータの設定と更新を行うコンピュータ、およびその周辺
デバイスの制御用データの設定と更新を行うときに必要
な周辺デバイス制御データの転送方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer and a method for transferring peripheral device control data in a computer, and more particularly to setting and updating control data for a peripheral device connected to a peripheral device data slave control unit. The present invention relates to a computer and a method for transferring peripheral device control data required when setting and updating control data for peripheral devices.

【0002】[0002]

【従来の技術】図3は、周辺デバイスデータ用スレーブ
制御部に周辺デバイスを接続された周辺デバイスの制御
用データの設定と更新を行うコンピュータの従来例を示
している。このコンピュータは、システム全体を制御す
るメインCPU100と、メインCPU100に接続さ
れたCPUメインバス101と、CPUメインバス10
1に接続され、CPUメインバス101上の転送データ
を送受する周辺デバイスデータ用スレーブ制御部102
と、周辺デバイスデータ用スレーブ制御部102と複数
個の周辺デバイス1031 〜103i 〜103n ( 但
し、1≦i≦nであり、以下に、この複数個の周辺デバ
イス1031 〜103i 〜103n を周辺デバイス群と
云うことがある)とを接続する周辺I/O共通バス10
4と、CPUメインバス101に接続された制御データ
格納メモリ105とを有している。
2. Description of the Related Art FIG. 3 shows a conventional example of a computer for setting and updating control data of a peripheral device connected to a peripheral device data slave control unit. This computer includes a main CPU 100 that controls the entire system, a CPU main bus 101 connected to the main CPU 100, and a CPU main bus 10.
1 for peripheral device data slave control unit 102 for transmitting / receiving transfer data on the CPU main bus 101
And the peripheral device data slave control unit 102 and the plurality of peripheral devices 103 1 to 103 i to 103 n (where 1 ≦ i ≦ n, and hereinafter, the plurality of peripheral devices 103 1 to 103 i A peripheral I / O common bus 10 for connecting to the peripheral device group 103 n )
4 and a control data storage memory 105 connected to the CPU main bus 101.

【0003】つぎに上述のコンピュータにおける周辺デ
バイス制御データの転送動作について説明する。
Next, the transfer operation of the peripheral device control data in the above computer will be described.

【0004】メインCPU100は、CPUメインバス
101上の制御データ格納メモリ105に周辺デバイス
用制御コードの初期設定値を作成する。初期設定値の作
成後に、メインCPU100は、制御データ格納メモリ
105上の周辺デバイス用制御コードをCPUデータバ
ス101経由で周辺デバイスデータ用スレーブ制御部1
02に転送する。
The main CPU 100 creates an initial setting value of the peripheral device control code in the control data storage memory 105 on the CPU main bus 101. After creating the initial setting values, the main CPU 100 sends the peripheral device control code on the control data storage memory 105 to the peripheral device data slave control unit 1 via the CPU data bus 101.
02.

【0005】周辺デバイスデータ用スレーブ制御部10
2は、単一の周辺I/O共通バス104によって対応す
る周辺デバイス群の周辺デバイス1031 〜103i
103n のそれぞれに対して、受け取った周辺デバイス
用制御コードを順次送信する。
Peripheral device data slave controller 10
2 are peripheral devices 103 1 to 103 i of a peripheral device group corresponding to a single peripheral I / O common bus 104.
The received peripheral device control code is sequentially transmitted to each of 103 n .

【0006】周辺デバイス群は、各周辺デバイス103
1 〜103i 〜103n のステータスを示す応答コード
を周辺デバイスデータスレーブ制御部102に順次送
る。周辺デバイスデータ用スレーブ制御部102は、送
られてきた各周辺デバイス毎の応答コードを受けて周辺
デバイス1031 〜103i 〜103n の各ステータス
情報をCPUメインバス101経由でメインCPU10
0に順次通知する。
The peripheral device group includes each peripheral device 103.
Response codes indicating the statuses of 1 to 103 i to 103 n are sequentially sent to the peripheral device data slave control unit 102. Peripheral device data for the slave controller 102, main CPU10 the sent peripheral devices 103 1 receives the response code for each peripheral device has 10 @ 2 to 10 @ 3 i 10 @ 2 to 10 @ 3 each status information of n via CPU main bus 101
0 is sequentially notified.

【0007】続いて、メインCPU100は、読み出さ
れた周辺デバイス1031 〜103 i 〜103n の各ス
テータス情報から各周辺デバイス1031 〜103i
103n の制御コードの各初期設定値を必要に応じて変
更し、変更した制御コードの各初期設定値をCPUメイ
ンバス101経由で制御データ格納メモリ105に書き
込む。
Then, the main CPU 100 reads out
Peripheral device 1031-10 i-10nEach
From the status information, each peripheral device 1031-10i~
103nChange each initial setting value of the control code of
The initial values of the changed control code have been changed to the CPU
Write to control data storage memory 105 via bus 101
Put in.

【0008】メインCPU100は、制御データ格納メ
モリ105上の周辺デバイス群に対する各制御コードの
設定変更値を、再度CPUメインバス101経由で周辺
デバイスデータ用スレーブ制御部102に送る。
The main CPU 100 sends the setting change value of each control code for the peripheral device group on the control data storage memory 105 to the peripheral device data slave control unit 102 again via the CPU main bus 101.

【0009】CPUメインバス101上に他のI/Oデ
バイスまたは他のメモリが接続されている場合には、上
述の制御コードの設定変更値のデータ転送中は、メイン
CPU100によるデータバス上での他のデバイスに対
するアクセスはできないから、周辺デバイス群の制御コ
ードの設定変更値によるデータ転送完了後に、メインC
PU100は他のI/Oデバイスまたは他のメモリにア
クセスすることができる。
When another I / O device or another memory is connected to the CPU main bus 101, during the data transfer of the above-mentioned control code setting change value, the main CPU 100 operates on the data bus. Other devices cannot be accessed, so after the data transfer by the setting change value of the control code of the peripheral device group is completed, the main C
PU 100 can access other I / O devices or other memories.

【0010】周辺デバイス群の制御コードの設定変更値
を受けた周辺デバイスデータ用スレーブ制御部102
は、各制御コード変更値を、周辺I/O共通バス104
を経由して対応する周辺デバイス1031 〜103i
103n 毎に送り、周辺デバイス1031 〜103i
103n の各制御コード再設定を順次行う。
Peripheral device data slave control section 102 which has received the setting change value of the control code of the peripheral device group.
Changes the control code change value to the peripheral I / O common bus 104.
Via peripheral devices 103 1 to 103 i
Feed every 103 n, peripheral device 103 1 ~103 i ~
The control codes of 103 n are reset sequentially.

【0011】[0011]

【発明が解決しようとする課題】従来のコンピュータに
おける周辺デバイスに対する制御用データの設定と更新
のための制御データ転送は、以上のように行われている
から、周辺デバイスに対する制御データを更新するとき
に、メインCPUに直結した他のデバイスにも繋がるC
PUメインバス上での周辺デバイス群の制御データ転送
が他のI/Oデバイスと排他的に動作してCPUメイン
バスを占有することになり、周辺デバイスに関する制御
データ転送処理のメインCPUへの依存度が高く、メイ
ンCPUの負荷が増大し、周辺デバイスの制御処理の遅
延を招いている。
Since the control data transfer for setting and updating the control data for the peripheral device in the conventional computer is performed as described above, when the control data for the peripheral device is updated. In addition, C connected to other devices directly connected to the main CPU
Control data transfer of the peripheral device group on the PU main bus operates exclusively with other I / O devices to occupy the CPU main bus, and the control data transfer processing related to the peripheral device depends on the main CPU. The frequency is high, the load on the main CPU is increased, and the control processing of peripheral devices is delayed.

【0012】また、単一のデータバスとしてCPUメイ
ンバス、周辺I/O共通バスを共用しているため、複数
の周辺デバイスに対応する各制御データ設定のためのデ
ータ転送と、周辺デバイスからの応答であるステータス
情報の読み取りのためのデータ転送とを並行して行うこ
とができず、このことによっても周辺デバイスの制御処
理を高速化することができない。
Further, since the CPU main bus and the peripheral I / O common bus are shared as a single data bus, data transfer for each control data setting corresponding to a plurality of peripheral devices and transfer from the peripheral devices are performed. Data transfer for reading status information as a response cannot be performed in parallel, which also makes it impossible to speed up control processing of peripheral devices.

【0013】この発明は、上述のような問題点を改善す
るためになされたものでメインCPUへの負荷を最小限
とし、頻繁に使用される汎用メモリやI/Oデバイスと
は独立に周辺デバイスへの制御データの設定および更新
を同時に並行動作させることを可能にして周辺デバイス
の制御処理を高速化し、また周辺デバイスのステータス
情報から制御データ(制御コード)で必要な変更部分の
みをメインCPUに高速送信することがてきるコンピュ
ータおよびコンピュータにおける周辺デバイス制御デー
タの転送方法を得ることを目的としている。
The present invention has been made to solve the above-mentioned problems, and minimizes the load on the main CPU, and is independent of the frequently used general-purpose memory or I / O device and peripheral devices. Control data can be set and updated in parallel at the same time to speed up the control processing of peripheral devices, and only the necessary changes in the control data (control code) from the peripheral device status information can be sent to the main CPU. An object of the present invention is to obtain a computer capable of high-speed transmission and a method of transferring peripheral device control data in the computer.

【0014】[0014]

【課題を解決するための手段】上述の目的を達成するた
めに、この発明によるコンピュータは、周辺デバイスデ
ータ用スレーブ制御部を有し、周辺デバイスデータ用ス
レーブ制御部に周辺デバイスを接続されたコンピュータ
において、メインCPUと周辺デバイスデータ用スレー
ブ制御部とがCPUローカルバスにより接続され、当該
CPUローカルバス上にDMAコントローラと周辺デバ
イスの制御データ格納メモリと周辺デバイスの制御デー
タ設定用の中間バッファとが接続され、前記周辺デバイ
スの設定/更新用の制御データを、前記制御データ格納
メモリと前記中間バッファとの間と、前記中間バッファ
と前記周辺デバイスデータ用スレーブ制御部との間のそ
れぞれにおいて、前記メインCPUが発行するDMA転
送開始コマンドにより前記DMAコントローラのチャネ
ルによって前記CPUローカルバス上でDMA転送する
ものである。
In order to achieve the above object, a computer according to the present invention has a peripheral device data slave control unit, and a peripheral device is connected to the peripheral device data slave control unit. In the above, a main CPU and a slave control unit for peripheral device data are connected by a CPU local bus, and a DMA controller, a control data storage memory of the peripheral device, and an intermediate buffer for setting the control data of the peripheral device are connected on the CPU local bus. The control data for setting / updating the peripheral device is connected between the control data storage memory and the intermediate buffer, and between the intermediate buffer and the slave control unit for peripheral device data. The DMA transfer start command issued by the main CPU Ri is for DMA transfer by the DMA controller of the channels on the CPU local bus.

【0015】このコンピュータでは、メインCPUは、
DMA転送開始コマンドを発行するだけで、周辺デバイ
スに関するデータ転送の制御を常時行わず、DMAコン
トローラのチャネルによってメインCPUのI/Oデバ
イスや他のメモリを接続されるCPUメインバスとは別
のCPUローカルバス上で、周辺デバイス制御のデータ
転送がDMA転送により高速に行われる。このCPUロ
ーカルバス上でのDMA方式によるデータ転送は、CP
Uメインバス上でのデータ転送に依存しないため、周辺
デバイスの制御データ転送が実行されているときに、C
PUメインバス上の任意I/Oデバイスやメモリに対し
て、メインCPUからのアクセスが任意のタイミングで
可能となる。
In this computer, the main CPU is
A CPU other than the main bus, which only issues a DMA transfer start command, does not constantly control data transfer related to peripheral devices, and connects the I / O device of the main CPU and other memories by the channel of the DMA controller. Peripheral device control data transfer is performed at high speed by DMA transfer on the local bus. Data transfer by the DMA method on this CPU local bus is CP
Since it does not depend on data transfer on the U main bus, C
The main CPU can access any I / O device or memory on the PU main bus at any timing.

【0016】つぎの発明によるコンピュータは、上述の
発明によるコンピュータにおいて、前記CPUローカル
バスとは別に前記メインCPUと前記周辺デバイスデー
タ用スレーブ制御部とを接続するステータス割込信号ラ
インを有し、周辺デバイスでのステータス情報の発生を
前記ステータス割込信号ラインを使用して周辺デバイス
データ用スレーブ制御部からメインCPUへのステータ
ス割込信号によりメインCPUに伝え、メインCPUが
ステータス割込信号を受けることにより、メインCPU
が前記周辺デバイスデータ用スレーブ制御部から前記中
間バッファへのステータス情報のDMA転送開始コマン
ドを発行するものである。
A computer according to the next invention, in the computer according to the above invention, has a status interrupt signal line for connecting the main CPU and the peripheral device data slave control unit in addition to the CPU local bus. Generation of status information in the device is transmitted to the main CPU by a status interrupt signal from the peripheral device data slave control unit to the main CPU using the status interrupt signal line, and the main CPU receives the status interrupt signal. By the main CPU
Is to issue a DMA transfer start command of status information from the peripheral device data slave controller to the intermediate buffer.

【0017】この発明によるコンピュータでは、周辺デ
バイスでのステータス情報の発生がステータス割込信号
ラインを使用して周辺デバイスデータ用スレーブ制御部
からメインCPUへのステータス割込信号によりメイン
CPUに伝えられ、メインCPUがステータス割込信号
を受けることにより、メインCPUが周辺デバイスデー
タ用スレーブ制御部から中間バッファへのステータス情
報のDMA転送開始コマンドを発行する。これにより周
辺デバイスデータ用スレーブ制御部から中間バッファへ
のステータス情報のDMA転送がイベントとして随時行
われる。
In the computer according to the present invention, the generation of status information in the peripheral device is transmitted to the main CPU by the status interrupt signal from the peripheral device data slave controller to the main CPU using the status interrupt signal line, When the main CPU receives the status interrupt signal, the main CPU issues a DMA transfer start command of status information from the peripheral device data slave control unit to the intermediate buffer. As a result, DMA transfer of status information from the peripheral device data slave control unit to the intermediate buffer is performed as an event at any time.

【0018】つぎの発明によるコンピュータは、上述の
発明によるコンピュータにおいて、前記周辺デバイスデ
ータ用スレーブ制御部に複数個の周辺デバイスがそれぞ
れ個別の周辺I/Oデータバスにより接続され、前記D
MAコントローラは複数個のチャネルを有し、前記制御
データ格納メモリと前記中間バッファとの間と、前記中
間バッファと前記周辺デバイスデータ用スレーブ制御部
との間の制御データのDMA転送を前記DMAコントロ
ーラの各チャネルで行い、複数チャネル制御により各チ
ャネルによる制御データのDMA転送を並行して行うも
のである。
A computer according to the next invention is the computer according to the above-mentioned invention, wherein a plurality of peripheral devices are connected to the peripheral device data slave control section by individual peripheral I / O data buses, respectively.
The MA controller has a plurality of channels and performs DMA transfer of control data between the control data storage memory and the intermediate buffer and between the intermediate buffer and the peripheral device data slave control unit by the DMA controller. In each channel, and the DMA transfer of the control data by each channel is performed in parallel by the multi-channel control.

【0019】この発明によるコンピュータでは、周辺デ
バイスの制御データの設定および更新のための制御デー
タのDMA転送(制御データの送受)が、DMAコント
ローラの複数チャネル制御により並行して同期転送で行
われる。
In the computer according to the present invention, the DMA transfer (control data transmission / reception) of the control data for setting and updating the control data of the peripheral device is carried out in parallel by the multi-channel control of the DMA controller.

【0020】つぎの発明によるコンピュータは、上述の
発明によるコンピュータにおいて、前記周辺デバイスデ
ータ用スレーブ制御部から前記中間バッファへ送信する
周辺デバイスのステータス情報は、制御データ部分以外
に、各周辺デバイスの制御データ変更要求部分を含んで
おり、メインCPUは、前記中間バッファ上で、前記ス
テータス情報から、変更に必要な制御データ部分を選択
抽出し、変更が必要な部分のみを前記中間バッファから
前記制御データ格納メモリへDMA転送するものであ
る。
In the computer according to the next invention, in the computer according to the above-mentioned invention, the status information of the peripheral device transmitted from the peripheral device data slave control unit to the intermediate buffer includes control of each peripheral device other than the control data portion. The main CPU selectively extracts the control data portion required for the change from the status information on the intermediate buffer, and includes only the portion requiring the change from the intermediate buffer. This is a DMA transfer to the storage memory.

【0021】この発明によるコンピュータでは、周辺デ
バイスデータ用スレーブ制御部から中間バッファへ送信
する周辺デバイスのステータス情報が、制御データ部分
以外に、各周辺デバイスの制御データ変更要求部分を含
んでおり、メインCPUが中間バッファ上でそのステー
タス情報から、変更に必要な制御データ部分を選択抽出
し、変更が必要な部分のみが中間バッファから制御デー
タ格納メモリへDMA転送される。
In the computer according to the present invention, the peripheral device status information transmitted from the peripheral device data slave control unit to the intermediate buffer includes the control data change request portion of each peripheral device in addition to the control data portion. The CPU selectively extracts the control data portion necessary for the change from the status information on the intermediate buffer, and only the portion requiring the change is DMA-transferred from the intermediate buffer to the control data storage memory.

【0022】また、この発明によるコンピュータにおけ
る周辺デバイス制御データの転送方法は、周辺デバイス
データ用スレーブ制御部を有し、周辺デバイスデータ用
スレーブ制御部に周辺デバイスを接続されたコンピュー
タにおける周辺デバイス制御データの転送方法におい
て、メインCPUと周辺デバイスデータ用スレーブ制御
部とをCPUローカルバスにより接続し、当該CPUロ
ーカルバス上にDMAコントローラと周辺デバイスの制
御データ格納メモリと周辺デバイスの制御データ設定用
の中間バッファとを接続し、前記周辺デバイスの設定/
更新用の制御データを、前記制御データ格納メモリと前
記中間バッファとの間と、前記中間バッファと前記周辺
デバイスデータ用スレーブ制御部との間のそれぞれにお
いて、メインCPUが発行するDMA転送開始コマンド
によりDMAコントローラのチャネルによって前記CP
Uローカルバス上でDMA転送するものである。
Further, the method of transferring peripheral device control data in a computer according to the present invention has a peripheral device data slave control unit, and the peripheral device control data in a computer in which the peripheral device is connected to the peripheral device data slave control unit. In the transfer method, the main CPU and the peripheral device data slave control unit are connected by a CPU local bus, and a DMA controller, a peripheral device control data storage memory, and an intermediate device for setting the peripheral device control data are connected on the CPU local bus. Connect to the buffer and set the peripheral device
Update control data is transferred between the control data storage memory and the intermediate buffer and between the intermediate buffer and the peripheral device data slave control unit by a DMA transfer start command issued by the main CPU. The CP by the channel of the DMA controller
DMA transfer is performed on the U local bus.

【0023】この発明によるコンピュータにおける周辺
デバイス制御データの転送方法ではメインCPUは、D
MA転送開始コマンドを発行するだけで、周辺デバイス
に関するデータ転送の制御を常時行わず、DMAコント
ローラのチャネルによってメインCPUのI/Oデバイ
スや他のメモリを接続されるCPUメインバスとは別の
CPUローカルバス上で、周辺デバイス制御のデータ転
送がDMA転送により高速に行われる。このCPUロー
カルバス上でのDMA方式によるデータ転送は、CPU
メインバス上でのデータ転送に依存しないため、周辺デ
バイスの制御データ転送が実行されているときに、CP
Uメインバス上の任意I/Oデバイスやメモリに対し
て、メインCPUからのアクセスが任意のタイミングで
可能となる。
In the method of transferring peripheral device control data in a computer according to the present invention, the main CPU is D
Only the MA transfer start command is issued, the data transfer related to the peripheral device is not always controlled, and the CPU other than the main bus, which is connected to the I / O device of the main CPU and other memories by the channel of the DMA controller Peripheral device control data transfer is performed at high speed by DMA transfer on the local bus. Data transfer by the DMA method on the CPU local bus is performed by the CPU
Since it does not depend on the data transfer on the main bus, CP is controlled when the control data transfer of the peripheral device is being executed.
The main CPU can access any I / O device or memory on the U main bus at any timing.

【0024】つぎの発明によるコンピュータにおける周
辺デバイス制御データの転送方法は、上述の発明による
コンピュータにおける周辺デバイス制御データの転送方
法において、周辺デバイスでのステータス情報の発生を
前記CPUローカルバスとは別のステータス割込信号ラ
インを使用して周辺デバイスデータ用スレーブ制御部か
らメインCPUへのステータス割込信号によりメインC
PUに伝え、メインCPUがステータス割込信号を受け
ることにより、メインCPUが前記周辺デバイスデータ
用スレーブ制御部から前記中間バッファへのステータス
情報のDMA転送開始コマンドを発行するものである。
A method of transferring peripheral device control data in a computer according to the next invention is the same as the method of transferring peripheral device control data in a computer according to the above invention, wherein the generation of status information in the peripheral device is different from that of the CPU local bus. The status C signal is sent from the slave controller for peripheral device data to the main CPU by using the status interrupt signal line.
When the main CPU receives the status interrupt signal and transmits it to the PU, the main CPU issues a status information DMA transfer start command from the peripheral device data slave control unit to the intermediate buffer.

【0025】この発明によるコンピュータにおける周辺
デバイス制御データの転送方法では、周辺デバイスでの
ステータス情報の発生がステータス割込信号ラインを使
用して周辺デバイスデータ用スレーブ制御部からメイン
CPUへのステータス割込信号によりメインCPUに伝
えられ、メインCPUがステータス割込信号を受けるこ
とにより、メインCPUが周辺デバイスデータ用スレー
ブ制御部から中間バッファへのステータス情報のDMA
転送開始コマンドを発行する。これにより周辺デバイス
データ用スレーブ制御部から中間バッファへのステータ
ス情報のDMA転送がイベントとして随時行われる。
In the method of transferring peripheral device control data in the computer according to the present invention, the generation of status information in the peripheral device uses the status interrupt signal line to perform the status interrupt from the slave controller for peripheral device data to the main CPU. Signal is transmitted to the main CPU, and the main CPU receives the status interrupt signal, whereby the main CPU DMAs the status information from the peripheral device data slave control unit to the intermediate buffer.
Issue a transfer start command. As a result, DMA transfer of status information from the peripheral device data slave control unit to the intermediate buffer is performed as an event at any time.

【0026】つぎの発明によるコンピュータにおける周
辺デバイス制御データの転送方法は、上述の発明による
コンピュータにおける周辺デバイス制御データの転送方
法において、前記周辺デバイスデータ用スレーブ制御部
に複数個の周辺デバイスをそれぞれ個別の周辺I/Oデ
ータバスにより接続し、前記DMAコントローラは複数
個のチャネルを有し、前記制御データ格納メモリと前記
中間バッファとの間と、前記中間バッファと前記周辺デ
バイスデータ用スレーブ制御部との間の制御データのD
MA転送を前記DMAコントローラの各チャネルで行
い、複数チャネル制御により各チャネルによる制御デー
タのDMA転送を並行して行うものである。
A method of transferring peripheral device control data in a computer according to the next invention is the same as the method of transferring peripheral device control data in a computer according to the invention described above, wherein a plurality of peripheral devices are individually provided in the peripheral device data slave control section. Connected via a peripheral I / O data bus, the DMA controller has a plurality of channels, between the control data storage memory and the intermediate buffer, between the intermediate buffer and the peripheral device data slave controller. Of control data between
MA transfer is performed on each channel of the DMA controller, and DMA transfer of control data by each channel is performed in parallel by multi-channel control.

【0027】この発明によるコンピュータにおける周辺
デバイス制御データの転送方法では、周辺デバイスの制
御データの設定および更新のための制御データのDMA
転送(制御データの送受)が、DMAコントローラの複
数チャネル制御により並行して同期転送で行われる。
In the method of transferring peripheral device control data in a computer according to the present invention, the control data DMA for setting and updating the peripheral device control data is used.
Transfer (transmission / reception of control data) is performed by synchronous transfer in parallel by the multiple channel control of the DMA controller.

【0028】つぎの発明によるコンピュータにおける周
辺デバイス制御データの転送方法は、上述の発明による
コンピュータにおける周辺デバイス制御データの転送方
法において、前記周辺デバイスデータ用スレーブ制御部
から前記中間バッファへ送信する周辺デバイスのステー
タス情報は、制御データ部分以外に、各周辺デバイスの
制御データ変更要求部分を含んでおり、メインCPU
は、前記中間バッファ上で、前記ステータス情報から、
変更に必要な制御データ部分を選択抽出し、変更が必要
な部分のみを前記中間バッファから前記制御データ格納
メモリへDMA転送するものである。
A method of transferring peripheral device control data in a computer according to the next invention is the same as the method of transferring peripheral device control data in a computer according to the above invention, the peripheral device transmitting from the slave controller for peripheral device data to the intermediate buffer. Status information includes a control data change request portion of each peripheral device in addition to the control data portion.
On the intermediate buffer, from the status information,
The control data portion required for change is selectively extracted, and only the portion required for change is DMA-transferred from the intermediate buffer to the control data storage memory.

【0029】この発明によりコンピュータにおける周辺
デバイス制御データの転送方法では、周辺デバイスデー
タ用スレーブ制御部から中間バッファへ送信する周辺デ
バイスのステータス情報が、制御データ部分以外に、各
周辺デバイスの制御データ変更要求部分を含んでおり、
メインCPUによって中間バッファ上でそのステータス
情報から、変更に必要な制御データ部分を選択抽出する
ことが行われ、変更の必要な部分のみが中間バッファか
ら制御データ格納メモリへDMA転送される。
In the method of transferring peripheral device control data in a computer according to the present invention, the status information of the peripheral device transmitted from the peripheral device data slave control unit to the intermediate buffer is not limited to the control data portion, but the control data of each peripheral device is changed. Contains the requested part,
The main CPU selectively extracts the control data portion required for change from the status information on the intermediate buffer, and only the portion requiring change is DMA-transferred from the intermediate buffer to the control data storage memory.

【0030】[0030]

【発明の実施の形態】以下に添付の図を参照してこの発
明に係るコンピュータおよびコンピュータにおける周辺
デバイス制御データの転送方法の実施の形態を詳細に説
明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of a computer and a method of transferring peripheral device control data in the computer according to the present invention will be described below in detail with reference to the accompanying drawings.

【0031】図1はこの発明による周辺デバイス制御デ
ータの転送方法の実施に使用されるコンピュータを示し
ている。このコンピュータは、システム全体を制御する
メインCPU1と、CPUメインバス2と、周辺デバイ
スデータ用スレーブ制御部3と、複数個の周辺デバイス
1 〜5i 〜5n (但し、1≦i≦nであり、以下に、
この複数個の周辺デバイス51 〜5i 〜5n を周辺デバ
イス群と云うことがある)と、メインCPU1と周辺デ
バイス用スレーブ制御部3とを接続するCPUローカル
バス6と、CPUローカルバス6に接続された制御デー
タ格納メモリ7と、CPUローカルバス6に接続された
DMAコントローラ8と、CPUローカルバス6に接続
され周辺デバイス群に対する制御データ設定/更新用の
中間バッファ9、10と、周辺デバイス51 〜5i 〜5
n と周辺デバイスデータ用スレーブ制御部3とを各周辺
デバイス毎に個別に接続する周辺I/Oデータバス11
1〜11i 〜11n と、周辺デバイス用スレーブ制御部
3からメインCPU1へステータス割込信号を送信する
ステータス割込信号ライン12とを有している。
FIG. 1 shows a computer used for carrying out the method of transferring peripheral device control data according to the present invention. This computer includes a main CPU 1 that controls the entire system, a CPU main bus 2, a peripheral device data slave control unit 3, and a plurality of peripheral devices 5 1 to 5 i to 5 n (where 1 ≦ i ≦ n And below,
The plurality of peripheral devices 5 1 to 5 i to 5 n may be referred to as a peripheral device group), a CPU local bus 6 for connecting the main CPU 1 and the peripheral device slave control unit 3, and a CPU local bus 6 A control data storage memory 7 connected to the CPU local bus 6, a DMA controller 8 connected to the CPU local bus 6, an intermediate buffer 9 and 10 connected to the CPU local bus 6 for setting / updating control data for peripheral device groups, and peripherals. device 5 1 ~5 i ~5
Peripheral I / O data bus 11 for individually connecting n and the peripheral device data slave control unit 3 for each peripheral device
It has 1 to 11 i to 11 n and a status interrupt signal line 12 for transmitting a status interrupt signal from the peripheral device slave controller 3 to the main CPU 1.

【0032】このコンピュータは、周辺デバイス51
i 〜5n の設定/更新用の制御データの、制御データ
格納メモリ7と中間バッファ9、10との間と、中間バ
ッファ9、10と周辺デバイスデータ用スレーブ制御部
3とのそれぞれの間の転送を、メインCPU1が発行す
るDMA転送開始コマンドによりDMAコントローラ8
のチャネルによってCPUローカルバス6上でDMA転
送により行う。
This computer is equipped with peripheral devices 5 1 ...
Between the control data storage memory 7 and the intermediate buffers 9 and 10, and between the intermediate buffers 9 and 10 and the peripheral device data slave control unit 3 of the control data for setting / updating 5 i to 5 n. Of the DMA controller 8 by the DMA transfer start command issued by the main CPU 1.
This is performed by DMA transfer on the CPU local bus 6 by the channel of.

【0033】DMAコントローラ8は、複数個のチャネ
ルを有しており、制御データ格納メモリ7より中間バッ
ファ9へのDMA転送と、中間バッファ10より制御デ
ータ格納メモリ7へのDMA転送と、中間バッファ9よ
り周辺デバイスデータ用スレーブ制御部3へのDMA転
送と、周辺デバイスデータ用スレーブ制御部3より中間
バッファ9へのDMA転送をDMAコントローラの各チ
ャネルで行い、複数チャネル制御により各チャネルによ
る制御データのDMA転送を並行して行う。
The DMA controller 8 has a plurality of channels, and performs DMA transfer from the control data storage memory 7 to the intermediate buffer 9, DMA transfer from the intermediate buffer 10 to the control data storage memory 7, and intermediate buffer. DMA transfer from the peripheral device data slave control unit 3 to the peripheral device data slave control unit 3 and from the peripheral device data slave control unit 3 to the intermediate buffer 9 are performed on each channel of the DMA controller. DMA transfer is performed in parallel.

【0034】周辺デバイス51 〜5i 〜5n でのステー
タス情報の発生は、ステータス割込信号ライン12を使
用して周辺デバイスデータ用スレーブ制御部3からメイ
ンCPU1へのステータス割込信号によりメインCPU
1に伝える。メインCPU1は、ステータス割込信号を
受けると、周辺デバイスデータ用スレーブ制御部3から
中間バッファ10へのステータス情報のDMA転送開始
コマンドを発行する。
The status information is generated in the peripheral devices 5 1 to 5 i to 5 n by the status interrupt signal from the peripheral device data slave controller 3 to the main CPU 1 using the status interrupt signal line 12. CPU
Tell 1. When receiving the status interrupt signal, the main CPU 1 issues a DMA transfer start command of status information from the peripheral device data slave control unit 3 to the intermediate buffer 10.

【0035】メインCPU1が発行するDMA転送開始
コマンドには、第1チャネル開始コマンド〜第4チャネ
ル開始コマンドがある。
The DMA transfer start command issued by the main CPU 1 includes a first channel start command to a fourth channel start command.

【0036】第1チャネル開始コマンドは、DMAコン
トローラ8の第1チャネルで、制御データ格納メモリ7
から中間バッファ9への制御データのDMA転送を開始
するためのコマンドである。
The first channel start command is the first channel of the DMA controller 8 and is used by the control data storage memory 7
Is a command for starting the DMA transfer of the control data to the intermediate buffer 9.

【0037】第2チャネル開始コマンドは、DMAコン
トローラ8の第2チャネルで、中間バッファ9から周辺
デバイスデータ用スレーブ制御部3への制御データのD
MA転送を開始するためのコマンドである。
The second channel start command is the second channel of the DMA controller 8 and the D of the control data from the intermediate buffer 9 to the peripheral device data slave control unit 3 is transmitted.
This is a command for starting MA transfer.

【0038】第3チャネル開始コマンドは、DMAコン
トローラ8の第3チャネルで、周辺デバイスデータ用ス
レーブ制御部3から中間バッファ10へのステータス情
報のDMA転送を開始するためのコマンドである。
The third channel start command is a command for starting the DMA transfer of status information from the peripheral device data slave control section 3 to the intermediate buffer 10 in the third channel of the DMA controller 8.

【0039】第4チャネル開始コマンドは、DMAコン
トローラ8の第4チャネルで、中間バッファ10から制
御データ格納メモリ7への制御データのDMA転送を開
始するためのコマンドである。
The fourth channel start command is a command for starting the DMA transfer of control data from the intermediate buffer 10 to the control data storage memory 7 in the fourth channel of the DMA controller 8.

【0040】周辺デバイスデータ用スレーブ制御部3か
ら中間バッファ10へ送られるステータス情報は、制御
データ部分以外に、各周辺デバイス51 〜5i 〜5n
制御データ変更要求部分を含んでおり、メインCPU1
は、中間バッファ10上で、ステータス情報から、変更
に必要な制御データ部分を選択抽出し、変更が必要な部
分のみを、DMAコントローラ8への第4チャネルのD
MA転送開始コマンド(第4チャネル開始コマンド)発
行により、中間バッファ10から制御データ格納メモリ
7へDMA転送することが行われる。
The status information sent from the peripheral device data slave control unit 3 to the intermediate buffer 10 includes a control data change request portion of each peripheral device 5 1 to 5 i to 5 n in addition to the control data portion. Main CPU1
Selects and extracts the control data portion required for change from the status information on the intermediate buffer 10 and outputs only the portion requiring change to the D channel of the fourth channel to the DMA controller 8.
By issuing the MA transfer start command (fourth channel start command), DMA transfer from the intermediate buffer 10 to the control data storage memory 7 is performed.

【0041】周辺デバイスデータ用スレーブ制御部3
は、DMAコントローラ8による第2チャネルおよび第
3チャネルのDMA転送における周辺I/Oデータバス
111〜11i 〜11n とCPUローカルバス6との間
の各デバイス制御データの一括転送を周辺デバイスデー
タ用スレーブ制御部3の各入出力ポートを介して行う。
Peripheral device data slave controller 3
Is a peripheral device for batch transfer of each device control data between the peripheral I / O data buses 11 1 to 11 i to 11 n and the CPU local bus 6 in the DMA transfer of the second channel and the third channel by the DMA controller 8. This is performed via each input / output port of the data slave control unit 3.

【0042】つぎに、図2を参照して制御データ格納メ
モリ7上のデータフォーマットおよび周辺デバイス更新
データの転送データフォーマットについて説明する。
Next, the data format on the control data storage memory 7 and the transfer data format of the peripheral device update data will be described with reference to FIG.

【0043】メインCPU1は、図2(a)に示されて
いるような制御データ格納メモリ7上の周辺デバイス5
1 〜5i 〜5n に対応した各周辺デバイス制御データ領
域内で、該当する各周辺デバイス制御更新データを抽出
し、DMAコントローラ8に抽出した周辺デバイス制御
更新データに対する制御データ格納メモリ7上のメモリ
アドレスを指定後、DMAコントローラ8に該当の制御
更新データに対するDMA転送の開始コマンドを発行す
る。
The main CPU 1 has the peripheral device 5 on the control data storage memory 7 as shown in FIG.
In the peripheral device control data area corresponding to 1 to 5 i to 5 n , the corresponding peripheral device control update data is extracted and the DMA controller 8 stores the control data storage memory 7 for the extracted peripheral device control update data. After designating the memory address, a DMA transfer start command for the corresponding control update data is issued to the DMA controller 8.

【0044】DMAコントローラ8は、メインCPU1
からのDMA転送の開始コマンドを受けて、図2(b)
に示されているような周辺デバイス更新データの転送デ
ータフォーマットで構成された制御更新データのDMA
転送を開始する。
The DMA controller 8 is the main CPU 1
2 (b) in response to the DMA transfer start command from
DMA of control update data configured in the transfer data format of peripheral device update data as shown in FIG.
Start the transfer.

【0045】同様に、他の周辺デバイスの制御データを
変更する場合は、周辺デバイス更新データの転送データ
フォーマットの構成で、新たに制御更新データを作成
後、更新された転送データフォーマットの構成によりD
MAコントローラ8に再度DMA転送の起動を行う。
Similarly, when the control data of another peripheral device is changed, the transfer data format of the peripheral device update data is used, and after the new control update data is created, D is changed by the updated transfer data format structure.
The DMA transfer is activated again for the MA controller 8.

【0046】以下、周辺デバイス51 〜5i 〜5n から
のステータス対応により、必要に応じて制御更新データ
のDMA転送が繰り返される。
Thereafter, the DMA transfer of the control update data is repeated as necessary according to the status correspondence from the peripheral devices 5 1 to 5 i to 5 n .

【0047】これらの周辺デバイスの制御更新データに
対する各DMA転送では、各周辺デバイス51 〜5i
n の制御データを全て再設定し直す必要はない。
In each DMA transfer for the control update data of these peripheral devices, each peripheral device 5 1 to 5 i
It is not necessary to reset all 5 n control data.

【0048】つぎに、上述の構成によるコンピュータシ
ステムにおける制御データ高速転送の手順について説明
する。
Next, the procedure of high-speed transfer of control data in the computer system having the above configuration will be described.

【0049】(1)メインCPU1は、制御データ格納
メモリ7に周辺デバイス群(周辺デバイス51 〜5i
n ) に対応した制御データの各初期設定値を最初に書
き込む。
(1) The main CPU 1 stores in the control data storage memory 7 a group of peripheral devices (peripheral devices 5 1 to 5 i
First, each initial setting value of the control data corresponding to 5 n ) is written.

【0050】(2)この後に、メインCPU1は、DM
Aコントローラ8の第1チャネルで制御データ格納メモ
リ7から中間バッファ9へのDMA転送を開始するため
に、DMAの第1チャネル開始コマンドをDMAコント
ローラ8に発行する。このコマンドにより、DMAコン
トローラ8は、第1チャネルで、制御データ格納メモリ
7から中間バッファ9へのDMA転送を実行する。
(2) After this, the main CPU 1 sends the DM
In order to start the DMA transfer from the control data storage memory 7 to the intermediate buffer 9 in the first channel of the A controller 8, a DMA first channel start command is issued to the DMA controller 8. With this command, the DMA controller 8 executes the DMA transfer from the control data storage memory 7 to the intermediate buffer 9 on the first channel.

【0051】(3)第1チャネルのDMA転送終了後、
メインCPU1は中間バッファ9から周辺デバイスデー
タ用スレーブ制御部3へのDMA転送を開始するため
に、DMAの第2チャネル開始コマンドをDMAコント
ローラ8に発行する。これにより、DMAコントローラ
8による第2チャネルのDMA転送が実行される。
(3) After the completion of the DMA transfer of the first channel,
The main CPU 1 issues a second DMA channel start command to the DMA controller 8 in order to start the DMA transfer from the intermediate buffer 9 to the peripheral device data slave control unit 3. As a result, the DMA transfer of the second channel by the DMA controller 8 is executed.

【0052】(4)周辺デバイスデータ用スレーブ制御
部3は、DMAコントローラ8の第2チャネルでDMA
転送された周辺デバイス群の制御データを受けた後、入
出力ポートに接続された周辺I/Oデータバス111
11i 〜11n に各周辺デバイス用制御データを送出す
る。
(4) The peripheral device data slave control unit 3 uses the second channel of the DMA controller 8 for DMA.
After receiving the transferred control data of the peripheral device group, the peripheral I / O data bus 11 1-
Control data for each peripheral device is sent to 11 i to 11 n .

【0053】(5)周辺デバイス群を構成する各周辺デ
バイス51 〜5i 〜5n は、対応する各周辺デバイスの
制御データを周辺デバイスデータ用スレーブ制御部3か
ら受けた後、各周辺デバイスのステータス情報を周辺I
/Oデータバス111 〜11i〜11n 経由で周辺デバ
イスデータ用スレーブ制御部3に送る。
(5) Each of the peripheral devices 5 1 to 5 i to 5 n forming the peripheral device group receives the control data of the corresponding peripheral device from the peripheral device data slave control unit 3, and then receives each peripheral device. Status information of I
/ O data bus 11 1 to 11 i to 11 n to the peripheral device data slave control unit 3.

【0054】(6)各周辺デバイス51 〜5i 〜5n
ステータス情報を受けた周辺デバイスデータ用スレーブ
制御部3は、周辺デバイス51 〜5i 〜5n の各ステー
タス情報の発生をステータス割込信号としてステータス
割込信号ライン12を使用してメインCPU1に通知
し、DMAコントローラ8の第3チャネル開始コマンド
の発行要求をメインCPU1に対して行う。
[0054] (6) peripheral device data for the slave control section 3 which has received the status information of each peripheral device 5 1 ~5 i ~5 n is the occurrence of each status information of the peripheral device 5 1 ~5 i ~5 n The status interrupt signal line 12 is used as a status interrupt signal to notify the main CPU 1, and the DMA controller 8 issues a request to issue the third channel start command to the main CPU 1.

【0055】(7)ステータス割込信号を受けたメイン
CPU1は、DMAコントローラ8に対して第3チャネ
ルのDMA転送開始コマンド(第3チャネル開始コマン
ド)を発行する。これによりDMAコントローラ8は、
第3チャネルで、周辺デバイスデータ用スレーブ制御部
3から中間バッファ10へのステータス情報のDMA転
送を実行する。
(7) Upon receiving the status interrupt signal, the main CPU 1 issues a DMA transfer start command for the third channel (third channel start command) to the DMA controller 8. As a result, the DMA controller 8
DMA transfer of status information from the peripheral device data slave control unit 3 to the intermediate buffer 10 is executed on the third channel.

【0056】(8)第3チャネルのDMA転送終了後、
メインCPU1は、中間バッファ10上の各周辺デバイ
ス51 〜5i 〜5n の制御データ変更要求を含むステー
タス情報から、変更に必要な制御データ部分を任意選択
し、抽出する。
(8) After the completion of the DMA transfer of the third channel,
The main CPU 1 arbitrarily selects and extracts the control data portion required for the change from the status information including the control data change request of each of the peripheral devices 5 1 to 5 i to 5 n on the intermediate buffer 10.

【0057】(9)メインCPU1は、抽出した中間バ
ッファ10上の各周辺デバイス51 〜5i 〜5n の制御
データで、変更が必要な部分のみを中間バッファ10か
ら制御データ格納メモリ7へDMA転送するために、第
4チャネル開始コマンドをDMAコントローラ8に発行
する。このコマンドにより、DMAコントローラ8は、
第4チャネルで、中間バッファ10から制御データ格納
メモリ7へのDMA転送を実行する。
(9) The main CPU 1 transfers, from the intermediate buffer 10 to the control data storage memory 7, only the extracted control data of the peripheral devices 5 1 to 5 i to 5 n on the intermediate buffer 10 that need to be changed. A fourth channel start command is issued to the DMA controller 8 for DMA transfer. This command causes the DMA controller 8 to
DMA transfer from the intermediate buffer 10 to the control data storage memory 7 is executed on the fourth channel.

【0058】(10)DMAコントローラ8の第4チャ
ネルによる中間バッファ10から制御データ格納メモリ
7へのDMA転送完了後、メインCPU1は制御データ
格納メモリ7上の更新された各周辺デバイス用制御デー
タを中間バッファ9へ送るために、再度DMAコントロ
ーラ8に対して第1チャネルのDMA転送開始コマンド
を発行する。
(10) After the completion of the DMA transfer from the intermediate buffer 10 to the control data storage memory 7 by the fourth channel of the DMA controller 8, the main CPU 1 stores the updated control data for each peripheral device in the control data storage memory 7. In order to send it to the intermediate buffer 9, the DMA transfer start command for the first channel is issued again to the DMA controller 8.

【0059】(11)中間バッファ9で更新された制御
データに関するDMA転送終了後、メインCPU1は、
CPUローカルバス6上で、前述のDMAコントローラ
8による中間バッファ9から周辺デバイスデータ用スレ
ーブ制御部3への第2チャネルDMA転送を再び実行す
る。
(11) After completion of the DMA transfer relating to the control data updated in the intermediate buffer 9, the main CPU 1
On the CPU local bus 6, the second channel DMA transfer from the intermediate buffer 9 to the peripheral device data slave controller 3 by the aforementioned DMA controller 8 is executed again.

【0060】(12)上述した手順と同様の手順によ
り、上記の更新された周辺デバイスの制御データは、周
辺デバイスデータ用スレーブ制御部3を経由して周辺デ
バイス群の各周辺デバイス51 〜5i 〜5n に再度送ら
れる。
(12) By the procedure similar to the procedure described above, the updated control data of the peripheral device passes through the peripheral device data slave control unit 3 and each of the peripheral devices 5 1 to 5 of the peripheral device group. It is sent again to i to 5 n .

【0061】上述のような制御データの転送では、メイ
ンCPU1はCPUローカルバス6上での周辺デバイス
用制御データの処理に常時関与しないので、メインCP
U1は、DMA転送中に、その他の処理を任意に実行で
きる。
In the transfer of the control data as described above, the main CPU 1 does not always participate in the processing of the control data for the peripheral device on the CPU local bus 6.
U1 can arbitrarily perform other processing during the DMA transfer.

【0062】また、第1チャネルのDMA転送中、DM
Aコントローラ8の他チャネル(第2〜第4)によるC
PUローカルバス6上での他の周辺デバイスに関する制
御データの転送は可能であり、メインCPU1は各周辺
デバイス51 〜5i 〜5n で必要な制御データの設定/
更新に関する任意のDMAチャネル(第2〜第4)のD
MA転送を、該当するDMA転送開始コマンド発行によ
り上述の第1チャネルDMA転送と並行して実行でき
る。
During the DMA transfer of the first channel, DM
C by other channel (2nd-4th) of A controller 8
Control data relating to other peripheral devices on the PU local bus 6 can be transferred, and the main CPU 1 sets / controls necessary control data for each of the peripheral devices 5 1 to 5 i to 5 n.
D of any DMA channel (2nd-4th) for update
The MA transfer can be executed in parallel with the above-mentioned first channel DMA transfer by issuing a corresponding DMA transfer start command.

【0063】また、第2チャネルのDMA転送中、同時
に任意周辺デバイスに関する任意のDMAチャネル(第
1、第3、第4)でのDMA転送をメインCPU1のD
MAコントローラ8に対する任意の指定チャネル開始コ
マンド発行により並行して実行でき、かつ、各チャネル
のDAM転送中は、メインCPU1は各DMA転送の制
御に常時関与しない。
During the DMA transfer of the second channel, at the same time, the DMA transfer of the arbitrary DMA channels (first, third and fourth) relating to the arbitrary peripheral devices is performed by the D of the main CPU 1.
It can be executed in parallel by issuing an arbitrary designated channel start command to the MA controller 8, and the main CPU 1 is not always involved in the control of each DMA transfer during the DAM transfer of each channel.

【0064】したがって、メインCPU1は、上述の各
DMA転送中にCPUメインバス2上で、各種I/Oデ
バイス、メモリ等のデータアクセスを任意に行うことが
でき、メインCPU1の周辺デバイス群に対する制御デ
ータ処理の負荷が低減することになる。
Therefore, the main CPU 1 can arbitrarily access data of various I / O devices, memories, etc. on the CPU main bus 2 during the above-mentioned DMA transfer, and control the peripheral device group of the main CPU 1. The data processing load will be reduced.

【0065】[0065]

【発明の効果】以上の説明から理解される如く、この発
明によるコンピュータによれば、メインCPUは、DM
A転送開始コマンドを発行するだけで、周辺デバイスに
関するデータ転送の制御を常時行わず、DMAコントロ
ーラのチャネルによってメインCPUのI/Oデバイス
や他のメモリを接続されるCPUメインバスとは別のC
PUローカルバス上で、周辺デバイス制御のデータ転送
がDMA転送により高速に行われるから、周辺デバイス
のデータ転送が高速化されると共に、周辺デバイスのデ
ータ転送に関するメインCPUの負荷が軽減され、CP
Uローカルバス上でのDMA方式によるデータ転送がC
PUメインバス上でのデータ転送に依存しないため、周
辺デバイスの制御データ転送が実行されているときに、
CPUメインバス上の任意のI/Oデバイスや汎用メモ
リに対してメインCPUからのアクセスが任意のタイミ
ングで可能となり、コンピュータのデータ処理性能が向
上する。
As can be understood from the above description, according to the computer of the present invention, the main CPU is DM
Only the A transfer start command is issued, the data transfer related to the peripheral device is not always controlled, and the C / CPU different from the CPU main bus to which the I / O device of the main CPU and other memories are connected by the channel of the DMA controller.
On the PU local bus, peripheral device-controlled data transfer is performed at high speed by DMA transfer, which speeds up peripheral device data transfer and reduces the load on the main CPU relating to peripheral device data transfer.
Data transfer by the DMA method on the U local bus is C
Since it does not depend on data transfer on the PU main bus, when control data transfer of peripheral devices is being executed,
The main CPU can access any I / O device or general-purpose memory on the CPU main bus at any timing, improving the data processing performance of the computer.

【0066】つぎの発明によるコンピュータによれば、
周辺デバイスでのステータス情報の発生がステータス割
込信号ラインを使用して周辺デバイスデータ用スレーブ
制御部からメインCPUへのステータス割込信号により
メインCPUに伝えられ、メインCPUがステータス割
込信号を受けることにより、メインCPUが周辺デバイ
スデータ用スレーブ制御部から中間バッファへのステー
タス情報のDMA転送開始コマンドを発行するから、周
辺デバイスデータ用スレーブ制御部から中間バッファへ
のステータス情報のDMA転送がイベントとして随時行
われ、周辺デバイスの制御データの更新がリアルタイム
に行われ得るようになる。
According to the computer of the following invention,
The generation of status information in the peripheral device is transmitted to the main CPU by the status interrupt signal from the peripheral device data slave control unit to the main CPU using the status interrupt signal line, and the main CPU receives the status interrupt signal. As a result, the main CPU issues a DMA transfer start command of status information from the peripheral device data slave control unit to the intermediate buffer, so that DMA transfer of status information from the peripheral device data slave control unit to the intermediate buffer is an event. The control data of the peripheral device can be updated in real time.

【0067】つぎの発明によるコンピュータによれば、
周辺デバイスの制御データの設定および更新のための制
御データのDMA転送が、DMAコントローラの複数チ
ャネル制御により並行して同期転送で行われるから、周
辺デバイスのデータ転送が高速化され、周辺デバイスの
データ転送処理速度性能が向上する。
According to the computer of the following invention,
Since the DMA transfer of control data for setting and updating the control data of the peripheral device is performed in parallel by the multi-channel control of the DMA controller, the data transfer of the peripheral device is speeded up and the data of the peripheral device is increased. Transfer processing speed performance is improved.

【0068】つぎの発明によるコンピュータによれば、
周辺デバイスデータ用スレーブ制御部から中間バッファ
へ送信する周辺デバイスのステータス情報が、制御デー
タ部分以外に、各周辺デバイスの制御データ変更要求部
分を含んでおり、メインCPUが中間バッファ上でその
ステータス情報から、変更に必要な制御データ部分を選
択抽出し、変更が必要な部分のみが中間バッファから制
御データ格納メモリへDMA転送されるから、無駄なデ
ータ転送によるデータ転送所要時間の増加が回避され、
周辺デバイスのデータ転送処理速度性能が向上する。
According to the computer of the following invention,
The peripheral device status information sent from the peripheral device data slave control unit to the intermediate buffer includes the control data change request portion of each peripheral device in addition to the control data portion, and the main CPU stores the status information on the intermediate buffer. From this, the control data portion required for change is selectively extracted, and only the portion that needs to be changed is DMA-transferred from the intermediate buffer to the control data storage memory, so that an increase in data transfer required time due to useless data transfer is avoided,
The data transfer processing speed performance of the peripheral device is improved.

【0069】つぎの発明によるコンピュータにおける周
辺デバイス制御データの転送方法によれば、メインCP
Uは、DMA転送開始コマンドを発行するだけで、周辺
デバイスに関するデータ転送の制御を常時行わず、DM
AコントローラのチャネルによってメインCPUのI/
Oデバイスや他のメモリを接続されるCPUメインバス
とは別のCPUローカルバス上で、周辺デバイス制御の
データ転送をDMA転送により高速に行うから、周辺デ
バイスのデータ転送が高速化されると共に、周辺デバイ
スのデータ転送に関するメインCPUの負荷が軽減さ
れ、CPUローカルバス上でのDMA方式によるデータ
転送がCPUメインバス上でのデータ転送に依存しない
ため、周辺デバイスの制御データ転送が実行されている
ときに、CPUメインバス上の任意のI/Oデバイスや
汎用メモリに対してメインCPUからのアクセスが任意
のタイミングで可能となり、コンピュータのデータ処理
性能が向上する。
According to the method of transferring peripheral device control data in a computer according to the next invention, the main CP
U only issues a DMA transfer start command, does not constantly control data transfer for peripheral devices, and DM
I / O of the main CPU depending on the channel of the A controller
The peripheral device control data transfer is performed at high speed by DMA transfer on a CPU local bus different from the CPU main bus to which the O device and other memories are connected, so that the peripheral device data transfer is speeded up. The load of the main CPU relating to the data transfer of the peripheral device is reduced, and the data transfer by the DMA method on the CPU local bus does not depend on the data transfer on the CPU main bus. Therefore, the control data transfer of the peripheral device is executed. At this time, the main CPU can access any I / O device or general-purpose memory on the CPU main bus at any timing, improving the data processing performance of the computer.

【0070】つぎの発明によるコンピュータにおける周
辺デバイス制御データの転送方法によれば、周辺デバイ
スでのステータス情報の発生を、ステータス割込信号ラ
インを使用して周辺デバイスデータ用スレーブ制御部か
らメインCPUへのステータス割込信号によりメインC
PUに伝え、メインCPUがステータス割込信号を受け
ることにより、メインCPUが周辺デバイスデータ用ス
レーブ制御部から中間バッファへのステータス情報のD
MA転送開始コマンドを発行するから、周辺デバイスデ
ータ用スレーブ制御部から中間バッファへのステータス
情報のDMA転送がイベントとして随時行われ、周辺デ
バイスの制御データの更新がリアルタイムに行われ得る
ようになる。
According to the method of transferring peripheral device control data in a computer according to the next invention, the generation of status information in the peripheral device is notified from the peripheral device data slave control unit to the main CPU by using the status interrupt signal line. Main C by the status interrupt signal of
When the main CPU receives the status interrupt signal by transmitting it to the PU, the main CPU sends the status information D from the peripheral device data slave control unit to the intermediate buffer.
Since the MA transfer start command is issued, the DMA transfer of the status information from the peripheral device data slave control unit to the intermediate buffer is performed as an event at any time, and the control data of the peripheral device can be updated in real time.

【0071】つぎの発明によるコンピュータにおける周
辺デバイス制御データの転送方法によれば、周辺デバイ
スの制御データの設定および更新のための制御データの
DMA転送を、DMAコントローラの複数チャネル制御
により並行して同期転送で行うから、周辺デバイスのデ
ータ転送が高速化され、周辺デバイスのデータ転送処理
速度性能が向上する。
According to the method of transferring peripheral device control data in a computer according to the next invention, the DMA transfer of control data for setting and updating the control data of the peripheral device is synchronized in parallel by the multi-channel control of the DMA controller. Since the transfer is performed, the data transfer of the peripheral device is accelerated, and the data transfer processing speed performance of the peripheral device is improved.

【0072】つぎの発明によるコンピュータにおける周
辺デバイス制御データの転送方法によれば、周辺デバイ
スデータ用スレーブ制御部から中間バッファへ送信する
周辺デバイスのステータス情報が、制御データ部分以外
に、各周辺デバイスの制御データ変更要求部分を含んで
おり、メインCPUが中間バッファ上でそのステータス
情報から、変更に必要な制御データ部分を選択抽出し、
変更が必要な部分のみを中間バッファから制御データ格
納メモリへDMA転送するから、無駄なデータ転送によ
るデータ転送所要時間の増加が回避され、周辺デバイス
のデータ転送処理速度性能が向上する。
According to the method of transferring peripheral device control data in a computer according to the next invention, the status information of the peripheral device transmitted from the peripheral device data slave control unit to the intermediate buffer is in addition to the control data portion, The control data change request part is included, and the main CPU selectively extracts the control data part necessary for the change from the status information on the intermediate buffer,
Since only the portion that needs to be changed is DMA-transferred from the intermediate buffer to the control data storage memory, an increase in the data transfer required time due to useless data transfer is avoided, and the data transfer processing speed performance of the peripheral device is improved.

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

【図1】 この発明による周辺デバイス制御データの転
送方法の実施に使用されるコンピュータの一つの実施の
形態を示すブロック線図である。
FIG. 1 is a block diagram showing an embodiment of a computer used for implementing a method of transferring peripheral device control data according to the present invention.

【図2】 (a)はこの発明による周辺デバイス制御デ
ータの転送方法で使用される制御データ格納メモリのデ
ータフォーマット例を示す説明図、(b)は周辺デバイ
ス更新データの転送データフォーマット例を示す説明図
である。
FIG. 2A is an explanatory diagram showing a data format example of a control data storage memory used in the method of transferring peripheral device control data according to the present invention, and FIG. 2B is a transfer data format example of peripheral device update data. FIG.

【図3】 従来における周辺デバイス付きコンピュータ
の概略構成を示すブロック線図である。
FIG. 3 is a block diagram showing a schematic configuration of a conventional computer with peripheral devices.

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

1 メインCPU,2 CPUメインバス,3 周辺デ
バイスデータ用スレーブ制御部,51 〜5i 〜5n
辺デバイス,6 CPUローカルバス,7 制御データ
格納メモリ,8 DMAコントローラ,9、10 中間
バッファ,11 1 〜11i 〜11n 周辺I/Oデータ
バス,12 ステータス割込信号ライン。
1 main CPU, 2 CPU main bus, 3 peripheral devices
Vise data slave controller, 51~ 5i~ 5n  Lap
Edge device, 6 CPU local bus, 7 control data
Storage memory, 8 DMA controller, 9, 10 intermediate
Buffer, 11 1~ 11i~ 11n  Peripheral I / O data
Bus, 12 status interrupt signal line.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−139865(JP,A) 特開 昭57−39439(JP,A) 特開 昭55−97630(JP,A) 特開 昭60−136851(JP,A) 特開 昭62−196755(JP,A) 特開 平4−350752(JP,A) 特開 平8−77099(JP,A) 特開 平9−62610(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 13/28 G06F 13/10 G06F 13/12 ─────────────────────────────────────────────────── ─── Continuation of front page (56) Reference JP-A-61-139865 (JP, A) JP-A-57-39439 (JP, A) JP-A-55-97630 (JP, A) JP-A-60- 136851 (JP, A) JP 62-196755 (JP, A) JP 4-350752 (JP, A) JP 8-77099 (JP, A) JP 9-62610 (JP, A) (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 13/28 G06F 13/10 G06F 13/12

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 周辺デバイスデータ用スレーブ制御部を
有し、周辺デバイスデータ用スレーブ制御部に周辺デバ
イスを接続されたコンピュータにおいて、 メインCPUと周辺デバイスデータ用スレーブ制御部と
がCPUローカルバスにより接続され、当該CPUロー
カルバス上にDMA(Direct Memory Access )コン
トローラと周辺デバイスの制御データ格納メモリと周辺
デバイスの制御データ設定用の中間バッファとが接続さ
れ、前記周辺デバイスの設定/更新用の制御データを、
前記制御データ格納メモリと前記中間バッファとの間
と、前記中間バッファと前記周辺デバイスデータ用スレ
ーブ制御部との間のそれぞれにおいて、前記メインCP
Uが発行するDMA転送開始コマンドにより前記DMA
コントローラのチャネルによって前記CPUローカルバ
ス上でDMA転送することを特徴とするコンピュータ。
1. In a computer having a peripheral device data slave control unit and a peripheral device connected to the peripheral device data slave control unit, the main CPU and the peripheral device data slave control unit are connected by a CPU local bus. A DMA (Direct Memory) controller, a peripheral device control data storage memory, and a peripheral device control data setting intermediate buffer are connected to the CPU local bus, and the peripheral device setting / updating control data is connected. To
The main CP is provided between the control data storage memory and the intermediate buffer and between the intermediate buffer and the peripheral device data slave control unit.
The DMA transfer start command issued by U
A computer characterized by performing DMA transfer on the CPU local bus by a channel of a controller.
【請求項2】 前記CPUローカルバスとは別に前記メ
インCPUと前記周辺デバイスデータ用スレーブ制御部
とを接続するステータス割込信号ラインを有し、周辺デ
バイスでのステータス情報の発生を前記ステータス割込
信号ラインを使用して周辺デバイスデータ用スレーブ制
御部からメインCPUへのステータス割込信号によりメ
インCPUに伝え、メインCPUがステータス割込信号
を受けることにより、メインCPUが前記周辺デバイス
データ用スレーブ制御部から前記中間バッファへのステ
ータス情報のDMA転送開始コマンドを発行することを
特徴とする請求項1に記載のコンピュータ。
2. A status interrupt signal line for connecting the main CPU and the peripheral device data slave control unit is provided separately from the CPU local bus, and status information generation in a peripheral device is performed by the status interrupt signal line. A peripheral device data slave control unit sends a status interrupt signal to the main CPU from the peripheral device data slave control unit using a signal line, and the main CPU receives the status interrupt signal. 2. The computer according to claim 1, wherein a DMA transfer start command of status information from the copy unit to the intermediate buffer is issued.
【請求項3】 前記周辺デバイスデータ用スレーブ制御
部に複数個の周辺デバイスがそれぞれ個別の周辺I/O
データバスにより接続され、前記DMAコントローラは
複数個のチャネルを有し、前記制御データ格納メモリと
前記中間バッファとの間と、前記中間バッファと前記周
辺デバイスデータ用スレーブ制御部との間の制御データ
のDMA転送を前記DMAコントローラの各チャネルで
行い、複数チャネル制御により各チャネルによる制御デ
ータのDMA転送を並行して行うことを特徴とする請求
項1または2に記載のコンピュータ。
3. The peripheral device data slave control unit includes a plurality of peripheral devices each having a separate peripheral I / O.
The data controller is connected by a data bus, the DMA controller has a plurality of channels, and control data between the control data storage memory and the intermediate buffer and between the intermediate buffer and the peripheral device data slave control unit. 3. The computer according to claim 1, wherein the DMA transfer is performed on each channel of the DMA controller, and the DMA transfer of the control data on each channel is performed in parallel by the multiple channel control.
【請求項4】 前記周辺デバイスデータ用スレーブ制御
部から前記中間バッファへ送信する周辺デバイスのステ
ータス情報は、制御データ部分以外に、各周辺デバイス
の制御データ変更要求部分を含んでおり、メインCPU
は、前記中間バッファ上で、前記ステータス情報から、
変更に必要な制御データ部分を選択抽出し、変更が必要
な部分のみを前記中間バッファから前記制御データ格納
メモリへDMA転送することを特徴とする請求項3に記
載のコンピュータ。
4. The peripheral device status information transmitted from the peripheral device data slave control unit to the intermediate buffer includes a control data change request portion of each peripheral device in addition to the control data portion, and the main CPU
On the intermediate buffer, from the status information,
4. The computer according to claim 3, wherein the control data portion required for the change is selectively extracted, and only the portion required for the change is DMA-transferred from the intermediate buffer to the control data storage memory.
【請求項5】 周辺デバイスデータ用スレーブ制御部を
有し、周辺デバイスデータ用スレーブ制御部に周辺デバ
イスを接続されたコンピュータにおける周辺デバイス制
御データの転送方法において、 メインCPUと周辺デバイスデータ用スレーブ制御部と
をCPUローカルバスにより接続し、当該CPUローカ
ルバス上にDMA(Direct Memory Access)コント
ローラと周辺デバイスの制御データ格納メモリと周辺デ
バイスの制御データ設定用の中間バッファとを接続し、
前記周辺デバイスの設定/更新用の制御データを、前記
制御データ格納メモリと前記中間バッファとの間と、前
記中間バッファと前記周辺デバイスデータ用スレーブ制
御部との間のそれぞれにおいて、メインCPUが発行す
るDMA転送開始コマンドによりDMAコントローラの
チャネルによって前記CPUローカルバス上でDMA転
送することを特徴とするコンピュータにおける周辺デバ
イス制御データの転送方法。
5. A method of transferring peripheral device control data in a computer having a peripheral device data slave control unit, wherein the peripheral device is connected to the peripheral device data slave control unit, wherein a main CPU and peripheral device data slave control are provided. To the CPU local bus, and a DMA (Direct Memory) controller, a peripheral device control data storage memory, and a peripheral device control data setting intermediate buffer are connected on the CPU local bus.
The main CPU issues control data for setting / updating the peripheral device between the control data storage memory and the intermediate buffer and between the intermediate buffer and the peripheral device data slave control unit. A method of transferring peripheral device control data in a computer, wherein DMA transfer is performed on the CPU local bus by a channel of a DMA controller by a DMA transfer start command.
【請求項6】 周辺デバイスでのステータス情報の発生
を前記CPUローカルバスとは別のステータス割込信号
ラインを使用して周辺デバイスデータ用スレーブ制御部
からメインCPUへのステータス割込信号によりメイン
CPUに伝え、メインCPUがステータス割込信号を受
けることにより、メインCPUが前記周辺デバイスデー
タ用スレーブ制御部から前記中間バッファへのステータ
ス情報のDMA転送開始コマンドを発行することを特徴
とする請求項5に記載のコンピュータにおける周辺デバ
イス制御データの転送方法。
6. The status information generation in the peripheral device is performed by a status interrupt signal from the slave controller for peripheral device data to the main CPU by using a status interrupt signal line different from the CPU local bus. 6. When the main CPU receives the status interrupt signal, the main CPU issues a status information DMA transfer start command from the peripheral device data slave control unit to the intermediate buffer. A method for transferring peripheral device control data in the computer according to [1].
【請求項7】 前記周辺デバイスデータ用スレーブ制御
部に複数個の周辺デバイスをそれぞれ個別の周辺I/O
データバスにより接続し、前記DMAコントローラは複
数個のチャネルを有し、前記制御データ格納メモリと前
記中間バッファとの間と、前記中間バッファと前記周辺
デバイスデータ用スレーブ制御部との間の制御データの
DMA転送を前記DMAコントローラの各チャネルで行
い、複数チャネル制御により各チャネルによる制御デー
タのDMA転送を並行して行うことを特徴とする請求項
5または6に記載のコンピュータにおける周辺デバイス
制御データの転送方法。
7. A plurality of peripheral devices are provided to the peripheral device data slave control unit, respectively.
The DMA controller is connected by a data bus, and the DMA controller has a plurality of channels, and control data between the control data storage memory and the intermediate buffer and between the intermediate buffer and the peripheral device data slave control unit. 7. The peripheral device control data in the computer according to claim 5, wherein the DMA transfer of the peripheral device control data is performed in each channel of the DMA controller, and the DMA transfer of the control data in each channel is performed in parallel by the multiple channel control. Transfer method.
【請求項8】 前記周辺デバイスデータ用スレーブ制御
部から前記中間バッファへ送信する周辺デバイスのステ
ータス情報は、制御データ部分以外に、各周辺デバイス
の制御データ変更要求部分を含んでおり、メインCPU
は、前記中間バッファ上で、前記ステータス情報から、
変更に必要な制御データ部分を選択抽出し、変更が必要
な部分のみを前記中間バッファから前記制御データ格納
メモリへDMA転送することを特徴とする請求項7に記
載のコンピュータにおける周辺デバイス制御データの転
送方法。
8. The peripheral device status information transmitted from the peripheral device data slave control unit to the intermediate buffer includes a control data change request portion of each peripheral device in addition to a control data portion, and a main CPU
On the intermediate buffer, from the status information,
8. The peripheral device control data in a computer according to claim 7, wherein the control data portion required for change is selectively extracted, and only the portion required for change is DMA-transferred from the intermediate buffer to the control data storage memory. Transfer method.
JP09760997A 1997-04-15 1997-04-15 Computer and method for transferring peripheral device control data in computer Expired - Fee Related JP3399776B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09760997A JP3399776B2 (en) 1997-04-15 1997-04-15 Computer and method for transferring peripheral device control data in computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09760997A JP3399776B2 (en) 1997-04-15 1997-04-15 Computer and method for transferring peripheral device control data in computer

Publications (2)

Publication Number Publication Date
JPH10289196A JPH10289196A (en) 1998-10-27
JP3399776B2 true JP3399776B2 (en) 2003-04-21

Family

ID=14196969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09760997A Expired - Fee Related JP3399776B2 (en) 1997-04-15 1997-04-15 Computer and method for transferring peripheral device control data in computer

Country Status (1)

Country Link
JP (1) JP3399776B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005327078A (en) * 2004-05-14 2005-11-24 Matsushita Electric Ind Co Ltd Register setting method and register setting device

Also Published As

Publication number Publication date
JPH10289196A (en) 1998-10-27

Similar Documents

Publication Publication Date Title
US6282598B1 (en) PCI bus system wherein target latency information are transmitted along with a retry request
JPH0217818B2 (en)
JP2591502B2 (en) Information processing system and its bus arbitration system
JP3399776B2 (en) Computer and method for transferring peripheral device control data in computer
CN109992560B (en) Communication method and communication system
JP3420114B2 (en) Data transfer method
JPH05282242A (en) Bus control system
JP2000155738A (en) Data processor
JP3356110B2 (en) Function expansion system and data transfer method used therefor
JP2705955B2 (en) Parallel information processing device
JP3817741B2 (en) Editing device
JPH09186836A (en) Digital copying machine
JP2638505B2 (en) Bus interface device
JP2984594B2 (en) Multi-cluster information processing system
JP2687716B2 (en) Information processing device
JP2001014270A (en) Data transfer method and device and their application system
JPH11122275A (en) Serial communication system
JP3045389B1 (en) Geometry engine and parallel drawing processing device having the same
JP2667285B2 (en) Interrupt control device
JP2594673B2 (en) Data processing method
JPH07334453A (en) Memory access system
JPH0511339B2 (en)
JPH10320352A (en) Bus master transfer system
JPH0113575B2 (en)
JPH02211571A (en) Information processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees