JP2963696B2 - Data transfer control system - Google Patents

Data transfer control system

Info

Publication number
JP2963696B2
JP2963696B2 JP14559789A JP14559789A JP2963696B2 JP 2963696 B2 JP2963696 B2 JP 2963696B2 JP 14559789 A JP14559789 A JP 14559789A JP 14559789 A JP14559789 A JP 14559789A JP 2963696 B2 JP2963696 B2 JP 2963696B2
Authority
JP
Japan
Prior art keywords
block
data
dma
transfer
status
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
JP14559789A
Other languages
Japanese (ja)
Other versions
JPH0310354A (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.)
Hitachi Ltd
Hitachi Solutions Technology Ltd
Original Assignee
Hitachi Ltd
Hitachi ULSI Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Hitachi ULSI Systems Co Ltd filed Critical Hitachi Ltd
Priority to JP14559789A priority Critical patent/JP2963696B2/en
Publication of JPH0310354A publication Critical patent/JPH0310354A/en
Application granted granted Critical
Publication of JP2963696B2 publication Critical patent/JP2963696B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はブロック分割されたデータバッファを転送元
又は転送先としてDMA(ダイレクト・メモリ・アクセ
ス)転送を行うためのデータ転送制御システムに関し、
例えばシリアル通信による受信データをフレームもしく
はブロック毎データバッファへ格納するためのデータ転
送制御システムに適用して有効な技術に関するものであ
る。
Description: BACKGROUND OF THE INVENTION The present invention relates to a data transfer control system for performing a DMA (Direct Memory Access) transfer with a block-divided data buffer as a transfer source or a transfer destination.
For example, the present invention relates to a technology effective when applied to a data transfer control system for storing received data by serial communication in a data buffer for each frame or block.

〔従来技術〕(Prior art)

HDLC(ハイレベル・データ・リンク・コントロール)
手順などに準拠して情報をビットシリアルにやりとりす
る場合には、SCI(シリアル・コミュニケーション・イ
ンタフェース)コントローラがフレームと呼ばれる単位
でデータの送受信を行う。送受信されたデータは、上位
プロセッサの処理に委ねられるが、SCIコントローラに
よるデータの送受信と上位プロセッサによるデータ処理
とは通常非同期で行われるため、送受信データは一旦デ
ータバッファに格納される。このような場合に、SCIコ
ントローラが受信したデータをフレームのようなブロッ
ク単位でデータバッファに転送したり、転送すべきデー
タをブロック単位でデータバッファからSCIコントロー
ラに転送したりするとき、上位プロセッサの負担を軽減
して複数のデータブロックを効率的に転送するには、DM
A(ダイレクト・メモリ・アクセス)コントローラがサ
ポートするデータチェイン機能を利用することができ
る。
HDLC (High Level Data Link Control)
When information is exchanged bit-serial according to a procedure or the like, an SCI (serial communication interface) controller transmits and receives data in units called frames. The transmitted / received data is entrusted to the processing of the upper processor, but since the transmission and reception of data by the SCI controller and the data processing by the upper processor are usually performed asynchronously, the transmitted / received data is temporarily stored in the data buffer. In such a case, when transferring the data received by the SCI controller to the data buffer in units of blocks such as frames or transferring the data to be transferred from the data buffer to the SCI controller in units of blocks, To reduce the burden and transfer multiple data blocks efficiently, DM
The data chain function supported by the A (direct memory access) controller can be used.

このデータチェイン機能を利用する場合、上位プロセ
ッサは、多数用意したバッファ領域を、ポインタとして
機能する記述子によって次々と連結させるためのデータ
転送制御テーブルを予めメモリ上に形成しておく。この
データ転送制御テーブルを構成する個々の記述子は、デ
ータ転送元又はデータ転送先とされるバッファ領域の先
頭アドレス、及び連鎖される次の記述子の先頭アドレス
などを含む。例えば受信データをデータバッファにブロ
ック転送する場合、上位プロセッサは、その動作を指示
する所定のチェインブロック転送モードをDMAコントロ
ーラのモードレジスタに設定した後、最初に受信データ
を転送すべきバッファ領域を示す記述子の先頭アドレス
(カレントディスクリプタアドレス)、受信データを転
送すべき末尾のバッファ領域の次のバッファ領域を示す
記述子の先頭アドレス(エラーディスクリプタアドレ
ス)、そして個々のバッファ領域に共通の大きさをバイ
ト単位で示すバッファ長などを、DMAコントローラ内部
の所定レジスタに初期設定する。このようにして初期設
定が行われた後、SCIコントローラから転送要求がある
と、DMAコントローラは、カレントディスクリプタアド
レスレジスタに初期設定されている値に従って所定の記
述子を読み込み、読み込んだ記述子が示すバッファ領域
にSCIコントローラの受信データを転送制御する。この
ようにしてブロックデータが所定のバッファ領域に転送
されると、DMAコントローラは、カレントディスクリプ
タアドレスレジスタの値を、先に読み込んだ記述子が保
有する次に連鎖する記述子のスタートアドレスに更新し
てバッファ領域の切り換え処理を行い、次のブロックデ
ータの転送を継続する。
When this data chain function is used, the upper processor forms in advance a data transfer control table on the memory for linking a large number of prepared buffer areas one after another by a descriptor functioning as a pointer. Each of the descriptors constituting the data transfer control table includes a head address of a buffer area that is a data transfer source or a data transfer destination, a head address of a next descriptor to be chained, and the like. For example, when block transfer of received data to a data buffer, the upper processor sets a predetermined chain block transfer mode instructing the operation in the mode register of the DMA controller, and then indicates a buffer area to which the received data is to be transferred first. The start address of the descriptor (current descriptor address), the start address of the descriptor indicating the buffer area next to the last buffer area to which the received data is to be transferred (error descriptor address), and the common size for each buffer area Initialize the buffer length, etc., expressed in bytes, in a predetermined register inside the DMA controller. After the initialization is performed in this way, when there is a transfer request from the SCI controller, the DMA controller reads a predetermined descriptor according to the value initially set in the current descriptor address register, and the read descriptor indicates Transfer control of the received data of the SCI controller to the buffer area. When the block data is transferred to the predetermined buffer area in this way, the DMA controller updates the value of the current descriptor address register to the start address of the next chained descriptor held by the previously read descriptor. Then, the buffer area is switched, and the transfer of the next block data is continued.

バッファ領域の切り換え処理を行ったとき、カレント
ディスクリプタアドレスとエラーディスクリプタアドレ
スが一致したときには、既に受信データの処理を終えた
バッファ領域が存在しなくなっているため、DMAコント
ローラはデータ転送を終了する。
When the buffer area switching process is performed and the current descriptor address matches the error descriptor address, the DMA controller terminates the data transfer because there is no longer a buffer area for which processing of the received data has already been completed.

尚、データチェイン方式のDMA転送について記載され
た文献の例としては昭和63年7月株式会社日立製作所発
行の「HD6418OS、NPUハードウェアマニュアル」第378頁
から第400頁がある。
As an example of a document describing the data chain type DMA transfer, there is “HD6418OS, NPU Hardware Manual” issued by Hitachi, Ltd., July 1988, pp. 378-400.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかしながら、複数のブロックデータをDMA転送する
従来方式では、ブロックデータ毎に転送制御テーブルに
含まれる記述子の先頭アドレスや、当該記述子によって
指定されるバッファ領域のメモリアドレスなどを読み込
んでからDMA転送を行わなければならないため、バッフ
ァ領域の切り換えに時間がかかるという問題点があっ
た。例えば、通信制御装置とデータバッファとの間でデ
ータチェイン転送などを行うとき、バッファ領域を切り
換えるときのオーバーヘッドが大きいと、これによって
通信速度が制限されてしまう。
However, in the conventional method in which a plurality of block data is DMA-transferred, the DMA transfer is performed after reading the head address of the descriptor included in the transfer control table or the memory address of the buffer area specified by the descriptor for each block data. Therefore, there is a problem that it takes time to switch the buffer area. For example, when performing data chain transfer or the like between a communication control device and a data buffer, if the overhead for switching the buffer area is large, the communication speed is thereby limited.

また、上位プロセッサはデータ転送されたバッファ領
域のデータに対して所定の処理を行うが、処理されたバ
ッファ領域に再びDMA転送を可能にするには、上位プロ
セッサはデータバッファへの処理状態に応じて、上記エ
ラーディスクリプタアドレスなどをDMAコントローラに
再設定しなければならず、そのための制御も複雑になっ
てしまう。
In addition, the upper processor performs predetermined processing on the data in the buffer area to which the data has been transferred, but in order to enable DMA transfer to the processed buffer area again, the upper processor must respond to the processing state of the data buffer. Therefore, the error descriptor address and the like must be reset in the DMA controller, and the control for that becomes complicated.

本発明の目的は、複数のブロックデータに対するDMA
転送効率を向上させすることができるデータ転送制御シ
ステムを提供することにある。また、本発明の別の目的
は、複数のブロックデータをブロック分割されたデータ
バッファにDMA転送するとき、プロセッサの負担を軽減
することができると共に、制御手順を簡素化することが
できるデータ転送制御システムを提供することにある。
An object of the present invention is to provide a DMA for a plurality of block data.
An object of the present invention is to provide a data transfer control system capable of improving transfer efficiency. Another object of the present invention is to provide a data transfer control which can reduce a load on a processor and simplify a control procedure when performing DMA transfer of a plurality of block data to a block-divided data buffer. It is to provide a system.

本発明の前記ならびにそのほかの目的と新規な特徴に
ついては本明細書の記述及び添付図面から明らかになる
であろう。
The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings.

〔課題を解決するための手段〕[Means for solving the problem]

