JPH04308954A - Dmac compatible processor - Google Patents

Dmac compatible processor

Info

Publication number
JPH04308954A
JPH04308954A JP9976691A JP9976691A JPH04308954A JP H04308954 A JPH04308954 A JP H04308954A JP 9976691 A JP9976691 A JP 9976691A JP 9976691 A JP9976691 A JP 9976691A JP H04308954 A JPH04308954 A JP H04308954A
Authority
JP
Japan
Prior art keywords
data
storage means
transfer
dma transfer
input
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
JP9976691A
Other languages
Japanese (ja)
Inventor
Junichi Kodama
順一 児玉
Hajime Nishidai
元 西台
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP9976691A priority Critical patent/JPH04308954A/en
Publication of JPH04308954A publication Critical patent/JPH04308954A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To provide a DMAC(direct memory access controller) processor having the same size, the number of pins, and the pin arrangement as those of the conventional DMAC, and having both a DMAC function and a data processing function (for example, fuzzy infrence arithmetic function). CONSTITUTION:This device is equipped with a fuzzy input and output register 32, and fuzzy inference part 31 in addition to a DMAC control part 21. The DMAC control part 21 inputs and outputs input data necessary for the fuzzy inference part 31, and output data indicating the inference result of the fuzzy inference part 31, by a DMA transfer, in addition to the normal DMA transfer.

Description

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

【0001】0001

【産業上の利用分野】この発明は,DMACコンパチブ
ル・プロセッサ,DMA転送装置,DMA機能付プロセ
ッサ,コンピュータ・システム,DMACコンパチブル
・ファジィ・プロセッサ,DMACコンパチブル・プロ
セッサの動作方法およびDMA転送方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DMAC compatible processor, a DMA transfer device, a processor with a DMA function, a computer system, a DMAC compatible fuzzy processor, a method of operating a DMAC compatible processor, and a DMA transfer method.

【0002】ここで,DMAは直接メモリ・アクセス(
Direct Memory Access) を意味
し,DMACは直接メモリ・アクセス・コントローラ(
Direct Memory Access Cont
roller )を意味する。
[0002] Here, DMA is a direct memory access (
Direct Memory Access), and DMAC stands for Direct Memory Access Controller (Direct Memory Access).
Direct Memory Access Cont.
roller).

【0003】0003

【従来の技術】1台または複数台のプロセッサを組込ん
だシステムにおいて,プロセッサはシステム上のアドレ
ス・バス,データ・バスおよびコントロール・バスに接
続されている。そしてプロセッサはこれらのバスに接続
された回路ディバイスから入力データを得,所定の処理
を実行して他のディバイスの制御,駆動等を行うことに
より,上記システムの所定の処理の実行が実現されてい
る。
2. Description of the Related Art In systems incorporating one or more processors, the processors are connected to an address bus, a data bus, and a control bus on the system. The processor then obtains input data from the circuit devices connected to these buses, executes predetermined processing, and controls and drives other devices, thereby realizing the execution of the predetermined processing of the system. There is.

【0004】0004

【発明が解決しようとする課題】このようなプロセッサ
を組込んだ従来のシステムにおいて,システム機能の拡
張または変更を行う場合には,新たなプロセッサの追加
等の回路の設計変更が必要となる。また新たに追加すべ
きプロセッサを装着する場所を基板上に得にいくという
問題点があった。
In a conventional system incorporating such a processor, when expanding or changing the system functions, it is necessary to change the design of the circuit, such as adding a new processor. There was also the problem of finding space on the board to mount a new processor.

【0005】一方,DMACは多くのコンピュータ・シ
ステムで幅広く利用されており,DMACを内蔵したコ
ンピュータ・システムの数は多い。
On the other hand, DMAC is widely used in many computer systems, and there are many computer systems incorporating DMAC.

【0006】この発明は,既存のシステムの回路を再設
計することなく,広く用いられているDMACを利用し
て簡単に新たなプロセッサを追加できるようにすること
を目的とする。
An object of the present invention is to make it possible to easily add a new processor using a widely used DMAC without redesigning the circuit of an existing system.

【0007】[0007]

【課題を解決するための手段】この発明は既存のDMA
Cと交換可能(コンパチブル)なプロセッサを提供する
ものであり,このプロセッサはDMACの機能と所定の
データ処理を行うプロセッサ本来の機能の両方をもって
いる。DMACコンパチブルとは既存のDMACと同じ
ピン配置を有していることを意味し,既存のDMACに
代えてこのDMACコンパチブル・プロセッサを接続す
ることが可能なものである。
[Means for Solving the Problems] The present invention
The present invention provides a processor that is compatible with C, and this processor has both the DMAC function and the original function of a processor to perform predetermined data processing. DMAC compatible means that it has the same pin arrangement as an existing DMAC, and this DMAC compatible processor can be connected in place of the existing DMAC.

【0008】この発明によるDMACコンパチブル・プ
ロセッサは,外部ディバイスからのDMA転送要求に応
答して,その外部ディバイスに対してあらかじめ定めら
れた動作モードに応じて,外部ディバイス間DMA転送
か,外部ディバイス内部記憶手段間DMA転送かを決定
する手段,外部ディバイス間DMA転送と決定されたと
きに,上記DMA転送要求をした外部ディバイスを含む
所要の2つの外部ディバイス間におけるデータの転送を
制御する第1のDMA転送制御手段,外部ディバイス内
部記憶手段間DMA転送と決定されたときに,上記DM
A転送要求をした外部ディバイスと内部記憶手段との間
のデータの転送を制御する第2のDMA転送制御手段,
および上記第2のDMA転送制御手段によるDMA転送
により上記内部記憶手段に蓄えられた入力データに所定
の処理を施して出力データを作成し,この出力データを
上記内部記憶手段に記憶する処理手段を備えている。
The DMAC compatible processor according to the present invention, in response to a DMA transfer request from an external device, performs either inter-external DMA transfer or internal DMA transfer according to a predetermined operation mode for the external device. means for determining whether the DMA transfer is between storage means, and a first means for controlling data transfer between two required external devices including the external device that has made the above-mentioned DMA transfer request when it is determined that the DMA transfer is between external devices; When it is determined that DMA transfer is to be performed between the DMA transfer control means and the internal storage means of the external device, the above DM
a second DMA transfer control means for controlling data transfer between the external device that made the A transfer request and the internal storage means;
and processing means for performing predetermined processing on the input data stored in the internal storage means through DMA transfer by the second DMA transfer control means to create output data, and storing this output data in the internal storage means. We are prepared.

【0009】上記外部ディバイス内部記憶手段間DMA
転送を制御する第2のDMA転送制御手段は好ましくは
,上記外部ディバイスから上記内部記憶手段への入力デ
ータのDMA転送を制御する第3の制御手段と,上記内
部記憶手段から上記外部ディバイスへの出力データのD
MA転送を制御する第4の制御手段とを備えている。
DMA between the external device and internal storage means
The second DMA transfer control means for controlling the transfer preferably includes a third control means for controlling the DMA transfer of input data from the external device to the internal storage means, and a third control means for controlling the DMA transfer of input data from the internal storage means to the external device. D of output data
and fourth control means for controlling MA transfer.

【0010】上記DMACコンパチブル・プロセッサは
,好ましくは,上記第3の制御手段による上記外部ディ
バイスから上記内部記憶手段への入力データのDMA転
送が終了したのち,上記処理手段にこの入力データの処
理を開始させる処理開始制御手段をさらに備えている。
[0010] Preferably, the DMAC compatible processor causes the processing means to process the input data after the third control means completes the DMA transfer of the input data from the external device to the internal storage means. The apparatus further includes processing start control means for starting the process.

【0011】上記処理手段が,入力データの処理を終了
したのち上記第4の制御手段に出力データの上記外部デ
ィバイスへのDMA転送を要求するようにすると,処理
により生成したデータの自動転送が可能となる。
[0011] When the processing means requests the fourth control means to DMA transfer the output data to the external device after completing the processing of the input data, the data generated by the processing can be automatically transferred. becomes.

【0012】または,上記DMACコンパチブル・プロ
セッサが,上記処理手段が入力データの処理を終了した
のち上記第4の制御手段に出力データの上記外部ディバ
イスへのDMA転送を要求することを許すかどうかを決
定する手段をさらに備える。
[0012] Alternatively, the DMAC compatible processor determines whether to permit the fourth control means to request DMA transfer of output data to the external device after the processing means has finished processing the input data. Further comprising means for determining.

【0013】上記DMACコンパチブル・プロセッサは
,この発明の一実施態様では,データ一時記憶手段をさ
らに備えており,上記第1のDMA転送制御手段は,外
部ディバイス間のDMA転送において,転送元外部ディ
バイスから読出されたデータをまず上記データ一時記憶
手段に一時記憶し,次に上記データ一時記憶手段に記憶
したデータを読出して転送先外部ディバイスに書込むよ
うに制御する。
[0013] In one embodiment of the present invention, the DMAC compatible processor further includes data temporary storage means, and the first DMA transfer control means controls the transfer source external device in DMA transfer between external devices. The data read from the data storage means is first temporarily stored in the data temporary storage means, and then the data stored in the data temporary storage means is controlled to be read and written to the transfer destination external device.

【0014】上記第1のDMA転送制御手段は,転送元
外部ディバイスから読出したデータを上記データ一時記
憶手段に記憶すると同時に上記内部記憶手段に記憶する
よう制御すると好ましい。
Preferably, the first DMA transfer control means controls the data read from the transfer source external device to be stored in the data temporary storage means and at the same time stored in the internal storage means.

【0015】この発明の一実施態様では上記DMACコ
ンパチブル・プロセッサは,ファジィ推論処理を行うD
MACコンパチブル・ファジィ・プロセッサである。
[0015] In one embodiment of the present invention, the DMAC compatible processor is a DMAC compatible processor that performs fuzzy inference processing.
It is a MAC compatible fuzzy processor.

【0016】この場合に上記処理手段は,上記第2のD
MA転送制御手段によるDMA転送により上記内部記憶
手段に蓄えられた入力データを用いて所定のファジィ推
論演算を行い,その結果を出力データとして上記内部記
憶手段に記憶するファジィ推論手段である。
[0016] In this case, the processing means
The fuzzy inference means performs a predetermined fuzzy inference operation using the input data stored in the internal storage means through DMA transfer by the MA transfer control means, and stores the result in the internal storage means as output data.

【0017】この発明はまたDMA転送装置を提供して
いる。このDMA転送装置は,データ一時記憶手段,内
部データ記憶手段,転送元ディバイスから読出されたデ
ータをまず上記データ一時記憶手段に記憶し,次に上記
データ一時記憶手段に記憶したデータを読出して転送先
ディバイスに書込むように制御する第1のDMA転送制
御手段,および転送元ディバイスから読出されたデータ
をまず上記データ一時記憶手段に記憶するとともに上記
内部データ記憶手段に記憶し,次に上記データ一時記憶
手段に記憶したデータを読出して転送先ディバイスに書
込むように制御する第2のDMA転送制御手段を備えて
いる。
The invention also provides a DMA transfer device. This DMA transfer device first stores data read from a temporary data storage means, an internal data storage means, and a transfer source device in the temporary data storage means, and then reads and transfers the data stored in the temporary data storage means. A first DMA transfer control means controls writing to the destination device, and data read from the transfer source device is first stored in the data temporary storage means and also stored in the internal data storage means, and then the data is stored in the internal data storage means. A second DMA transfer control means is provided for controlling the data stored in the temporary storage means to be read and written to the transfer destination device.

【0018】上記DMA転送装置はさらに,上記内部デ
ータ記憶手段に記憶されたデータに対する所定の処理を
行う処理手段を備えている。
The DMA transfer device further includes processing means for performing predetermined processing on the data stored in the internal data storage means.

【0019】この発明によるDMA転送装置は,データ
一時記憶手段,入力データ記憶手段,転送元ディバイス
から読出されたデータをまず上記データ一時記憶手段に
記憶し,次に上記データ一時記憶手段に記憶したデータ
を読出して転送先ディバイスに書込むように制御する第
1のDMA転送制御手段,および転送元ディバイスから
読出されたデータを上記入力データ記憶手段に記憶する
ように制御する第2のDMA転送制御手段を備えている
The DMA transfer device according to the present invention stores data read from a temporary data storage means, an input data storage means, and a transfer source device first in the temporary data storage means, and then stores it in the temporary data storage means. A first DMA transfer control means for controlling the reading of data and writing it to the transfer destination device, and a second DMA transfer control for controlling the data read from the transfer source device to be stored in the input data storage means. have the means.

【0020】上記DMA転送装置はさらに,上記入力デ
ータ記憶手段に記憶されたデータに対する所定の処理を
行う処理手段を備えている。
The DMA transfer device further includes processing means for performing predetermined processing on the data stored in the input data storage means.

