JPH0546529A - Direct memory access system - Google Patents

Direct memory access system

Info

Publication number
JPH0546529A
JPH0546529A JP18639391A JP18639391A JPH0546529A JP H0546529 A JPH0546529 A JP H0546529A JP 18639391 A JP18639391 A JP 18639391A JP 18639391 A JP18639391 A JP 18639391A JP H0546529 A JPH0546529 A JP H0546529A
Authority
JP
Japan
Prior art keywords
data
bus
transfer
signal
direct 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.)
Withdrawn
Application number
JP18639391A
Other languages
Japanese (ja)
Inventor
Yoshio Morita
義雄 森田
Megumi Shibata
恵 柴田
Yamato Tachibana
大和 橘
Takayuki Moriyama
貴幸 森山
Minoru Nakahara
稔 中原
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.)
Fujitsu Ltd
Fujitsu Communication Systems Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Communication Systems 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 Fujitsu Ltd, Fujitsu Communication Systems Ltd filed Critical Fujitsu Ltd
Priority to JP18639391A priority Critical patent/JPH0546529A/en
Publication of JPH0546529A publication Critical patent/JPH0546529A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To shorten a dead cycle and to transfer the data at a high speed by transmitting a bus idle signal to a direct memory access controller DMAC from a processor and attaining the transfer of data between a memory and an input/output device in a transfer unit of plural direct memory accesses DMA within a bus idle period. CONSTITUTION:When the internal processing time covers a period of the internal processing cycle number larger then the cycle number required for the single DMA transfer, a processor 2 produces a bus idle signal 4 and supplies this signal to a DMAC 8. Then the DMAC 8 transfers the data to a memory 3 from a reception data buffer 9 or to a transmission data buffer 10 from the memory 3 by a quantity equivalent to the frequency decided by the signal 4 in response to the signal 4 and a reception data transfer request signal (1) produced by the buffer 9 or a transmission data transfer request signal (12) produced by the buffer 10.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プロセッサが内部処理
にある間、使用されていないバスの有効利用を図るダイ
レクトメモリアクセス方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a direct memory access system for effectively utilizing an unused bus while a processor is in internal processing.

【0002】従来のデータ処理システムにおいては、そ
のマイクロプロセッサユニット(MPU)は、内部メモ
リ(RAM)と外部入出力装置(例えば、データリン
ク、フロッピードライブコントローラ等)との間でデー
タの転送を行なうことが必要になるが、そのデータ転送
方式として、ダイレクトメモリアクセス方式(以下、D
MA方式という。)が用いられる。このDMA方式は、
MPUがRAM上に設けられたバッファを介して入出力
データ転送を行なう場合よりも、通常データ転送を高速
に行ない得るという利点を活用することにある。
In a conventional data processing system, its microprocessor unit (MPU) transfers data between an internal memory (RAM) and an external input / output device (eg, data link, floppy drive controller, etc.). However, the direct memory access method (hereinafter, D
It is called MA method. ) Is used. This DMA system
This is to take advantage of the fact that normal data transfer can be performed at a higher speed than when the MPU transfers input / output data via a buffer provided on the RAM.

【0003】[0003]

【従来の技術】その従来のDMA方式を図7を用いて概
説すると、次のようになる。この従来のDMA方式は、
MPU30がプログラムをROM33からデータバス3
1を介して読み出し、そのプログラムの実行中に、入出
力装置35がRAM32との間でのデータ転送が必要に
なったとき、ダイレクトメモリアクセスコントローラ
(以下、DMACという。)36内のアドレスカウンタ
101、及びバイト数レジスタ104(図8参照)に当
該データ転送に応じて先頭アドレス及びDMA転送サイ
ズ(例えば、バイト数)を設定してDMA転送開始状態
にする。
2. Description of the Related Art The conventional DMA system will be outlined below with reference to FIG. This conventional DMA system is
The MPU 30 loads the program from the ROM 33 to the data bus 3
When the input / output device 35 needs to transfer data to / from the RAM 32 during the execution of the program read via 1, the address counter 101 in the direct memory access controller (hereinafter, referred to as DMAC) 36. , And the number-of-bytes register 104 (see FIG. 8) are set to the start address and the DMA transfer size (for example, the number of bytes) according to the data transfer, and the DMA transfer start state is set.

【0004】この状態に入ってから、送信レジスタ3
8、又は受信レジスタ37からDMAC36に対しDM
A要求(3) (図9の(3) 参照)を送出する。そのDMA
C36は、制御線39を経てMPU30へバス解放要求
信号(4) (図9の(4) 参照)を送出する。このバス解放
要求信号(4) を受け取ったMPU30は、その時刻に実
行中にあった命令の処理完了(このとき、MPU30の
データバス31との入出力端にあるトライステートバッ
ファ回路はハイインピーダンスと為る。)後に、バス解
放信号(5) (図9の(5) 参照)を制御線40を経てDM
AC36に対し返送してデータバス31を解放する。
After entering this state, the transmission register 3
8 or DM from the reception register 37 to the DMAC 36
A request (3) (see (3) in FIG. 9) is transmitted. That DMA
The C 36 sends a bus release request signal (4) (see (4) in FIG. 9) to the MPU 30 via the control line 39. Upon receiving the bus release request signal (4), the MPU 30 completes the processing of the instruction being executed at that time (at this time, the tri-state buffer circuit at the input / output end of the MPU 30 with the data bus 31 becomes high impedance). After that, the bus release signal (5) (see (5) in FIG. 9) is DMed via the control line 40.
It returns to the AC 36 and releases the data bus 31.

【0005】このバス解放信号を返されて来たDMAC
36は、データバス31の専用権を獲得した後、それに
先立って入出力装置35から受信レジスタ37にセット
されたDMA転送単位(例えば、1バイト)は、データ
バス31を経てRAM32へ転送されてアドレスカウン
タ101で指定されるRAM32の記憶領域に格納され
るか、又はアドレスカウンタ101で指定されるRAM
32の記憶領域から読み出されたDMA転送単位(例え
ば、1バイト)は、データバス31を経て送信レジスタ
38にセットされた後、入出力装置35へ転送される。
このような1回のDMA転送の完了毎にDMA転送は終
結される。そして、その後に発生されるデータ転送要求
毎に、次のDMA転送のための同様のDMA転送制御手
順が取られる。
The DMAC that has returned this bus release signal
After the exclusive right of the data bus 31 is acquired, the DMA transfer unit (for example, 1 byte) set in the reception register 37 from the input / output device 35 is transferred to the RAM 32 via the data bus 31. RAM stored in the storage area of the RAM 32 designated by the address counter 101 or designated by the address counter 101
A DMA transfer unit (for example, 1 byte) read from the storage area 32 is set in the transmission register 38 via the data bus 31, and then transferred to the input / output device 35.
The DMA transfer is terminated every time such one DMA transfer is completed. Then, for each data transfer request generated thereafter, a similar DMA transfer control procedure for the next DMA transfer is taken.