本願において開示される発明のうち代表的なものの概
要を簡単に説明すれば下記の通りである。
The outline of a representative invention among the inventions disclosed in the present application will be briefly described as follows.

すなわち、ブロック分割されたデータバッファの各ブ
ロック毎に対応するブロックステータスの保持領域を、
DMAコントローラ及びプロセッサの双方がリード・ライ
ト可能に用意し、DMAコントローラがリードしたブロッ
クステータスが第1の状態にあるとき、当該ブロックス
テータスに対応するブロックへのDMA転送をDMAコントロ
ーラに許容すると共に、データ転送されたブロックに対
応するブロックステータスをDMAコントローラに第2の
状態に変更させ、当該ブロックのデータがプロセッサで
処理されて当該ブロックステータスが再び第1の状態に
変更されるまで斯るブロックステータスに応ずるブロッ
クへのデータ転送を禁止するようにするものである。
That is, the holding area of the block status corresponding to each block of the data buffer divided into blocks is
Both the DMA controller and the processor are prepared to be readable and writable, and when the block status read by the DMA controller is in the first state, the DMA controller permits the DMA transfer to the block corresponding to the block status, and Causing the DMA controller to change the block status corresponding to the data-transferred block to the second state, and until the data of the block is processed by the processor and the block status changes to the first state again; Is to prohibit data transfer to a block corresponding to.

このとき、プロセッサは、リードしたブロックステー
タスが第2の状態にあるとき、当該ブロックステータス
に対応するブロックのデータを処理し、処理を行ったブ
ロックに対応するブロックステータスを第1の状態に設
定変更する。
At this time, when the read block status is in the second state, the processor processes the data of the block corresponding to the block status, and changes the block status corresponding to the processed block to the first state. I do.

DAMコントローラ及びプロセッサの双方によるブロッ
クステータスの管理ならびにデータバッファに対するア
クセス制御を容易化するには、上記ブロックステータス
の保持領域を、対応ブロックの定義領域に含めておくと
よい。
In order to facilitate the management of the block status and the control of access to the data buffer by both the DAM controller and the processor, it is preferable to include the holding area of the block status in the definition area of the corresponding block.

また、連続的に連鎖するブロックの順番にブロック定
義領域をデータ転送制御テーブルに形成するようにし、
このときプロセッサは、データバッファの先頭アドレ
ス、各ブロック共通のブロック長並びにブロック数、そ
して上記転送制御テーブルの先頭アドレスを、DMAコン
トローラに初期設定し、初期設定された条件に従ってDM
Aコントローラが、データバッファのブロックを連鎖さ
せるように順番に指定してDMA転送を行うようにする。
In addition, the block definition area is formed in the data transfer control table in the order of the continuously chained blocks,
At this time, the processor initializes the start address of the data buffer, the block length and the number of blocks common to each block, and the start address of the transfer control table in the DMA controller, and sets the DM according to the initialized conditions.
The A controller performs the DMA transfer by sequentially designating the blocks of the data buffer to be chained.

このとき、データバッファの利用効率を高めるには、
データバッファのブロックをループ状に連鎖させるよう
に順番に指定して利用すればよい。
At this time, to increase the efficiency of using the data buffer,
What is necessary is just to specify and use the data buffer blocks in order so as to be linked in a loop.

そして、DMAコントローラによる上記転送制御テーブ
ルのアクセス速度を速めるには当該転送制御テーブルを
内蔵するDMAコントローラを用いることができる。さら
に、DMAコントローラが所定のブロックにデータを転送
したとき、斯るDMAコントローラが、当該ブロックの先
頭アドレスとデータ転送語数とをブロック定義領域に設
定するようにすれば、プロセッサは、各ブロックの先頭
アドレスを予め定義領域に定義しておく手間が省かれ
る。
Then, in order to increase the access speed of the transfer control table by the DMA controller, a DMA controller incorporating the transfer control table can be used. Further, when the DMA controller transfers data to a predetermined block, if the DMA controller sets the start address of the block and the number of data transfer words in the block definition area, the processor can control the start of each block. This eliminates the need to define the address in the definition area in advance.

〔作 用〕(Operation)

上記した手段によれば、データバッファにデータ転送
を行うDMAコントローラと、データバッファに転送され
たデータを処理するプロセッサとが共有する上記ブロッ
クステータスは、1つのブロックに対するデータ転送処
理とデータ処理とが交互に行われるように互いの処理を
調停するように作用し、このことが、データ転送された
ブロックデータの不所望な破壊を防止しながら、DMAコ
ントローラによる転送継続のための制御を単純化する。
言い換えるなら、DMAコントローラによるデータバッフ
ァへのデータ転送と、データバッファに転送されたデー
タに対するプロセッサの処理との繰り返しにおいて、プ
ロセッサによるDMAコントローラに対するデータ転送制
御条件の再設定を必要としなくなる。
According to the above-described means, the block status shared by the DMA controller that transfers data to the data buffer and the processor that processes the data transferred to the data buffer is such that the data transfer process and the data process for one block are different. Acting to arbitrate each other so that they occur alternately, which simplifies control by the DMA controller for transfer continuity while preventing undesired destruction of data transferred block data. .
In other words, in the repetition of the data transfer to the data buffer by the DMA controller and the processing of the processor for the data transferred to the data buffer, the processor does not need to reset the data transfer control condition for the DMA controller.

これに加えて、データバッファのブロック及びブロッ
ク定義領域を順番に連鎖させるための情報がDMAコント
ローラに初期設定され、初期設定された情報に基づいて
DMAコントローラ自らがデータバッファのブロックを連
鎖させるように順番に指定してDMA転送を行うことは、
ブロックの切り換えに際して連鎖されるべき次のブロッ
クの所在を示す情報を得るために、従来のように次の記
述子の所在を示す情報や、その情報によって指定される
記述子に含まれるメモリアドレスを複数回に分けて読み
込む処理を必要としないように作用し、これによってデ
ータバッファのブロックを切り換える処理の高速化を達
成する。
In addition, information for sequentially linking the blocks and the block definition area of the data buffer is initially set in the DMA controller, and based on the initially set information.
Performing DMA transfer by designating the DMA controller itself to chain the blocks of the data buffer in order is
In order to obtain the information indicating the location of the next block to be chained when switching blocks, information indicating the location of the next descriptor and the memory address included in the descriptor specified by the information are conventionally used. It works so as not to require a process of reading data in a plurality of times, thereby achieving high-speed processing for switching blocks of the data buffer.

そして、転送方向が逆の場合にも上記同様に作用す
る。
Then, even when the transfer direction is reversed, the same operation as described above is performed.

〔実 施 例〕〔Example〕

第1図には本発明の一実施例に係るデータ転送制御シ
ステムのブロック図構成例が示される。
FIG. 1 shows an example of a block diagram of a data transfer control system according to an embodiment of the present invention.

同図において1は通信コントローラであり、SCIコン
トローラ2及びDMAコントローラ3などを含み、送受信
データや各種パラメータなどを格納するRAM(ランダム
・アクセス・メモリ)で成るようなメインメモリ4やホ
ストプロセッサ5などの上位レイヤとシステムバス6を
介してインタフェースされると共に、通信回線TL,RLに
て送受信される情報に対して所定の通信プロトコルに従
った処理を行う。特に制限されないが、この通信コント
ローラ1は、公知の半導体集積回路製造技術によってシ
リコンのような1個の半導体基板に形成されている。
In FIG. 1, reference numeral 1 denotes a communication controller, which includes an SCI controller 2, a DMA controller 3, and the like, and includes a main memory 4 and a host processor 5 which are a RAM (random access memory) for storing transmission / reception data and various parameters. Interface with the upper layer via the system bus 6, and performs processing according to a predetermined communication protocol on information transmitted and received through the communication lines TL and RL. Although not particularly limited, the communication controller 1 is formed on one semiconductor substrate such as silicon by a known semiconductor integrated circuit manufacturing technique.

上記SCIコントローラ2は、得に制限されないが、送
信回線TL及び受信回路RLを介して他局に接続される回線
制御部や、この回線制御部によるデータ送受信に必要な
プロトコル処理のための制御部、そして送受信すべきデ
ータを先入れ先出し形式で一時的に蓄えるバッファなど
を含む。斯るSCIコントローラ2は、回線制御部から入
力されるフレームと、ホストプロセッサ5から与えられ
るコマンドを内部で処理して、ビットシリアルに情報を
送受信制御処理する。例えば、入力フレームに対しては
応答フレームを、そしてコマンドに対しては応答ステー
タスを生成する。入力フレームに対する処理は、そのフ
レームの種類を解読してフィールドを切り分け、そのフ
レームの種類に応ずる処理を内蔵制御部に与えたり、情
報フィールドのデータを内蔵バッファに順次蓄えてい
く。この処理の結果に対しては応答フレームが生成され
る。上位レイヤから与えられるコマンドは送信起動コマ
ンドなどであり、内蔵制御部はそのコマンドを実行した
処理結果に応じて応答ステータスを生成し、これを上位
レイヤに返す。
The SCI controller 2 includes, but is not limited to, a line control unit connected to another station via the transmission line TL and the reception circuit RL, and a control unit for protocol processing necessary for data transmission and reception by the line control unit. And a buffer for temporarily storing data to be transmitted and received in a first-in first-out format. The SCI controller 2 internally processes a frame input from the line control unit and a command given from the host processor 5, and performs bit serial transmission / reception control processing. For example, a response frame is generated for an input frame, and a response status is generated for a command. In processing for an input frame, the type of the frame is decoded to separate fields, processing corresponding to the type of the frame is given to the built-in control unit, or data of the information field is sequentially stored in a built-in buffer. A response frame is generated for the result of this processing. The command given from the upper layer is a transmission start command or the like, and the built-in control unit generates a response status according to the processing result of executing the command, and returns this to the upper layer.