【0021】この発明によるDMA転送装置は,データ
一時記憶手段,出力データ記憶手段,転送元ディバイス
から読出されたデータをまず上記データ一時記憶手段に
記憶し,次に上記データ一時記憶手段に記憶したデータ
を読出して転送先ディバイスに書込むように制御する第
1のDMA転送制御手段,および上記出力データ記憶手
段からデータを読出して転送先ディバイスに書込むよう
に制御する第2のDMA転送制御手段を備えている。
[0021] The DMA transfer device according to the present invention stores the data read from the temporary data storage means, the output data storage means, and the transfer source device first in the temporary data storage means, and then stores it in the temporary data storage means. A first DMA transfer control means for controlling the reading of data and writing to the transfer destination device, and a second DMA transfer control means for controlling the reading of data from the output data storage means and writing to the transfer destination device. It is equipped with

【0022】上記DMA転送装置はさらに,所定の処理
により得られるデータを上記出力データ記憶手段に書込
む処理手段を備えている。
The DMA transfer device further includes processing means for writing data obtained through predetermined processing into the output data storage means.

【0023】この発明はさらに,DMA機能付プロセッ
サを提供している。このDMA機能付プロセッサは,入
力データ記憶手段,上記入力データ記憶手段に記憶され
ている入力データに対して所定の処理を行う処理手段,
DMA転送のための制御信号の入出力用制御端子,デー
タ・バスに接続されるデータ端子およびアドレス・バス
に接続されるアドレス端子,ならびに上記制御端子,デ
ータ端子およびアドレス端子に接続され,上記制御端子
に入力する制御信号に応答して上記アドレス・バスに出
力されるアドレス信号により指定される転送元ディバイ
スから上記データ・バスを介してデータを取込み,この
データを上記入力データ記憶手段に書込むように制御す
る入力データDMA転送制御手段を備えている。
The present invention further provides a processor with DMA functionality. This processor with a DMA function includes an input data storage means, a processing means for performing predetermined processing on the input data stored in the input data storage means,
A control terminal for input/output of control signals for DMA transfer, a data terminal connected to a data bus, an address terminal connected to an address bus, and a terminal connected to the control terminal, data terminal, and address terminal, and connected to the control terminal Taking in data via the data bus from the transfer source device designated by the address signal output to the address bus in response to the control signal input to the terminal, and writing this data into the input data storage means. The input data DMA transfer control means is provided to control the input data DMA transfer.

【0024】この発明の一実施態様では上記DMA機能
付プロセッサはさらに,データ一時記憶手段と,上記制
御端子,データ端子およびアドレス端子に接続され,上
記アドレス・バスに出力されるアドレス信号により指定
される転送元ディバイスから上記データ・バスを介して
データを取込み,このデータを上記データ一時記憶手段
および上記入力データ記憶手段に記憶し,次に上記デー
タ一時記憶手段に記憶されたデータを,上記アドレス・
バスに出力されるアドレス信号により指定される転送先
ディバイスに上記データ・バスを介して転送して書込む
よう制御するディバイス間兼入力データDMA転送制御
手段とを備えている。
In one embodiment of the present invention, the processor with a DMA function further includes a temporary data storage means, and a device connected to the control terminal, the data terminal, and the address terminal, and specified by an address signal outputted to the address bus. The data is fetched from the transfer source device via the data bus, this data is stored in the temporary data storage means and the input data storage means, and then the data stored in the temporary data storage means is transferred to the above address.・
The device includes inter-device/input data DMA transfer control means for controlling transfer and writing via the data bus to a transfer destination device designated by an address signal output to the bus.

【0025】この発明によるDMA機能付プロセッサは
,出力データ記憶手段,所定の処理により得られる出力
データを上記出力データ記憶手段に記憶する処理手段,
DMA転送のための制御信号の入出力用制御端子,デー
タ・バスに接続されるデータ端子およびアドレス・バス
に接続されるアドレス端子,ならびに上記制御端子,デ
ータ端子およびアドレス端子に接続され,上記制御端子
に入力する制御信号に応答して,上記出力データ記憶手
段に記憶されている出力データを,上記アドレス・バス
に出力されるアドレス信号により指定される転送先ディ
バイスに上記データ・バスを介して転送して書込むよう
制御する出力データDMA転送制御手段を備えている。
A processor with a DMA function according to the present invention includes an output data storage means, a processing means for storing output data obtained by predetermined processing in the output data storage means,
A control terminal for input/output of control signals for DMA transfer, a data terminal connected to a data bus, an address terminal connected to an address bus, and a terminal connected to the control terminal, data terminal, and address terminal, and connected to the control terminal In response to a control signal input to the terminal, the output data stored in the output data storage means is transferred via the data bus to a destination device designated by an address signal output to the address bus. It is provided with output data DMA transfer control means for controlling transfer and writing.

【0026】上記DMA機能付プロセッサはさらに,上
記制御端子,データ端子およびアドレス端子に接続され
,上記制御端子に入力する制御信号に応答して,上記ア
ドレス・バスに出力されるアドレス信号により指定され
る転送元ディバイスから転送先ディバイスにデータを転
送するよう制御するディバイス間DMA転送制御手段を
備えている。
The processor with a DMA function is further connected to the control terminal, the data terminal, and the address terminal, and is specified by an address signal output to the address bus in response to a control signal input to the control terminal. The device includes inter-device DMA transfer control means for controlling data transfer from a transfer source device to a transfer destination device.

【0027】この発明によるDMA機能付プロセッサは
,データ一時記憶手段,入力データ記憶手段,上記入力
データ記憶手段に記憶されている入力データに対して所
定の処理を行う処理手段,DMA転送のための制御信号
の入出力用制御端子,データ・バスに接続されるデータ
端子およびアドレス・バスに接続されるアドレス端子,
ならびに上記制御端子,データ端子およびアドレス端子
に接続され,上記アドレス・バスに出力されるアドレス
信号により指定される転送元ディバイスから上記データ
・バスを介してデータを取込み,このデータを上記デー
タ一時記憶手段および上記入力データ記憶手段に記憶し
,次に上記データ一時記憶手段に記憶されたデータを,
上記アドレス・バスに出力されるアドレス信号により指
定される転送先ディバイスに上記データ・バスを介して
転送して書込むよう制御するディバイス間兼入力データ
DMA転送制御手段を備えている。
The processor with a DMA function according to the present invention includes a data temporary storage means, an input data storage means, a processing means for performing predetermined processing on the input data stored in the input data storage means, and a DMA transfer means. Control terminals for input/output of control signals, data terminals connected to the data bus, and address terminals connected to the address bus.
Also, data is connected to the control terminal, data terminal, and address terminal, and data is fetched from the transfer source device specified by the address signal output to the address bus via the data bus, and this data is temporarily stored in the data temporary storage. and the input data storage means, and then the data stored in the data temporary storage means,
An inter-device/input data DMA transfer control means is provided for controlling transfer and writing via the data bus to a transfer destination device designated by an address signal output to the address bus.

【0028】この発明はコンピュータ・システムを提供
している。このコンピュータ・システムは,アドレス・
バス,データ・バスおよびコントロール・バスにより相
互に接続されたCPU,メモリを含む入出力ディバイス
,およびDMACプロセッサから構成される。
The present invention provides a computer system. This computer system has an address
It consists of a CPU, input/output devices including memory, and a DMAC processor interconnected by a bus, a data bus, and a control bus.

【0029】上記DMACプロセッサは,内部記憶手段
,上記入出力ディバイスからのDMA転送要求に応答し
て上記CPUのバス占有許可の下に,上記DMA転送要
求をした入出力ディバイスを含む所要の2つの入出力デ
ィバイス間におけるデータの転送を制御する第1のDM
A転送制御手段,上記入出力ディバイスからのDMA転
送要求に応答して上記CPUのバス占有許可の下に,上
記DMA転送要求をした入出力ディバイスと上記内部記
憶手段との間のデータの転送を制御する第2のDMA転
送制御手段,および上記第2のDMA転送制御手段によ
るDMA転送により上記内部記憶手段に蓄えられた入力
データに所定の処理を施して出力データを作成し,この
出力データを上記内部記憶手段に記憶する処理手段を備
えている。
The DMAC processor has an internal storage means, in response to a DMA transfer request from the input/output device, and with bus occupancy permission from the CPU, stores two required input/output devices including the input/output device that made the DMA transfer request. A first DM that controls data transfer between input and output devices
A transfer control means, in response to a DMA transfer request from the input/output device, transfers data between the input/output device that made the DMA transfer request and the internal storage means with bus occupancy permission from the CPU. A second DMA transfer control means to control and input data stored in the internal storage means through DMA transfer by the second DMA transfer control means are subjected to predetermined processing to create output data, and this output data is A processing means for storing data in the internal storage means is provided.

【0030】この発明によるDMACコンパチブル・プ
ロセッサは,与えられた入力データに対して所定の処理
を施して出力データを生成する処理手段,上記入力デー
タを外部ディバイスからDMA転送により取込みかつ上
記出力データをDMA転送により外部ディバイスに出力
する第1のDMA転送手段,および2つの外部ディバイ
ス間のデータのDMA転送を行う第2のDMA転送手段
を備えている。
The DMAC compatible processor according to the present invention includes a processing means that performs predetermined processing on input data to generate output data, takes in the input data from an external device by DMA transfer, and processes the output data. The device includes a first DMA transfer means for outputting data to an external device by DMA transfer, and a second DMA transfer means for performing DMA transfer of data between two external devices.

【0031】この発明の一実施態様では,上記処理手段
はファジィ推論処理手段であり,ルールおよびメンバー
シップ関数を表わすデータを記憶する第1の記憶手段と
,上記入,出力データを記憶する第2の記憶手段と,上
記第1記憶手段に記憶されているルールおよびメンバー
シップ関数にしたがって上記第2の記憶手段に記憶され
ている入力データを用いてファジィ推論演算処理を行う
演算手段とを備えている。
In one embodiment of the present invention, the processing means is a fuzzy inference processing means, and includes a first storage means for storing data representing rules and membership functions, and a second storage means for storing the input and output data. storage means, and calculation means for performing fuzzy inference calculation processing using the input data stored in the second storage means according to the rules and membership functions stored in the first storage means. There is.

【0032】上記処理手段,第1および第2のDMA転
送手段は好ましくは1チップ上に形成されている。
The processing means and the first and second DMA transfer means are preferably formed on one chip.

【0033】上記DMACコンパチブル・プロセッサは
,既存のDMACとコンパチブルなピン配置を有してい
る。
The DMAC compatible processor has a pin arrangement compatible with existing DMACs.

【0034】この発明はさらにDMACコンパチブル・
プロセッサの動作方法を提供している。
[0034] This invention further provides a DMAC compatible
Provides instructions on how the processor operates.

【0035】この動作方法は,入出力ディバイスからの
DMA転送要求に応答して,その入出力ディバイスに対
してあらかじめ定められた動作モードに応じて,入出力
ディバイス間DMA転送か,入出力ディバイス内部記憶
手段間DMA転送かを決定し,入出力ディバイス間DM
A転送と決定したときには,上記DMA転送要求をした
入出力ディバイスを含む所要の2つの入出力ディバイス
間におけるデータのDMA転送を行い,入出力ディバイ
ス内部記憶手段間DMA転送と決定したときには,上記
DMA転送要求をした入出力ディバイスと内部記憶手段
との間のデータのDMA転送を行うものである。
[0035] In this operating method, in response to a DMA transfer request from an input/output device, the DMA transfer is performed between the input/output devices or within the input/output device, depending on the predetermined operation mode for the input/output device. Decide whether to perform DMA transfer between storage means, and perform DM between input and output devices.
When A transfer is determined, data is transferred by DMA between two required input/output devices including the input/output device that made the above DMA transfer request, and when it is determined to be DMA transfer between internal storage means of input/output devices, the above DMA transfer is performed. It performs DMA transfer of data between the input/output device that has requested the transfer and the internal storage means.

【0036】好ましくは,上記入出力ディバイス内部記
憶手段間DMA転送は,上記入出力ディバイスから上記
内部記憶手段への入力データのDMA転送と,上記内部
記憶手段から上記入出力ディバイスへの出力データのD
MA転送とを含む。
Preferably, the DMA transfer between the internal storage means of the input/output device includes DMA transfer of input data from the input/output device to the internal storage means and output data from the internal storage means to the input/output device. D
This includes MA transfer.

【0037】この発明の一実施態様では,上記入出力デ
ィバイスから上記内部記憶手段への入力データのDMA
転送が終了したのち,処理手段にこの入力データの処理
を開始させる。
In one embodiment of the present invention, DMA of input data from the input/output device to the internal storage means is provided.
After the transfer is completed, the processing means is caused to start processing this input data.

【0038】他の実施態様では,上記処理手段が入力デ
ータの処理を終了したときに出力データの上記入出力デ
ィバイスへのDMA転送を要求する。
In another embodiment, when the processing means finishes processing the input data, it requests DMA transfer of the output data to the input/output device.

【0039】さらに他の実施態様では,上記処理手段が
入力データの処理を終了したときに,あらかじめ定めら
れた動作モードに応じて出力データの上記入出力ディバ
イスへのDMA転送を要求することを許すかどうかを決
定する。
[0039] In yet another embodiment, when the processing means finishes processing the input data, it is allowed to request DMA transfer of output data to the input/output device according to a predetermined operating mode. Decide whether or not.