【0006】前述のようにして、その後に発生されるデ
ータ転送要求毎に、アドレスカウンタ101に設定され
ている先頭アドレス乃至カウントアップされたアドレス
の更新を行なっての前記同様のDMA転送を前記DMA
転送サイズ分だけ間歇的に続行して行く。バイト数レジ
スタ104にセットされたバイト数と、バイトカウンタ
103のカウント値とが一致して比較回路105から出
力信号(指定バイト数転送完了信号)が発生されて当該
DMA転送が完了したときは、そのMPU50への完了
通知は、レジスタ表示、又は割り込み信号の送出で行わ
れる。
As described above, for each data transfer request generated thereafter, the above-mentioned DMA transfer is performed by updating the head address set in the address counter 101 to the counted-up address.
Continues intermittently for the transfer size. When the number of bytes set in the number-of-bytes register 104 and the count value of the byte counter 103 match and an output signal (designated number-of-bytes transfer completion signal) is generated from the comparison circuit 105 to complete the DMA transfer, The completion notification to the MPU 50 is performed by register display or by sending an interrupt signal.

【0007】このようにして、MPU30とDMAC3
6との間でデータバス31の占有権を時分割してデータ
バス31を共有しつつ、データ転送を行なうことで、R
AM32と、入出力装置35との間でデータを、MPU
30を介することなく、転送することができる。
In this way, the MPU 30 and the DMAC 3
By sharing the data bus 31 with the exclusive right of the data bus 31 in a time-sharing manner with R.
Data is exchanged between the AM 32 and the input / output device 35 by the MPU.
It can be transferred without going through 30.

【0008】[0008]

【発明が解決しようとする課題】しかし、前述した従来
のDMA方式には、次のような問題が内在する。即ち、
図9の(5) に示すように、DMAC36から送出された
バス解放要求信号(4) に対しMPU30がバス解放信号
(5) (図9の(5) 参照)をDMAC36へ返して来たと
きには、前述したMPU30側のトライステートバッフ
ァ回路の動作状態は、図9の(6) に示すように、データ
をデータバス31上へ送出し終わってハイゼット状態
(ハイインピーダンス状態)となっている。しかし、こ
のハイゼット(HZ)状態への切り替えは、図示のよう
な理想的な形へ移行されるのではなく、前記ハイゼット
状態になる或る時間値前からトライステートバッファ回
路の動作はハイゼット状態へ切り替えられて行くから、
安定なデータ転送を行なう上では、図示のようなΔt d
だけ余分に無駄時間を考慮に入れるのがよい。そして、
バス解放信号(5) が返されてからDMAC36の制御の
下にRAM32から入出力装置35へのDMA転送、又
は入出力装置35からRAM32へのDMA転送が開始
されるのは、図9の(7) に示すように、時刻T0から時間
t D だけ過ぎた時刻からである。従って、前述のDMA
方式において、安定なデータ転送を行なうのには、デー
タバス31の占有権の1回の切り替え(1DMA転送単
位)毎に、時間t D (デッドサイクル)が無駄に費やさ
れることになる。
However, the conventional DMA system described above has the following problems. That is,
As shown in (5) of FIG. 9, the MPU 30 sends a bus release signal to the bus release request signal (4) sent from the DMAC 36.
When (5) (see (5) in FIG. 9) is returned to the DMAC 36, the operation state of the above-mentioned tri-state buffer circuit on the MPU 30 side is as shown in (6) in FIG. 31 has been sent out, and is in a hi-jet state (high-impedance state). However, the switching to the high-jet (HZ) state does not shift to an ideal form as shown in the figure, but the operation of the tri-state buffer circuit shifts to the high-jet state from a certain time value before the high-jet state. Because it will be switched,
For stable data transfer, Δt d as shown
Only good to take extra dead time into account. And
After the bus release signal (5) is returned, the DMA transfer from the RAM 32 to the input / output device 35 or the DMA transfer from the input / output device 35 to the RAM 32 is started under the control of the DMAC 36 (see FIG. 9). 7) From time T0,
It is from the time when t D has passed. Therefore, the above-mentioned DMA
In the method, in order to perform stable data transfer, the time t D (dead cycle) is wastefully spent every time the exclusive right of the data bus 31 is switched (1 DMA transfer unit).

【0009】このようなデッドサイクルは、前述のよう
な切り替えが比較的に長い間隔で行われる場合には、そ
の値が顕在化して来ないが、大量のデータを取り扱うデ
ータ転送環境でその切り替えを頻繁に行なうときは、デ
ータの高速転送を阻害する要因となって来る。
The value of such a dead cycle does not become apparent when the above-described switching is performed at relatively long intervals, but the switching is performed in a data transfer environment handling a large amount of data. If it is performed frequently, it becomes a factor that hinders high-speed data transfer.

【0010】本発明は、斯かる技術的課題に鑑みて創作
されたもので、前述のようなデッドサイクルを可及的に
少なくして高速なデータ転送を遂行し得るダイレクトメ
モリアクセス方式を提供することをその目的とする。
The present invention has been made in view of the above technical problems, and provides a direct memory access method capable of performing high-speed data transfer while minimizing the dead cycle as described above. That is the purpose.

【0011】[0011]

【課題を解決するための手段】図1は、請求項1に係わ
る発明の原理ブロック図を示し、図2は、請求項2に係
わる発明の原理ブロック図を示す。
FIG. 1 shows a principle block diagram of the invention according to claim 1, and FIG. 2 shows a principle block diagram of the invention according to claim 2.

【0012】請求項1に係わる発明は、図1に示すよう
に、プロセッサ2がバス5を経てメモリ3をアクセスし
ない内部処理期間が1回のダイレクトメモリアクセス転
送に要するサイクル数よりも長いときバスアイドル信号
(4) を発生し、該バスアイドル信号(4) 、及び受信デー
タバッファ9から発生された受信データ転送要求信号
,又は送信データバッファ10から発生された送信デ
ータ転送要求信号に応答したダイレクトメモリアクセ
スコントローラ8は、受信データバッファ9からメモリ
3へ、又はメモリ3から送信データバッファ10へ前記
バスアイドル信号(4) で決まるダイレクトメモリアクセ
ス転送回数分のデータを転送することを特徴とする。
According to the first aspect of the present invention, as shown in FIG. 1, when the internal processing period during which the processor 2 does not access the memory 3 via the bus 5 is longer than the number of cycles required for one direct memory access transfer, the bus Idle signal
Direct memory access in response to the bus idle signal (4) and the received data transfer request signal generated from the received data buffer 9 or the transmitted data transfer request signal generated from the transmitted data buffer 10 The controller 8 is characterized by transferring data from the reception data buffer 9 to the memory 3 or from the memory 3 to the transmission data buffer 10 by the number of direct memory access transfers determined by the bus idle signal (4).

【0013】請求項2に係わる発明は、図2に示すよう
に、請求項1に記載のダイレクトメモリアクセス方式に
おいて、入出力装置から受信データバッファ9に受信し
たデータのメモリ3への転送中に該受信データバッファ
9が一杯になる直前、又はメモリ3から送信データバッ
ファ10に書き込んだデータの入出力装置への転送中に
該送信データバッファ10が空になる直前には、ダイレ
クトメモリアクセスコントローラ8による前記バスアイ
ドル信号(4) の受信がなくても、ダイレクトメモリアク
セスコントローラ8は、前記受信データバッファ9から
の受信データ強制転送要求信号、又は前記送信データ
バッファ10からの受信データ強制転送要求信号に応
答してバス専有許可要求信号(6) をプロセッサ2へ送出
し、プロセッサ2からダイレクトメモリアクセスコント
ローラ8へのバス専有許可通知信号(7) の返送でダイレ
クトメモリアクセスによるデータ転送を行なうことを特
徴とする。
The invention according to claim 2 is, as shown in FIG. 2, in the direct memory access method according to claim 1, during transfer of data received from the input / output device to the reception data buffer 9 to the memory 3. Immediately before the reception data buffer 9 is full, or immediately before the transmission data buffer 10 becomes empty during transfer of the data written in the transmission data buffer 10 from the memory 3 to the input / output device, the direct memory access controller 8 Even if the bus idle signal (4) is not received by the direct memory access controller 8, the direct memory access controller 8 receives the forced reception data forced transfer request signal from the reception data buffer 9 or the reception data forced transfer request signal from the transmission data buffer 10. In response to the request, the bus exclusive use permission request signal (6) is sent to the processor 2, and the processor 2 downloads it. And performing data transfer by direct memory access by returning the bus occupation permission notification signal to the Direct Memory Access controller 8 (7).