上記DMAコントローラ3は、SCIコントローラ2からの
DMA転送要求に従って、SCIコントローラ2が受信したデ
ータを直接メインメモリ4の所定領域に転送制御した
り、メインメモリ4の所定領域に格納されている送信す
べきデータを直接SCIコントローラ2に転送制御したり
する。
The DMA controller 3 receives a signal from the SCI controller 2
In accordance with the DMA transfer request, the SCI controller 2 controls the transfer of the data received directly to a predetermined area of the main memory 4 and the transfer control of the data to be transmitted stored in the predetermined area of the main memory 4 directly to the SCI controller 2. Or

メインメモリ4に転送された受信データはホストプロ
セッサ5のデータ処理に供され、また送信すべきデータ
はホストプロセッサ5によるデータ処理を介して生成さ
れているが、SCIコントローラ2によるデータの送受信
はフレームを単位として行われるため、メインメモリ4
上の送受信データもフレーム毎に区別されたブロックデ
ータとして格納されている。
The received data transferred to the main memory 4 is subjected to data processing by the host processor 5, and data to be transmitted is generated through data processing by the host processor 5. Of the main memory 4
The above transmission / reception data is also stored as block data distinguished for each frame.

送受信データをフレーム単位で区別してメインメモリ
4に格納するため、メインメモリ4にはブロック分割さ
れたデータバッファ10が形成されている。このデータバ
ッファ10は、特に制限されないが、n分割された第1ブ
ロックBLK1乃至第nブロックBLKnに分割されている。各
ブロックのブロック長は全て同一とされ、データバッフ
ァ10は連続するアドレス空間に配置されている。そして
各ブロックBLK1〜BLKnを定義するための領域として、例
えばメインメモリ4に転送制御テーブル11が形成されて
いる。この転送制御テーブル11は、上記第1ブロックBL
K1〜第nブロックBLKnに夫々対応する第1記述子DCRP1
〜第n記述子DCRPnを含み、各記述子には、ブロックス
テータス、ブロック先頭アドレス、及び転送語数を保持
する領域が1バイトづつ設けられている。それら記述子
DCRP1〜DCRPnは連続するアドレス空間に配置されてい
る。
In order to store the transmission / reception data in the main memory 4 while distinguishing the data in units of frames, the main memory 4 has a data buffer 10 divided into blocks. Although not particularly limited, the data buffer 10 is divided into first to n-th blocks BLK1 to BLKn, which are divided into n blocks. Each block has the same block length, and the data buffer 10 is arranged in a continuous address space. For example, a transfer control table 11 is formed in the main memory 4 as an area for defining each of the blocks BLK1 to BLKn. The transfer control table 11 stores the first block BL
First descriptor DCRP1 corresponding to each of K1 to n-th block BLKn
Each of the descriptors includes an area for holding a block status, a block head address, and the number of words to be transferred, one byte at a time. Those descriptors
DCRP1 to DCRPn are arranged in a continuous address space.

上記ブロック先頭アドレスは、それを含む記述子に対
応するブロックのスタートアドレスを意味する。例えば
第1記述子DCRP1に書き込まれるブロック開始アドレス
は第1ブロックのスタートアドレスとされる。転送語数
は、それを含む記述子に対応するブロックに格納されて
いるブロックデータのバイト数を表す。例えば第1記述
子DCRP1に書き込まれる転送語数は第1ブロックBLK1に
格納されるブロックデータのバイト数とされる。
The block start address means a start address of a block corresponding to a descriptor including the block start address. For example, the block start address written in the first descriptor DCRP1 is the start address of the first block. The transfer word number indicates the number of bytes of the block data stored in the block corresponding to the descriptor including the transfer word. For example, the number of transfer words written in the first descriptor DCRP1 is the number of bytes of the block data stored in the first block BLK1.

ブロックステータスは、特に制限されないが、その状
態0により、対応ブロックへのデータの書き込みを許容
するステータスとみなされ、またその状態1により、対
応ブロックからのデータの読み出しを許容するステータ
スとみなされる。このように定義されたブロックステー
タスは、データバッファ10がDMA転送における転送元に
なるか転送先になるかにより、言い換えるなら、データ
バッファ10に受信データが書き込まれるか、或いは送信
すべきデータが書き込まれるかにより、DMAコントロー
ラ3及びホストプロセッサ5にとって夫々固有の意味を
持つ。
The block status is not particularly limited, but its status 0 is regarded as a status permitting data writing to the corresponding block, and its status 1 is regarded as a status allowing data reading from the corresponding block. The block status defined in this way depends on whether the data buffer 10 is a transfer source or a transfer destination in the DMA transfer, in other words, the received data is written to the data buffer 10 or the data to be transmitted is written. Depending on whether the DMA controller 3 or the host processor 5 has a specific meaning.

即ち、SCIコントローラ2が受信したデータをDMAコン
トローラ3によりデータバッファ10にブロック転送する
場合には、DMAコントローラ3にとってブロックステー
タスは、それを含む記述に対応するブロックに対するDM
A転送の可否を意味するステータスとみなされ、特に制
限されないが、ブロックステータスが状態0のときには
対応ブロックに対するDMA転送を許容し、状態1のとき
には対応ブロックに対するDMA転送を禁止するという意
味を持つ。このときホストプロセッサ5にとってブロッ
クステータスは、それを含む記述子に対応するブロック
への処理の可否を意味するステータスとみなされ、ブロ
ックステータスが状態1のときには対応ブロックのデー
タを読み出して処理することを許容し、状態0のときに
は対応ブロックのデータを読み出して処理することを禁
止するという意味を持つ。
That is, when the data received by the SCI controller 2 is block-transferred to the data buffer 10 by the DMA controller 3, the block status for the DMA controller 3 is the DM status of the block corresponding to the description including the block status.
The status is regarded as a status indicating whether or not the A transfer is possible, and is not particularly limited. When the block status is the state 0, the DMA transfer to the corresponding block is permitted, and when the block status is the state 1, the DMA transfer to the corresponding block is prohibited. At this time, for the host processor 5, the block status is regarded as a status indicating whether or not processing can be performed on the block corresponding to the descriptor including the block status. When the block status is the state 1, the data of the corresponding block is read and processed. In the state 0, it means that reading and processing the data of the corresponding block is prohibited.

一方、送信すべきデータをホストプロセッサ5がデー
タバッファ10に書き込み、書き込まれたデータをDMAコ
ントローラ3がSCIコントローラ2にブロック転送する
場合には、ホストプロセッサ5にとってブロックステー
タスは、それを含む記述子に対応するブロックに対する
データの書き込みの可否を意味するステータスとみなさ
れ、ブロックステータスが状態0のときには対応ブロッ
クに対するデータの書き込みを許容し、状態1のときに
は対応ブロックに対するデータの書き込みを禁止すると
いう意味を持つ。このときDMAコントローラ3にとって
ブロックステータスは、それを含む記述子に対応するブ
ロックを転送元とするDMA転送の可否を意味するステー
タスとみなされ、ブロックステータスが状態1のときに
は対応ブロックのデータをDMA転送することを意味し、
状態0のときには対応するブロックのデータに対するDM
A転送を禁止するという意味を持つ。
On the other hand, when the host processor 5 writes data to be transmitted to the data buffer 10 and the DMA controller 3 performs block transfer of the written data to the SCI controller 2, the block status for the host processor 5 is a descriptor including the block status. The status is regarded as a status indicating whether data can be written to a block corresponding to... When the block status is state 0, data writing to the corresponding block is permitted, and when the block status is state 1, data writing to the corresponding block is prohibited. have. At this time, for the DMA controller 3, the block status is regarded as a status indicating whether or not DMA transfer using the block corresponding to the descriptor including the block is possible, and when the block status is state 1, the data of the corresponding block is DMA-transferred. Means to
When the state is 0, the DM for the data of the corresponding block
A means that transfer is prohibited.

ブロックステータスに対して斯様な定義が与えられた
とき、DMAコントローラ3及びホストプロセッサ5は、
特に制限されないが、ブロックステータスを参照しなが
ら次に挙げる処理を行うようになっている。
When such a definition is given for the block status, the DMA controller 3 and the host processor 5
Although not particularly limited, the following processing is performed with reference to the block status.

SCIコントローラ2が受信したデータをDMAコントロー
ラ3によりデータバッファ10にブロツク転送する場合に
は、第1図に示されるように、DMAコントローラ3は、
所定の記述子に含まれるブロックステータスを読み込み
()、これが状態0であるなら、当該記述子に対応す
るブロツクに受信データを転送し()、その後当該記
述子のブロックステータスを状態1に書き換えると共
に、その記述子にブロック先頭アドレスと転送語数を書
き込む()。ブロックステータスが状態1である場合
には、それが状態0に反転されるまで、言い換えるなら
当該ブロックステータスに対応するブロックのデータが
ホストプロセッサ5により処理されるまで、DMAコント
ローラ3は、斯るブロックへのデータ転送を休止する。
一方、ホストプロセッサ5は、DMAコントローラ3によ
るデータ転送が行われていないとき、所定の記述子に含
まれるブロックステータスを読み込む()、これが状
態1であるなら、当該記述子に含まれているブロック先
頭アドレスや転送語数をリードし()これを用いて対
応するブロックの受信データを読み出して処理し
()、その後当該記述子のブロックステータスを状態
0に書き換える()。ブロックステータスが状態0で
ある場合には、それが状態1に反転されるまで、言い換
えるなら、当該ブロックステータスに対応するブロック
に受信データがDMA転送されるまで、ホストプロセッサ
5は斯るブロックへの処理を行わない。
When the data received by the SCI controller 2 is block-transferred to the data buffer 10 by the DMA controller 3, as shown in FIG.
The block status included in the predetermined descriptor is read (), and if this is state 0, the received data is transferred to the block corresponding to the descriptor (), and then the block status of the descriptor is rewritten to state 1 and Then, the block start address and the number of words to be transferred are written in the descriptor (). If the block status is state 1, the DMA controller 3 keeps the block status until it is inverted to state 0, in other words, until the data of the block corresponding to the block status is processed by the host processor 5. Pause data transfer to.
On the other hand, when the data transfer by the DMA controller 3 is not performed, the host processor 5 reads the block status included in the predetermined descriptor (). The head address and the number of words to be transferred are read (), and the received data of the corresponding block is read and processed using the read address (), and then the block status of the descriptor is rewritten to state 0 (). If the block status is state 0, the host processor 5 transfers data to such a block until it is inverted to state 1, in other words, until the received data is DMA-transferred to the block corresponding to the block status. Do not process.

