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

JPH0816894B2 - Direct memory access controller - Google Patents

Direct memory access controller

Info

Publication number
JPH0816894B2
JPH0816894B2 JP63100656A JP10065688A JPH0816894B2 JP H0816894 B2 JPH0816894 B2 JP H0816894B2 JP 63100656 A JP63100656 A JP 63100656A JP 10065688 A JP10065688 A JP 10065688A JP H0816894 B2 JPH0816894 B2 JP H0816894B2
Authority
JP
Japan
Prior art keywords
memory
data
data buffer
value
buffer memory
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 - Lifetime
Application number
JP63100656A
Other languages
Japanese (ja)
Other versions
JPH01271861A (en
Inventor
有利 白江
Original Assignee
株式会社ピーエフユー
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社ピーエフユー filed Critical 株式会社ピーエフユー
Priority to JP63100656A priority Critical patent/JPH0816894B2/en
Publication of JPH01271861A publication Critical patent/JPH01271861A/en
Publication of JPH0816894B2 publication Critical patent/JPH0816894B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Description

【発明の詳細な説明】 〔概要〕 内部にデータ・バッファ・メモリを持つDMA制御装置
に関し、 有効バイト数を可変とすることによりバースト転送時
間を変化し得るようにすることを目的とし、 メモリ・アドレスを保持するメモリ・アドレス・レジ
スタと、転送バイト数をカウントするためのカウント・
レジスタと、転送データを一時的に蓄えるデータ・バッ
ファ・メモリと、データ・バッファ・メモリの有効バイ
ト数を制限するための有効バイト数制限レジスタと、デ
ータ・バッファ・メモリをアクセスするためのメモリ・
ポインタとを具備し、データ・バッファ・メモリの有効
バイト数をバーストDMA転送の一かたまりのデータと
し、その有効バイト数を可変とすることで、バースト転
送時間を変えられるようにしたものである。
DETAILED DESCRIPTION OF THE INVENTION [Outline] The present invention relates to a DMA controller having a data buffer memory inside, and a memory controller for the purpose of changing the burst transfer time by making the number of effective bytes variable. A memory address register that holds the address and a count address for counting the number of transfer bytes
A register, a data buffer memory for temporarily storing transfer data, a valid byte limit register for limiting the valid byte count of the data buffer memory, and a memory buffer for accessing the data buffer memory.
By providing a pointer, the number of valid bytes in the data buffer memory is a block of data for burst DMA transfer, and the number of valid bytes is variable, so that the burst transfer time can be changed.

〔産業上の利用分野〕[Industrial applications]

本発明は、内部にデータ・バッファ・メモリを持つDM
A制御装置(直接メモリ・アクセス制御装置)に関する
ものである。制御用コンピュータを始めとしてI/O装置
との高速なデータ転送が必要な分野においてDMA転送は
必須のものである。
The present invention is a DM having an internal data buffer memory.
A control device (direct memory access control device). DMA transfer is indispensable in the field that requires high-speed data transfer with I / O devices such as control computers.

〔従来の技術〕[Conventional technology]

第6図は従来のDMA制御方式のブロック図である。同
図において、1はDMA制御装置、2はメモリ、3はI/O装
置、4は中央処理装置、11はメモリ・アドレス・レジス
タ、12はバイト・カウント・レジスタをそれぞれ示して
いる。
FIG. 6 is a block diagram of a conventional DMA control method. In the figure, 1 is a DMA controller, 2 is a memory, 3 is an I / O device, 4 is a central processing unit, 11 is a memory address register, and 12 is a byte count register.

第6図に示すように、従来のDMA制御方式は、メモリ
・アドレスを保持するためのメモリ・アドレス・レジス
タ11および転送バイト数をカウントするためのカウント
・レジスタ12を持つDMA制御装置1と、メモリ2と、I/O
装置3と、中央処理装置4とで構成されている。
As shown in FIG. 6, the conventional DMA control system has a DMA controller 1 having a memory address register 11 for holding a memory address and a count register 12 for counting the number of transfer bytes, Memory 2 and I / O
It is composed of a device 3 and a central processing unit 4.

この種の従来例においては、中央処理装置4がDMA制
御装置1に対してメモリ・アドレスと転送バイト数とを
設定して起動させると、カウント・レジスタ12の値が零
になるまで転送を続ける。この際、バスを継続的に使用
する方式(バースト転送方式)もしくは1ワード分のDM
A転送を行う毎にバスを開放する方式(サイクル・スチ
ール転送方式)の何れかの方式で行うのが一般的であ
る。
In the conventional example of this type, when the central processing unit 4 sets the memory address and the number of transfer bytes to the DMA control unit 1 and activates it, the transfer is continued until the value of the count register 12 becomes zero. . At this time, a method of continuously using the bus (burst transfer method) or DM for one word
Generally, the bus is released every time A transfer is performed (cycle steal transfer system).

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

前者の方式は、バス支配権制御に要する時間が小さく
て済むため、高速且つ効率の良い転送が可能であるが、
その反面、バスを長時間にわたって継続的に使用するた
め、その間の割込み要求へのレスポンスの遅れ等、シス
テム全体のリアルタイム性への悪影響がある。
The former method enables fast and efficient transfer because it takes a short time to control the bus.
On the other hand, since the bus is continuously used for a long time, there is an adverse effect on the real-time property of the entire system, such as a delay in response to an interrupt request during that time.

後者の方式は、リアルタイム性への悪影響はないが、
バス支配権制御に要する時間が大きくなり過ぎると言う
欠点がある。
The latter method has no adverse effect on real-time performance,
There is a drawback that the time required for controlling the bus control becomes too long.

本発明は、この点に鑑みて創作されたものであって、
有効バイト数を可変とすることによりバースト転送時間
を変化し得るようになったDMA制御方式を提供すること
を目的としている。
The present invention was created in view of this point,
It is an object of the present invention to provide a DMA control method in which the burst transfer time can be changed by making the number of effective bytes variable.

〔課題を解決するための手段とその作用〕[Means for solving the problem and its action]

第1図は本発明のDMA制御装置を示すブロック図であ
る。同図において、1はDMA制御装置、11はメモリ・ア
ドレス・レジスタ(MAR)、12はバイト・カンウト・レ
ジスタ(BCR)、13は有効バイト数制限レジスタ、14は
メモリ・ポインタ・レジスタ(MPR)、15はデータ・バ
ッファ・メモリ、17と18はデータバスをそれぞれ示して
いる。DMA制御装置1は、メモリ・アドレス・レジスタ1
1、バイト・カンウト・レジスタ12、有効バイト数制限
レジスタ13、メモリ・ポインタ・レジスタ14及びデータ
・バッファ・メモリ15などを有している。メモリ・アド
レス・レジスタ11は、データバス17に接続されているメ
モリをアクセスするためのアドレスを保持する。バイト
・カウント・レジスタ12は、転送バイト数をカウントす
るものである。データ・バッファ・メモリ15は、転送デ
ータを一時的に蓄えるものである。有効バイト数制限レ
ジスタ13は、データ・バッファ・メモリ15の有効バイト
数を制限するためのものである。メモリ・ポインタ・レ
ジスタ14は、データ・バッファ・メモリ15をアクセスす
るための番地を保持するものである。
FIG. 1 is a block diagram showing a DMA control device of the present invention. In the figure, 1 is a DMA controller, 11 is a memory address register (MAR), 12 is a byte count register (BCR), 13 is a valid byte limit register, and 14 is a memory pointer register (MPR). , 15 is a data buffer memory, and 17 and 18 are data buses. The DMA controller 1 has a memory address register 1
1, a byte count register 12, a valid byte number limit register 13, a memory pointer register 14, a data buffer memory 15, and the like. The memory address register 11 holds an address for accessing the memory connected to the data bus 17. The byte count register 12 counts the number of transferred bytes. The data buffer memory 15 temporarily stores transfer data. The effective byte number limit register 13 is for limiting the effective byte number of the data buffer memory 15. The memory pointer register 14 holds an address for accessing the data buffer memory 15.

例として、I/O装置からメモリへDMA転送する場合の動
作を説明する。I/O装置からデータバス18経由してDMA制
御装置1に入力されたデータは、メモリ・ポインタ・レ
ジスタ14の指す番地のデータ・バッファ・メモリ15に次
々とストアされる。データ・バッファ・メモリ15内のデ
ータ量が有効バイト数制限レジスタ13の指示するバイト
数に達すると、データ・バッファ・メモリ15内のデータ
は、データバス17を経由してアドレス・バス16でアドレ
スシングされるメモリ番地にバースト転送で次々と転送
される。この場合、有効バイト数制限レジスタ13の値を
大きくすればデータ・バッファ・メモリ内に一度に蓄え
るバイト数が大きくなるのでバースト転送時間が長くな
り、逆に小さくすればバースト転送時間は短くなる。そ
の値はシステムに応じて選べば良い。有効バイト数制限
レジスタ13の値は、中央処理装置4によって書替可能で
ある。
As an example, the operation in the case of DMA transfer from the I / O device to the memory will be described. The data input from the I / O device to the DMA control device 1 via the data bus 18 are sequentially stored in the data buffer memory 15 at the address indicated by the memory pointer register 14. When the amount of data in the data buffer memory 15 reaches the number of bytes indicated by the valid byte limit register 13, the data in the data buffer memory 15 is addressed by the address bus 16 via the data bus 17. It is transferred one after another by burst transfer to the memory address to be singed. In this case, if the value of the valid byte number limit register 13 is increased, the number of bytes stored in the data buffer memory at one time is increased, so that the burst transfer time becomes longer, and conversely, if it is made smaller, the burst transfer time becomes shorter. The value may be selected according to the system. The value of the valid byte limit register 13 can be rewritten by the central processing unit 4.

〔実施例〕〔Example〕

第2図は有効バイト数オーバの検出を行うハードウェ
ア機構の構成例のブロック図である。同図において、19
はデコーダ、20と21はAND回路、22はOR回路をそれぞれ
示している。
FIG. 2 is a block diagram of a configuration example of a hardware mechanism for detecting an excess of the number of valid bytes. In the figure, 19
Is a decoder, 20 and 21 are AND circuits, and 22 is an OR circuit.

有効バイト数制限レジスタ13の値をデコーダ19によっ
てデコードした信号を使ってメモリ・ポインタ・レジス
タ14の有効バイトを選択する。例えば、AND回路20は有
効バイト数が2mバイトをオーバすると“真”になり、AN
D回路21は有効バイト数の2m-L+1のバイトをオーバする
と“真”となり、それぞれOR回路22の出力を“真”とす
る。例えば、I/O装置からメモリへDMA転送を行う場合、
I/O装置からのデータをデータ・バッファ・メモリ15に
ストアする毎にメモリ・ポインタ・レジスタ14の値をイ
ンクリメントし、OR回路22の出力が“真”になれば、デ
ータ・バッファ・メモリ15にストアされたデータをメモ
リにバースト転送する。この動作をカウント・レジスタ
12が零になるまで繰り返す。メモリからI/O装置への転
送も同様に制御出来る。
A valid byte of the memory pointer register 14 is selected by using a signal obtained by decoding the value of the valid byte limit register 13 by the decoder 19. For example, the AND circuit 20 becomes “true” when the number of valid bytes exceeds 2 m bytes.
The D circuit 21 becomes "true" when the number of effective bytes of 2 m-L + 1 is exceeded, and the output of the OR circuit 22 becomes "true". For example, when performing DMA transfer from I / O device to memory,
Each time the data from the I / O device is stored in the data buffer memory 15, the value of the memory pointer register 14 is incremented, and if the output of the OR circuit 22 becomes “true”, the data buffer memory 15 Burst transfer of data stored in memory to memory. This operation count register
Repeat until 12 becomes zero. Transfers from memory to I / O devices can be controlled as well.

第3図は本発明で使用されるシーケンサの構成例を示
す図である。同図において、23はカウンタ、24はマイク
ロコード・メモリ、25はマルチプレクサをそれぞれ示し
ている。
FIG. 3 is a diagram showing a configuration example of a sequencer used in the present invention. In the figure, 23 is a counter, 24 is a microcode memory, and 25 is a multiplexer.

第3図のシーケンサは、第1図には示されていない
が、DMA制御装置1の中に存在し、DMA制御装置1の各部
を制御する。カンウタ23は通常はカウント値を+1する
が、分岐アドレス入力制御信号がオンのときには、読み
出されたマイクロコードの分岐アドレスがカウンタ23に
セットされる。マイクロコード・メモリ24からは、カウ
ンタ23で指定された番地のマイクロコードが読み出され
る。マルチプレクサ25は、読み出されたマイクロコード
の分岐条件選択部の内容で指定さた分岐条件が成立して
いるか否かを調べ、指定された分岐条件が成立している
場合は、分岐アドレス入力制御信号をオンとする。
Although not shown in FIG. 1, the sequencer of FIG. 3 exists in the DMA control device 1 and controls each unit of the DMA control device 1. The counter 23 normally increments the count value by 1, but when the branch address input control signal is on, the branch address of the read microcode is set in the counter 23. The microcode of the address designated by the counter 23 is read from the microcode memory 24. The multiplexer 25 checks whether or not the branch condition specified by the content of the branch condition selection unit of the read microcode is satisfied, and if the specified branch condition is satisfied, the branch address input control is performed. Turn on the signal.

第4図はI/Oからメモリへデータを転送する場合の処
理フローを示す図である。なお、これらの処理はシーケ
ンサの制御の下で行われる。
FIG. 4 is a diagram showing a processing flow when data is transferred from the I / O to the memory. Note that these processes are performed under the control of the sequencer.

中央処理装置がDMA制御装置(DMAC)およびI/O装置
を起動する。
The central processing unit activates the DMA controller (DMAC) and I / O devices.

I/O装置がDMA制御装置に対するデータ・リクエスト
DREQをオンするまで待つ。
I / O device requests data to DMA controller
Wait until DREQ is turned on.

DMA制御装置がI/O装置のデータ・レジスタ・ポート
を選択してI/O装置からデータ・バッファ・メモリへの
データ転送を行う。
The DMA controller selects the data register port of the I / O device to transfer data from the I / O device to the data buffer memory.

DMA制御装置はデータ・バッファ・メモリ内のデー
タのバイト数が有効バイト数をオーバしたか否かを調
べ、Yesの場合はに進み、Noの場合はに戻る。
The DMA controller checks whether or not the number of bytes of data in the data buffer memory exceeds the number of valid bytes, and if yes, returns to and if no, returns to.

DMA制御装置は、システム・バスを獲得するための
要求を出す。
The DMA controller issues a request to acquire the system bus.

バスを獲得したならばデータ・バッファ・メモリ→
メモリへのデータ転送を行う。(データ・バッファ・メ
モリが空になるまで続ける。) 転送カウント(バイト・カウンタ・レジスタ同義)
が0か否かを調べる。Noの場合にはの処理に戻る。
If you get the bus data buffer memory →
Transfers data to memory. (It continues until the data buffer memory becomes empty.) Transfer count (synonymous with byte counter register)
Check if is zero. If No, the process returns to.

第5図はメモリからI/Oへデータ転送する場合の処理
フローを示す図である。なお、これらの処理はシーケン
サの制御の下で行われる。
FIG. 5 is a diagram showing a processing flow when data is transferred from the memory to the I / O. Note that these processes are performed under the control of the sequencer.

中央処理装置がDMA制御装置およびI/O装置を起動す
る。
The central processing unit activates the DMA controller and I / O device.

DMA制御装置はシステム・バスを獲得するための要
求を出す。
The DMA controller issues a request to acquire the system bus.

バスを獲得したならば、メモリ→データ・バッファ
・メモリへのデータ転送を行う。
When the bus is acquired, the data is transferred from the memory to the data buffer memory.

DMA制御装置は、データ・バッファ・メモリ内のデ
ータのバイト数が有効バイト数をオーバしたか否かを調
べ、Yesの場合はに進み、Noの場合にはに戻る。
The DMA controller checks whether or not the number of bytes of data in the data buffer memory exceeds the number of valid bytes, and if yes, returns to and if no, returns to.

I/O装置がDMA制御装置に対するデータ・リクエスト
DREQをオンにするまで待つ。
I / O device requests data to DMA controller
Wait until you turn DREQ on.

DMA制御装置がI/O装置のデータ・レジスタ・ポート
を選択してデータ・バッファ・メモリからI/O装置への
データ転送を行う。
The DMA controller selects the data register port of the I / O device to transfer data from the data buffer memory to the I / O device.

,の処理をデータ・バッファ・メモリが空にな
るまで繰り返す。
The process of, is repeated until the data buffer memory becomes empty.

転送カウンタが“0"か否かを調べ、Noの場合はの
処理に戻る。
It is checked whether the transfer counter is "0", and if No, the process returns to.

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

以上の説明から明らかなように、本発明によれば、メ
モリとデータ・バッファ・メモリ間のデータ転送と、デ
ータ・バッファ・メモリとI/O装置間のデータ転送が別
々のデータ・バス上で行われるため、後者のデータ・バ
ッファ・メモリとI/O装置間のデータ転送中は、メモリ
をCPU側に解放することが出来るので、DMA転送中のCPU
へのバス負荷を軽減できる。また、本発明によれば、有
効バイト数制限レジスタの値をシステムの性質の応じて
設定することが出来る。例えば、リアルタイム性能重視
のシステムでは、有効バイト数制限レジスタの設定値を
小さくし、性能重視のシステムでは、有効バイト数制限
レジスタの設定値を大きくする。
As is apparent from the above description, according to the present invention, the data transfer between the memory and the data buffer memory and the data transfer between the data buffer memory and the I / O device are performed on different data buses. Since it is performed, the memory can be released to the CPU side during the latter data transfer between the data buffer memory and the I / O device.
The bus load on the bus can be reduced. Further, according to the present invention, the value of the valid byte number limit register can be set according to the characteristics of the system. For example, in a system that emphasizes real-time performance, the setting value of the effective byte count limit register is reduced, and in a system that emphasizes performance, the setting value of the effective byte count limit register is increased.

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

第1図は本発明のDMA制御装置を示す図、第2図は有効
バイト数オーバの検出を行うハードウェア機構の構成例
のブロック図、第3図は本発明で使用されるシーケンサ
の構成例を示すブロック図、第4図はI/Oからメモリへ
データを転送する場合の処理フローを示す図、第6図は
メモリからI/Oへデータを転送する場合の処理フローを
示す図、第6図は従来のDMA制御方式を示す図である。 1……DMA制御装置、2……メモリ、3……I/O装置、4
……中央処理装置、11……メモリ・アドレス・レジス
タ、12……バイト・カンウト・レジスタ、13……有効バ
イト数制限レジスタ、14……メモリ・ポインタ・レジス
タ、15……データ・バッファ・メモリ、17と18……デー
タバス、19……テゴーダ、20と21はAND回路、22……OR
回路。
FIG. 1 is a diagram showing a DMA control device of the present invention, FIG. 2 is a block diagram of a configuration example of a hardware mechanism for detecting an excess of the number of effective bytes, and FIG. 3 is a configuration example of a sequencer used in the present invention. FIG. 4 is a block diagram showing the processing flow when transferring data from the I / O to the memory. FIG. 6 is a diagram showing the processing flow when transferring data from the memory to the I / O. FIG. 6 is a diagram showing a conventional DMA control method. 1 ... DMA control device, 2 ... memory, 3 ... I / O device, 4
...... Central processing unit, 11 …… Memory address register, 12 …… Byte count register, 13 …… Effective byte limit register, 14 …… Memory pointer register, 15 …… Data buffer memory , 17 and 18 …… Data bus, 19 …… Tegoda, 20 and 21 are AND circuits, 22 …… OR
circuit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】連続転送分の転送データを一時的に蓄える
ことが出来るデータ・バッファ・メモリと、 メモリとデータ・バッファ・メモリの間のデータ転送を
行うための第1のバスと、 I/O装置とデータ・バッファ・メモリの間のデータ転送
を行うための第2のバスと、 データ・バッファ・メモリの有効バイト数を制限するた
めの有効バイト数制限レジスタと、 データ・バッファ・メモリのアクセス・アドレスを保持
するメモリ・ポインタと、 有効バイト数制限レジスタの値とメモリ・ポインタの値
とを比較する比較回路と、 制御手段と I/O装置とメモリ間で転送されたデータの転送バイト数
をカウントとするためのカウント・レジスタと、 を具備し、 制御手段は、I/O装置からメモリへのデータ転送時にお
いては、 ステップS1 I/O装置から送られてきたデータをデータ・バッファ・
メモリに書き込み、メモリ・ポインタの値をインクリメ
ントし、 ステップS2 メモリ・ポインタの値が有効バイト数制限レジスタの値
を越えていないことを比較回路の出力が示している場合
には、ステップS1の処理に戻り、メモリ・ポインタの値
が有効バイト数制限レジスタの値を越えていることを比
較回路の出力が示している場合には、I/O装置からデー
タ・バッファ・メモリへのデータ転送を停止し、ステッ
プS3の処理に進み、 ステップS3 メモリとデータ・バッファ・メモリ間のデータ転送のた
めのバス獲得要求を行い、バスが獲得できたならばステ
ップS4の処理に進み、 ステップS4 データ・バッファ・メモリに格納されている全データを
メモリにバースト転送し、 ステップS5 カウント・レジスタの値を参照して、中央処理装置によ
って指示された転送バイト数分のデータがI/O装置から
メモリに転送されているか否かを調べ、否の場合には、
ステップS1の処理に戻る と言う一連の処理を行うための制御を行い、 制御手段は、メモリからI/O装置へのデータ転送時にお
いては、 ステップS1′ メモリとデータ・バッファ・メモリ間のデータ転送のた
めのバス獲得要求を行い、バスが獲得できたならばステ
ップS2′の処理に進み、 ステップS2′ データがデータ・バッファ・メモリに書き込まれる度に
メモリ・ポインタの値をインクリメントしながら、メモ
リからデータ・バッファ・メモリにデータをバースト転
送し、 ステップS3′ メモリ・ポインタ・レジスタの値が有効バイト数制限レ
ジスタの値を越えていないことを比較回路の出力が示し
ている場合には、ステップS2′の処理に戻り、メモリ・
ポインタ・レジスタの値が有効バイト数制限レジスタの
値を越えていることを比較回路の出力が示している場合
には、メモリからデータ・バッファ・メモリへのデータ
転送を停止してステップS4′の処理に進み、 ステップS4′ データ・バッファ・メモリのデータをI/O装置にデータ
転送し、 ステップS5′ データ・バッファ・メモリが空の場合にはステップS6′
の処理に進み、データ・バッファ・メモリが空でない場
合にはステップS4′の処理に戻り、 ステップS6′ カウント・レジスタの値を参照して、中央処理装置によ
って指示された転送バイト数分のデータがメモリからI/
O装置に転送されたか否かを調べ、否の場合には、ステ
ップS1′の処理に戻る と言う一連の処理を行うための制御を行う ことを特徴とする直接メモリ・アクセス制御装置。
1. A data buffer memory capable of temporarily storing transfer data for continuous transfer, a first bus for transferring data between the memory and the data buffer memory, and an I / O. A second bus for transferring data between the device and the data buffer memory, a valid byte number limit register for limiting the valid byte number of the data buffer memory, and a data buffer memory A memory pointer that holds the access address, a comparison circuit that compares the value of the valid byte limit register with the value of the memory pointer, and a transfer byte of the data transferred between the control means, the I / O device, and the memory. A count register for counting the number; and, when the data is transferred from the I / O device to the memory, the control means sends the data from the step S1 I / O device. The received data in the data buffer
If the output of the comparison circuit indicates that the value of the memory pointer does not exceed the value of the valid byte limit register, the process of step S1 is performed. If the output of the comparison circuit indicates that the value of the memory pointer exceeds the value of the valid byte limit register, the data transfer from the I / O device to the data buffer memory is stopped. Then, in step S3, a bus acquisition request for data transfer between the memory and the data buffer memory is performed in step S3. If the bus is acquired, the process proceeds to step S4, and in step S4 data buffer -Burst transfer all data stored in memory to memory and refer to the value of the count register in step S5 to instruct by the central processing unit. Check whether the data for the number of transfer bytes that has been transferred is transferred from the I / O device to the memory, and if not,
The control means performs control for performing a series of processes such as returning to the process of step S1. A bus acquisition request for transfer is made, and if the bus can be acquired, the process proceeds to step S2 ′, and step S2 ′ increments the value of the memory pointer each time data is written to the data buffer memory, When data is burst-transferred from the memory to the data buffer memory, and the output of the comparison circuit indicates that the value of the step S3 ′ memory pointer register does not exceed the value of the valid byte limit register, Return to the processing of step S2 ′,
If the output of the comparison circuit indicates that the value of the pointer register exceeds the value of the valid byte number limit register, the data transfer from the memory to the data buffer memory is stopped and step S4 ' In step S4 ', the data in the data buffer memory is transferred to the I / O device, and in step S5', if the data buffer memory is empty, step S6 '.
If the data buffer memory is not empty, the process returns to step S4 ', and the data for the number of transfer bytes designated by the central processing unit is referred to by referring to the value of the count register in step S6'. From memory I /
A direct memory access control device characterized by performing a control for performing a series of processes of checking whether the data has been transferred to the O device and, if not, returning to the process of step S1 ′.
【請求項2】有効バイト数制限レジスタの値を調整する
ことで、メモリとデータ・バッファ・メモリ間のバース
ト・データ転送時間,およびデータ・バッファ・メモリ
とI/O装置間のデータ転送時間を調整できる ことを特徴とする請求項(1)の直接メモリ・アクセス
制御装置。
2. The burst data transfer time between the memory and the data buffer memory and the data transfer time between the data buffer memory and the I / O device are adjusted by adjusting the value of the valid byte limit register. The direct memory access control device according to claim 1, wherein the direct memory access control device is adjustable.
JP63100656A 1988-04-23 1988-04-23 Direct memory access controller Expired - Lifetime JPH0816894B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63100656A JPH0816894B2 (en) 1988-04-23 1988-04-23 Direct memory access controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63100656A JPH0816894B2 (en) 1988-04-23 1988-04-23 Direct memory access controller

Publications (2)

Publication Number Publication Date
JPH01271861A JPH01271861A (en) 1989-10-30
JPH0816894B2 true JPH0816894B2 (en) 1996-02-21

Family

ID=14279853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63100656A Expired - Lifetime JPH0816894B2 (en) 1988-04-23 1988-04-23 Direct memory access controller

Country Status (1)

Country Link
JP (1) JPH0816894B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6751696B2 (en) 1990-04-18 2004-06-15 Rambus Inc. Memory device having a programmable register

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6329867A (en) * 1986-07-23 1988-02-08 Nec Corp Dma controller

Also Published As

Publication number Publication date
JPH01271861A (en) 1989-10-30

Similar Documents

Publication Publication Date Title
US5471632A (en) System for transferring data between a processor and a system bus including a device which packs, unpacks, or buffers data blocks being transferred
US5265211A (en) Arbitration control logic for computer system having dual bus architecture
US6104417A (en) Unified memory computer architecture with dynamic graphics memory allocation
US5014186A (en) Data-processing system having a packet transfer type input/output system
US6622228B2 (en) System and method of processing memory requests in a pipelined memory controller
US5642489A (en) Bridge between two buses of a computer system with a direct memory access controller with accessible registers to support power management
US5544346A (en) System having a bus interface unit for overriding a normal arbitration scheme after a system resource device has already gained control of a bus
US5367639A (en) Method and apparatus for dynamic chaining of DMA operations without incurring race conditions
CN114051611A (en) DMA scatter and gather operations for non-contiguous memory
JP2504206B2 (en) Bus controller
US5333290A (en) DMA controller having jump function
JP3290650B2 (en) Memory controller
US5287486A (en) DMA controller using a programmable timer, a transfer counter and an or logic gate to control data transfer interrupts
US6976110B2 (en) Method and apparatus for reducing interrupt latency by dynamic buffer sizing
JPH0816894B2 (en) Direct memory access controller
US20030182517A1 (en) Method and system for buffering multiple requests from multiple devices to a memory
JPH06103225A (en) Chain type DMA system and DMA controller therefor
JP2723970B2 (en) Data transfer control device
JP2963696B2 (en) Data transfer control system
KR0145932B1 (en) Dma controller in high speed computer system
JP2594611B2 (en) DMA transfer control device
JP2599184B2 (en) DMAC read transfer controller
JPH01147764A (en) Direct memory access controller
JPS6249537A (en) Data buffer controller
JPH0537312Y2 (en)