【0014】[0014]

【作用】プロセッサ2において実行しようとする命令の
内部処理時間が1回のダイレクトメモリアクセス転送に
要するサイクル数よりも大きな内部処理サイクル数の期
間に渡るときには、プロセッサ2からバスアイドル信号
4が発生されてダイレクトメモリアクセスコントローラ
8へ供給される。
When the internal processing time of the instruction to be executed in the processor 2 exceeds the number of internal processing cycles required for one direct memory access transfer, the bus idle signal 4 is generated from the processor 2. Are supplied to the direct memory access controller 8.

【0015】前記バスアイドル信号(4) 、及び受信デー
タバッファ9から発生された受信データ転送要求信号
,又は送信データバッファ10から発生された送信デ
ータ転送要求信号に応答したダイレクトメモリアクセ
スコントローラ8は、受信データバッファ9からメモリ
3へ前記バスアイドル信号(4)で決まるダイレクトメモ
リアクセス転送回数分のデータを転送するか、又はメモ
リ3から送信データバッファ10へ前記バスアイドル信
号(4) で決まるダイレクトメモリアクセス転送回数分の
データを転送する。
The direct memory access controller 8 responding to the bus idle signal (4) and the received data transfer request signal generated from the received data buffer 9 or the transmitted data transfer request signal generated from the transmitted data buffer 10 is Direct memory access determined by the bus idle signal (4) from the reception data buffer 9 to the memory 3 is transferred, or data is transferred from the memory 3 to the transmission data buffer 10 by the bus idle signal (4). Transfer data for the number of access transfers.

【0016】従って、前記命令の内部処理時間が1回の
ダイレクトメモリアクセス転送に要するサイクル数より
も大きい場合には、従来のような1回のダイレクトメモ
リアクセス転送毎のDMA転送制御処理の繰り返しを行
わなくて済み、それだけ各DMA転送制御処理毎に費や
されるデッドサイクル数が少なくなり、DMA転送性能
の向上となるし、プロセッサの処理効率の低下防止とも
なる。
Therefore, when the internal processing time of the instruction is larger than the number of cycles required for one direct memory access transfer, the DMA transfer control processing is repeated once for each direct memory access transfer as in the prior art. The number of dead cycles consumed for each DMA transfer control process is reduced, the DMA transfer performance is improved, and the processing efficiency of the processor is prevented from being lowered.

【0017】そして、前述のような転送を続行する際
に、前記受信データバッファ9が一杯になる直前、又は
前記送信データバッファ10が空になる直前には、前記
受信データバッファ9から受信データ強制転送要求信号
が、又は前記送信データバッファ10から送信データ
強制転送要求信号がダイレクトメモリアクセスコント
ローラ8に対して供給される。
Then, when the above-mentioned transfer is continued, immediately before the reception data buffer 9 is full or just before the transmission data buffer 10 is empty, the reception data buffer 9 is forced to receive data. A transfer request signal or a transmission data forced transfer request signal from the transmission data buffer 10 is supplied to the direct memory access controller 8.

【0018】そのダイレクトメモリアクセスコントロー
ラ8は、バス専有許可要求信号(6)をプロセッサ2へ送
出する。プロセッサ2は、ダイレクトメモリアクセスコ
ントローラ8へバス専有許可通知信号(7) を返送してダ
イレクトメモリアクセスの処理を行なう。
The direct memory access controller 8 sends a bus exclusive use permission request signal (6) to the processor 2. The processor 2 returns the bus exclusive permission notification signal (7) to the direct memory access controller 8 to perform the direct memory access processing.

【0019】従って、前記受信データバッファ9におけ
るデータの廃棄や、前記送信データバッファ10におけ
るデータの切れ目の発生は、防止される。
Therefore, the discarding of data in the reception data buffer 9 and the occurrence of data breaks in the transmission data buffer 10 are prevented.

【0020】[0020]

【実施例】図3は、本発明の一実施例を示す。図4は、
実施例の要部詳細図である。図3に示すように、MPU
50は、データバス31に接続されるトライステートバ
ッファ回路61と、該トライステートバッファ回路61
の出力に入力を接続した演算回路60と、該演算回路6
0の出力とデータバス31との間に接続されたトライス
テートバッファ回路62と、トライステートバッファ回
路61の出力に接続された命令デコーダ63と、命令デ
コーダ63に接続されたバス制御回路64及びバスアイ
ドル信号生成回路65とを有する。
FIG. 3 shows an embodiment of the present invention. Figure 4
FIG. 3 is a detailed view of a main part of the embodiment. As shown in FIG.
Reference numeral 50 denotes a tri-state buffer circuit 61 connected to the data bus 31, and the tri-state buffer circuit 61.
Arithmetic circuit 60 having an input connected to the output of
A tristate buffer circuit 62 connected between the output of 0 and the data bus 31, an instruction decoder 63 connected to the output of the tristate buffer circuit 61, a bus control circuit 64 connected to the instruction decoder 63, and a bus. And an idle signal generation circuit 65.

【0021】バス制御回路64は、DMAC56からバ
ス専有許可要求信号(6) に応答してバス専有許可通知信
号(7) を出力する。バスアイドル信号生成回路65は、
バスアイドル信号(4) を出力する。このバスアイドル信
号(4) は、MPU50が演算処理等の内部処理をしてい
る時間の間、次のような制御によって線51を経てDM
AC56に対し送出される。このバスアイドル信号(4)
の送出制御は、MPU50で取り込んだ命令の実行で要
する内部演算サイクル数を当該命令の取り込み時点で判
定し、その内部演算サイクル数が予め決められた内部演
算サイクル数以上であるときに当該予め決められた内部
演算サイクル数が1回のDMA転送に必要な転送サイク
ル数より大きい所定期間の間線51上に送出する。この
所定期間は、内部処理が完了する時刻より前であって、
該時刻より1回のDMA転送に要する時間だけ前までの
時間である。
The bus control circuit 64 outputs a bus occupation permission notification signal (7) in response to the bus occupation permission request signal (6) from the DMAC 56. The bus idle signal generation circuit 65
Output the bus idle signal (4). This bus idle signal (4) is sent via the line 51 to the DM via the following control while the MPU 50 is performing internal processing such as arithmetic processing.
It is sent to AC56. This Bus Idle Signal (4)
The control of sending the data is determined by determining the number of internal operation cycles required to execute the instruction fetched by the MPU 50 at the time of fetching the instruction, and when the number of internal operation cycles is equal to or greater than the predetermined number of internal operation cycles, the predetermined number is determined. The number of the calculated internal operation cycles is sent to the line 51 for a predetermined period which is larger than the number of transfer cycles required for one DMA transfer. This predetermined period is before the time when the internal processing is completed,
This is the time before the time required for one DMA transfer.