送信すべきデータをホストプロセッサ5がデータバッ
ファ10に書き込み、書き込まれたデータをDMAコントロ
ーラ3がSCIコントローラ2にブロック転送する場合に
は、第2図に示されるように、ホストプロセッサ5は、
所定の記述子に含まれるブロックステータスを読み込み
()、これが状態0であるなら、当該記述子に対応す
るブロックに送信すべきデータを書き込み()、その
後当該記述子のブロックステータスを状態1に書き換え
ると共に、その記述子にブロック先頭アドレスと転送語
数を書き込む()。ブロックステータスが状態1であ
る場合には、それが状態0に反転されるまで、言い換え
るなら、当該ブロックステータスに対応するブロックの
データがDMAコントローラ3によりSCIコントローラ2に
転送されるまでホストプロセッサ5は、斯るブロックへ
のデータの書き込みを休止する。一方、DMAコントロー
ラ3は、ホストプロセッサ5によるデータの書き込みが
行われていないとき、所定の記述子に含まれるブロック
ステータスを読み込み()、これが状態1であるな
ら、当該記述子に含まれているブロック先頭アドレスや
転送語数をリードし()、これを用いて対応するブロ
ックのデータをSCIコントローラ2にDMA転送し()、
その後当該記述子のブロックステータスを状態0に書き
換える()。ブロックステータスが状態0である場合
には、それが状態1に反転されるまで、言い換えるな
ら、当該ブロックステータスに対応するブロックに送信
すべきデータが書き込まれるまで、DMAコントローラ3
は、斯るブロックへのDMA転送処理を行わない。
When the host processor 5 writes data to be transmitted to the data buffer 10 and the DMA controller 3 performs block transfer of the written data to the SCI controller 2, as shown in FIG.
The block status included in the predetermined descriptor is read (), and if the status is 0, the data to be transmitted is written to the block corresponding to the descriptor (), and then the block status of the descriptor is rewritten to status 1. At the same time, the block start address and the number of words to be transferred are written in the descriptor (). If the block status is state 1, the host processor 5 keeps changing until the block status is inverted to state 0, in other words, until the data of the block corresponding to the block status is transferred to the SCI controller 2 by the DMA controller 3. The writing of data to such a block is suspended. On the other hand, when data is not being written by the host processor 5, the DMA controller 3 reads the block status included in the predetermined descriptor (), and if this is state 1, the block status is included in the descriptor. The block head address and the number of words to be transferred are read (), and the data of the corresponding block is DMA-transferred to the SCI controller 2 using these (),
Thereafter, the block status of the descriptor is rewritten to state 0 (). If the block status is state 0, the DMA controller 3 waits until it is inverted to state 1, in other words, until data to be transmitted is written to the block corresponding to the block status.
Does not perform the DMA transfer processing to such a block.

第3図には、上記DMAコントローラ3の一例が示され
る。このDMAコントローラ3は、上記転送制御テーブル1
1やデータバッファ10を利用したブロックデータのDMA転
送制御に利用されるレジスタセットとして、例えば以下
に説明する各種レジスタを有する。第3図において20は
モードレジスタであり、SCIコントローラ2が受信した
データをデータバッファ10にDMA転送する動作モードや
ホストプロセッサ5がデータバッファ10に書き込んだ送
信すべきデータをSCIコントローラ2にDMA転送する動作
モードなどがホストプロセッサ5によって設定される。
21はコントロールレジスタ群であり、上記データバッフ
ァ10や転送制御テーブル11の領域を指定したり、それら
に含まれるブロックや記述子を順番に連鎖させるために
必要な情報などがホストプロセッサ5により初期設定さ
れるようになっており、そのためのレジスタとして、転
送制御テーブル先頭アドレスレジスタ22、データバッフ
ァ先頭アドレスレジスタ23、ブロック長レジスタ24、及
びブロック数レジスタ25、を含む。このコントロールレ
ジスタ群21に含まれるレジスタには、データ入出力バッ
ファ35を介して外部からデータが与えられるが、そのと
きのレジスタの選択は、アドレス入出力バッファ36を通
して外部から与えられるアドレス信号によって行われる
ようになっている。尚、データ入出力バアッファ35及び
アドレス入出力バッファ36はホストプロセッサ5並びに
SCIコントローラ2の双方とインタフェースされるよう
になっている。
FIG. 3 shows an example of the DMA controller 3. The DMA controller 3 stores the transfer control table 1
As a register set used for DMA transfer control of block data using the data buffer 1 or the data buffer 10, for example, various registers described below are provided. In FIG. 3, reference numeral 20 denotes a mode register, which is an operation mode in which data received by the SCI controller 2 is DMA-transferred to the data buffer 10 and data to be transmitted written by the host processor 5 in the data buffer 10 is DMA-transferred to the SCI controller 2. The operation mode to be performed is set by the host processor 5.
Reference numeral 21 denotes a control register group. Information necessary for designating areas of the data buffer 10 and the transfer control table 11 and for sequentially linking blocks and descriptors contained therein are initialized by the host processor 5. Registers for this purpose include a transfer control table start address register 22, a data buffer start address register 23, a block length register 24, and a block number register 25. The registers included in the control register group 21 are externally supplied with data through a data input / output buffer 35, and the selection of the register at that time is performed by an address signal externally supplied through an address input / output buffer 36. It has become. The data input / output buffer 35 and the address input / output buffer 36 are connected to the host processor 5 and
It is designed to interface with both SCI controllers 2.

27はワークレジスタ群であり、例えばDMAコントロー
ラ3がリードしたブロックステータスや転送制御テーブ
ル11に書き込むべきブロックステータスを保持するブロ
ックステータスレジスタ28、ブロック先頭アドレスレジ
スタ29、ブロック毎のデータ転送語数をバイト単位で保
有するデータ転送語数カウントレジスタ30、及びデータ
バッファ10の先頭ブロックから何番目のブロックを現在
利用しているかを示すブロック数カウントレジスタ31を
含む。そして、転送制御テーブル11をアクセスするため
のアドレスは転送制御テーブルアドレスレジスタ32が保
有し、又、データバッファ10をアクセスするためのアド
レスはデータバッファアドレスレジスタ33が保有するよ
うになっている。
Reference numeral 27 denotes a work register group, for example, a block status register 28 for holding a block status read by the DMA controller 3 and a block status to be written in the transfer control table 11, a block head address register 29, and the number of data transfer words for each block in byte units. And a data transfer word count register 30 held by the data buffer 10, and a block count register 31 indicating which block from the first block of the data buffer 10 is currently used. An address for accessing the transfer control table 11 is held in the transfer control table address register 32, and an address for accessing the data buffer 10 is held in the data buffer address register 33.

コントロールレジスタ群21に含まれるレジスタ22〜25
がホストプロセッサ5により初期設定されると、レジス
タ22に設定された転送制御テーブルの先頭アドレスがレ
ジスタ32に内部転送されると共に、レジスタ23に初期設
定されたデータバッファの先頭アドレスがレジスタ33に
内部転送される。転送制御テーブルアドレスレジスタ32
が保有するアドレスによって転送制御テーブル11をアク
セスすると、当該レジスタ32のアドレスは演算部40によ
り次のメモリアドレスにインクリメントされる。同様に
データバッファアドレスレジスタ33が保有するアドレス
によってデータバッファ10をアクセスすると、当該レジ
スタ33のアドレスは演算部40により次のメモリアドレス
にインクリメントされる。そしてデータバッファ10がバ
イト単位でアクセスされる毎にデータ転送語数がカウン
トレジスタ30の値が演算部40によりインクリメント又は
ディクリメントされる。インクリメントするかディクリ
メントするかは、データ転送モードに従って決定され
る。即ち、受信データのDMA転送モードの場合にはイン
クリメントされ、最終的に、1つのブロックに転送され
たブロックデータの転送語数を保有することになる。こ
のとき、当該レジスタ30が最終的に保有することになる
データ転送語数は、1つのブロックに対するDMA転送が
終了されたとき、そのブロックに対応する記述子に書き
込まれるようになっている。送信データのDMA転送モー
ドの場合には、所定の記述子から読み込んだ転送語数を
初期値として順次ディクリメントされる。このとき、当
該レジスタ30の値が0にクリアされると、DMA制御部41
はブロックの切り換え処理を行う。受信データのDMA転
送を行っている場合におけるブロック切り換え処理は、
SCIコントローラ2が受信データのフレーム末尾を検出
することに連動してDMA制御部41に与えられる。
Registers 22 to 25 included in control register group 21
Is initialized by the host processor 5, the start address of the transfer control table set in the register 22 is transferred internally to the register 32, and the start address of the data buffer initialized in the register 23 is stored in the register 33. Will be transferred. Transfer control table address register 32
When the transfer control table 11 is accessed with the address held by the, the address of the register 32 is incremented by the arithmetic unit 40 to the next memory address. Similarly, when the data buffer 10 is accessed by the address held in the data buffer address register 33, the address of the register 33 is incremented by the arithmetic unit 40 to the next memory address. Then, every time the data buffer 10 is accessed in byte units, the arithmetic register 40 increments or decrements the number of data transfer words by the value of the count register 30. Whether to increment or decrement is determined according to the data transfer mode. That is, in the case of the DMA transfer mode of the received data, the value is incremented, and finally the number of words of the block data transferred to one block is retained. At this time, the number of data transfer words finally held by the register 30 is written to the descriptor corresponding to the block when the DMA transfer for one block is completed. In the case of the DMA transfer mode of transmission data, the number of transfer words read from a predetermined descriptor is sequentially decremented as an initial value. At this time, when the value of the register 30 is cleared to 0, the DMA controller 41
Performs a block switching process. Block switching processing when DMA transfer of received data is performed
It is provided to the DMA controller 41 in conjunction with the detection of the end of the frame of the received data by the SCI controller 2.