【0040】この発明のさらに他の実施態様では,入出
力ディバイス間のDMA転送において,転送元入出力デ
ィバイスから読出されたデータをまずデータ一時記憶手
段に一時記憶し,次に上記データ一時記憶手段に記憶し
たデータを読出して転送先入出力ディバイスに書込むよ
うに制御する。
In still another embodiment of the present invention, in DMA transfer between input/output devices, data read from the source input/output device is first temporarily stored in the data temporary storage means, and then the data is temporarily stored in the data temporary storage means. control to read the data stored in the transfer destination input/output device and write it to the transfer destination input/output device.

【0041】転送元入出力ディバイスから読出したデー
タを上記データ一時記憶手段に記憶すると同時に上記内
部記憶手段に記憶するよう制御することにより入力デー
タのDMACコンパチブル・プロセッサへの入力がディ
バイス間DMA転送と同時に行える。
By controlling the data read from the transfer source input/output device to be stored in the data temporary storage means and simultaneously stored in the internal storage means, the input of input data to the DMAC compatible processor is performed as inter-device DMA transfer. Can be done at the same time.

【0042】上記入出力ディバイスからDMA転送要求
があった場合に,入出力ディバイス内部記憶手段間DM
A転送と決定したときには,処理手段が処理動作実行中
かどうかを判定し,処理動作実行中であればその終了を
待ってDMA転送を行うことが好ましい。
[0042] When there is a DMA transfer request from the input/output device, the DM between the input/output device internal storage means is
When the A transfer is determined, it is preferable that the processing means determines whether or not the processing operation is being executed, and if the processing operation is in progress, it is preferable to wait for the completion of the processing operation before performing the DMA transfer.

【0043】上記処理手段はたとえばファジィ推論処理
手段である。
[0043] The processing means is, for example, a fuzzy inference processing means.

【0044】この発明はさらにDMA転送方法を提供し
ている。このDMA転送方法は,データ一時記憶手段,
内部データ記憶手段,および上記内部データ記憶手段に
記憶されたデータに対する所定の処理を行う処理手段を
備えた装置において,転送元ディバイスから読出された
データをまず上記データ一時記憶手段に記憶するととも
に上記内部データ記憶手段に記憶し,次に上記データ一
時記憶手段に記憶したデータを読出して転送先ディバイ
スに書込むものである。
The present invention further provides a DMA transfer method. This DMA transfer method includes data temporary storage means,
In an apparatus comprising an internal data storage means and a processing means for performing predetermined processing on the data stored in the internal data storage means, the data read from the transfer source device is first stored in the data temporary storage means, and the data is stored in the data storage means. The data is stored in the internal data storage means, and then the data stored in the temporary data storage means is read and written to the transfer destination device.

【0045】[0045]

【作用】この発明においては,通常の入出力ディバイス
間DMA転送に加えて,プロセッサ内部への入力データ
の取込みおよびプロセッサからの出力データの送出もD
MA転送により行われる。また,プロセッサは取込んだ
入力データに対して所定の処理をして出力データを生成
する。
[Operation] In addition to normal DMA transfer between input/output devices, this invention also allows input data to be taken into the processor and output data to be sent from the processor.
This is done by MA transfer. Further, the processor performs predetermined processing on the input data that has been taken in to generate output data.

【0046】さらに,入出力ディバイス間DMA転送と
同時に入力データのプロセッサ内部への取込みが行われ
る。
Furthermore, input data is taken into the processor at the same time as the DMA transfer between input and output devices.

【0047】この発明によるプロセッサには,既存のD
MACと全く同じピン配置をもたせることができる。す
なわち,DMACとピン・コンパチブルの構成とするこ
とができる。
[0047] The processor according to the present invention uses the existing D
It can have exactly the same pin arrangement as the MAC. In other words, it can be configured to be pin compatible with DMAC.

【0048】[0048]

【発明の効果】この発明によるプロセッサは既存のDM
ACと全く同じサイズ,ピン数,ピン配置とすることが
できる。したがって,既存のシステムの回路基板上にあ
るDMACソケットにこの発明によるプロセッサを装着
することが可能となる。これにより既存の回路の設計変
更をすることなく,ディバイスの差替えと,必要ならば
CPUのための若干のソフトウェアの追加または変更だ
けで,システムの機能拡張と機能追加が可能となる。C
PUはこの発明によるプロセッサを既存のDMACと同
じように取扱うことができる。
[Effects of the Invention] The processor according to the present invention
It can have exactly the same size, number of pins, and pin arrangement as AC. Therefore, it is possible to install the processor according to the present invention into a DMAC socket on the circuit board of an existing system. This makes it possible to expand and add functionality to the system by simply replacing devices and, if necessary, adding or changing some software for the CPU, without changing the design of existing circuits. C
The PU can handle the processor according to the present invention in the same way as an existing DMAC.

【0049】さらに,入出力ディバイス間DMA転送と
同時に入力データがプロセッサに取込まれるので,高速
のデータ転送を実現できる。
Furthermore, since the input data is taken into the processor at the same time as the DMA transfer between input/output devices, high-speed data transfer can be realized.

【0050】[0050]

【実施例】図1はコンピュータ・システム全体の構成の
概要を示すものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an overview of the overall configuration of a computer system.

【0051】コンピュータ・システムは,CPU(ホス
トCPUまたはMPU:MPU=マイクロプロセッサ)
10,複数個の入出力装置(以下,単にI/Oという)
11,12,一または複数個のメモリ13,およびDM
ACコンパチブル・ファジィ・プロセッサ(以下,単に
DMACファジィ・プロセッサという)20から構成さ
れている。I/OはI/O1とI/O2の2個が示され
ている。メモリ13は一個のみ図示されている。
[0051] A computer system has a CPU (host CPU or MPU: MPU = microprocessor).
10. Multiple input/output devices (hereinafter simply referred to as I/O)
11, 12, one or more memories 13, and DM
It consists of an AC compatible fuzzy processor (hereinafter simply referred to as DMAC fuzzy processor) 20. Two I/Os, I/O1 and I/O2, are shown. Only one memory 13 is shown.

【0052】DMACファジィ・プロセッサは公知のD
MACと全く同じサイズ,ピン数およびピン配置を有し
ている。したがってDMACファジィ・プロセッサは既
存のコンピュータ・システムに内蔵されているDMAC
と置代えることができる。すなわち,既存のコンピュー
タ・システムにおけるDMACをそのソケットから抜取
り,このDMACファジィ・プロセッサをそのソケット
に差込んで使用することが可能である。DMACファジ
ィ・プロセッサは,CPU,I/Oおよびメモリに対し
て既存のDMACと全く同じように接続される。
The DMAC fuzzy processor is a well-known DMAC fuzzy processor.
It has exactly the same size, number of pins, and pin arrangement as a MAC. Therefore, the DMAC fuzzy processor is a DMAC that is built into existing computer systems.
It can be replaced with That is, it is possible to use the DMAC in an existing computer system by removing it from its socket and inserting this DMAC fuzzy processor into the socket. The DMAC fuzzy processor is connected to the CPU, I/O, and memory just like existing DMACs.

【0053】後に詳述するように,DMACファジィ・
プロセッサ20は,既存のDMACと全く同じ機能,フ
ァジィ推論演算処理を行う機能,ならびにファジィ推論
のための入力データおよびファジィ推論により得られた
出力データをI/Oまたはメモリとの間でDMA転送す
る機能をもっている。
As detailed later, the DMAC fuzzy
The processor 20 has exactly the same functions as an existing DMAC, a function to perform fuzzy inference calculation processing, and DMA transfer of input data for fuzzy inference and output data obtained by fuzzy inference to/from I/O or memory. It has a function.

【0054】DMACファジィ・プロセッサ20は任意
のDMACとピン・コンパチビリティをもたせることが
できる。既存のDMACの一例としてHD68450 
のピン配置が図2に示されている。
DMAC fuzzy processor 20 can be made pin compatible with any DMAC. HD68450 as an example of existing DMAC
The pin arrangement of is shown in FIG.

【0055】このDMACは多くのコントロール信号端
子,アドレス信号端子およびデータ信号端子を備えてい
る。これらの信号端子は既知であるから特別の説明を要
しないが,DMA転送処理に必要な基本的な端子につい
て簡単に述べておく。
This DMAC has many control signal terminals, address signal terminals, and data signal terminals. Since these signal terminals are known, no special explanation is required, but the basic terminals required for DMA transfer processing will be briefly described.

【0056】このDMACは4個のチャネルをもってい
る。すなわち4対のI/O,メモリ間でDMA転送が可
能である。
[0056] This DMAC has four channels. That is, DMA transfer is possible between four pairs of I/O and memory.

【0057】一般に信号を示す記号の上にバーを加入す
ることにより信号の反転を表わすが,この明細書では記
号の前に*を付すことにより信号の反転を表わす。
Generally, the inversion of a signal is indicated by adding a bar above the symbol indicating the signal, but in this specification, the inversion of the signal is indicated by adding an * in front of the symbol.

【0058】端子*REQ0 〜*REQ3 は各チャ
ネルごとのI/OからのDMA転送要求の入力端子であ
る。
Terminals *REQ0 to *REQ3 are input terminals for DMA transfer requests from I/O for each channel.

【0059】端子*ACK0 〜*ACK3 はこの転
送要求をしたI/Oに対してDMA転送要求が認められ
た旨を示す信号の出力端子である。
Terminals *ACK0 to *ACK3 are output terminals for a signal indicating that the DMA transfer request has been accepted for the I/O that made the transfer request.

【0060】端子*BRはこのDMACがCPUに対し
てバス占有権を要求することを示す信号の出力端子であ
る。
Terminal *BR is an output terminal for a signal indicating that this DMAC requests bus occupancy from the CPU.

【0061】端子*BGはCPUがバス占有権をこのD
MACに与えることを示す信号の入力端子である。
[0061] The terminal *BG is used by the CPU to take possession of the bus.
This is an input terminal for a signal indicating that it is to be applied to the MAC.

【0062】端子*DTCはDMA転送が正常に終了し
たことをI/Oに知らせる信号の出力端子である。
The terminal *DTC is an output terminal for a signal that notifies the I/O that the DMA transfer has completed normally.

【0063】端子*DTACKは,主に,DMA転送が
正常に終了したことをCPUに知らせる信号の出力端子
である。
The terminal *DTACK is mainly an output terminal for a signal that notifies the CPU that the DMA transfer has ended normally.