【0022】このバスアイドル信号の送出時刻からバス
を介してデータを安定に転送し得る時刻までの時間(例
えば、1サイクル)の間、トライステートバッファ回路
61,62をHZ状態にする。このHZ状態は、又バス
制御回路64がDMAC56からバス専有許可要求信号
(6) に応答してバス専有許可通知信号(7) を出力する場
合にも、バス専有許可通知信号(7) の出力時刻からバス
を介してデータを安定に転送し得る時刻までの時間(例
えば、1サイクル)の間取られる。
The tristate buffer circuits 61 and 62 are set to the HZ state during the time (for example, one cycle) from the time when the bus idle signal is sent to the time when data can be stably transferred via the bus. In this HZ state, the bus control circuit 64 also requests the bus exclusive permission request signal from the DMAC 56.
Even when the bus exclusive permission notification signal (7) is output in response to (6), the time from the output time of the bus exclusive permission notification signal (7) to the time when data can be transferred stably via the bus ( For example, one cycle).

【0023】このMPU50と、DMAC56とは、本
発明の要部を構成するために、前述のようにデータバス
31、並びにバスアイドル信号をMPU50から送出す
る線51、バス専有許可要求信号(6) をDMAC56か
ら転送する線52、及びバス専有許可通知信号(7) をM
PU50から転送する線53によって接続されるほか、
図示しないその他の線もDMAC56と、MPU50と
の間に張り渡されている。これらの他の線は、公知の技
術領域に属するものであり、本発明との関連においては
付随的なものであるので、図面を明瞭にするために図示
していない。
As described above, the MPU 50 and the DMAC 56 constitute the main part of the present invention. As described above, the data bus 31, the line 51 for sending the bus idle signal from the MPU 50, and the bus exclusive permission request signal (6). The line 52 for transferring the data from the DMAC 56 and the bus exclusive permission notification signal (7) to M
In addition to being connected by the line 53 that transfers from the PU 50,
Other lines not shown are also stretched between the DMAC 56 and the MPU 50. These other lines are not shown for the sake of clarity, since they belong to the known technical field and are incidental in the context of the invention.

【0024】DMAC56は、後述の受信データバス9
0をデータバス31に接続させるトライステートバッフ
ァ回路70と、後述の送信データバス91をデータバス
31に接続させるトライステートバッファ回路71と、
この両トライステートバッファ回路70,71のゲート
制御を行なうゲート信号発生回路系とを有する。このゲ
ート信号発生回路系は、オア回路78と、バッファ専有
許可要求信号生成回路77と、アンド回路75,76
と、オア回路73,74と、バスタイミング生成回路7
2とを有する。
The DMAC 56 is a reception data bus 9 which will be described later.
A tristate buffer circuit 70 for connecting 0 to the data bus 31, a tristate buffer circuit 71 for connecting a transmission data bus 91, which will be described later, to the data bus 31,
It has a gate signal generation circuit system for controlling the gates of both tri-state buffer circuits 70 and 71. This gate signal generation circuit system includes an OR circuit 78, a buffer exclusive use permission request signal generation circuit 77, and AND circuits 75 and 76.
, OR circuits 73 and 74, and bus timing generation circuit 7
2 and.

【0025】アンド回路75の一方の入力は、DMAC
56とI/Oコントローラ54との間に配線される線9
2が接続される。この線92は、受信データ転送要求信
号をI/Oコントローラ54から転送して来る線であ
る。アンド回路76の一方の入力は、DMAC56とI
/Oコントローラ54との間に配線される線93が接続
される。この線93は、送信データ転送要求信号をI/
Oコントローラ54から転送して来る線である。アンド
回路75及びアンド回路76の他方の入力には、前述の
線51が接続されている。アンド回路75は、オア回路
73を経てバスタイミング生成回路72へ接続されてお
り、アンド回路75から出力が発生したとき、バスタイ
ミング生成回路72は、トライステートバッファ回路7
0を低インピーダンス状態にする信号を発生する。アン
ド回路76は、オア回路74を経てバスタイミング生成
回路72へ接続されており、アンド回路76から出力が
発生したとき、バスタイミング生成回路72は、トライ
ステートバッファ回路71を低インピーダンス状態にす
る信号を発生する。
One input of the AND circuit 75 is a DMAC.
Wire 9 wired between 56 and I / O controller 54
2 are connected. The line 92 is a line for transferring the received data transfer request signal from the I / O controller 54. One input of the AND circuit 76 is connected to the DMAC 56 and the I
A line 93 connected to the / O controller 54 is connected. This line 93 transmits the transmission data transfer request signal by I / O.
It is a line transferred from the O controller 54. The above-mentioned line 51 is connected to the other inputs of the AND circuits 75 and 76. The AND circuit 75 is connected to the bus timing generation circuit 72 via the OR circuit 73, and when an output is generated from the AND circuit 75, the bus timing generation circuit 72 is connected to the tristate buffer circuit 7
Generate a signal that puts 0 into a low impedance state. The AND circuit 76 is connected to the bus timing generation circuit 72 via the OR circuit 74, and when an output is generated from the AND circuit 76, the bus timing generation circuit 72 outputs a signal that puts the tri-state buffer circuit 71 into a low impedance state. To occur.

【0026】オア回路78には、DMAC56とI/O
コントローラ54との間に配線される線94,95が接
続される。線94は、アンド回路81の一方の入力に接
続され、線95は、アンド回路82の一方の入力に接続
されている。線94は、受信データ強制転送要求信号を
I/Oコントローラ54から転送して来る線であり、線
95は、送信データ強制転送要求信号をI/Oコントロ
ーラ54から転送して来る線である。オア回路78の出
力は、バス専有許可要求信号生成回路77へ接続されて
いる。バッファ専有許可要求信号生成回路77は、オア
回路78から出力が発生されたとき、線52にバッファ
専有許可要求信号(Hold RQ )を発生する。バッファ専
有許可要求信号に応答してバス制御回路64から線53
を経て転送されて来るバッファ専有許可通知信号(Hol
d ACK)は、アンド回路81及びアンド回路82の他方の
入力に供給される。アンド回路81,82の出力は、そ
れぞれオア回路73,オア回路74を経てバスタイミン
グ生成回路72へ供給される。
The OR circuit 78 includes a DMAC 56 and an I / O.
The lines 94 and 95 wired between the controller 54 and the controller 54 are connected. The line 94 is connected to one input of the AND circuit 81, and the line 95 is connected to one input of the AND circuit 82. The line 94 is a line that transfers the reception data forced transfer request signal from the I / O controller 54, and the line 95 is a line that transfers the transmission data forced transfer request signal from the I / O controller 54. The output of the OR circuit 78 is connected to the bus exclusive permission request signal generation circuit 77. The buffer exclusive permission request signal generation circuit 77 generates a buffer exclusive permission request signal (Hold RQ) on the line 52 when the output is generated from the OR circuit 78. In response to the buffer exclusive use permission request signal, the line 53 from the bus control circuit 64
Buffer exclusive permission notification signal (Hol
d ACK) is supplied to the other inputs of the AND circuits 81 and 82. The outputs of the AND circuits 81 and 82 are supplied to the bus timing generation circuit 72 via the OR circuit 73 and the OR circuit 74, respectively.