上記ブロック切り換え処理は、当該処理が指示された
ときのブロック数カウントレジスタ31の値と、ブロック
長レジスタ24の設定値とを剰乗し、これによって得られ
たメモリアドレスによって上記データバッファアドレス
レジスタ33の値を書き換えることによって行われるよう
になっている。このブロック切り換え処理が行われたと
きに、転送制御テーブルレジスタ32の値も次のメモリア
ドレスに更新され、これによって、切り換えられたブロ
ックに対応する記述子もリード可能になる。
In the block switching process, the value of the block number count register 31 at the time when the process is instructed and the set value of the block length register 24 are raised to the power, and the memory address obtained by this multiplies the data buffer address register 33. Is performed by rewriting the value of. When this block switching process is performed, the value of the transfer control table register 32 is also updated to the next memory address, so that the descriptor corresponding to the switched block can be read.

受信データのDMA転送モードが設定されているときに
データバッファアドレスレジスタ33にブロックの先頭ア
ドレスが書き込まれると、その先頭アドレスはブロック
先頭アドレスレジスタ29に保持されるようになってい
る。斯るレジスタ29に保持されているブロック先頭アド
レスは、当該ブロックに対するDMA転送が終了されたと
き、そのブロックに対応する記述子の所定領域に書き込
まれる。このようにして記述子に書き込まれたブロック
先頭アドレスは、ホストプロセッサ5がその記述子に対
応するブロックのデータを読み出すときに利用される。
一方、送信データのDMA転送モードが設定されていると
きには、送信すべきデータのブロックに対応する記述子
が保有するブロック先頭アドレスを上記ブロック先頭ア
ドレスレジスタ29に読み込み、この値をデータバッファ
アドレスレジスタ33に内部転送して当該ブロックのメモ
リアドレスを順次生成していってもよいが、受信データ
のDMA転送動作と同じくDMAコントローラ3の内部制御に
基づくブロック切り換え処理に従ってそのデータバッフ
ァアドレスレジスタ33に保持されているブロックの先頭
アドレスを利用するようにしてもよい。
When the head address of a block is written to the data buffer address register 33 while the DMA transfer mode of received data is set, the head address is held in the block head address register 29. The block start address held in the register 29 is written to a predetermined area of a descriptor corresponding to the block when the DMA transfer for the block is completed. The block start address written in the descriptor in this way is used when the host processor 5 reads data of the block corresponding to the descriptor.
On the other hand, when the DMA transfer mode of the transmission data is set, the block start address held by the descriptor corresponding to the block of the data to be transmitted is read into the block start address register 29, and this value is read into the data buffer address register 33. The memory address of the block may be sequentially generated by internal transfer to the data buffer address register 33, but the data is held in the data buffer address register 33 in accordance with the block switching process based on the internal control of the DMA controller 3 as in the DMA transfer operation of the received data. Alternatively, the head address of the block being used may be used.

DMA転送制御部41は、ブロック数レジスタ25の値とブ
ロック数カウントレジスタ31の値が一致するかを監視
し、これが一致したとき、言い換えるなら、データバッ
ファ10の最終のブロックを利用したDMA転送を終了した
ときには、転送制御テーブルアドレスレジスタ32をレジ
スタ22が保有する転送制御テーブル先頭アドレスによっ
て書き換えると共に、データバッファアドレスレジスタ
33をレジスタ23が保有するデータバッファ先頭アドレス
によって書き換える。これにより、データバッファ10の
ブロックを、ループ状に連鎖させて順番に利用可能にな
る。また、DMA転送制御部41は、転送制御テーブル11の
記述子からブロックステータスレジスタ28に読み込んだ
ブロックステータスの状態を判定すると共に、その判定
結果と、モードレジスタ20に設定されているDMA転送モ
ードとの関係に従って、当該記述子に対応するブロック
に対するDMA転送が許容されているか否かを判別する。
そしてそのブロックに対するブロックデータの転送を終
えてブロックの切り換え処理を行うとき、ブロックステ
ータスレジスタ28におけるブロックステータスの状態を
反転し、この反転したブロックステータスによって斯る
記述子のブロックステータスを書き換え制御する。
The DMA transfer control unit 41 monitors whether the value of the block number register 25 and the value of the block number count register 31 match, and when they match, in other words, the DMA transfer using the last block of the data buffer 10 is performed. When the transfer is completed, the transfer control table address register 32 is rewritten with the transfer control table start address held by the register 22, and the data buffer address register is rewritten.
33 is rewritten by the data buffer start address held by the register 23. As a result, the blocks of the data buffer 10 can be used sequentially in a loop. Further, the DMA transfer control unit 41 determines the state of the block status read into the block status register 28 from the descriptor of the transfer control table 11, and determines the determination result and the DMA transfer mode set in the mode register 20. According to the relationship, it is determined whether or not DMA transfer to the block corresponding to the descriptor is permitted.
When the block switching process is performed after the transfer of the block data to the block, the state of the block status in the block status register 28 is inverted, and the block status of the descriptor is rewritten and controlled by the inverted block status.

DMAコントローラ3に対するDMA転送要求は、特に制限
されないが、SCIコントローラ2から出力されるDMAリク
エスト信号DREQがDMA制御部41にアサートされることに
よって与えられる。DMA転送要求があると、DMA制御部41
はホスト制御部42を介してホストプロセッサ5にバスリ
クエスト信号BREQをアサートし、これに応答してホスト
プロセッサ5がバスアクノレッジ信号BACKをアサートす
ることによってDMAコントローラ3がバス権を獲得す
る。これにより、DMA制御部41はDMAアクノレッジ信号を
アセートしてSCIコントローラ2のDMA転送要求に承認を
与える。DMA制御部41は、特に制限されないが、この承
認を与えた後上記ブロックデータのDMA転送に必要な制
御を開始する。尚、ホスト制御部42は、必要に応じて割
り込み信号IRQやDMA転送終了信号DENDをホストプロセッ
サ5に与えるようになっている。
The DMA transfer request to the DMA controller 3 is not particularly limited, but is given when the DMA request signal DREQ output from the SCI controller 2 is asserted to the DMA control unit 41. When there is a DMA transfer request, the DMA control unit 41
Asserts a bus request signal BREQ to the host processor 5 via the host control unit 42, and in response thereto, the host processor 5 asserts the bus acknowledge signal BACK, so that the DMA controller 3 acquires the bus right. As a result, the DMA controller 41 asserts the DMA acknowledge signal and gives an approval to the DMA transfer request of the SCI controller 2. Although not particularly limited, the DMA control unit 41 starts the control necessary for the DMA transfer of the block data after giving this approval. The host control unit 42 supplies an interrupt signal IRQ and a DMA transfer end signal DEND to the host processor 5 as necessary.

次に上記実施例のシステムにおける受信データのDMA
転送動作の一例を第4図を中心に説明する。
Next, the DMA of the received data in the system of the above embodiment
An example of the transfer operation will be described mainly with reference to FIG.