【0064】その他,R/*Wはリード/ライト信号の
出力端子,*CSはこのDMACのチップ・セレクト信
号の入力端子である。電源端子VCC,接地端子VSS
もコントロール信号端子やアドレスまたはデータ信号端
子にまじって配置されている。
In addition, R/*W is an output terminal for a read/write signal, and *CS is an input terminal for a chip select signal of this DMAC. Power supply terminal VCC, ground terminal VSS
are also arranged mixed with control signal terminals and address or data signal terminals.

【0065】このDMACは,シングル・アドレッシン
グ・モードとデュアル・アドレッシング・モードとをも
つが,その詳細は後述する。アドレス信号とデータ信号
とに共用される端子A8 /D0 〜A23/D15は
,シングル・アドレッシング・モードではアドレス端子
として,デュアル・アドレッシング・モードでは時分割
で切替えてアドレス端子またはデータ端子として用いら
れる。
This DMAC has a single addressing mode and a dual addressing mode, the details of which will be described later. Terminals A8/D0 to A23/D15, which are commonly used for address signals and data signals, are used as address terminals in the single addressing mode, and as address terminals or data terminals in a time-divisionally switched manner in the dual addressing mode.

【0066】図3はDMACファジィ・プロセッサ20
の構成の概要を示すものである。
FIG. 3 shows the DMAC fuzzy processor 20
This shows an overview of the configuration.

【0067】DMACファジィ・プロセッサは,基本的
にはDMAC制御部21とファジィ推論部31とから構
成される。図3には,その他に,説明の便宜のために必
要なレジスタ,カウンタ等が特別に抜出されて示されて
いる。
The DMAC fuzzy processor basically consists of a DMAC control section 21 and a fuzzy inference section 31. In addition, necessary registers, counters, etc. are specifically extracted and shown in FIG. 3 for the convenience of explanation.

【0068】DMAC制御部21には,データ一時記憶
バッファ22,転送語数カウンタ23,各チャネルごと
に設けられたレジスタ群24が付随している。各チャネ
ルのレジスタ群24には,転送元アドレス・レジスタ,
転送先アドレス・レジスタ,転送語数レジスタ,動作モ
ード・レジスタ等が含まれている。
The DMAC control section 21 is accompanied by a data temporary storage buffer 22, a transfer word counter 23, and a register group 24 provided for each channel. The register group 24 of each channel includes a transfer source address register,
Contains the transfer destination address register, transfer word count register, operation mode register, etc.

【0069】ファジィ推論部31には入力データ・レジ
スタ(入力レジスタ)および出力データ・レジスタ(出
力レジスタ)(これらをまとめてファジィ入出力レジス
タという)32が付随している。ファジィ推論部31は
,ファジィ推論のためのルールおよびメンバーシップ関
数を表わすデータを記憶するメモリ,このルールにした
がってメンバーシップ関数とファジィ入出力レジスタ3
2の入力レジスタの入力データとを用いてファジィ推論
演算を実行する演算部,および上記メモリからのデータ
のリード/ライト,演算部の動作等を制御する制御部か
ら構成される。ファジィ推論演算結果を表わす出力デー
タはファジィ入出力レジスタ32の出力レジスタに格納
される。ルールおよびメンバーシップ関数を表わすデー
タはあらかじめPROM等に書込まれていてもよいし,
DMA転送によりファジィ推論部31のメモリに書込む
ようにしてもよい。
The fuzzy inference section 31 is accompanied by an input data register (input register) and an output data register (output register) (collectively referred to as fuzzy input/output registers) 32. The fuzzy inference unit 31 includes a memory for storing data representing rules and membership functions for fuzzy inference, and a fuzzy inference function and fuzzy input/output register 3 according to the rules.
It is comprised of an arithmetic section that executes fuzzy inference operations using the input data of the input register No. 2, and a control section that controls read/write of data from the memory, operations of the arithmetic section, etc. Output data representing the fuzzy inference operation result is stored in the output register of the fuzzy input/output register 32. Data representing rules and membership functions may be written in advance in PROM etc.
The data may be written into the memory of the fuzzy inference unit 31 by DMA transfer.

【0070】DMAC制御部21からファジィ推論部3
1にはファジィ推論スタート信号が与えられる。ファジ
ィ推論部31からDMAC制御部21には,ファジィ推
論中であることを示す信号(ビジィ信号)およびファジ
ィ推論結果を表わす出力データをDMA転送により出力
することを要求する自動出力要求信号が与えられる。
From the DMAC control unit 21 to the fuzzy inference unit 3
1 is given a fuzzy inference start signal. A signal indicating that fuzzy inference is in progress (busy signal) and an automatic output request signal requesting output data representing the fuzzy inference result by DMA transfer are given from the fuzzy inference unit 31 to the DMAC control unit 21. .

【0071】上述したようにこのDMACファジィ・プ
ロセッサ20はアドレス・バス,コントロール・バス,
およびデータ・バスによりI/O11,12,メモリ1
3,CPU10等と接続されている。図3においては特
にDMA転送要求信号が抜出されて*REQとして示さ
れている。 これらのバスは図2に示すような対応する端子と接続さ
れるのはいうまでもない。
As mentioned above, this DMAC fuzzy processor 20 has an address bus, a control bus,
and data bus for I/O11, 12, memory 1
3. Connected to the CPU 10, etc. In FIG. 3, the DMA transfer request signal is particularly extracted and shown as *REQ. Needless to say, these buses are connected to corresponding terminals as shown in FIG.

【0072】DMACファジィ・プロセッサ20の内部
も図3に図示されているようにデータ・バスや各種コン
トロール信号により相互に接続されている。とくに,デ
ータ一時記憶バッファ22およびファジィ入出力レジス
タ32はデータ・バスを通して外部と接続されている。
The internal parts of the DMAC fuzzy processor 20 are also interconnected by data buses and various control signals, as shown in FIG. In particular, the data temporary storage buffer 22 and the fuzzy input/output register 32 are connected to the outside through a data bus.

【0073】図4(A) および(B) は転送語数レ
ジスタおよび動作モード・レジスタの例を示すものであ
る。これらのレジスタは上述したようにチャネルごとの
レジスタ群24にそれぞれ含まれている。
FIGS. 4A and 4B show examples of the transfer word count register and operation mode register. These registers are included in the register group 24 for each channel, as described above.

【0074】図4(A) において転送語数レジスタに
は,DMA転送によって転送される語数(バイト数)が
あらかじめ格納されている。
In FIG. 4A, the number of words (number of bytes) to be transferred by DMA transfer is stored in advance in the transfer word number register.

【0075】図4(B) において,動作モード・レジ
スタの下位3ビットB0〜B2が動作モードを表わして
いる。
In FIG. 4B, the lower three bits B0 to B2 of the operation mode register represent the operation mode.

【0076】B1B0=00は通常のDMA転送,すな
わちI/Oからメモリへのもしくはこの逆の,またはI
/OからI/OへのデータのDMA転送の動作モードを
表わす(DMA転送モード)。
B1B0=00 is a normal DMA transfer, ie from I/O to memory or vice versa,
Represents the operation mode of DMA transfer of data from /O to I/O (DMA transfer mode).

【0077】B1B0=01は,I/Oからメモリ等へ
のデータの通常のDMA転送を行うとともに,この転送
されるデータを入力データとして同時にファジィ入出力
レジスタ32の入力レジスタにDMA転送する動作モー
ドを表わす(DMA転送+ファジィ入力モード)。
B1B0=01 is an operation mode in which normal DMA transfer of data from I/O to memory, etc. is performed, and the transferred data is simultaneously DMA transferred to the input register of the fuzzy input/output register 32 as input data. (DMA transfer + fuzzy input mode).

【0078】B1B0=10は,I/Oまたはメモリか
らファジィ入出力レジスタ32の入力レジスタに入力デ
ータをDMA転送する動作モードを表わす(ファジィ入
力モード)。
B1B0=10 represents an operation mode in which input data is DMA transferred from I/O or memory to the input register of the fuzzy input/output register 32 (fuzzy input mode).

【0079】B1B0=11は,ファジィ入出力レジス
タ32の出力レジスタから推論結果を表わす出力データ
をI/OまたはメモリにDMA転送する動作モードを表
わす(ファジィ出力モード)。
B1B0=11 represents an operation mode in which output data representing the inference result from the output register of the fuzzy input/output register 32 is transferred by DMA to I/O or memory (fuzzy output mode).

【0080】B2はファジィ推論演算の終了後ただちに
,そのファジィ推論演算により得られた出力データをD
MA転送により出力する動作に移る(これを自動出力起
動という)かどうかを表わすものである。B2=0は自
動出力起動をしないことを,B2=1は自動出力起動す
ることをそれぞれ示す。
Immediately after the fuzzy inference operation is completed, B2 sends the output data obtained by the fuzzy inference operation to D.
This indicates whether or not to proceed to the operation of outputting by MA transfer (this is called automatic output activation). B2=0 indicates that automatic output is not activated, and B2=1 indicates that automatic output is activated.

【0081】このような動作モードは,このコンピュー
タ・システムのユーザによって決定され,動作モードを
表わすデータB0〜B2があらかじめ各チャネルごとに
動作モード・レジスタに書込まれる。
Such an operating mode is determined by the user of this computer system, and data B0-B2 representing the operating mode is written in advance to the operating mode register for each channel.

【0082】図1に*REQ1,*REQ2のように,
DMA転送要求信号のラインのみを特別に抜出して示す
ように,各I/Oにはあらかじめチャネルが割当てられ
ている。そして,チャネルごとに動作モードが定まって
いる。
[0082] In Figure 1, as *REQ1 and *REQ2,
As shown by specifically extracting only the DMA transfer request signal line, each I/O is assigned a channel in advance. The operating mode is determined for each channel.

【0083】図5はDMACファジィ・プロセッサ20
におけるDMAC制御部21の全体的な処理手順を示し
ている。この処理はもちろん通常のDMACのように論
理回路,マイクロ・コードにしたがって動作するプロセ
ッサまたはCPUによって実現可能である。
FIG. 5 shows the DMAC fuzzy processor 20
The overall processing procedure of the DMAC control unit 21 in FIG. This processing can of course be realized by a processor or CPU operating according to a logic circuit, microcode, like a normal DMAC.

【0084】待機しているときに(ステップ101 )
,いずれかのI/OからDMA転送要求信号*REQi
 が入力すると(ステップ102),そのI/Oに割当
てられたチャネルiのレジスタ群24の中の動作モード
・レジスタが選択され,その動作モード・レジスタに格
納されている動作モード・データのうちの下位2ビット
B1B0が取込まれ,このデータB1B0が上述した4
種類の動作モードのどれを指定しているかが判別される
(ステップ103 )。
[0084] While waiting (step 101)
, DMA transfer request signal *REQi from any I/O
is input (step 102), the operation mode register in the register group 24 of channel i assigned to that I/O is selected, and the operation mode data of the operation mode data stored in the operation mode register is selected. The lower 2 bits B1B0 are taken in, and this data B1B0 becomes the 4 mentioned above.
It is determined which of the types of operation modes is specified (step 103).

【0085】DMA転送モードが指定されている場合に
は(B1B0=00),後述する図6に示す手順にした
がう通常のDMA転送動作が行われる(ステップ104
 )。
If the DMA transfer mode is specified (B1B0=00), a normal DMA transfer operation is performed according to the procedure shown in FIG. 6, which will be described later.
).

【0086】DMA転送+ファジィ入力モードが指定さ
れている場合には(B1B0=01),ファジィ推論部
31がファジィ推論実行中かどうかがチェックされる(
ステップ105 )。後述することから分るように,フ
ァジィ推論部31はファジィ推論実行中はファジィ推論
中信号を出力している。このファジィ推論中信号はDM
AC制御部21に与えられているので,DMAC制御部
21はこのファジィ推論中信号によってファジィ推論部
31がファジィ推論実行中かどうかが分る。ファジィ推
論部31がファジィ推論実行中であればDMAC制御部
21はファジィ推論が終了するまで待つことになる。
When the DMA transfer + fuzzy input mode is specified (B1B0=01), it is checked whether the fuzzy inference unit 31 is executing fuzzy inference (
Step 105). As will be understood from what will be described later, the fuzzy inference section 31 outputs a fuzzy inference in progress signal while fuzzy inference is being executed. This fuzzy inference signal is DM
Since the fuzzy inference signal is given to the AC control unit 21, the DMAC control unit 21 can determine whether the fuzzy inference unit 31 is executing fuzzy inference based on this fuzzy inference in progress signal. If the fuzzy inference section 31 is executing fuzzy inference, the DMAC control section 21 will wait until the fuzzy inference is completed.

【0087】ファジィ推論部31がファジィ推論中でな
ければ,またはファジィ推論処理を終了すると,後述す
る図7に示すDMA転送が行われる(ステップ106 
)。このDMA転送によって入力データがファジィ入出
力レジスタ32内の入力レジスタに蓄えられるので,フ
ァジィ推論部31に後述する図10に示すファジィ推論
処理を開始させるために,DMAC制御部21からファ
ジィ推論スタート信号か出力されファジィ推論部31に
与えられる(ステップ107 )。
[0087] If the fuzzy inference unit 31 is not in the process of fuzzy inference, or if the fuzzy inference processing is completed, the DMA transfer shown in FIG. 7, which will be described later, is performed (step 106).
). Since the input data is stored in the input register in the fuzzy input/output register 32 by this DMA transfer, a fuzzy inference start signal is sent from the DMAC control unit 21 in order to cause the fuzzy inference unit 31 to start fuzzy inference processing shown in FIG. 10, which will be described later. is outputted and given to the fuzzy inference section 31 (step 107).

【0088】ファジィ入力モードが指定されている場合
には(B1B0=10),同じようにファジィ推論部3
1がファジィ推論実行中かどうかがチェックされる(ス
テップ108 )。そして,ファジィ推論部31がファ
ジィ推論実行中でないか,またはファジィ推論が終了す
ると,後述する図8に示すDMA転送動作によって,D
MA転送要求を出したI/Oからデータがファジィ入出
力レジスタ32内の入力レジスタに転送され,かつ記憶
される(ステップ109 )。この後,この入力された
入力データを用いてファジィ推論部31におけるファジ
ィ推論が開始される(ステップ110 )。
When the fuzzy input mode is specified (B1B0=10), the fuzzy inference unit 3
1 is currently executing fuzzy inference (step 108). Then, if the fuzzy inference unit 31 is not executing fuzzy inference or if fuzzy inference is completed, D
Data is transferred from the I/O that issued the MA transfer request to an input register in the fuzzy input/output register 32 and stored (step 109). Thereafter, fuzzy inference is started in the fuzzy inference section 31 using this input data (step 110).

【0089】ファジィ出力モードが指定されている場合
には(B1B0=11),同じようにファジィ推論部3
1がファジィ推論実行中かどうかがチェックされる(ス
テップ111 )。ファジィ推論部31がファジィ推論
実行中でないか,またはファジィ推論が終了すると,こ
のファジィ推論によって得られかつファジィ入出力レジ
スタ32内の出力レジスタに格納されている出力データ
が,後述する図9に示すDMA転送によって,DMA転
送要求を出したI/Oに転送される。
When the fuzzy output mode is specified (B1B0=11), the fuzzy inference unit 3
1 is currently executing fuzzy inference (step 111). If the fuzzy inference unit 31 is not executing fuzzy inference or if the fuzzy inference is completed, the output data obtained by this fuzzy inference and stored in the output register in the fuzzy input/output register 32 is shown in FIG. 9, which will be described later. By DMA transfer, the data is transferred to the I/O that issued the DMA transfer request.

【0090】DMAC制御部21では上述した動作が繰
返し行われる。
[0090] In the DMAC control section 21, the above-described operation is repeatedly performed.

【0091】図6は,DMAC制御部21による図5ス
テップ104 に示したDMA転送処理の手順を示して
いる。
FIG. 6 shows the procedure of the DMA transfer process shown in step 104 in FIG. 5 by the DMAC control unit 21.

【0092】DMA転送要求*REQi に応答してバ
ス占有のための処理が行われる(ステップ121 )。 これはよく知られているように,まずCPU10に対し
てバス占有要求信号*BRが出力され,これに応答して
CPU10からバス占有許可信号*BGが与えられると
,DMA転送要求をしたI/Oに対してDMA転送要求
許可信号*ACKi が出力されることにより行われる
In response to the DMA transfer request *REQi, processing for occupying the bus is performed (step 121). As is well known, first a bus occupancy request signal *BR is output to the CPU 10, and in response, when a bus occupancy permission signal *BG is given from the CPU 10, the I/O that made the DMA transfer request This is done by outputting a DMA transfer request permission signal *ACKi to the DMA transfer request.

【0093】続いて,DMA転送要求をしたI/Oに割
当てられたチャネルiのレジスタ群24の中の転送語数
レジスタが選択され,そのレジスタにあらかじめセット
されている転送語数を表わすデータが読出され,転送語
数カウンタ23にセットされる(ステップ122 )。
Next, the transfer word count register in the register group 24 of channel i assigned to the I/O that made the DMA transfer request is selected, and the data representing the transfer word count set in advance in that register is read out. , is set in the transfer word counter 23 (step 122).

【0094】DMA転送はチャネルごとに転送元のI/
Oまたはメモリ(これらを転送元ディバイスという)と
転送先のI/Oまたはメモリ(これらを転送先ディバイ
スという)との組があらかじめ定まっている。また,転
送元ディバイスと転送先ディバイスのデータを転送すべ
きアドレスがあらかじめ定められており,そのチャネル
iのレジスタ群24の中にセットされている。
[0094] DMA transfer is performed by the transfer source I/O for each channel.
A pair of an I/O or memory (these are referred to as a transfer source device) and a transfer destination I/O or memory (these are referred to as a transfer destination device) is determined in advance. Further, the addresses to which the data of the transfer source device and the transfer destination device are to be transferred are determined in advance and set in the register group 24 of the channel i.

【0095】まず,転送元ディバイスからデータ一時記
憶バッファ22への1語(1バイト)分のデータ転送が
行われる(ステップ123 )。これは具体的には,D
MAC制御部21から転送元ディバイスのアドレスを示
すアドレス信号が出力される。このアドレス信号からコ
ンピュータ・システム内に設けられたデコーダ(図示略
)によって転送元ディバイスを指定するチップ・セレク
ト信号が生成され転送元ディバイスに与えられる。さら
にDMAC制御部21からリード信号Rが出力される。 これによって転送元ディバイスのアドレス指定された記
憶場所から1語分のデータが読出されデータ・バス上に
出力される。データ一時記憶バッファ22にはライト信
号*Wが与えられているから,データ・バス上に出力さ
れたデータがバッファ22に書込まれ,一時的に保存さ
れることになる。
First, one word (one byte) of data is transferred from the transfer source device to the data temporary storage buffer 22 (step 123). Specifically, this is D
The MAC control unit 21 outputs an address signal indicating the address of the transfer source device. A chip select signal designating the transfer source device is generated from this address signal by a decoder (not shown) provided in the computer system, and is applied to the transfer source device. Further, a read signal R is output from the DMAC control section 21. This reads one word of data from the addressed storage location of the source device and outputs it onto the data bus. Since the write signal *W is applied to the data temporary storage buffer 22, the data output on the data bus is written to the buffer 22 and temporarily stored.

【0096】続いて,データ一時記憶バッファに一時記
憶された1語分のデータが転送先ディバイスに転送され
る(ステップ124 )。これは具体的には次のように
して行われる。DMAC制御部21から転送先ディバイ
スのアドレスを示すアドレス信号が出力される。このア
ドレス信号のデコードによりチップ・セレクト信号が生
成され転送先ディバイスに与えられる。転送先ディバイ
スに対してDMAC制御部21からライト信号*Wが与
えられ,かつデータ一時記憶バッファ22にリード信号
Rが与えられる。これにより,バッファ22のデータが
読出され,データ・バスを経て転送先ディバイスのアド
レス指定された記憶場所に書込まれることになる。
Next, one word of data temporarily stored in the data temporary storage buffer is transferred to the destination device (step 124). Specifically, this is done as follows. The DMAC control unit 21 outputs an address signal indicating the address of the transfer destination device. A chip select signal is generated by decoding this address signal and is applied to the transfer destination device. A write signal *W is applied from the DMAC control unit 21 to the transfer destination device, and a read signal R is applied to the data temporary storage buffer 22. This causes the data in buffer 22 to be read and written to the addressed memory location of the destination device via the data bus.

【0097】以上の動作が終了すると,転送語数カウン
タ23の内容がデクレメントされる。
When the above operations are completed, the contents of the transfer word counter 23 are decremented.

【0098】以上の動作が,転送元ディバイスおよび転
送先ディバイスのアドレスを更新しながら1語データず
つ行われていく。
The above operations are performed one word at a time while updating the addresses of the transfer source device and transfer destination device.

【0099】あらかじめ設定されている語数のデータの
DMA転送が終了すると,転送語数カウンタ23からカ
ウント終了信号が出力されDMAC制御部21に与えら
れる(ステップ125 )。
When the DMA transfer of the data of the preset number of words is completed, a count end signal is output from the transfer word number counter 23 and given to the DMAC control unit 21 (step 125).

【0100】この後,CMAC制御部21はバス占有解
除手続を行う(ステップ126 )。これはディバイス
に対する正常終了信号*DTCおよびCPU10に対す
る正常終了信号*DTACKの出力により実行される。
Thereafter, the CMAC control unit 21 performs a bus release procedure (step 126). This is executed by outputting a normal end signal *DTC to the device and a normal end signal *DTACK to the CPU 10.

【0101】上述したDMA転送動作は転送元ディバイ
スに割当てられたアドレス範囲と転送先ディバイスに割
当てられたアドレス範囲が異なる場合に行われるデュア
ル・アドレッシング・モードにおける動作である。転送
元,先ディバイスのアドレス範囲が一致している場合に
はデータ一時記憶バッファを介することなく,転送元デ
ィバイスから転送先ディバイスに直接にデータが送られ
るシングル・アドレッシング・モード動作が行なわれる
The above-described DMA transfer operation is an operation in the dual addressing mode, which is performed when the address range assigned to the transfer source device and the address range assigned to the transfer destination device are different. If the address ranges of the transfer source and destination devices match, a single addressing mode operation is performed in which data is directly sent from the transfer source device to the transfer destination device without going through a data temporary storage buffer.

【0102】図7はDMAC制御部21による図5のス
テップ106 に示すDMA転送+ファジィ入力モード
のDMA転送処理手順を示している。
FIG. 7 shows the DMA transfer processing procedure of the DMA transfer+fuzzy input mode shown in step 106 of FIG. 5 by the DMAC control section 21.

【0103】DMAC制御部21によるバス占有手続,
および転送語数を転送語数レジスタにセットする処理は
図6のステップ121 および122と同じである(ス
テップ131 ,132 )。
[0103] Bus occupancy procedure by DMAC control unit 21,
The process of setting the number of transfer words in the transfer word number register is the same as steps 121 and 122 in FIG. 6 (steps 131 and 132).

【0104】1語分のデータが転送元ディバイスから読
出され,データ一時記憶バッファ22およびファジィ入
出力レジスタ32内の入力レジスタに書込まれる(ステ
ップ133)。データ一時記憶バッファ22および入力
レジスタにはDMAC制御部21からライト信号*Wが
与えられる。入力レジスタのアドレスはDMAC制御部
21によって指定される。
One word of data is read from the transfer source device and written to the data temporary storage buffer 22 and the input register in the fuzzy input/output register 32 (step 133). A write signal *W is applied from the DMAC control unit 21 to the data temporary storage buffer 22 and the input register. The address of the input register is specified by the DMAC control unit 21.

【0105】入力レジスタのアドレッシング方法にはい
くつかある。その1つは入力レジスタをF1F0(ファ
ーストイン・ファーストアウト)方式のレジスタとする
ことである。この場合にはアドレッシングはアドレスを
1ずつインクレメントしていけばよい。もう1つは入力
レジスタのアドレス範囲をあらかじめ定めておき(レジ
スタ群24内のレジスタにセットされている),このア
ドレス範囲にしたがって,DMAC制御部21が転送先
,元ディバイスのアドレッシングと同じようにしてアド
レス指定することである。
There are several ways to address input registers. One of them is to use the input register as an F1F0 (first-in, first-out) register. In this case, addressing can be done by incrementing the address one by one. The other is to predetermine the address range of the input register (set in a register in the register group 24), and according to this address range, the DMAC control unit 21 performs the same addressing for the transfer destination and source device. address.

【0106】いずれにしても,データ一時記憶バッファ
22とファジィ入出力レジスタ32はともにデータ・バ
スに接続されているので,転送元ディバイスから読出さ
れたデータがこれらのバッファ22および入力レジスタ
に記憶される。
In any case, since both the data temporary storage buffer 22 and the fuzzy input/output register 32 are connected to the data bus, the data read from the transfer source device is stored in these buffers 22 and input registers. Ru.

【0107】続いて,データ一時記憶バッファ22に一
時保持されたデータが転送先ディバイスに転送され,書
込まれる(ステップ134 )。これは図6ステップ1
24 の処理と同じである。
Subsequently, the data temporarily held in the data temporary storage buffer 22 is transferred to the destination device and written (step 134). This is Figure 6 Step 1
This is the same process as No. 24.

【0108】上記の動作が1語データ転送ごとに繰返さ
れ,転送語数カウンタ23からカウント終了信号が出力
されれば(ステップ135 ),バス占有解除手続が行
われて,DMA転送が終了する(ステップ136 )。
The above operation is repeated for each word of data transfer, and when a count end signal is output from the transferred word counter 23 (step 135), the bus occupation release procedure is performed and the DMA transfer is completed (step 135). 136).

【0109】このDMA転送+ファジィ入力モードは,
I/Oからメモリにデータを転送するときに,これと同
じデータがファジィ推論のための入力データとしてDM
ACファジィ・プロセッサ20に入力されるので非常に
便利である。メモリに書込まれたデータは,たとえばフ
ァジィ推論以外の処理のためにCPU10によって使用
される。
[0109] This DMA transfer + fuzzy input mode is
When transferring data from I/O to memory, this same data is used as input data for fuzzy inference in DM.
It is very convenient because it is input to the AC fuzzy processor 20. The data written to the memory is used by the CPU 10 for processing other than fuzzy inference, for example.

【0110】図8はDMAC制御部21による図5のス
テップ109 に示すファジィ入力モードのDMA転送
処理手順を示している。
FIG. 8 shows the DMA transfer processing procedure in the fuzzy input mode shown in step 109 of FIG. 5 by the DMAC control section 21.

【0111】図7に示す処理と比較すると,転送元ディ
バイスからファジィ入出力バッファ32内の入力レジス
タにのみデータの転送を行っており,一時記憶バッファ
22へのデータ転送は行われない(ステップ143 )
。これは入力レジスタにのみライト信号*Wを与え,一
時記憶バッファ22にライト信号*Wを与えないことに
より実現できる。また,図7ステップ134 に相当す
る処理がない。 他の処理ステップ141,142 ,145 ,146
 は図7のステップ131 ,132 ,135,13
6 と同じである。
Compared with the process shown in FIG. 7, data is transferred only from the transfer source device to the input register in the fuzzy input/output buffer 32, and data is not transferred to the temporary storage buffer 22 (step 143). )
. This can be realized by applying the write signal *W only to the input register and not applying the write signal *W to the temporary storage buffer 22. Furthermore, there is no processing equivalent to step 134 in FIG. Other processing steps 141, 142, 145, 146
are steps 131, 132, 135, 13 in FIG.
Same as 6.

【0112】このモードでは,転送先ディバイスから直
接にDMA転送によって,ファジィ推論に用いる入力デ
ータがDMACファジィ・プロセッサ20内の入力レジ
スタに与えられる。しかも,図6または図7のフロー・
チャートと比較して分るように,データ一時記憶バッフ
ァ22を介することなく,転送元ディバイスから入力レ
ジスタに直接にデータが転送されるから,データ転送速
度が速い(上述したデュアル・アドレッシング・モード
の場合の2倍の速度)という特長をもつ。
In this mode, input data used for fuzzy inference is given to the input register in the DMAC fuzzy processor 20 by direct DMA transfer from the transfer destination device. Moreover, the flow in Figure 6 or Figure 7
As can be seen by comparing with the chart, data is transferred directly from the transfer source device to the input register without going through the data temporary storage buffer 22, so the data transfer speed is fast (in contrast to the dual addressing mode described above). It has the advantage of being twice as fast as the standard computer.

【0113】図9はDMAC制御部21による図5のス
テップ112 に示すファジィ出力モードのDMAC転
送処理手順を示している。
FIG. 9 shows the DMAC transfer processing procedure in the fuzzy output mode shown in step 112 of FIG. 5 by the DMAC control section 21.

【0114】図8に示すステップ143 の処理と異な
る点は,図9のステップ153 では,ファジィ入出力
レジスタ32内の出力レジスタ(この出力レジスタには
ファジィ推論部31によるファジィ推論演算結果が記憶
されている)のデータが1語ずつ転送先ディバイスに転
送される点である。出力レジスタにはリード信号Rが,
転送先ディバイスにはライト信号*Wが与えられる。出
力レジスタのアドレッシングは上述したようにF1F0
の形式でもよいし,DMAC制御部21がアドレス信号
を出力レジスタに与えてもよい。この場合のDMA転送
要求は一般に転送先ディバイスが行うであろう。転送先
ディバイスと出力レジスタとの組に関するチャネルがあ
らかじめ定められ,DMA転送に必要なデータ(アドレ
ス・データ,転送語数,動作モード等)がそのチャネル
のレジスタ群24にあらかじめセットされている。他の
処理ステップ151 ,152 ,155 ,156 
は図8のステップ141,142 ,145 ,146
 と同じである。
The difference from the process in step 143 shown in FIG. 8 is that in step 153 in FIG. data) is transferred word by word to the destination device. The read signal R is output to the output register.
A write signal *W is given to the transfer destination device. The addressing of the output register is F1F0 as described above.
Alternatively, the DMAC control unit 21 may provide the address signal to the output register. In this case, the DMA transfer request will generally be made by the transfer destination device. A channel related to a pair of a transfer destination device and an output register is determined in advance, and data necessary for DMA transfer (address data, number of transferred words, operation mode, etc.) is set in advance in the register group 24 of that channel. Other processing steps 151 , 152 , 155 , 156
are steps 141, 142, 145, 146 in FIG.
is the same as

【0115】図10はファジィ推論部31における主に
制御部の処理手順を示している。この制御部も論理回路
の組合せ,マイクロ・コードにしたがう動作を行うプロ
セッサまたはCPUによって実現される。
FIG. 10 mainly shows the processing procedure of the control section in the fuzzy inference section 31. This control section is also realized by a processor or CPU that operates according to a combination of logic circuits and microcode.

【0116】DMAC制御部21からファジィ推論スタ
ート信号が与えられると(図5ステップ107 ,11
0 ),ファジィ推論中フラグがセットされる(ステッ
プ161 )。 これによりファジィ推論中信号が出力される。
When the fuzzy inference start signal is given from the DMAC control unit 21 (steps 107 and 11 in FIG. 5),
0), the fuzzy inference flag is set (step 161). As a result, a fuzzy inference signal is output.

【0117】続いて,ファジィ推論部31内のメモリに
あらかじめ記憶されているルールが1つずつ読出され,
このルールに関係するメンバーシップ関数が同メモリか
ら,入力データがファジィ入出力レジスタ32内の入力
レジスタからそれぞれ読出され,ルールにしたがって処
理される。ファジィ推論演算はよく知られているMIN
−MAX演算,その他の方式に従う。ファジィ推論演算
結果は,必要に応じて重心法,最大高さ法等により非フ
ァジィ化され,出力データとしてファジィ入出力レジス
タ32内の出力レジスタに格納される(ステップ162
 )。
[0117] Next, the rules stored in advance in the memory in the fuzzy inference section 31 are read out one by one, and
Membership functions related to this rule are read from the same memory, and input data is read from an input register in the fuzzy input/output register 32, respectively, and processed according to the rule. The fuzzy inference operation is the well-known MIN
- Follows MAX operation and other methods. The fuzzy inference calculation results are defuzzified by the center of gravity method, maximum height method, etc. as necessary, and stored in the output register in the fuzzy input/output register 32 as output data (step 162
).

【0118】図5ステップ102 でDMA転送要求を
したディバイスに関係するチャネルの動作モード・レジ
スタにおける第3位ビットB2が参照される(ステップ
163 )。B2=0であれば,ファジィ推論中フラグ
がリセットされる(ステップ166 )。これによりフ
ァジィ推論中信号が停止する。B2=1の場合には,自
動出力要求信号が出力され,DMAC制御部21に与え
られる(ステップ165 )。またファジィ推論中フラ
グがリセットされる(ステップ166 )。この自動出
力要求信号に応答してDMAC制御部21は図9に示す
フロー・チャートにしたがうDMA転送により,出力レ
ジスタに記憶されているファジィ推論結果を表わすデー
タを上記のディバイスに転送する。
The third bit B2 in the operation mode register of the channel related to the device that made the DMA transfer request in step 102 of FIG. 5 is referenced (step 163). If B2=0, the fuzzy inference flag is reset (step 166). This stops the fuzzy inference signal. If B2=1, an automatic output request signal is output and given to the DMAC control unit 21 (step 165). Also, the fuzzy inference flag is reset (step 166). In response to this automatic output request signal, the DMAC control unit 21 transfers the data representing the fuzzy inference result stored in the output register to the above device by DMA transfer according to the flow chart shown in FIG.

【0119】必要ならばファジィ推論部31にもチャネ
ルを割当てておき,そのチャネルに関して設定されたレ
ジスタ群のデータにしたがって,ファジィ推論結果のD
MA転送を行うようにしてもよい。
If necessary, a channel is also allocated to the fuzzy inference unit 31, and D of the fuzzy inference result is
MA transfer may also be performed.

【0120】上記実施例ではDMACとコンパチブルな
プロセッサとしてDMACファジィ・プロセッサが示さ
れているが,プロセッサの種類はファジィ・プロセッサ
に限られず,ファジィ処理以外の特定の演算処理を行う
プロセッサとDMACとを組合せたDMACプロセッサ
をDMACとコンパチブルとしてもよい。
In the above embodiment, a DMAC fuzzy processor is shown as a processor compatible with DMAC, but the type of processor is not limited to fuzzy processors, and DMAC can be used with processors that perform specific arithmetic processing other than fuzzy processing. The combined DMAC processor may be compatible with DMAC.

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

【図1】コンピュータ・システム全体を示すブロック図
である。
FIG. 1 is a block diagram showing the entire computer system.

【図2】DMACのピン配置の一例を示す平面図である
FIG. 2 is a plan view showing an example of a pin arrangement of a DMAC.

【図3】DMACファジィ・プロセッサの構成を示すブ
ロック図である。
FIG. 3 is a block diagram showing the configuration of a DMAC fuzzy processor.

【図4】(A) は転送語数レジスタを,(B) は動
作モード・レジスタをそれぞれ示すものである。
FIG. 4 (A) shows the transfer word count register, and (B) shows the operation mode register.

【図5】DMAC制御部の全体的な動作を示すフロー・
チャートである。
[Fig. 5] Flowchart showing the overall operation of the DMAC control unit.
It is a chart.

【図6】DMAC制御部における通常のDMA転送動作
を示すフロー・チャートである。
FIG. 6 is a flow chart showing a normal DMA transfer operation in a DMAC control unit.

【図7】DMAC制御部におけるDMA転送+ファジィ
入力モードの動作を示すフロー・チャートである。
FIG. 7 is a flow chart showing the operation of the DMA transfer+fuzzy input mode in the DMAC control unit.

【図8】DMAC制御部におけるファジィ入力モードの
動作を示すフロー・チャートである。
FIG. 8 is a flow chart showing the operation of the fuzzy input mode in the DMAC control unit.

【図9】DMAC制御部におけるファジィ出力モードの
動作を示すフロー・チャートである。
FIG. 9 is a flow chart showing the operation of the fuzzy output mode in the DMAC control unit.

【図10】ファジィ推論部における動作を示すフロー・
チャートである。
[Fig. 10] Flowchart showing the operation in the fuzzy inference section.
It is a chart.

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

10  CPU 11,12  入出力装置(I/O) 13  メモリ 20  DMACコンパチブル・ファジィ・プロセッサ
(DMACファジィ・プロセッサ) 21  DMAC制御部 22  データ一時記憶バッファ 23  転送語数カウンタ 24  レジスタ群 31  ファジィ推論部 32  ファジィ入出力レジスタ
10 CPU 11, 12 Input/output device (I/O) 13 Memory 20 DMAC compatible fuzzy processor (DMAC fuzzy processor) 21 DMAC control section 22 Data temporary storage buffer 23 Transfer word counter 24 Register group 31 Fuzzy inference section 32 Fuzzy input/output register

Claims (40)

【特許請求の範囲】[Claims] 【請求項1】  外部ディバイスからのDMA転送要求
に応答して,その外部ディバイスに対してあらかじめ定
められた動作モードに応じて,外部ディバイス間DMA
転送か,外部ディバイス内部記憶手段間DMA転送かを
決定する手段,外部ディバイス間DMA転送と決定され
たときに,上記DMA転送要求をした外部ディバイスを
含む所要の2つの外部ディバイス間におけるデータの転
送を制御する第1のDMA転送制御手段,外部ディバイ
ス内部記憶手段間DMA転送と決定されたときに,上記
DMA転送要求をした外部ディバイスと内部記憶手段と
の間のデータの転送を制御する第2のDMA転送制御手
段,および上記第2のDMA転送制御手段によるDMA
転送により上記内部記憶手段に蓄えられた入力データに
所定の処理を施して出力データを作成し,この出力デー
タを上記内部記憶手段に記憶する処理手段,を備えたD
MACコンパチブル・プロセッサ。
[Claim 1] In response to a DMA transfer request from an external device, a DMA transfer between external devices is performed according to a predetermined operation mode for the external device.
means for determining whether to transfer or DMA transfer between internal storage means of an external device, and when it is determined to be DMA transfer between external devices, transfer data between two required external devices including the external device that made the above DMA transfer request; a first DMA transfer control means for controlling the DMA transfer, and a second DMA transfer control means for controlling the data transfer between the external device that made the DMA transfer request and the internal storage means when it is determined that the DMA transfer is to be performed between the external device and the internal storage means. DMA transfer control means by the DMA transfer control means and the second DMA transfer control means
A processing means for performing predetermined processing on the input data stored in the internal storage means by transfer to create output data, and storing this output data in the internal storage means.
MAC compatible processor.
【請求項2】  上記外部ディバイス内部記憶手段間D
MA転送を制御する第2のDMA転送制御手段が,上記
外部ディバイスから上記内部記憶手段への入力データの
DMA転送を制御する第3の制御手段と,上記内部記憶
手段から上記外部ディバイスへの出力データのDMA転
送を制御する第4の制御手段と,を備えている請求項1
に記載のDMACコンパチブル・プロセッサ。
Claim 2: D between the external device and internal storage means.
A second DMA transfer control means for controlling MA transfer, a third control means for controlling DMA transfer of input data from the external device to the internal storage means, and an output from the internal storage means to the external device. Claim 1 comprising: fourth control means for controlling DMA transfer of data.
DMAC compatible processor described in.
【請求項3】  上記第3の制御手段による上記外部デ
ィバイスから上記内部記憶手段への入力データのDMA
転送が終了したのち,上記処理手段にこの入力データの
処理を開始させる処理開始制御手段をさらに備えている
請求項2に記載のDMACコンパチブル・プロセッサ。
3. DMA of input data from the external device to the internal storage means by the third control means;
3. The DMAC compatible processor according to claim 2, further comprising processing start control means for causing said processing means to start processing said input data after the transfer is completed.
【請求項4】  上記処理手段が,入力データの処理を
終了したのち上記第4の制御手段に出力データの上記外
部ディバイスへのDMA転送を要求する請求項2に記載
のDMACコンパチブル・プロセッサ。
4. The DMAC compatible processor according to claim 2, wherein said processing means requests said fourth control means to perform DMA transfer of output data to said external device after completing processing of input data.
【請求項5】  上記処理手段が入力データの処理を終
了したのち上記第4の制御手段に出力データの上記外部
ディバイスへのDMA転送を要求することを許すかどう
かを決定する手段をさらに備えている請求項2に記載の
DMACコンパチブル・プロセッサ。
5. Further comprising means for determining whether to allow the fourth control means to request DMA transfer of output data to the external device after the processing means finishes processing the input data. 3. The DMAC compatible processor according to claim 2.
【請求項6】  データ一時記憶手段をさらに備え,上
記第1のDMA転送制御手段が,外部ディバイス間のD
MA転送において,転送元外部ディバイスから読出され
たデータをまず上記データ一時記憶手段に一時記憶し,
次に上記データ一時記憶手段に記憶したデータを読出し
て転送先外部ディバイスに書込むように制御する,請求
項1に記載のDMACコンパチブル・プロセッサ。
6. Further comprising data temporary storage means, wherein the first DMA transfer control means is configured to transfer data between external devices.
In MA transfer, data read from the transfer source external device is first temporarily stored in the data temporary storage means,
2. The DMAC compatible processor according to claim 1, further controlling the data stored in said data temporary storage means to be read and written to a transfer destination external device.
【請求項7】  上記第1のDMA転送制御手段は,転
送元外部ディバイスから読出したデータを上記データ一
時記憶手段に記憶すると同時に上記内部記憶手段に記憶
するよう制御する請求項6に記載のDMACコンパチブ
ル・プロセッサ。
7. The DMAC according to claim 6, wherein the first DMA transfer control means controls the data read from the transfer source external device to be stored in the data temporary storage means and at the same time stored in the internal storage means. Compatible processor.
【請求項8】  データ一時記憶手段,内部データ記憶
手段,転送元ディバイスから読出されたデータをまず上
記データ一時記憶手段に記憶し,次に上記データ一時記
憶手段に記憶したデータを読出して転送先ディバイスに
書込むように制御する第1のDMA転送制御手段,およ
び転送元ディバイスから読出されたデータをまず上記デ
ータ一時記憶手段に記憶するとともに上記内部データ記
憶手段に記憶し,次に上記データ一時記憶手段に記憶し
たデータを読出して転送先ディバイスに書込むように制
御する第2のDMA転送制御手段,を備えたDMA転送
装置。
8. Data read from the data temporary storage means, internal data storage means, and transfer source device is first stored in the data temporary storage means, and then the data stored in the data temporary storage means is read and transferred to the transfer destination. A first DMA transfer control means for controlling writing to the device, and data read from the transfer source device are first stored in the data temporary storage means and also in the internal data storage means, and then the data is temporarily stored in the internal data storage means. A DMA transfer device comprising: second DMA transfer control means for controlling reading data stored in a storage means and writing it to a transfer destination device.
【請求項9】  上記内部データ記憶手段に記憶された
データに対する所定の処理を行う処理手段を備えている
,請求項8に記載のDMA転送装置。
9. The DMA transfer device according to claim 8, further comprising processing means for performing predetermined processing on the data stored in the internal data storage means.
【請求項10】  データ一時記憶手段,入力データ記
憶手段,転送元ディバイスから読出されたデータをまず
上記データ一時記憶手段に記憶し,次に上記データ一時
記憶手段に記憶したデータを読出して転送先ディバイス
に書込むように制御する第1のDMA転送制御手段,お
よび転送元ディバイスから読出されたデータを上記入力
データ記憶手段に記憶するように制御する第2のDMA
転送制御手段,を備えたDMA転送装置。
10. Data read from the data temporary storage means, input data storage means, and transfer source device is first stored in the data temporary storage means, and then the data stored in the data temporary storage means is read and transferred to the transfer destination. A first DMA transfer control means that controls writing to the device, and a second DMA transfer control means that controls the data read from the transfer source device to be stored in the input data storage means.
A DMA transfer device equipped with a transfer control means.
【請求項11】  上記入力データ記憶手段に記憶され
たデータに対する所定の処理を行う処理手段を備えてい
る,請求項10に記載のDMA転送装置。
11. The DMA transfer device according to claim 10, further comprising processing means for performing predetermined processing on the data stored in the input data storage means.
【請求項12】  データ一時記憶手段,出力データ記
憶手段,転送元ディバイスから読出されたデータをまず
上記データ一時記憶手段に記憶し,次に上記データ一時
記憶手段に記憶したデータを読出して転送先ディバイス
に書込むように制御する第1のDMA転送制御手段,お
よび上記出力データ記憶手段からデータを読出して転送
先ディバイスに書込むように制御する第2のDMA転送
制御手段,を備えたDMA転送装置。
12. Data read from the data temporary storage means, output data storage means, and transfer source device is first stored in the data temporary storage means, and then the data stored in the data temporary storage means is read and transferred to the transfer destination. DMA transfer comprising a first DMA transfer control means for controlling writing to a device, and a second DMA transfer control means for controlling reading data from the output data storage means and writing to a transfer destination device. Device.
【請求項13】  所定の処理により得られるデータを
上記出力データ記憶手段に書込む処理手段を備えている
,請求項12に記載のDMA転送装置。
13. The DMA transfer device according to claim 12, further comprising processing means for writing data obtained through predetermined processing into said output data storage means.
【請求項14】  入力データ記憶手段,上記入力デー
タ記憶手段に記憶されている入力データに対して所定の
処理を行う処理手段,DMA転送のための制御信号の入
出力用制御端子,データ・バスに接続されるデータ端子
およびアドレス・バスに接続されるアドレス端子,なら
びに上記制御端子,データ端子およびアドレス端子に接
続され,上記制御端子に入力する制御信号に応答して上
記アドレス・バスに出力されるアドレス信号により指定
される転送元ディバイスから上記データ・バスを介して
データを取込み,このデータを上記入力データ記憶手段
に書込むように制御する入力データDMA転送制御手段
,を備えたDMA機能付プロセッサ。
14. Input data storage means, processing means for performing predetermined processing on the input data stored in the input data storage means, a control terminal for inputting and outputting control signals for DMA transfer, and a data bus. and an address terminal connected to the data terminal and the address bus, as well as the control terminal, the data terminal and the address terminal, and output to the address bus in response to a control signal input to the control terminal. DMA function equipped with an input data DMA transfer control means for controlling to take in data from the transfer source device specified by the address signal via the data bus and write this data to the input data storage means. processor.
【請求項15】  データ一時記憶手段をさらに備え,
上記制御端子,データ端子およびアドレス端子に接続さ
れ,上記アドレス・バスに出力されるアドレス信号によ
り指定される転送元ディバイスから上記データ・バスを
介してデータを取込み,このデータを上記データ一時記
憶手段および上記入力データ記憶手段に記憶し,次に上
記データ一時記憶手段に記憶されたデータを,上記アド
レス・バスに出力されるアドレス信号により指定される
転送先ディバイスに上記データ・バスを介して転送して
書込むよう制御するディバイス間兼入力データDMA転
送制御手段を備えた請求項14に記載のDMA機能付プ
ロセッサ。
Claim 15: Further comprising data temporary storage means,
The data temporary storage means takes in data via the data bus from the transfer source device connected to the control terminal, data terminal, and address terminal and specified by the address signal output to the address bus, and stores this data in the data temporary storage means. and stored in the input data storage means, and then transfers the data stored in the data temporary storage means to the destination device specified by the address signal output to the address bus via the data bus. 15. The processor with DMA function according to claim 14, further comprising device-to-device and input data DMA transfer control means for controlling writing.
【請求項16】  出力データ記憶手段,所定の処理に
より得られる出力データを上記出力データ記憶手段に記
憶する処理手段,DMA転送のための制御信号の入出力
用制御端子,データ・バスに接続されるデータ端子およ
びアドレス・バスに接続されるアドレス端子,ならびに
上記制御端子,データ端子およびアドレス端子に接続さ
れ,上記制御端子に入力する制御信号に応答して,上記
出力データ記憶手段に記憶されている出力データを,上
記アドレス・バスに出力されるアドレス信号により指定
される転送先ディバイスに上記データ・バスを介して転
送して書込むよう制御する出力データDMA転送制御手
段,を備えたDMA機能付プロセッサ。
16. Output data storage means, processing means for storing output data obtained by predetermined processing in the output data storage means, a control terminal for input/output of control signals for DMA transfer, and a control terminal connected to a data bus. and an address terminal connected to a data terminal and an address bus, and the control terminal, the data terminal and the address terminal, and the output data is stored in the output data storage means in response to a control signal input to the control terminal. output data DMA transfer control means for controlling the output data to be transferred and written to the transfer destination device specified by the address signal output to the address bus via the data bus; With processor.
【請求項17】  上記制御端子,データ端子およびア
ドレス端子に接続され,上記制御端子に入力する制御信
号に応答して,上記アドレス・バスに出力されるアドレ
ス信号により指定される転送元ディバイスから転送先デ
ィバイスにデータを転送するよう制御するディバイス間
DMA転送制御手段をさらに備えている,請求項14か
ら16のいずれか一項に記載のDMA機能付プロセッサ
17. Transfer from a transfer source device specified by an address signal connected to the control terminal, data terminal, and address terminal and output to the address bus in response to a control signal input to the control terminal. 17. The processor with DMA function according to claim 14, further comprising inter-device DMA transfer control means for controlling data transfer to a destination device.
【請求項18】  データ一時記憶手段,入力データ記
憶手段,上記入力データ記憶手段に記憶されている入力
データに対して所定の処理を行う処理手段,DMA転送
のための制御信号の入出力用制御端子,データ・バスに
接続されるデータ端子およびアドレス・バスに接続され
るアドレス端子,ならびに上記制御端子,データ端子お
よびアドレス端子に接続され,上記アドレス・バスに出
力されるアドレス信号により指定される転送元ディバイ
スから上記データ・バスを介してデータを取込み,この
データを上記データ一時記憶手段および上記入力データ
記憶手段に記憶し,次に上記データ一時記憶手段に記憶
されたデータを,上記アドレス・バスに出力されるアド
レス信号により指定される転送先ディバイスに上記デー
タ・バスを介して転送して書込むよう制御するディバイ
ス間兼入力データDMA転送制御手段を備えたDMA機
能付プロセッサ。
18. Data temporary storage means, input data storage means, processing means for performing predetermined processing on the input data stored in the input data storage means, input/output control of control signals for DMA transfer. terminals, data terminals connected to the data bus, address terminals connected to the address bus, and specified by address signals connected to the control terminals, data terminals, and address terminals and output to the address bus. Data is fetched from the transfer source device via the data bus, this data is stored in the temporary data storage means and the input data storage means, and then the data stored in the temporary data storage means is transferred to the address and the input data storage means. A processor with a DMA function, comprising inter-device and input data DMA transfer control means for controlling transfer and writing to a transfer destination device specified by an address signal output to the bus via the data bus.
【請求項19】  アドレス・バス,データ・バスおよ
びコントロール・バスにより相互に接続されたCPU,
メモリを含む入出力ディバイス,およびDMACプロセ
ッサから構成され,上記DMACプロセッサが,内部記
憶手段,上記入出力ディバイスからのDMA転送要求に
応答して上記CPUのバス占有許可の下に,上記DMA
転送要求をした入出力ディバイスを含む所要の2つの入
出力ディバイス間におけるデータの転送を制御する第1
のDMA転送制御手段,上記入出力ディバイスからのD
MA転送要求に応答して上記CPUのバス占有許可の下
に,上記DMA転送要求をした入出力ディバイスと上記
内部記憶手段との間のデータの転送を制御する第2のD
MA転送制御手段,および上記第2のDMA転送制御手
段によるDMA転送により上記内部記憶手段に蓄えられ
た入力データに所定の処理を施して出力データを作成し
,この出力データを上記内部記憶手段に記憶する処理手
段を備えている,コンピュータ・システム。
19. CPUs interconnected by an address bus, a data bus, and a control bus;
It is composed of an input/output device including a memory, and a DMAC processor, and the DMAC processor transfers the DMA to an internal storage means, in response to a DMA transfer request from the input/output device, and with bus occupancy permission from the CPU.
A first controller that controls data transfer between two required input/output devices including the input/output device that requested the transfer.
DMA transfer control means, D from the above input/output device
a second D that controls data transfer between the input/output device that made the DMA transfer request and the internal storage means under bus occupancy permission of the CPU in response to the MA transfer request;
Performing predetermined processing on the input data stored in the internal storage means through DMA transfer by the MA transfer control means and the second DMA transfer control means to create output data, and store this output data in the internal storage means. A computer system that has processing means for storing information.
【請求項20】  与えられた入力データに対して所定
の処理を施して出力データを生成する処理手段,上記入
力データを外部ディバイスからDMA転送により取込み
かつ上記出力データをDMA転送により外部ディバイス
に出力する第1のDMA転送手段,および2つの外部デ
ィバイス間のデータのDMA転送を行う第2のDMA転
送手段,を備えたDMACコンパチブル・プロセッサ。
20. Processing means that performs predetermined processing on given input data to generate output data, takes in the input data from an external device by DMA transfer, and outputs the output data to the external device by DMA transfer. A DMAC compatible processor comprising: a first DMA transfer means for performing DMA transfer of data between two external devices; and a second DMA transfer means for performing DMA transfer of data between two external devices.
【請求項21】  上記処理手段がファジィ推論処理手
段であって,ルールおよびメンバーシップ関数を表わす
データを記憶する第1の記憶手段と,上記入,出力デー
タを記憶する第2の記憶手段と,上記第1記憶手段に記
憶されているルールおよびメンバーシップ関数にしたが
って上記第2の記憶手段に記憶されている入力データを
用いてファジィ推論演算処理を行う演算手段とを備えて
いる,請求項20に記載のDMACコンパチブル・プロ
セッサ。
21. The processing means is a fuzzy inference processing means, and includes a first storage means for storing data representing rules and membership functions, and a second storage means for storing the input and output data. 20. Calculating means for performing fuzzy inference calculation processing using the input data stored in the second storing means according to the rules and membership functions stored in the first storing means. DMAC compatible processor described in.
【請求項22】  上記処理手段,第1および第2のD
MA転送手段が1チップ上に形成されている請求項20
に記載のDMACコンパチブル・プロセッサ。
22. The processing means, first and second D
Claim 20, wherein the MA transfer means is formed on one chip.
DMAC compatible processor described in.
【請求項23】  DMACとコンパチブルなピン配置
を有している請求項20に記載のDMACコンパチブル
・プロセッサ。
23. The DMAC compatible processor according to claim 20, having a pin arrangement compatible with DMAC.
【請求項24】  外部ディバイスからのDMA転送要
求に応答して,その外部ディバイスに対してあらかじめ
定められた動作モードに応じて,外部ディバイス間DM
A転送か,外部ディバイス内部記憶手段間DMA転送か
を決定する手段,外部ディバイス間DMA転送と決定さ
れたときに,上記DMA転送要求をした外部ディバイス
を含む所要の2つの外部ディバイス間におけるデータの
転送を制御する第1のDMA転送制御手段,外部ディバ
イス内部記憶手段間DMA転送と決定されたときに,上
記DMA転送要求をした外部ディバイスと内部記憶手段
との間のデータの転送を制御する第2のDMA転送制御
手段,および上記第2のDMA転送制御手段によるDM
A転送により上記内部記憶手段に蓄えられた入力データ
を用いて所定のファジィ推論演算を行い,その結果を出
力データとして上記内部記憶手段に記憶するファジィ推
論手段,を備えたDMACコンパチブル・ファジィ・プ
ロセッサ。
24. In response to a DMA transfer request from an external device, DM between external devices is performed according to a predetermined operation mode for the external device.
Means for determining whether to transfer A or DMA transfer between external device internal storage means, and when it is determined to be DMA transfer between external devices, data transfer between two required external devices including the external device that made the above DMA transfer request. a first DMA transfer control means for controlling the transfer; and a first DMA transfer control means for controlling the data transfer between the external device that requested the DMA transfer and the internal storage means when it is determined that the DMA transfer is to be performed between the external device and the internal storage means. 2 DMA transfer control means and DM by the second DMA transfer control means
A DMAC compatible fuzzy processor, comprising fuzzy inference means for performing a predetermined fuzzy inference operation using the input data stored in the internal storage means by A transfer, and storing the result in the internal storage means as output data. .
【請求項25】  上記外部ディバイス内部記憶手段間
DMA転送を制御する第2のDMA転送制御手段が,上
記外部ディバイスから上記内部記憶手段への入力データ
のDMA転送を制御する第3の制御手段と,上記内部記
憶手段から上記外部ディバイスへの出力データのDMA
転送を制御する第4の制御手段と,を備えている請求項
24に記載のDMACコンパチブル・ファジィ・プロセ
ッサ。
25. A second DMA transfer control means for controlling DMA transfer between the external device and internal storage means is a third control means for controlling DMA transfer of input data from the external device to the internal storage means. , DMA of output data from the internal storage means to the external device.
25. The DMAC compatible fuzzy processor according to claim 24, further comprising fourth control means for controlling transfer.
【請求項26】  上記第3の制御手段による上記外部
ディバイスから上記内部記憶手段への入力データのDM
A転送が終了したのち,上記ファジィ推論手段にこの入
力データのファジィ推論演算処理を開始させる処理開始
制御手段をさらに備えている請求項25に記載のDMA
Cコンパチブル・ファジィ・プロセッサ。
26. DM of input data from the external device to the internal storage means by the third control means;
26. The DMA according to claim 25, further comprising processing start control means for causing the fuzzy inference means to start fuzzy inference calculation processing of the input data after the A transfer is completed.
C compatible fuzzy processor.
【請求項27】  上記ファジィ推論手段が,入力デー
タの処理を終了したのち上記第4の制御手段に出力デー
タの上記外部ディバイスへのDMA転送を要求する請求
項25に記載のDMACコンパチブル・ファジィ・プロ
セッサ。
27. The DMAC compatible fuzzy inference method according to claim 25, wherein the fuzzy inference means requests the fourth control means to DMA transfer the output data to the external device after completing the processing of the input data. processor.
【請求項28】  上記ファジィ推論手段が入力データ
のファジィ推論演算処理を終了したのち上記第4の制御
手段に出力データの上記外部ディバイスへのDMA転送
を要求することを許すかどうかを決定する手段をさらに
備えている請求項25に記載のDMACコンパチブル・
ファジィ・プロセッサ。
28. Means for determining whether or not to permit the fourth control means to request DMA transfer of output data to the external device after the fuzzy inference means finishes fuzzy inference calculation processing of input data. 26. The DMAC compatible computer according to claim 25, further comprising:
Fuzzy processor.
【請求項29】  データ一時記憶手段をさらに備え,
上記第1のDMA転送制御手段は,外部ディバイス間の
DMA転送において,転送元外部ディバイスから読出さ
れたデータをまず上記データ一時記憶手段に一時記憶し
,次に上記データ一時記憶手段に記憶したデータを読出
して転送先外部ディバイスに書込むように制御する,請
求項24に記載のDMACコンパチブル・ファジィ・プ
ロセッサ。
Claim 29: Further comprising data temporary storage means,
In DMA transfer between external devices, the first DMA transfer control means first temporarily stores data read from the transfer source external device in the data temporary storage means, and then stores the data stored in the data temporary storage means. 25. The DMAC-compatible fuzzy processor according to claim 24, wherein the DMAC-compatible fuzzy processor controls reading of and writing to a destination external device.
【請求項30】  上記第1のDMA転送制御手段は,
転送元外部ディバイスから読出したデータを上記データ
一時記憶手段に記憶すると同時に上記内部記憶手段に記
憶するよう制御する請求項29に記載のDMACコンパ
チブル・ファジィ・プロセッサ。
30. The first DMA transfer control means comprises:
30. The DMAC compatible fuzzy processor according to claim 29, wherein the DMAC compatible fuzzy processor controls the data read from the transfer source external device to be stored in the internal storage means at the same time as the data is stored in the data temporary storage means.
【請求項31】  入出力ディバイスからのDMA転送
要求に応答して,その入出力ディバイスに対してあらか
じめ定められた動作モードに応じて,入出力ディバイス
間DMA転送か,入出力ディバイス内部記憶手段間DM
A転送かを決定し,入出力ディバイス間DMA転送と決
定したときには,上記DMA転送要求をした入出力ディ
バイスを含む所要の2つの入出力ディバイス間における
データのDMA転送を行い,入出力ディバイス内部記憶
手段間DMA転送と決定したときには,上記DMA転送
要求をした入出力ディバイスと内部記憶手段との間のデ
ータのDMA転送を行う,DMACコンパチブル・プロ
セッサの動作方法。
31. In response to a DMA transfer request from an input/output device, the DMA transfer is performed between input/output devices or between internal storage means of the input/output device, depending on the operation mode predetermined for the input/output device. DM
A transfer is determined, and when it is determined to be a DMA transfer between input/output devices, a DMA transfer of data is performed between two required input/output devices including the input/output device that made the above DMA transfer request, and the data is transferred to the internal memory of the input/output device. An operating method of a DMAC compatible processor, which performs a DMA transfer of data between an input/output device that has requested the DMA transfer and an internal storage means when it is determined that inter-means DMA transfer is to be performed.
【請求項32】  上記入出力ディバイス内部記憶手段
間DMA転送が,上記入出力ディバイスから上記内部記
憶手段への入力データのDMA転送と,上記内部記憶手
段から上記入出力ディバイスへの出力データのDMA転
送とを含む,請求項31に記載のDMACコンパチブル
・プロセッサの動作方法。
32. The DMA transfer between the internal storage means of the input/output device includes DMA transfer of input data from the input/output device to the internal storage means, and DMA transfer of output data from the internal storage means to the input/output device. 32. The method of operating a DMAC compatible processor according to claim 31, comprising: transferring.
【請求項33】  上記入出力ディバイスから上記内部
記憶手段への入力データのDMA転送が終了したのち,
処理手段にこの入力データの処理を開始させる請求項3
2に記載のDMACコンパチブル・プロセッサの動作方
法。
33. After the DMA transfer of input data from the input/output device to the internal storage means is completed,
Claim 3: The processing means starts processing the input data.
2. A method of operating the DMAC compatible processor according to item 2.
【請求項34】  処理手段が入力データの処理を終了
したときに出力データの上記入出力ディバイスへのDM
A転送を要求する,請求項32に記載のDMACコンパ
チブル・プロセッサの動作方法。
34. When the processing means finishes processing the input data, DM the output data to the input/output device.
33. The method of operating a DMAC compatible processor according to claim 32, requesting an A transfer.
【請求項35】  処理手段が入力データの処理を終了
したときに,あらかじめ定められた動作モードに応じて
出力データの上記入出力ディバイスへのDMA転送を要
求することを許すかどうかを決定する請求項32に記載
のDMACコンパチブル・プロセッサの動作方法。
[Claim 35] A claim for determining whether to allow a request for DMA transfer of output data to the input/output device according to a predetermined operation mode when the processing means finishes processing the input data. 33. A method of operating a DMAC compatible processor according to item 32.
【請求項36】  入出力ディバイス間のDMA転送に
おいて,転送元入出力ディバイスから読出されたデータ
をまずデータ一時記憶手段に一時記憶し,次に上記デー
タ一時記憶手段に記憶したデータを読出して転送先入出
力ディバイスに書込むように制御する,請求項31に記
載のDMACコンパチブル・プロセッサの動作方法。
36. In DMA transfer between input/output devices, the data read from the transfer source input/output device is first temporarily stored in a data temporary storage means, and then the data stored in the data temporary storage means is read and transferred. 32. The method of operating a DMAC compatible processor of claim 31, controlling to write to a first input/output device.
【請求項37】  転送元入出力ディバイスから読出し
たデータを上記データ一時記憶手段に記憶すると同時に
上記内部記憶手段に記憶するよう制御する請求項36に
記載のDMACコンパチブル・プロセッサの動作方法。
37. The method of operating a DMAC compatible processor according to claim 36, wherein the data read from the transfer source input/output device is controlled to be stored in the internal storage means at the same time as the data is stored in the data temporary storage means.
【請求項38】  上記入出力ディバイスからDMA転
送要求があった場合に,入出力ディバイス内部記憶手段
間DMA転送と決定したときには,処理手段が処理動作
実行中かどうかを判定し,処理動作実行中であればその
終了を待ってDMA転送を行う,請求項31に記載のD
MACコンパチブル・プロセッサの動作方法。
38. When there is a DMA transfer request from the input/output device and it is determined that the DMA transfer is to be performed between the internal storage means of the input/output device, the processing means determines whether or not the processing operation is being executed; If so, the DMA transfer is performed after waiting for the completion of the DMA transfer according to claim 31.
How a MAC compatible processor operates.
【請求項39】  上記処理手段がファジィ推論処理手
段である請求項38に記載のDMACコンパチブル・プ
ロセッサの動作方法。
39. The method of operating a DMAC compatible processor according to claim 38, wherein said processing means is a fuzzy inference processing means.
【請求項40】  データ一時記憶手段,内部データ記
憶手段,および上記内部データ記憶手段に記憶されたデ
ータに対する所定の処理を行う処理手段を備えた装置に
おいて,転送元ディバイスから読出されたデータをまず
上記データ一時記憶手段に記憶するとともに上記内部デ
ータ記憶手段に記憶し,次に上記データ一時記憶手段に
記憶したデータを読出して転送先ディバイスに書込む,
DMA転送方法。
40. In an apparatus comprising temporary data storage means, internal data storage means, and processing means for performing predetermined processing on the data stored in the internal data storage means, the data read from the transfer source device is first read out from the transfer source device. storing the data in the temporary data storage means and storing it in the internal data storage means, and then reading out the data stored in the temporary data storage means and writing it to the transfer destination device;
DMA transfer method.
JP9976691A 1991-04-05 1991-04-05 Dmac compatible processor Pending JPH04308954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9976691A JPH04308954A (en) 1991-04-05 1991-04-05 Dmac compatible processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9976691A JPH04308954A (en) 1991-04-05 1991-04-05 Dmac compatible processor

Publications (1)

Publication Number Publication Date
JPH04308954A true JPH04308954A (en) 1992-10-30

Family

ID=14256098

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9976691A Pending JPH04308954A (en) 1991-04-05 1991-04-05 Dmac compatible processor

Country Status (1)

Country Link
JP (1) JPH04308954A (en)

Similar Documents

Publication Publication Date Title
US20050210221A1 (en) Microcomputer and microcomputer system
US7581054B2 (en) Data processing system
JP4562107B2 (en) Direct memory access engine to support multiple virtual direct memory access channels
US5426737A (en) Direct memory access for data transfer within an I/O device
JP3513291B2 (en) Data transfer device
US5463740A (en) Data control device generating different types of bus requests and transmitting requests directly to one of a number of arbiters for obtaining access to a respective bus
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
US7310717B2 (en) Data transfer control unit with selectable transfer unit size
JPH0793274A (en) System and device for transferring data
US8996772B1 (en) Host communication device and method with data transfer scheduler
JP2005165508A (en) Direct memory access controller
JPH04308954A (en) Dmac compatible processor
JPH0227696B2 (en) JOHOSHORISOCHI
CN114281726B (en) System architecture for soc chip and peripheral communication method
JP3206656B2 (en) Prefetch device and prefetch method on bus
JPS63175964A (en) Shared memory
JP2003085125A (en) Memory controller and memory control method
JPH06131294A (en) Data transfer device
JP2594611B2 (en) DMA transfer control device
US20220237132A1 (en) Data transmission method and ping-pong dma architecture
JP2001256169A (en) Data transfer control system and device
JP2004220309A (en) Multiprocessor system
JPH04225458A (en) Computer
JPH05334233A (en) Data transferring device
JPH0351943A (en) Sharing system for high/low speed bus lines