【0027】DMAC56には、このほかに、DMA転
送の転送データ量を制御する従来から公知の制御回路、
即ち〔従来の技術〕の項で説明した図8に示すアンド回
路100、アドレスカウンタ101、バイトカウンタ1
03、バイト数レジスタ104、及び比較回路105を
有する。
In addition to the above, the DMAC 56 has a conventionally known control circuit for controlling the transfer data amount of the DMA transfer.
That is, the AND circuit 100, the address counter 101, and the byte counter 1 shown in FIG. 8 described in the [Prior Art] section.
03, a byte number register 104, and a comparison circuit 105.

【0028】又、I/Oコントローラ54は、受信FI
FO98、及び送信FIFO99を有する。受信FIF
O98は、入出力装置35から受信するデータを順次に
格納し、その格納により受信データが格納されている状
態にある間、線92に受信データ転送要求信号を送出
する。そのような受信格納が進んで空きが無くなる直前
になると、線94に受信データ強制転送要求信号を送
出する。受信FIFO98からは、DMA転送開始で、
ファーストイン−ファーストアウト形式で格納したデー
タを順次に受信データバス90へ送出する。送信FIF
O99は、送信データバス91を経て送信データを順次
に格納し、その格納において、なお空きがあるなら、線
93に送信データ転送要求信号を送信する。送信FI
FO99に格納されたデータは、DMA転送開始で、フ
ァーストイン−ファーストアウト形式で順次に入出力装
置35へ送信される。この送信によって入出力装置35
へ送信されるデータよりも、送信データバス91を経て
格納されるデータが少ないと、前述送信が行われて行く
と、遂いには送信FIFO99が空き状態になるが、そ
の直前に線95に送信データ強制転送要求信号を送出
する。
Further, the I / O controller 54 uses the reception FI.
It has a FO 98 and a transmission FIFO 99. Receive FIF
O98 sequentially stores the data received from the input / output device 35, and outputs the received data transfer request signal to the line 92 while the received data is being stored by the storage. Immediately before such reception and storage progresses and just before the vacancy is exhausted, a reception data forced transfer request signal is transmitted to the line 94. From the reception FIFO 98, when DMA transfer starts,
The data stored in the first-in first-out format is sequentially sent to the reception data bus 90. Transmission FIF
The O99 sequentially stores the transmission data via the transmission data bus 91, and if there is still a space in the storage, transmits the transmission data transfer request signal to the line 93. Send FI
The data stored in the FO 99 is sequentially transmitted to the input / output device 35 in a first-in-first-out format at the start of DMA transfer. By this transmission, the input / output device 35
If there is less data to be stored on the transmission data bus 91 than to the data to be transmitted to, the transmission FIFO 99 will eventually become empty when the above transmission is performed, but immediately before that, on the line 95. Send the transmission data forced transfer request signal.

【0029】受信FIFO98、及び送信FIFO99
のバッファ容量は、1回のDMA転送で転送し得る予め
決められたDMA転送単位より多いDMA転送単位のバ
ッファ容量を有する。この容量と、前記予め決められた
内部演算サイクル数及び入出力装置35との間の転送速
度との間には、所定の関数関係を有する。
Reception FIFO 98 and transmission FIFO 99
Has a buffer capacity of a DMA transfer unit larger than a predetermined DMA transfer unit that can be transferred in one DMA transfer. There is a predetermined functional relationship between this capacity and the predetermined number of internal operation cycles and the transfer rate with the input / output device 35.

【0030】図5と図6とは、その線V−Vを接合する
ことで一枚の図面を構成するものである。図3及び図4
において、MPU50は、図1及び図2のプロセッサ2
に対応し、RAM32は、図1及び図2のメモリ3に対
応する。データバス31は、図1及び図2のバス5に対
応し、ダイレクトメモリアクセスコントローラ56は、
図1及び図2のダイレクトメモリアクセスコントローラ
8に対応する。受信FIFO98は、図1及び図2の受
信データバッファ9に対応し、送信FIFO99は、図
1及び図2の送信データバッファ10に対応する。
FIG. 5 and FIG. 6 constitute one drawing by joining the lines V-V. 3 and 4
In, the MPU 50 is the processor 2 of FIGS.
The RAM 32 corresponds to the memory 3 in FIGS. 1 and 2. The data bus 31 corresponds to the bus 5 of FIGS. 1 and 2, and the direct memory access controller 56 is
This corresponds to the direct memory access controller 8 of FIGS. 1 and 2. The reception FIFO 98 corresponds to the reception data buffer 9 of FIGS. 1 and 2, and the transmission FIFO 99 corresponds to the transmission data buffer 10 of FIGS. 1 and 2.

【0031】前述のように構成される本発明の動作を以
下に説明する。本発明で構成されるシステムにおけるD
MA転送においても、従来と同様に、RAM32から入
出力装置35へのDMA転送、又は入出力装置35から
RAM32へのDMA転送の必要性が生じたとき、MP
U50からDMAC56へ先頭アドレスと、DMA転送
単位(例えば、1バイト)の数をデータバス31を経て
転送して図8に示すようなアドレスカウンタ101に先
頭アドレスをセットし、又バイト数カウンタ104に転
送バイト数をセットしてDMA転送制御に入ることには
変わりはないが、次のようなMPU50の処理状態、又
はI/Oコントローラ54の処理状態が発生する場合
に、DMAC56にデータバス31の専用権を獲得せし
めるようにしたことに、本発明の特長がある。
The operation of the present invention configured as described above will be described below. D in the system constructed according to the present invention
Also in the MA transfer, when it is necessary to perform the DMA transfer from the RAM 32 to the input / output device 35 or the DMA transfer from the input / output device 35 to the RAM 32 as in the conventional case, the MP transfer is performed.
The start address and the number of DMA transfer units (for example, 1 byte) are transferred from U50 to the DMAC 56 via the data bus 31, the start address is set in the address counter 101 as shown in FIG. There is no change in setting the number of transfer bytes and entering the DMA transfer control. However, when the following processing state of the MPU 50 or the processing state of the I / O controller 54 occurs, the DMAC 56 is connected to the data bus 31 of the data bus 31. The feature of the present invention lies in that the exclusive right is obtained.