ホストプロセッサ5が、上記レジスタ22〜25に、転送
制御テーブル先頭アドレス、データバッファ先頭アドレ
ス、ブロック長、そしてブロック数を初期設定し(ST
1)、次いで、モードレジスタ20に受信データのDMA転送
モードを設定することにより(ST2)、DMAコントローラ
3は、SCIコントローラ2が受信したデータをデータバ
ッファ10にDMA転送可能にされる。現在までのホストプ
ロセッサ5とDMAコントローラ3の処理により、例えば
データバッファ10の第iブロックBLKiと第jブロックBL
Kjに未処理受信データが残されているとする。この状態
でDMAコントローラ3にSCIコントローラ2からDMA転送
要求があると(ST3)、DMAコントローラ3はホストプロ
セッサ5にバス権を要求し(ST4)、それが承認されて
バス権を獲得することにより(ST5)、SCIコントローラ
2にDMA転送要求の承認を与える(ST6)。そしてDMAコ
ントローラ3は、そのとき転送制御テーブルアドレスレ
ジスタ32が保有している第k番目の記述子DCR1Pkの先頭
アドレスを利用してブロックステータスBSTkをブロック
ステータスレジスタ28に読み込む(ST7)。読み込まれ
たブロックステータスBSTkはDMA制御部41によりその状
態が判定され、状態0である場合には、そのときデータ
バッファアドレスレジスタ33が保持さている第k番目の
ブロックBLKkの先頭アドレスを利用して、当該ブロック
BLKkに、SCIコントローラ2から受信データが順番にDMA
転送される(ST8)。受信データのフレーム末尾がSCIコ
ントローラ2によって検出されると、当該ブロックBLKk
へのDMA転送が所定のタイミングで停止される。これに
よりDMA制御部41はブロックステータスレジスタ28が保
持するブロックステータスBSTkを状態1に反転させて、
記述子DCRPkのブロックステータス保持領域を書き換え
ると共に、その時ブロック先頭アドレスレジスタ29に保
持されている当該ブロックBLKkの先頭アドレス、並びに
そのときデータ転送語数カウントレジスタ30が保有して
いる転送語数を、その記述子DCRPkの第2バイト目及び
第3バイト目に書き込む(ST9)。これにより、ブロッ
クBLKkに格納された受信データに対するホストプロセッ
サ5の処理が許容される。そして、DMAコントローラ3
は、信号DENDをアサートすると共に、信号BREQをネゲー
トして(ST10)、受信データの転送終了とバス権の放棄
とをホストプロセッサ5に通知する。
The host processor 5 initializes the transfer control table start address, data buffer start address, block length, and number of blocks in the registers 22 to 25 (ST
1) Then, by setting the DMA transfer mode of the received data in the mode register 20 (ST2), the DMA controller 3 can transfer the data received by the SCI controller 2 to the data buffer 10 by DMA. By the processing of the host processor 5 and the DMA controller 3 up to now, for example, the i-th block BLKi and the j-th block BL of the data buffer 10
It is assumed that unprocessed received data remains in Kj. In this state, when a DMA transfer request is issued from the SCI controller 2 to the DMA controller 3 (ST3), the DMA controller 3 requests a bus right from the host processor 5 (ST4). (ST5), an approval of the DMA transfer request is given to the SCI controller 2 (ST6). Then, the DMA controller 3 reads the block status BSTk into the block status register 28 using the start address of the k-th descriptor DCR1Pk held in the transfer control table address register 32 at that time (ST7). The state of the read block status BSTk is determined by the DMA control unit 41. If the state is 0, the block status BSTk is read using the head address of the k-th block BLKk held in the data buffer address register 33 at that time. , The block
The received data from the SCI controller 2 is sequentially transferred to the BLKk by DMA.
Transferred (ST8). When the end of the frame of the received data is detected by the SCI controller 2, the corresponding block BLKk
Is stopped at a predetermined timing. As a result, the DMA control unit 41 inverts the block status BSTk held by the block status register 28 to state 1, and
In addition to rewriting the block status holding area of the descriptor DCRPk, the description of the head address of the block BLKk held at that time in the block head address register 29 and the number of transfer words held by the data transfer word number count register 30 at that time are described. Write to the second and third bytes of child DCRPk (ST9). This allows the host processor 5 to process the received data stored in the block BLKk. And DMA controller 3
Asserts the signal DEND and negates the signal BREQ (ST10), and notifies the host processor 5 of the completion of the transfer of the received data and the relinquishment of the bus right.

これによってバス権を獲得した(ST11)ホストプロセ
ッサ5は、内部動作制御手順に従って、受信データの処
理を継続するため、第i番目の記述子DCRPiからブロッ
クステータスBSTiを読み込む(ST12)。このブロックス
テータスBSTiが状態1であることを検出すると、引き続
いて当該記述子DCRPiからブロック先頭アドレス及び転
送語数をリードし(ST13)、これに基づいて対応する第
i番目のブロックBLKiに格納されている受信データを読
んで所定のデータ処理を行い(ST14)、その後斯る記述
子DCRPiのブロックステータスBSTiを状態0に書き換え
て(ST15)、ブロックBLKiへの新たな受信データの格納
を許容する。上記実施例によれば以下の作用効果を得る
ことができる。
As a result, the host processor 5 that has acquired the bus right (ST11) reads the block status BSTi from the i-th descriptor DCRPi to continue the processing of the received data according to the internal operation control procedure (ST12). When detecting that the block status BSTi is state 1, the block head address and the number of words to be transferred are subsequently read from the descriptor DCRPi (ST13), and stored in the corresponding i-th block BLKi based on this. The received received data is read and predetermined data processing is performed (ST14). Thereafter, the block status BSTi of the descriptor DCRPi is rewritten to state 0 (ST15), and storage of new received data in the block BLKi is permitted. According to the above embodiment, the following effects can be obtained.

(1)ブロック分割されたデータバッファ10の各ブロッ
クBLK1〜BKLn枚に対応するブロックステータスの保持領
域を、DMAコントローラ3及びホストプロセッサ5の双
方がリード・ライト可能に設けられ、DMAコントローラ
3がリードしたブロックステータス状態0であるとき、
当該ブロックステータスに対応するブロックへのDMA転
送をDMAコントローラ3に許容すると共に、データ転送
されたブロックに対応するブロックステータスをDMAコ
ントローラ3に状態1に変更させ、当該ブロックのデー
タがホストプロセッサ5で処理されて当該ブロックステ
ータスが再び状態0に変更されるまで斯るブロックステ
ータスに応ずるブロックへのデータ転送を禁止するよう
になっている。このとき、ホストプロセッサ5は、リー
ドしたブロックステータスが状態1であるとき、当該ブ
ロックステータスに対応するブロックのデータを処理
し、処理を行ったブロックに対応するブロックステータ
スを状態0に設定変更する。このように各ブロックBLK1
〜BLKnに1対1対応するブロックステータスBST1〜BSTn
は、1つのブロックに対するデータ転送処理とデータ処
理とが交互に行われるように互いの処理を調停するよう
に作用するから、これにより、データ転送されたブロッ
クデータの不所望な破壊を防止しながらDMAコントロー
ラ3による転送継続のための制御を単純化することがで
きる。言い換えるなら、DMAコントローラ3によるデー
タバッファ10へのデータ転送と、データバッファ10に転
送されたデータに対するホストプロセッサ5の処理との
繰り返しにおいて、ホストプロセッサ5によるDMAコン
トローラ3に対するデータ転送制御条件の再設定を必要
としないでも済むようになる。
(1) A block status holding area corresponding to each of the blocks BLK1 to BKLn of the divided data buffer 10 is provided so that both the DMA controller 3 and the host processor 5 can read / write data. When the block status status 0 is
The DMA controller 3 permits the DMA transfer to the block corresponding to the block status, and causes the DMA controller 3 to change the block status corresponding to the data-transferred block to the state 1. Until the block status is processed and the block status is changed to the state 0 again, data transfer to a block corresponding to the block status is prohibited. At this time, when the read block status is state 1, the host processor 5 processes the data of the block corresponding to the block status, and changes the setting of the block status corresponding to the processed block to state 0. Thus, each block BLK1
To BLKn, block statuses BST1 to BSTn corresponding one-to-one
Acts to arbitrate each other so that data transfer processing and data processing for one block are performed alternately, thereby preventing unwanted destruction of data-transferred block data. The control for the transfer continuation by the DMA controller 3 can be simplified. In other words, in the repetition of the data transfer to the data buffer 10 by the DMA controller 3 and the processing of the host processor 5 for the data transferred to the data buffer 10, the host processor 5 resets the data transfer control condition for the DMA controller 3. Need not be required.

(2)ブロックステータスを、その状態0により、対応
ブロックへのデータの書き込みを許容するステータスと
みなし、またその状態1により、対応ブロックからのデ
ータの読み出しを許容するステータスとみなすように、
斯るブロックステータスに対する意味付けをホストプロ
セッサ5及びDMAコントローラ3に定義しておくと、デ
ータバッファ10がDMA転送における転送元になるか転送
先になるかにより、言い換えるなら、データバッファ10
に受信データが書き込まれるか、或いは送信すべきデー
タが書き込まれるかにより、DMAコントローラ3及びホ
ストプロセッサ5は、そのブロックステータスの意味あ
いを判定する。したがって、送信すべきデータをホスト
プロセッサ5がデータバッファ10に書き込む処理と、書
き込まれたデータをDMAコントローラ3がSCIコントロー
ラ2にDMA転送する処理とに対しても、上記ブロックス
テータスを利用して、1つのブロックに対する処理が交
互に行われるように互いの処理を調停することができ
る。
(2) The block status is regarded as a status permitting data writing to the corresponding block based on the state 0, and as a status permitting data reading from the corresponding block based on the state 1.
If the meaning of the block status is defined in the host processor 5 and the DMA controller 3, the data buffer 10 becomes a transfer source or a transfer destination in the DMA transfer, in other words, the data buffer 10.
The DMA controller 3 and the host processor 5 determine the meaning of the block status based on whether the received data is written in the block or the data to be transmitted. Therefore, the block status is also used for the process in which the host processor 5 writes the data to be transmitted to the data buffer 10 and the process in which the DMA controller 3 transfers the written data to the SCI controller 2 by DMA. The processes can be arbitrated so that the processes for one block are performed alternately.

(3)ブロックステータスの保持領域を、対応ブロック
の定義領域、即ち記述子に含めるようにすることによ
り、DMAコントローラ3及びホストプロセッサ5の双方
によるブロックステータスの管理ならびにデータバッフ
ァ10に対するアクセス制御を容易化することができる。
(3) By including the holding area of the block status in the definition area of the corresponding block, that is, the descriptor, both the DMA controller 3 and the host processor 5 can easily manage the block status and control access to the data buffer 10. Can be