【0032】ROM33から命令をフェッチし、当該命
令を命令デコーダ63でデコードしたところ、その内部
演算サイクル数、例えば10が予め決められた内部演算
サイクル数、例えば5以上であれば(図5の(1),(2) 参
照)、たとえ当該命令の処理完了に至らなくても、前記
フェッチした命令に応じて決まる前述のような期間の間
線51上にバスアイドル信号(4) (図5の(4) 参照)を
送出する。
When an instruction is fetched from the ROM 33 and the instruction is decoded by the instruction decoder 63, if the internal operation cycle number, for example, 10 is a predetermined internal operation cycle number, for example, 5 or more ((( 1) and (2)), even if the processing of the instruction is not completed, the bus idle signal (4) (4 in FIG. 5) is provided on the line 51 during the period determined according to the fetched instruction as described above. (See (4)).

【0033】これにより、図4に示すように、そのバス
アイドル信号(4) によってI/Oコントローラ54から
DMAC56へ送出されている受信データ転送要求信号
、又は送信データ転送要求信号は、アンド回路7
5、又はアンド回路76、そしてオア回路73,又はオ
ア回路74を経てバスタイミング生成回路72へ受信D
MA実行指示信号,又は送信DMA実行指示信号と
して供給される。バスタイミング生成回路72は、供給
される受信DMA実行指示信号,又は送信DMA実行
指示信号に応じてトライステートバッファ回路70、
又はトライステートバッファ回路71へ制御信号を供給
してそれを低インピーダンス状態にする。
As a result, as shown in FIG. 4, the reception data transfer request signal or the transmission data transfer request signal sent from the I / O controller 54 to the DMAC 56 by the bus idle signal (4) is transmitted to the AND circuit 7
5, or the AND circuit 76, and the OR circuit 73 or the OR circuit 74 to the bus timing generation circuit 72.
It is supplied as an MA execution instruction signal or a transmission DMA execution instruction signal. The bus timing generation circuit 72 is responsive to the received receive DMA execution instruction signal or the transmit DMA execution instruction signal to supply the tristate buffer circuit 70,
Alternatively, a control signal is supplied to the tri-state buffer circuit 71 to put it in a low impedance state.

【0034】前述のように、MPU50からDMA転送
の先頭アドレス、及び転送バイト数が、従来と同様にし
てDMAC56へ転送され、そして、先頭アドレスにつ
いては、アンドゲート回路100を経てアドレスカウン
タ101にセットされ、又転送バイト数については、従
来と同様にしてバイト数カウンタ65にセットされてい
るから、従来と同様の方式で1バイトのDMA転送を行
なう。この設例では、DMA転送には、4サイクルだけ
掛かる一方、フェッチされた命令の命令デコーダ63に
よるデコード(図5の200参照)から発生されるバイ
トアイドル信号は、第1回目のDMA転送完了時刻まで
発生されている(図5の201参照)。第1回目のDM
A転送は、前記バイトアイドル信号の最初サイクルの識
別により開始される。そして、この第1回目のDMA転
送完了前の所定時刻(直前サイクル)において、前述の
ようにバスタイミング生成回路72は、その直前サイク
ルを識別して従来のようなDMA転送制御手順を踏むこ
となく、第2回目のDMA転送を直ちに開始させる。
As described above, the start address of DMA transfer and the number of transfer bytes are transferred from the MPU 50 to the DMAC 56 in the same manner as in the conventional case, and the start address is set in the address counter 101 via the AND gate circuit 100. The number of bytes to be transferred is set in the byte number counter 65 in the same manner as in the conventional case, so that 1-byte DMA transfer is performed in the same manner as in the conventional case. In this example, while the DMA transfer takes only 4 cycles, the byte idle signal generated from the decoding of the fetched instruction by the instruction decoder 63 (see 200 in FIG. 5) is not completed until the first DMA transfer completion time. Has been generated (see 201 in FIG. 5). First DM
The A transfer is started by the identification of the first cycle of the byte idle signal. Then, at the predetermined time (the immediately preceding cycle) before the completion of the first DMA transfer, the bus timing generation circuit 72 identifies the immediately preceding cycle as described above and does not follow the conventional DMA transfer control procedure. , The second DMA transfer is immediately started.

【0035】このように、本発明によれば、フェッチさ
れた命令の内部演算に必要なサイクル数の判定により、
従来のようなDMA転送制御手順を取ることなしにDM
A転送を連続して行なうことができる。従って、この設
例でも判るように、フェッチされた命令の内部演算に要
するバスサイクル数が多いほど、従来のようなDMA転
送制御手順を踏む回数を減らすことができるから、従来
のようなDMA転送制御手順においては不可避的にDM
A転送全体の時間として入って来る無駄な時間(デッド
サイクル)を可及的に少なくすることができる。
As described above, according to the present invention, by judging the number of cycles required for the internal operation of the fetched instruction,
DM without the conventional DMA transfer control procedure
A transfer can be continuously performed. Therefore, as can be seen from this example, as the number of bus cycles required for the internal operation of the fetched instruction increases, the number of times the conventional DMA transfer control procedure is performed can be reduced. Inevitably DM in the procedure
It is possible to reduce the wasteful time (dead cycle) that comes in as the time for the entire A transfer as much as possible.

【0036】しかし、前述のような従来のDMA転送制
御手順を取ることなしにDMA転送を行ない得るのは、
フェッチされた命令の内部演算に必要なサイクル数が、
1回のDMA転送に要するサイクル数よりも多いサイク
ル数である場合に限られるから、フェッチされた命令の
内部演算サイクル数が1回のDMA転送に要するサイク
ル数よりも少ないサイクル数である場合には、図6の2
05,206に示すようにバスアイドル信号は発生され
ない。従って、このような命令が実行されている間に、
入出力装置35から転送されて来るデータは、受信FI
FO98に順次に格納されて行くことになるし、又送信
FIFO99に格納されたデータは、順次に入出力装置
35へ転送されることになる。
However, it is possible to perform the DMA transfer without the conventional DMA transfer control procedure as described above.
The number of cycles required for the internal operation of the fetched instruction is
Since the number of cycles is greater than the number of cycles required for one DMA transfer, the number of internal operation cycles of the fetched instruction is less than the number of cycles required for one DMA transfer. Is 2 in FIG.
No bus idle signal is generated as shown at 05 and 206. Therefore, while such an instruction is being executed,
The data transferred from the input / output device 35 is received FI.
The data is sequentially stored in the FO 98, and the data stored in the transmission FIFO 99 is sequentially transferred to the input / output device 35.

【0037】それ故、前述のような態様で、順次に、D
MA転送が行われて行くと、例えば、入出力装置35か
ら受信FIFO98への転送中に受信FIFO98の容
量一杯に入出力装置35からデータを受信してしまう状
態の発生や、送信FIFO99から入出力装置35への
転送中に送信FIFO99が空になってしまう状態の発
生が起こり得る。これらの状態の内、前者の場合には、
その一杯になる直前に受信データ強制転送信号をDM
AC56からMPU50へ送出する。後者の場合には、
送信FIFO99が空になる直前に、送信データ強制転
送信号をDMAC56からMPU50へ送出する。前
記受信データ強制転送信号、又は送信データ強制転送
信号は、オア回路78を経てバッファ専有許可要求信
号生成回路77へ供給されると共に、アンド回路81、
又はアンド回路82へ供給される。
Therefore, in the manner as described above, sequentially D
When the MA transfer is performed, for example, during the transfer from the input / output device 35 to the receive FIFO 98, a situation occurs in which data is received from the input / output device 35 to the full capacity of the receive FIFO 98, and input / output from the transmit FIFO 99 is performed. It is possible that the transmit FIFO 99 becomes empty during the transfer to the device 35. Of these states, in the former case,
Immediately before it becomes full, DM the received data forced transfer signal
It is sent from the AC 56 to the MPU 50. In the latter case,
Immediately before the transmission FIFO 99 becomes empty, the transmission data forced transfer signal is sent from the DMAC 56 to the MPU 50. The received data forced transfer signal or the transmitted data forced transfer signal is supplied to the buffer exclusive permission request signal generation circuit 77 via the OR circuit 78, and the AND circuit 81,
Alternatively, it is supplied to the AND circuit 82.

【0038】前記受信データ強制転送信号、又は送信
データ強制転送信号(図6の210参照)を受けたバ
ッファ専有許可要求信号生成回路77では、線52を経
てMPU50に対してバス専有許可要求信号(6) を送出
する。このバス専有許可要求信号(6) を受けたMPU5
0のバス制御回路64は、MPU50によるメモリアク
セスの中断処理に入り(図5の211参照)、その処理
に要する時間後にトライステートバッファ回路61,又
はトライステートバッファ回路62をHZ状態にしてデ
ータバス31を解放すると共に、バス専有許可通知信号
(7) を線53へ送出する(図5の212参照)。バッフ
ァ専有許可通知信号は、受信データ強制転送要求信号、
又は送信データ強制転送要求信号によってアンド条件を
満たされたアンド回路81,又はアンド回路82、そし
てオア回路73,又はオア回路74を経てバスタイミン
グ生成回路72へ供給される。これ以降の動作は、従来
のDMA転送制御と同様に1回のDMA転送だけでDM
A転送の終結となる(図6の(5) 参照)ということを除
いて、バスアイドル信号が発生した場合と同じであるの
で、その逐一の説明は省略する。
The buffer exclusive use request signal generation circuit 77 which receives the received data forced transfer signal or the transmitted data forced transfer signal (see 210 in FIG. 6) sends the bus exclusive use request signal (to the MPU 50 via the line 52). 6) is sent. MPU5 which received this bus exclusive permission request signal (6)
The bus control circuit 64 of 0 enters the interruption processing of the memory access by the MPU 50 (see 211 in FIG. 5), and after the time required for the processing, sets the tri-state buffer circuit 61 or the tri-state buffer circuit 62 to the HZ state and the data bus. 31 release and bus exclusive permission notification signal
(7) is sent to the line 53 (see 212 in FIG. 5). The buffer exclusive permission notification signal is the received data forced transfer request signal,
Alternatively, the signal is supplied to the bus timing generation circuit 72 via the AND circuit 81 or the AND circuit 82 which satisfies the AND condition by the transmission data forced transfer request signal, and the OR circuit 73 or the OR circuit 74. From this point onward, DM is performed by performing only one DMA transfer as in the conventional DMA transfer control.
Except for the fact that the A transfer is terminated (see (5) in FIG. 6), it is the same as the case where the bus idle signal is generated, and therefore its detailed description is omitted.

【0039】こうして、受信FIFO98からのデータ
の廃棄、又は送信FIFO99でのデータ切れの発生は
防止する。それ故、従来のような1バイトずつのDMA
転送では、特に大量のデータ転送において生じ易いデッ
ドサイクルの発生頻度を低下させることが出来るし、デ
ータに廃棄、又は中断なしに連続したDMA転送を行な
うことができる。ひいては、MPU50の処理能力の向
上ともなる。
In this way, it is possible to prevent the discarding of data from the reception FIFO 98 or the occurrence of data loss in the transmission FIFO 99. Therefore, conventional 1-byte DMA
In the transfer, it is possible to reduce the frequency of occurrence of dead cycles, which are particularly likely to occur in the transfer of a large amount of data, and it is possible to perform continuous DMA transfer without discarding or interruption of data. As a result, it also improves the processing capability of the MPU 50.

【0040】なお、前記実施例におけるバスアイドル信
号(4) の発生期間は、前述のようにして決定されるが、
この信号限りにおいて本発明を実施し得るものではな
い。他の形式のバスアイドル信号であってもよい。その
場合には、その信号発生形式に応じた制御をMPU50
とDMAC56との間のインタフェースを取る必要はあ
る。要するに、本発明はバスアイドル信号を用いて可能
な限りのDMA転送を行なうことを意図するものであ
る。
The generation period of the bus idle signal (4) in the above embodiment is determined as described above.
The present invention cannot be implemented only with this signal. It may be another type of bus idle signal. In that case, control according to the signal generation format is performed by the MPU 50.
Interface with the DMAC 56. In short, the present invention intends to perform the DMA transfer as much as possible by using the bus idle signal.

【0041】[0041]

【発明の効果】以上説明したように本発明によれば、プ
ロセッサからDMACに対しバスアイドル信号を送出
し、該バスアイドル信号の期間中に複数DMA転送単位
のデータをメモリと入出力装置との間で転送し得るよう
にしたので、従来の1転送単位ずつのDMA転送では生
じてしまうデッドサイクルの発生を、特に大量のデータ
転送において、大幅に抑えることが出来る。これは、又
プロセッサの処理効率の低下防止を図ることともなる。
又、転送されるデータの廃棄や、切れ目の発生も防止す
ることができる。
As described above, according to the present invention, a bus idle signal is sent from the processor to the DMAC, and data of a plurality of DMA transfer units are transferred between the memory and the input / output device during the period of the bus idle signal. Since the data can be transferred between them, it is possible to greatly suppress the occurrence of a dead cycle that would occur in the conventional DMA transfer for each transfer unit, especially in a large amount of data transfer. This also prevents the processing efficiency of the processor from decreasing.
In addition, it is possible to prevent the discard of the transferred data and the occurrence of breaks.

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

【図1】請求項1に係わる発明の原理ブロック図であ
る。
FIG. 1 is a block diagram of the principle of the invention according to claim 1.

【図2】請求項2に係わる発明の原理ブロック図であ
る。
FIG. 2 is a principle block diagram of an invention according to claim 2;

【図3】請求項1及び請求項2に係わる発明の一実施例
を示す図である。
FIG. 3 is a diagram showing an embodiment of the invention according to claim 1 and claim 2;

【図4】図3に示す一実施例のDMACの要部詳細図で
ある。
FIG. 4 is a detailed view of a main part of the DMAC of the embodiment shown in FIG.

【図5】図4に示す詳細図でのタイミングチャートの一
部を示す図である。
5 is a diagram showing a part of a timing chart in the detailed diagram shown in FIG. 4;

【図6】図4に示す詳細図でのタイミングチャートの残
部を示す図である。
FIG. 6 is a diagram showing the remaining part of the timing chart in the detailed diagram shown in FIG. 4;

【図7】従来のDMA方式を採用するシステム構成図で
ある。
FIG. 7 is a system configuration diagram adopting a conventional DMA method.

【図8】従来のDMACの要部詳細図である。FIG. 8 is a detailed view of a main part of a conventional DMAC.

【図9】図7に示すシステムでのタイミングチャートを
示す図である。
9 is a diagram showing a timing chart in the system shown in FIG.

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

2 プロセッサ 3 メモリ (4) バスアイドル信号 5 バス 8 ダイレクトメモリアクセスコントローラ 9 受信データバッファ 10 送信データバッファ 受信データ強制転送要求信号 受信データ強制転送要求信号 (6) バス専有許可要求信号 (7) バス専有許可通知信号 31 データバス 32 RAM 50 MPU 56 ダイレクトメモリアクセスコントローラ 98 受信FIFO 99 送信FIFO 2 Processor 3 Memory (4) Bus idle signal 5 Bus 8 Direct memory access controller 9 Receive data buffer 10 Send data buffer Receive data forced transfer request signal Receive data forced transfer request signal (6) Bus exclusive permission request signal (7) Bus exclusive Permission notification signal 31 Data bus 32 RAM 50 MPU 56 Direct memory access controller 98 Reception FIFO 99 Transmission FIFO