(4)連続的に連鎖するブロックBLK1〜BLKnの順番にブ
ロック定義領域即ち記述子DCRP1〜DCRPnをデータ転送制
御テーブル11に形成するようにし、このときホストプロ
セッサ5は、データバッファ10の先頭アドレス、各ブロ
ックに共通のブロックに共通のブロック長並びにブロッ
ク数、そして上記転送制御テーブル11の先頭アドレス
を、DMAコントローラ3に初期設定し、初期設定された
条件に従ってDMAコントローラ3が、データバッファ10
のブロックを連鎖させるように順番に指定してDMA転送
を行うようにすることにより、ブロックの切り換えに際
して連鎖されるべき次のブロックの所在を示す情報を得
るために、従来のように次の記述子の所在を示す情報
や、その情報によって指定される記述子に含まれるメモ
リアドレスを複数回に分けて転送制御テーブルから読み
込む処理を必要としなくなり、これによってデータバッ
ファ10のブロックを切り換える処理の高速化を達成する
ことができる。
(4) The block definition areas, that is, the descriptors DCRP1 to DCRPn are formed in the data transfer control table 11 in the order of the continuously chained blocks BLK1 to BLKn. At this time, the host processor 5 The block length and number of blocks common to each block and the number of blocks, and the start address of the transfer control table 11 are initially set in the DMA controller 3, and the DMA controller 3 sets the data buffer 10 in accordance with the initially set conditions.
In order to obtain information indicating the location of the next block to be chained when switching blocks by specifying DMA transfer in order so that blocks are chained, the following description There is no need to read the information indicating the location of the child or the memory address included in the descriptor specified by the information from the transfer control table in a plurality of times, thereby increasing the speed of the process of switching the blocks of the data buffer 10. Can be achieved.

(5)上記作用効果(4)において、DMAコントローラ
3がデータバッファ10をループ状に連鎖させるように順
番に指定して利用することにより、データバッファ10の
利用効率を高めることができる。
(5) In the operation and effect (4), the DMA controller 3 specifies and uses the data buffers 10 in order so as to be chained in a loop, so that the use efficiency of the data buffers 10 can be increased.

(6)上記夫々の作用効果により、複数のブロックデー
タに対するDMA転送効率を向上させることができると共
に、ホストプロセッサ5の負担を軽減することができ、
これによりシステムのスループットを向上させることが
できる。
(6) By the above respective effects, the DMA transfer efficiency for a plurality of block data can be improved, and the load on the host processor 5 can be reduced.
Thereby, the throughput of the system can be improved.

(7)転送制御テーブル11をDMAコントローラ3に内蔵
することにより、DMAコントローラ3による転送制御テ
ーブル11のアクセス速度を速めることができる。
(7) By incorporating the transfer control table 11 in the DMA controller 3, the access speed of the transfer control table 11 by the DMA controller 3 can be increased.

(8)DMAコントローラ3が所定のブロックにデータを
転送したとき、斯るDMAコントローラ3が、当該ブロッ
クの先頭アドレスとデータ転送語数とをそのブロックに
対応する記述子に書き込むようにすることにより、ホス
トプロセッサ5は、各ブロックの先頭アドレスなどを予
め各記述子に定義しておかなくてもよくなる。
(8) When the DMA controller 3 transfers data to a predetermined block, the DMA controller 3 writes the head address of the block and the number of data transfer words in a descriptor corresponding to the block, The host processor 5 does not have to define the start address of each block in each descriptor in advance.

以上本発明者によってなされた発明を実施例に基づい
て具体的に説明したが、本発明はそれに限定されるもの
ではなく、その要旨を逸脱しない範囲において種々変更
可能である。
Although the invention made by the inventor has been specifically described based on the embodiments, the invention is not limited thereto, and various modifications can be made without departing from the gist of the invention.

例えば、上記実施例ではデータバッファとSCIコント
ローラとの間でブロックデータをDMA転送する場合につ
いて説明したが、本発明はそれに限定されず、メモリ間
でのDMA転送にも適用することができる。また、DMAコン
トローラ内部の各種レジスタの構成は上記実施例に限定
されず適宜変更することができる。また、転送制御テー
ブルをDMAコントローラに内蔵させる場合には、当該テ
ーブルを内外から夫々アクセス可能にしておけばよい。
DMAコントローラと、SCIコントローラのような入出力回
路とは、夫々別チップで構成することもできる。
For example, in the above embodiment, a case has been described in which block data is DMA-transferred between the data buffer and the SCI controller. However, the present invention is not limited to this, and can be applied to DMA transfer between memories. Further, the configuration of various registers inside the DMA controller is not limited to the above embodiment, and can be changed as appropriate. When the transfer control table is built in the DMA controller, the table may be accessible from inside and outside.
The DMA controller and the input / output circuit such as the SCI controller can be configured by separate chips.

以上の説明では本発明者によってなされた発明を主と
してその背景となった利用分野である通信コントローラ
を含むシステムに適用した場合について説明したが、本
発明はそれに限定されるものではなく、DMAコントロー
ラと共にフロッピーディスクコントローラやハードディ
スクコントローラなどを含むシステムなどその他のシス
テムにも広く利用することができる。本発明は、少なく
ともブロックデータをDMA転送する条件のものに適用す
ることができる。
In the above description, the case where the invention made by the present inventor is mainly applied to a system including a communication controller which is a field of use as the background has been described, but the present invention is not limited to this, and It can be widely used in other systems such as a system including a floppy disk controller and a hard disk controller. The present invention can be applied to at least a condition for performing DMA transfer of block data.

〔発明の効果〕〔The invention's effect〕

本願において開示される発明のうち代表的なものによ
って得られる効果を簡単に説明すれば下記の通りであ
る。
The effects obtained by the representative inventions among the inventions disclosed in the present application will be briefly described as follows.

すなわち、DMAコントローラとプロセッサとがリード
・ライト可能に共有するブロックステータスの状態に対
しては、データ転送方向やDMA転送モードに応じて夫々
固有の意味付けが与えられ、DMAコントローラ及びプロ
セッサは、その定義付けに照らしてブロックステータス
の状態を判定してブロックデータに対する所要の処理を
行い、その処理を終えた後には当該処理対象ブロックに
応ずるブロックステータスの状態を反転するようになっ
ているから、ブロック分割されたデータバッファを転送
元又は転送先とするDMA転送のためのDMAコントローラと
プロセッサの処理に際し、上記ブロックステータスを参
照することにより、1つのブロックに対する双方からの
処理が交互に行われるように互いの処理を簡単に調停す
ることができるという効果がある。
In other words, a specific status is given to the block status that is shared between the DMA controller and the processor in a readable / writable manner according to the data transfer direction and the DMA transfer mode. The block status is determined in light of the definition, necessary processing is performed on the block data, and after the processing is completed, the state of the block status corresponding to the processing target block is reversed. At the time of processing of the DMA controller and the processor for the DMA transfer using the divided data buffer as a transfer source or a transfer destination, by referring to the block status, processing from both sides for one block is performed alternately. The effect that each process can be arbitrated easily That.

したがって、データバッファ上のブロックデータに対
する処理が行われる前にこれが不所望に書き換えられて
しまうことを防止して、DMAコントローラによる転送継
続のための制御を単純化することができる。言い換える
なら、DMAコントローラによるデータバッファへのデー
タ転送と、データバッファに転送されたデータに対する
プロセッサの処理との繰り返しなどにおいて、プロセッ
サによるDMAコントローラに対するデータ転送制御条件
の再設定を行わなくても済むようになる。
Therefore, it is possible to prevent the block data in the data buffer from being undesirably rewritten before the processing is performed on the data, thereby simplifying the control for continuing the transfer by the DMA controller. In other words, in the case where the data transfer to the data buffer by the DMA controller and the processing of the processor for the data transferred to the data buffer are repeated, the processor does not need to reset the data transfer control conditions for the DMA controller. become.

また、ブロックステータスの保持領域を、対応ブロッ
クの定義領域に含めるようにすることにより、DMAコン
トローラ及びホストプロセッサの双方によるブロックス
テータスの管理並びにデータバッファに対するアクセス
制御を容易化することができるという効果がある。
In addition, by including the holding area of the block status in the definition area of the corresponding block, it is possible to facilitate the management of the block status and the control of the access to the data buffer by both the DMA controller and the host processor. is there.

さらに、連続的に連鎖するブロックの順番にブロック
定義領域を転送制御テーブルに形成するようにし、この
ときプロセッサは、データバッファの先頭アドレス、各
ブロックに共通のブロツク長並びにブロック数、そして
上記転送制御テーブルの先頭アドレスを、DMAコントロ
ーラに初期設定し、初期設定された条件に従ってDMAコ
ントローラが、データバッファのブロックを連鎖させる
ように順番に指定してDMA転送を行うようにすることに
より、ブロックの切り換えに際して連鎖されるべき次の
ブロックの所在を示す情報を得るために、従来のように
次の記述子の所在を示す情報や、その情報によって指定
される記述子に含まれるメモリアドレスを複数回に分け
て転送制御テーブルから読み込む処理を必要としなくな
り、これによってデータバッファのブロック切り換え処
理の高速化を達成することができるという効果がある。
Further, the block definition area is formed in the transfer control table in the order of the blocks that are continuously chained. At this time, the processor determines the start address of the data buffer, the block length and the number of blocks common to each block, and the transfer control table. Block switching is performed by initially setting the start address of the table in the DMA controller and instructing the DMA controller to perform DMA transfer in order to chain the data buffer blocks according to the initially set conditions. In order to obtain the information indicating the location of the next block to be chained, the information indicating the location of the next descriptor and the memory address included in the descriptor specified by the information are obtained multiple times as in the past. Separate reading from the transfer control table is no longer necessary. There is an effect that it is possible to achieve a high-speed block switching process fa.

このとき、DMAコントローラがデータバッファをルー
プ状に連鎖させるように順番に指定して利用することに
より、データバッファの利用効率を高めることができる
という効果がある。
At this time, there is an effect that the use efficiency of the data buffer can be enhanced by sequentially specifying and using the data buffer so that the DMA buffer is chained in a loop.

上記夫々の効果により、複数のブロックデータに対す
るDMA転送効率を向上させることができると共に、プロ
セッサの負担を軽減することができ、これによりシステ
ムのスループットを向上させることができるという効果
がある。
According to each of the above effects, the DMA transfer efficiency for a plurality of block data can be improved, and the load on the processor can be reduced, whereby the system throughput can be improved.

そして、転送制御テーブルをDMAコントローラに内蔵
することにより、DMAコントローラによる転送制御テー
ブルのアクセス速度を速めることができ、また、DMAコ
ントローラが所定のブロックにデータを転送したとき、
斯るDMAコントローラが当該ブロックの先頭アドレスと
データ転送語数とをそのブロックに対応する記述子に書
き込むようにすることにより、プロセッサは、各ブロッ
クの先頭アドレスなどを予め各記述子に定義しておかな
くてもよくなる。
By incorporating the transfer control table in the DMA controller, the access speed of the transfer control table by the DMA controller can be increased, and when the DMA controller transfers data to a predetermined block,
By causing the DMA controller to write the head address of the block and the number of data transfer words in the descriptor corresponding to the block, the processor pre-defines the head address of each block in each descriptor. You don't have to.

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

第1図は本発明に係るデータ転送制御システムの一実施
例を受信データのDMA転送との関連において示したブロ
ック図、 第2図は本発明に係るデータ転送制御システムの一実施
例を送信データのDMA転送との関連において示したブロ
ック図、 第3図は第1図及び第2図のシステムに含まれるDMAコ
ントローラの一例を示すブロック図、 第4図はDMAコントローラによる受信データのDMA転送処
理と、ホストプロセッサによる受信データの処理との関
係を示した一例動作説明図である。 1……通信コントローラ、2……SCIコントローラ、3
……DMAコントローラ、4……メインメモリ、5……ホ
ストプロセッサ、6……システムバス、10……データバ
ッファ、BLK1〜BLKn……ブロック、11……転送制御テー
ブル、DCRP1〜DCRPn……記述子、20……モードレジス
タ、22……転送制御テーブル先頭アドレスレジスタ、23
……データバッファ先頭アドレスレジスタ、24……ブロ
ック長レジスタ、25……ブロック数レジスタ、28……ブ
ロックステータスレジスタ、29……ブロック先頭アドレ
スレジスタ、30……データ転送語数カウントレジスタ、
31……ブロック数カウントレジスタ、32……転送制御テ
ーブルアドレスレジスタ、33……データバッファアドレ
スレジスタ、41……DMA制御部。
FIG. 1 is a block diagram showing one embodiment of a data transfer control system according to the present invention in relation to DMA transfer of received data. FIG. 2 is a block diagram showing one embodiment of a data transfer control system according to the present invention. FIG. 3 is a block diagram showing an example of a DMA controller included in the systems of FIGS. 1 and 2, and FIG. 4 is a DMA transfer process of received data by the DMA controller. FIG. 7 is an exemplary operation explanatory view showing a relationship between the host data and processing of received data by a host processor. 1 ... Communication controller, 2 ... SCI controller, 3
... DMA controller, 4 ... main memory, 5 ... host processor, 6 ... system bus, 10 ... data buffer, BLK1 to BLKn ... block, 11 ... transfer control table, DCRP1 to DCRPn ... descriptor , 20 ... mode register, 22 ... transfer control table start address register, 23
…… Data buffer start address register, 24 …… Block length register, 25 …… Block number register, 28 …… Block status register, 29 …… Block start address register, 30 …… Data transfer word count register
31: Block number count register, 32: Transfer control table address register, 33: Data buffer address register, 41: DMA control unit.

フロントページの続き (72)発明者 降旗 信義 東京都小平市上水本町5丁目22番1号 日立マイクロコンピュータエンジニアリ ング株式会社内 (56)参考文献 特開 昭63−292261(JP,A) 特開 昭63−124161(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 13/28 310 Continuation of the front page (72) Inventor Nobuyoshi Furuhata 5-22-1, Kamizuhoncho, Kodaira-shi, Tokyo Inside Hitachi Microcomputer Engineering Co., Ltd. (56) References JP-A-63-292261 (JP, A) 63-124161 (JP, A) (58) Field surveyed (Int. Cl. 6 , DB name) G06F 13/28 310

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プロセッサと、DMAコントローラと、前記
プロセッサ及びDMAコントローラの双方によってアクセ
ス可能なメモリと、を有し、 前記メモリは複数のブロックから成るデータバッファ
と、前記ブロック毎の記述子領域が形成される転送制御
テーブルとを有し、 前記夫々の記述子領域はブロックステータスの保持領域
とブロック定義領域とを有し、 前記プロセッサは、DMAコントローラに、前記データバ
ッファの先頭アドレス、前記転送制御テーブルの先頭ア
ドレス及び前記ブロックの大きさと数を初期設定可能に
され、 DMA転送要求に応答する前記DMAコントローラは、前記プ
ロセッサによる初期設定内容に従って前記ブロックを順
番に指定したDMA転送制御が可能であって、前記記述子
領域からリードしたブロックステータスが第1の状態で
あるとき当該ブロックステータスに対応されるブロック
を対象とするDMA転送を行うと共に、当該DMA転送された
ブロックのブロックステータスを第2の状態に変更し、
上記ブロックのデータに対するプロセッサの処理を許容
し、且つ、その処理が済んで当該ブロックステータスが
プロセッサにより第1の状態に戻されるまでブロックへ
の新たなデータ転送を抑制するものであることを特徴と
するデータ転送制御システム。
1. A processor comprising: a processor; a DMA controller; and a memory accessible by both the processor and the DMA controller. The memory includes a data buffer composed of a plurality of blocks, and a descriptor area for each block. A transfer control table to be formed, each of the descriptor areas has a block status holding area and a block definition area, and the processor has a DMA controller provide a DMA controller with a head address of the data buffer and the transfer control. The start address of the table and the size and number of the blocks can be initialized, and the DMA controller responding to the DMA transfer request can perform the DMA transfer control in which the blocks are sequentially specified in accordance with the initial settings by the processor. The block status read from the descriptor area is in the first state When DMA transfer is performed on the block corresponding to the block status, the block status of the block subjected to the DMA transfer is changed to the second state,
The processor permits processing of the data of the block and suppresses new data transfer to the block until the processing returns to the first state by the processor after the processing is completed. Data transfer control system.
【請求項2】前記DMAコントローラはブロックを順番に
指定したDMA転送制御においてブロックをループ状に連
鎖させるように順番に指定可能であることを特徴とする
請求項1記載のデータ転送制御システム。
2. The data transfer control system according to claim 1, wherein said DMA controller is capable of sequentially specifying blocks so as to be chained in a loop in DMA transfer control in which blocks are sequentially specified.
【請求項3】前記DMAコントローラは、ブロックにデー
タを転送したとき、そのブロックのブロック定義領域に
ブロックの先頭アドレスとデータ転送語数とを設定する
処理を行うようにされて成るものであることを特徴とす
る請求請求項2記載のデータ転送制御システム。
3. The method according to claim 1, wherein the DMA controller is configured to, when data is transferred to the block, perform processing for setting a head address of the block and the number of data transfer words in a block definition area of the block. 3. The data transfer control system according to claim 2, wherein:
JP14559789A 1989-06-08 1989-06-08 Data transfer control system Expired - Fee Related JP2963696B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14559789A JP2963696B2 (en) 1989-06-08 1989-06-08 Data transfer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14559789A JP2963696B2 (en) 1989-06-08 1989-06-08 Data transfer control system

Publications (2)

Publication Number Publication Date
JPH0310354A JPH0310354A (en) 1991-01-17
JP2963696B2 true JP2963696B2 (en) 1999-10-18

Family

ID=15388745

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14559789A Expired - Fee Related JP2963696B2 (en) 1989-06-08 1989-06-08 Data transfer control system

Country Status (1)

Country Link
JP (1) JP2963696B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07105071A (en) * 1993-09-30 1995-04-21 Sony Corp Information transfer device and information recording device
DE10030158A1 (en) * 2000-06-20 2002-01-03 Bayerische Motoren Werke Ag Control unit with a main microprocessor and with a processor interface to a bus transceiver

Also Published As

Publication number Publication date
JPH0310354A (en) 1991-01-17

Similar Documents

Publication Publication Date Title
US5613162A (en) Method and apparatus for performing efficient direct memory access data transfers
US4141067A (en) Multiprocessor system with cache memory
US6081851A (en) Method and apparatus for programming a remote DMA engine residing on a first bus from a destination residing on a second bus
US4937734A (en) High speed bus with virtual memory data transfer and rerun cycle capability
US6636927B1 (en) Bridge device for transferring data using master-specific prefetch sizes
US5590369A (en) Bus supporting a plurality of data transfer sizes and protocols
JPH09160861A (en) Information-processing system for transfer of command block to local processing side without intervention of local processor
US6889266B1 (en) Method for delivering packet boundary or other metadata to and from a device using direct memory controller
JP2539058B2 (en) Data processor
US5481681A (en) Data transfer operations between two asynchronous buses
US5668957A (en) Method and apparatus for providing virtual DMA capability on an adapter connected to a computer system bus with no DMA support
JPH04363746A (en) Microcomputer system having dma function
JP2591502B2 (en) Information processing system and its bus arbitration system
EP1431878A2 (en) Shared write buffer in a peripheral interface and method of operating
EP0969384B1 (en) Method and apparatus for processing information, and providing medium
US5097483A (en) Tri-statable bus with apparatus to drive bus line to first level and then second level for predetermined time before turning off
US5745707A (en) Bus control device for computer system having computer and DMA device
JP2963696B2 (en) Data transfer control system
US5809534A (en) Performing a write cycle to memory in a multi-processor system
JPH0628261A (en) Method and device for data transfer
US6651152B1 (en) Microcomputer including download circuit controlling data download to plurality of memories
US5546560A (en) Device and method for reducing bus activity in a computer system having multiple bus-masters
JP3110024B2 (en) Memory control system
US5752265A (en) Memory accessing in a multi-processor system using snooping
JP2522412B2 (en) Communication method between programmable controller and input / output device

Legal Events

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