───────────────────────────────────────────────────── フロントページの続き (72)発明者 柴田 恵 神奈川県横浜市港北区新横浜三丁目9番18 号 富士通コミユニケーシヨン・システム ズ株式会社内 (72)発明者 橘 大和 神奈川県横浜市港北区新横浜三丁目9番18 号 富士通コミユニケーシヨン・システム ズ株式会社内 (72)発明者 森山 貴幸 神奈川県横浜市港北区新横浜三丁目9番18 号 富士通コミユニケーシヨン・システム ズ株式会社内 (72)発明者 中原 稔 神奈川県横浜市港北区新横浜三丁目9番18 号 富士通コミユニケーシヨン・システム ズ株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Megumi Shibata 3-9-18 Shin-Yokohama, Kohoku Ward, Yokohama City, Kanagawa Prefecture, Fujitsu Communication Center Systems Co., Ltd. (72) Inventor Yamato, Kohoku Ward, Yokohama City, Kanagawa Prefecture Shin-Yokohama 3-9-18 Fujitsu Communication Systems Co., Ltd. (72) Inventor Takayuki Moriyama 3-9-18 Shin-Yokohama Yokohama Kohoku Ward, Kanagawa Prefecture Fujitsu Communication Systems Co., Ltd. (72) Inventor Minoru Nakahara 3-9-18 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa, Fujitsu Communication Center Systems Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 プロセッサ(2)がバス(5)を経てメ
モリ(3)をアクセスしない内部処理期間が1回のダイ
レクトメモリアクセス転送に要するサイクル数よりも長
いときバスアイドル信号(4) を発生し、 該バスアイドル信号(4) 、及び受信データバッファ
(9)から発生された受信データ転送要求信号,又は
送信データバッファ(10)から発生された送信データ
転送要求信号に応答したダイレクトメモリアクセスコ
ントローラ(8)は、受信データバッファ(9)からメ
モリ(3)へ、又はメモリ(3)から送信データバッフ
ァ(10)へ前記バスアイドル信号(4) で決まるダイレ
クトメモリアクセス転送回数分のデータを転送すること
を特徴とするダイレクトメモリアクセス方式。
1. A bus idle signal (4) is generated when an internal processing period during which the processor (2) does not access the memory (3) via the bus (5) is longer than the number of cycles required for one direct memory access transfer. And a direct memory access controller responsive to the bus idle signal (4) and the received data transfer request signal generated from the received data buffer (9) or the transmitted data transfer request signal generated from the transmitted data buffer (10) (8) transfers data from the reception data buffer (9) to the memory (3) or from the memory (3) to the transmission data buffer (10) for the number of direct memory access transfers determined by the bus idle signal (4). Direct memory access method characterized by:
【請求項2】 請求項1に記載のダイレクトメモリアク
セス方式において、入出力装置から受信データバッファ
(9)に受信したデータのメモリ(3)への転送中に該
受信データバッファ(9)が一杯になる直前、又はメモ
リ(3)から送信データバッファ(10)に書き込んだ
データの入出力装置への転送中に該送信データバッファ
(10)が空になる直前には、ダイレクトメモリアクセ
スコントローラ(8)による前記バスアイドル信号(4)
の受信がなくても、ダイレクトメモリアクセスコントロ
ーラ(8)は、前記受信データバッファ(9)からの受
信データ強制転送要求信号、又は前記送信データバッ
ファ(10)からの受信データ強制転送要求信号に応
答してプロセッサ(2)に対しバス専有許可要求信号
(6) をプロセッサ(2)へ送出し、プロセッサ(2)か
らダイレクトメモリアクセスコントローラ(8)へのバ
ス専有許可通知信号(7) の返送でダイレクトメモリアク
セスによるデータ転送を行なうことを特徴とするダイレ
クトメモリアクセス方式。
2. The direct memory access method according to claim 1, wherein the reception data buffer (9) is full during transfer of data received from the input / output device to the reception data buffer (9) to the memory (3). Immediately before, or immediately before the transmission data buffer (10) becomes empty during the transfer of the data written in the transmission data buffer (10) from the memory (3) to the input / output device, the direct memory access controller (8 ) Said bus idle signal (4)
The direct memory access controller (8) responds to the reception data forced transfer request signal from the reception data buffer (9) or the reception data forced transfer request signal from the transmission data buffer (10) even if the reception data is not received. Bus exclusive permission request signal to the processor (2)
(6) is sent to the processor (2), and data is transferred by direct memory access by returning the bus exclusive permission notification signal (7) from the processor (2) to the direct memory access controller (8). Direct memory access method.
JP18639391A 1991-07-25 1991-07-25 Direct memory access system Withdrawn JPH0546529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18639391A JPH0546529A (en) 1991-07-25 1991-07-25 Direct memory access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18639391A JPH0546529A (en) 1991-07-25 1991-07-25 Direct memory access system

Publications (1)

Publication Number Publication Date
JPH0546529A true JPH0546529A (en) 1993-02-26

Family

ID=16187615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18639391A Withdrawn JPH0546529A (en) 1991-07-25 1991-07-25 Direct memory access system

Country Status (1)

Country Link
JP (1) JPH0546529A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115757A (en) * 1996-04-09 2000-09-05 Denso Corporation DMA control apparatus for multi-byte serial-bit transfer in a predetermined byte pattern and between memories associated with different asynchronously operating processors for a distributed system
CN114900390A (en) * 2022-03-28 2022-08-12 深圳市元征科技股份有限公司 Data transmission method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115757A (en) * 1996-04-09 2000-09-05 Denso Corporation DMA control apparatus for multi-byte serial-bit transfer in a predetermined byte pattern and between memories associated with different asynchronously operating processors for a distributed system
CN114900390A (en) * 2022-03-28 2022-08-12 深圳市元征科技股份有限公司 Data transmission method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US6549960B1 (en) Architecture and apparatus for implementing 100 MBPS and GBPS ethernet address
US5819111A (en) System for managing transfer of data by delaying flow controlling of data through the interface controller until the run length encoded data transfer is complete
US6108722A (en) Direct memory access apparatus for transferring a block of data having discontinous addresses using an address calculating circuit
JPH04230557A (en) Direct memory access controller
JP3127523B2 (en) Communication control device and data transmission method
US5689659A (en) Method and apparatus for bursting operand transfers during dynamic bus sizing
KR100357284B1 (en) The one chip asynchronous microprocessor Inter Processor Communication circuit
JPH0546529A (en) Direct memory access system
JPH1063617A (en) Serial communication device
JP2502932B2 (en) Data transfer method and data processing system
US5125079A (en) Method for controlling the data transmission of a central unit interfacing control circuit and circuit arrangement for the implementation of the method
JP2615127B2 (en) Communication processing device
JPH03139751A (en) Dma controller for communication with priority decision function
KR100441884B1 (en) Network system performing high speed block data transfer between packet processing engine and main processor and direct memory access management method for the same
JPS6298444A (en) Data communication system
US6763405B2 (en) Process for interfacing a microprocessor with a packet based device and respective system
JP2002176464A (en) Network interface device
JPH06149703A (en) Message transfer controller
JPS61250758A (en) Communication controller
JP2000285087A (en) Method for data communication between nodes
JP2713204B2 (en) Information processing system
JPH0713881A (en) Communication processor
JPH0287248A (en) Data transfer system
JPH0713918A (en) Data transfer method and data-processing system
JPH077954B2 (en) Control device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981008