JP3028998B2 - DMA transfer circuit - Google Patents

DMA transfer circuit

Info

Publication number
JP3028998B2
JP3028998B2 JP5178764A JP17876493A JP3028998B2 JP 3028998 B2 JP3028998 B2 JP 3028998B2 JP 5178764 A JP5178764 A JP 5178764A JP 17876493 A JP17876493 A JP 17876493A JP 3028998 B2 JP3028998 B2 JP 3028998B2
Authority
JP
Japan
Prior art keywords
terminal
cpu
output
signal
gate
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
JP5178764A
Other languages
Japanese (ja)
Other versions
JPH0736822A (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.)
Fujitsu General Ltd
Original Assignee
Fujitsu General 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 General Ltd filed Critical Fujitsu General Ltd
Priority to JP5178764A priority Critical patent/JP3028998B2/en
Publication of JPH0736822A publication Critical patent/JPH0736822A/en
Application granted granted Critical
Publication of JP3028998B2 publication Critical patent/JP3028998B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はパソコンと周辺機器間の
データ転送を行うものに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for transferring data between a personal computer and peripheral devices.

【0002】[0002]

【従来の技術】従来、パソコン側のメモリと、周辺機器
との間でDMAモードでデータ転送を行う場合は、前記
パソコン側のCPUのデータバスラインと周辺機器側の
CPUのデータバスラインを共通のものとし、DMAコ
ントローラによって、一時的にCPUを休止させて周辺
機器とメモリ間で直接データ転送していた。このような
DMA転送は、メインCPUを介さないで、入出力装置
から、メモリに直接転送されるのでDMAコントローラ
は、メインCPUに対してバスラインの使用を要求する
BSRQ信号を出力し、これによって前記バスラインを
前記メインCPUから切り離し、一時的にメインCPU
を停止させ、この間にメモリへのデータの書き込み、あ
るいはメモリからのデータの読みだしのタイミング信号
をDMAコントローラから出力してDMA転送を行う。
メインCPUは入出力開始の起動をかけるだけで、1ブ
ロックのデータ転送が終了する迄、すべてDMAコント
ローラとサブCPUが自動的に転送を実行するようにな
っている。しかしながら、上記のDMA転送において
は、DMAモードが設定されている間はメインCPUが
休止モードにあるため、その間メインCPUは処理をお
こなうことができず、例えば、高速処理を行う入出力機
器が存在するような場合は不都合が生じるという欠点を
有していた。
2. Description of the Related Art Conventionally, when data is transferred in a DMA mode between a memory on a personal computer and a peripheral device, the data bus line of the CPU on the personal computer and the data bus line of the CPU on the peripheral device are shared. And the DMA controller temporarily suspends the CPU to directly transfer data between the peripheral device and the memory. Since such a DMA transfer is directly transferred from the input / output device to the memory without passing through the main CPU, the DMA controller outputs a BSRQ signal requesting the main CPU to use the bus line. Disconnect the bus line from the main CPU and temporarily disconnect the main CPU
During this period, a DMA controller outputs a timing signal for writing data to the memory or reading data from the memory from the DMA controller to perform DMA transfer.
The main CPU only activates the start of input / output, and all DMA controllers and sub CPUs automatically execute the transfer until the data transfer of one block is completed. However, in the above-mentioned DMA transfer, while the DMA mode is set, the main CPU is in the sleep mode, and during that time, the main CPU cannot perform processing. For example, there are input / output devices that perform high-speed processing. In such a case, there is a disadvantage that inconvenience occurs.

【0003】[0003]

【発明が解決しようとする課題】上記のように、従来の
DMA転送モードは、その期間内でメインCPUが休止
する状態になる時が長いため、高速処理を行う入出力機
器が存在するような場合は処理が間に合わないという問
題を有していた。本考案は、上記の問題を解決しメイン
CPUが長期間休止することのないシングル転送方式に
よるデータ転送可能な方式を提供することにある。
As described above, in the conventional DMA transfer mode, since the main CPU is in a halt state for a long time during that period, there are input / output devices that perform high-speed processing. In such a case, there is a problem that the processing cannot be performed in time. It is an object of the present invention to solve the above-described problem and to provide a data transfer method using a single transfer method in which a main CPU does not pause for a long time.

【0004】[0004]

【課題を解決するための手段】本発明は上述の課題を解
決するため、前記DMAコントローラと前記周辺機器側
のCPUのバスラインを相互に接続し、周辺機器側のメ
モリと前記周辺機器側のCPU側のバスラインを相互に
接続する。尚、パソコンと周辺機器側の共通のバスライ
ンはコネクタを介して相互に接続し、パソコン側のメモ
リは前記レジスタを介して周辺機器側のメモリと相互に
接続する。DMAコントローラの書き込み制御信号を第
2フリップフロップのクロック端子に接続し、レジスタ
の書き込み端子を、周辺機器側のCPU8書き込み端子
に接続する。前記第2フリップフロップの出力端子の一
方を第1ANDゲートの一方の入力に接続し、前記出力
端子の他方を前記周辺機器側のCPUの書き込みフラグ
端子(WFLG)に接続し、前記第1ANDゲートの他
方の入力に、前記DMAコントローラのHLDREQ信
号の出力端子に接続し、前記第2フリップフロップのク
リア端子を前記周辺機器側のCPUの書き込み端子に接
続される。第2ANDゲートの一方の入力を、前記第1
ANDゲートの一方の入力と、前記DMAコントローラ
のHLDREQ信号の出力端子に接続する。ORゲート
の一方の入力端子を前記第1ANDゲートの出力に接続
し、前記ORゲートの他方の入力端子を前記第2AND
ゲートの出力に接続し、周辺機器側のCPUの書き込み
端子を、前記第2フリップフロップのクリア端子に接続
し、第1フリップフロップのクロック端子を、前記DM
Aコントローラの読み出し制御信号の出力端子に接続
し、前記第1フリップフロップのクリア端子を、前記周
辺機器側のCPUの読み出し信号の出力端子に接続す
る。前記第1フリップフロップの出力端子を前記第2A
NDゲートの入力端子に接続すると共にパソコン側のC
PUの読み出しフラグ端子(RFLG)に接続し、この
第2ANDゲートの出力をORゲートの入力に接続す
る。このORゲートの出力を前記周辺機器カードの出力
端子とパソコン側の入力端子を介してパソコン側のCP
Uのバスリクエスト信号(BUSREQ)端子に接続す
るように構成する。
According to the present invention, in order to solve the above-mentioned problems, the DMA controller and a bus line of a CPU of the peripheral device are connected to each other, and a memory of the peripheral device and a bus of the peripheral device are connected to each other. The bus lines on the CPU side are connected to each other. The common bus line between the personal computer and the peripheral device is mutually connected via a connector, and the memory on the personal computer is mutually connected with the memory on the peripheral device via the register. The write control signal of the DMA controller is connected to the clock terminal of the second flip-flop, and the write terminal of the register is connected to the CPU 8 write terminal of the peripheral device. One of the output terminals of the second flip-flop is connected to one input of a first AND gate, the other of the output terminals is connected to a write flag terminal (WFLG) of the CPU on the peripheral device side, and the output terminal of the first AND gate is The other input is connected to the output terminal of the HLDREQ signal of the DMA controller, and the clear terminal of the second flip-flop is connected to the write terminal of the CPU on the peripheral device side. One input of the second AND gate is connected to the first
It is connected to one input of an AND gate and the output terminal of the HLDREQ signal of the DMA controller. One input terminal of the OR gate is connected to the output of the first AND gate, and the other input terminal of the OR gate is connected to the second AND gate.
Connected to the output of the gate, the write terminal of the CPU on the peripheral device side is connected to the clear terminal of the second flip-flop, and the clock terminal of the first flip-flop is connected to the DM terminal.
An output terminal of a read control signal of the A controller is connected, and a clear terminal of the first flip-flop is connected to an output terminal of a read signal of the CPU on the peripheral device side. The output terminal of the first flip-flop is connected to the second A
Connect to the input terminal of ND gate and C
It is connected to the read flag terminal (RFLG) of the PU, and the output of this second AND gate is connected to the input of the OR gate. The output of the OR gate is transmitted to the CP of the personal computer through the output terminal of the peripheral device card and the input terminal of the personal computer.
It is configured to connect to the U bus request signal (BUSREQ) terminal.

【0005】[0005]

【作用】以上のように構成したので、本発明によるDM
A転送回路において、入出力装置からパソコンにたいす
るシングル転送は、周辺機器側のCPUはポーリングに
よって、DMAコントローラから書き込みフラグ(WF
LG)が送られて来るのを常時監視し、DMAコントロ
ーラは最初のデータの書き込み制御信号(IOWC)
と、ホールドリクエスト信号(HLDREQ)を出力す
る。前記(IOWC)信号の一方は第2フリップフロッ
プのクロック端子に入力されるが、周辺機器側のCPU
の書き込み信号(*WFLAG)は、未だ出力されてい
ないので、前記第2フリップフロップのデータ端子は、
“L”レベルのままである。従って、第1ANDゲート
の出力は“L”レベルになったままで、前記パソコン側
のCPUのバスリクエスト信号として入力されずにマス
クされることになり、この間パソコン側のCPUを動作
可能な状態にする。このマスク期間内で周辺機器側のC
PUがレジスタに対し1バイト目のデータを出力すると
共に、書き込み信号(*WFLAG)を出力し、この書
き込み信号(*WFLAG)によってレジスタに対し1
バイト目のデータが書き込まれる。また、前記(*WF
LAG)信号によって、前記第2フリップフロップのク
リア端子が“H”レベルになり動作可能な状態にセット
される。上記に続いてDMAコントローラから2番目の
データの書き込み信号(IOWC)信号と、HLDRE
Q信号がDMAコントローラから出力される。前記第2
フリップフロップのクリア端子が“H”レベルになり動
作可能な状態にセットされているので、HLDREQ信
号はパソコン側のCPUのバスリクエスト信号として入
力され、これによって前記パソコン側のCPUは休止状
態になり、この間にDMAコントローラが、パソコン側
のメモリに対して、前記レジスタに書き込んだ1バイト
目のデータの書き込みを行うと共に、前記周辺機器側の
CPU(*WFLAG)の出力を解除し、再度バスリク
エスト信号の出力をマスクした状態にし、パソコン側の
CPUを動作状態に戻すと共に、前記周辺側機器側のC
PUに対し2番目のデータの書き込み動作を要求し、以
後上記1番目の書き込みと同様のサイクルを反復して、
所定のバイト数のデータを転送する。次に、パソコンか
ら周辺機器側にたいするデータのシングル転送の動作に
ついて説明する。パソコン側のCPUが周辺機器側にデ
ータを転送したい場合は、DMAコントローラに対して
ライト信号を出力する。この信号によって、前記DMA
コントローラが読み出し制御信号(IORC)とホール
ドリクエスト信号(HLDREQ)を出力し、前記読み
出し制御信号(IORC)を第1フリップフロップのク
ロック端子に入力し、この第1フリップフロップによっ
て所定の期間ラッチしパソコン側のCPUを休止状態に
する。この休止している間に、周辺機器側のCPU8パ
ソコン側から書き込まれたレジスタのデータを読み込ん
で、周辺機器側のメモリに書き込みを行う。これによっ
て、周辺機器側のCPUが端子から読み出し信号(*R
FLG)を出力し、前記第1フリップフロップでラッチ
されていたHOLDREQ信号を解除し、パソコン側の
CPUを動作状態に戻す。この後は上記のサイクルが反
復され、所定のバイト数のデータがパソコンのメモリか
ら周辺機器側に転送される。
With the above construction, the DM according to the present invention is provided.
In the A transfer circuit, in a single transfer from the input / output device to the personal computer, the CPU of the peripheral device polls the DMA controller to write a flag (WF).
LG) is always monitored, and the DMA controller sends the first data write control signal (IOWC).
And outputs a hold request signal (HLDREQ). One of the (IOWC) signals is input to the clock terminal of the second flip-flop.
Since the write signal (* WFLAG) is not yet output, the data terminal of the second flip-flop is
It remains at the “L” level. Therefore, the output of the first AND gate remains at the "L" level and is not input as a bus request signal of the CPU of the personal computer, but is masked, and the CPU of the personal computer is made operable during this time. . During this mask period, C on the peripheral device side
The PU outputs the first byte of data to the register and outputs a write signal (* WFLAG).
The data of the byte is written. In addition, (* WF
The LAG) signal causes the clear terminal of the second flip-flop to go to the "H" level and set to an operable state. Following the above, the second data write signal (IOWC) signal from the DMA controller and the HLDRE
A Q signal is output from the DMA controller. The second
Since the clear terminal of the flip-flop is set to the "H" level and set to an operable state, the HLDREQ signal is input as a bus request signal of the CPU of the personal computer, whereby the CPU of the personal computer is put into a halt state. During this time, the DMA controller writes the first byte of data written in the register to the memory of the personal computer, releases the output of the CPU (* WFLAG) of the peripheral device, and re-executes the bus request. The output of the signal is masked, and the CPU of the personal computer is returned to the operating state.
It requests the PU to perform a second data write operation, and thereafter repeats the same cycle as the first write,
Transfer a predetermined number of bytes of data. Next, the operation of single transfer of data from the personal computer to the peripheral device will be described. When the CPU of the personal computer wants to transfer data to the peripheral device, it outputs a write signal to the DMA controller. This signal allows the DMA
A controller outputs a read control signal (IORC) and a hold request signal (HLDREQ), inputs the read control signal (IORC) to a clock terminal of a first flip-flop, and latches the data for a predetermined period by the first flip-flop. The CPU on the side is put into a sleep state. During this pause, the CPU 8 of the peripheral device reads the data of the register written from the personal computer and writes the data in the memory of the peripheral device. As a result, the CPU of the peripheral device reads the signal (* R
FLG), releases the HOLDREQ signal latched by the first flip-flop, and returns the CPU of the personal computer to the operating state. Thereafter, the above cycle is repeated, and data of a predetermined number of bytes is transferred from the memory of the personal computer to the peripheral device side.

【0006】[0006]

【実施例】以下図に基づいて本発明によるDMA転送回
路の実施例を詳細に説明する。図1において、1はDM
Aコントローラ33の書き込み制御信号(IOWC信
号)で第2フリップフロップ3のクロック端子11に接
続される。2はレジスタ18の書き込み端子(IOW
C)で、周辺機器側のCPU8の書き込み端子(*WF
LG)17に接続され、このCPU8からレジスタ18
へデータの書き込みを要求する信号を出力する。3は第
2フリップフロップで、この出力端子4を第1ANDゲ
ート5の一方の入力6に接続する。7は前記第1AND
ゲート5の他方の入力で、前記DMAコントローラ33
のHLDREQ信号の出力端子10に接続される。12
は前記第2フリップフロップのクリア端子で、前記CP
U8の書き込み端子(*WFLG)17に接続される。
13は第2ANDゲートで、その一方の入力14は前記
第1ANDゲート5の入力7と共に前記DMAコントロ
ーラ33のHLDREQ信号の出力端子10に接続され
る。15はORゲート26の一方の入力端子で、前記第
1ANDゲート5の出力に接続され、26は前記ORゲ
ートで、このゲートの他方の入力端子16は前記第2A
NDゲート13の出力25に接続される。またゲート2
6の出力27は、この周辺機器カードの出力端子28と
パソコン側の入力端子29を介してパソコン38の側の
CPU40のHLDREQ信号端子30に接続する。1
7は周辺機器側のCPU8の書き込み端子(*WFL
G)で、前記第2フリップフロップ3のクリア端子12
に接続され、この第2フリップフロップ3の動作を制御
する。18はレジスタで、バスバッファとして働き、パ
ソコン側と周辺機器側のCPUとのデータの書き込みと
読みだしを中継する。19は第1フリップフロップで、
そのクロック端子20は、前記DMAコントローラ33
の読み出し制御信号(IORC)の出力端子31に接続
され、クリア端子22は前記周辺機器側のCPU8の読
み出し信号(*RFLG)の出力端子32に接続され、
この出力端子32は前記レジスタ18の読み出し制御信
号(IORC)の入力端子に接続する。前記第1フリッ
プフロップの出力端子22は前記第2ANDゲート13
の入力24に接続されると共に、パソコン側のCPUの
読み出しフラグ端子23(RFLG)に接続される。デ
ータの入力端子とプリセット端子は共に常時“H”レベ
ルに固定する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a DMA transfer circuit according to the present invention will be described below in detail with reference to the drawings. In FIG. 1, 1 is DM
The write control signal (IOWC signal) of the A controller 33 is connected to the clock terminal 11 of the second flip-flop 3. 2 is a write terminal (IOW) of the register 18.
C), the write terminal (* WF) of the CPU 8 on the peripheral device side.
LG) 17 and a register 18
And outputs a signal requesting data writing. Reference numeral 3 denotes a second flip-flop, which connects the output terminal 4 to one input 6 of the first AND gate 5. 7 is the first AND
The other input of the gate 5, the DMA controller 33
To the output terminal 10 of the HLDREQ signal. 12
Is a clear terminal of the second flip-flop, and the CP
It is connected to the write terminal (* WFLG) 17 of U8.
Reference numeral 13 denotes a second AND gate, one input of which is connected to the input 7 of the first AND gate 5 and the output terminal 10 of the DMA controller 33 for the HLDREQ signal. 15 is one input terminal of an OR gate 26, which is connected to the output of the first AND gate 5, 26 is the OR gate, and the other input terminal 16 of this gate is the second A
Connected to output 25 of ND gate 13. Gate 2
The output 27 of 6 is connected to the HLDREQ signal terminal 30 of the CPU 40 of the personal computer 38 via the output terminal 28 of the peripheral device card and the input terminal 29 of the personal computer. 1
7 is a write terminal (* WFL) of the CPU 8 on the peripheral device side.
G), the clear terminal 12 of the second flip-flop 3
To control the operation of the second flip-flop 3. Reference numeral 18 denotes a register, which functions as a bus buffer, and relays data writing and reading between the personal computer and the CPU of the peripheral device. 19 is a first flip-flop,
The clock terminal 20 is connected to the DMA controller 33
The clear terminal 22 is connected to the output terminal 32 of the read signal (* RFLG) of the CPU 8 on the peripheral device side, and the clear terminal 22 is connected to the output terminal 31 of the read control signal (IORC).
This output terminal 32 is connected to the input terminal of the read control signal (IORC) of the register 18. The output terminal 22 of the first flip-flop is connected to the second AND gate 13
, And to the read flag terminal 23 (RFLG) of the CPU on the personal computer side. Both the data input terminal and the preset terminal are always fixed at “H” level.

【0007】次に本発明によるDMA転送回路の動作タ
イミングを図2の信号波形によって説明する。図に於い
て、入出力装置からパソコンにたいするシングル転送の
場合は、DMAコントローラがデータの書き込み制御信
(IOWC)を信号波形の立ち上がり29において出力
すると共に、ホールドリクエスト信号(HLDREQ)
を信号波形22の立ち上がり26にて出力する。この
時、第2フリップフロップのクリア端子は“H”レベル
になっているので、信号波形24に示すように前記第2
フリップフロップの出力端子Q(4)の信号波形は27
にて立ち上がる。これにより、前記第2フリップフロッ
プの出力端子4に接続したANDゲートの出力が立ち上
がり、パソコン側のCPUのBUSREQ端子ほ信号波
形25は28にて立ち上がり、前記CPUはバスライン
を明け渡す。次に周辺機器側のCPUがレジスタに書き
込みを終了し(*WFLAG)信号波形23を30にて
立ち下げると、これにより第2フリップフロップのクリ
ア端子が立ち下がり、その出力はクリアされ、前記第2
フリップフロップの出力端子4に接続したANDゲート
の出力が立ち下がり、これによってCPUのBUSRE
Q端子が32にて立ち下がり、これによってパソコン側
のCPUはバスラインを専有する。次にホールドリクエ
スト信号(HLDREQ)が33にて立ち上がり、パソ
コン側のCPUのBUSREQ端子の信号波形は34に
て立ち上がり、これによって上記と同様にして前記CP
Uはバスラインを明け渡し次のデータの転送が行われ
る。以下データの書き込みの度に上記のサイクルが反復
される。
Next, the operation timing of the DMA transfer circuit according to the present invention will be described with reference to signal waveforms in FIG. In the figure, in the case of a single transfer from the input / output device to the personal computer, the DMA controller outputs a data write control signal (IOWC) at the rising edge 29 of the signal waveform and a hold request signal (HLDREQ).
At the rising edge 26 of the signal waveform 22. At this time, since the clear terminal of the second flip-flop is at the “H” level, the second flip-flop has the second flip-flop as shown in the signal waveform 24.
The signal waveform at the output terminal Q (4) of the flip-flop is 27
Stand up at. As a result, the output of the AND gate connected to the output terminal 4 of the second flip-flop rises, the signal waveform 25 rises at the BUSREQ terminal of the CPU on the personal computer side, and the CPU surrenders the bus line. Next, when the CPU of the peripheral device finishes writing to the register (* WFLAG) and causes the signal waveform 23 to fall at 30, the clear terminal of the second flip-flop falls, and its output is cleared. 2
The output of the AND gate connected to the output terminal 4 of the flip-flop falls, which causes the BUSRE of the CPU to fall.
The Q terminal falls at 32, whereby the CPU of the personal computer occupies the bus line. Next, the hold request signal (HLDREQ) rises at 33, and the signal waveform at the BUSREQ terminal of the CPU on the personal computer rises at 34.
U surrenders the bus line and the next data is transferred. Thereafter, the above cycle is repeated every time data is written.

【0008】次に、パソコンから周辺機器側にたいする
データのシングル転送の動作について説明する。パソコ
ン側のCPUが周辺機器側にデータを転送したい場合
は、DMAコントローラに対してライト信号を出力す
る。この信号によって、前記DMAコントローラが信号
波形41で示すように、ホールドリクエスト信号(HL
DREQ)を51にて立ち上げると共に、周辺機器側の
CPUが読み出し信号(*RFLG)43を52にて立
ち下げる。これによって、第2フリップフロップの出力
波形Q(22)44は53にて立ち上がり、前記第2フ
リップフロップの出力端子に接続した第2ANDゲート
の出力が立ち上って、パソコン側のCPUのBUSRE
Q端子の信号波形45は54にて立ち上がり、これによ
ってパソコン側のCPUはバスラインを明け渡す。周辺
機器側のCPUがレジスタから読み出しを終了すると、
DMAコントローラが55にてホールドリクエスト信号
(HLDREQ)を立ち下げ、これによって前記第2A
NDゲートの出力が立ち下がり、これによってパソコン
側のCPUのBUSREQ端子は57にて立ち下がっ
て、パソコン側のCPUはバスラインを専有する。以下
データの読み出しの度に上記のサイクルが反復される。
Next, the operation of single transfer of data from the personal computer to the peripheral device will be described. When the CPU of the personal computer wants to transfer data to the peripheral device, it outputs a write signal to the DMA controller. With this signal, the DMA controller causes the hold request signal (HL
DREQ) at 51 and the CPU on the peripheral device causes the read signal (* RFLG) 43 to fall at 52. As a result, the output waveform Q (22) 44 of the second flip-flop rises at 53, the output of the second AND gate connected to the output terminal of the second flip-flop rises, and the BUSRE of the CPU on the personal computer side rises.
The signal waveform 45 at the Q terminal rises at 54, whereby the CPU on the personal computer side surrenders the bus line. When the CPU of the peripheral device finishes reading from the register,
The DMA controller lowers the hold request signal (HLDREQ) at 55, thereby causing the second A
The output of the ND gate falls, whereby the BUSREQ terminal of the personal computer CPU falls at 57, and the personal computer CPU occupies the bus line. Thereafter, the above cycle is repeated every time data is read.

【0009】[0009]

【発明の効果】以上に説明したように、本発明によるD
MA転送回路のによれば、シングル転送モードにおい
て、メインCPUが全面的に休止することがないので、
高速処理を行う入出力機器が存在する場合であってもメ
インCPUの処理が間に合うようになり、パソコンの処
理速度が向上するという効果がある。
As described above, according to the present invention, D
According to the MA transfer circuit, in the single transfer mode, the main CPU does not stop completely.
Even when there is an input / output device that performs high-speed processing, the processing of the main CPU can be completed in time, and the processing speed of the personal computer is improved.

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

【図1】本発明によるDMA転送回路の図である。FIG. 1 is a diagram of a DMA transfer circuit according to the present invention.

【図2】本発明によるDMA転送回路の波形図である。FIG. 2 is a waveform diagram of a DMA transfer circuit according to the present invention.

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

1 IOWC信号 2 端子 3 第2フリップフロップ 4 端子 5 ゲート 6 入力 7 入力 8 CPU 9 端子 10 出力端子 11 クロック端子 12 クリア端子 13 ゲート 14 入力 15 入力 16 入力端子 17 書き込み端子 18 レジスタ 19 第1フリップフロップ 20 クロック端子 21 クリア端子 22 データ端子 23 読み出しフラグ端子(RFLG) 24 入力 25 出力 26 ORゲート 27 出力 28 出力端子 29 入力端子 30 BUSREQ入力端子 31 IORC出力端子 32 *RFLG 33 DMAコントローラ 34 周辺機器側のメモリ 35 バスライン 36 メモリ 37 バスライン 38 パソコン側のブロック 39 バスライン 40 CPU 41 ライト信号端子 Reference Signs List 1 IOWC signal 2 terminal 3 second flip-flop 4 terminal 5 gate 6 input 7 input 8 CPU 9 terminal 10 output terminal 11 clock terminal 12 clear terminal 13 gate 14 input 15 input 16 input terminal 17 write terminal 18 register 19 first flip-flop Reference Signs List 20 clock terminal 21 clear terminal 22 data terminal 23 read flag terminal (RFLG) 24 input 25 output 26 OR gate 27 output 28 output terminal 29 input terminal 30 BUSREQ input terminal 31 IORC output terminal 32 * RFLG 33 DMA controller 34 peripheral device side Memory 35 Bus line 36 Memory 37 Bus line 38 PC side block 39 Bus line 40 CPU 41 Write signal terminal

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 パソコン側のメモリと、周辺機器との間
でデータ転送を行うものにおいて、前記パソコン側のC
PUのデータバスラインと周辺機器側のCPUのデータ
バスラインの間に配設したレジスタと、前記周辺機器に
配設したDMAコントローラの書き込み制御信号をラッ
チし、このラッチした出力によって前記周辺機器側のC
PUから前記レジスタへの書き込みタイミングを制御す
る第2フリップフロップと、前記ラッチした出力と前記
DMAコントローラのHLDREQ信号出力とのAND
を取る第1ANDゲートと、このゲートの出力によって
パソコン側のCPUへのバスリクエスト信号を制御する
書き込み用シングル転送回路と、前記DMAコントロー
ラの読み出し制御信号を第1フリップフロップのクロッ
ク端子に接続してラッチし、このラッチした出力によっ
て前記レジスタから前記周辺機器側CPUへの読み出し
タイミングを制御する第フリップフロップと、前記ラ
ッチした出力と前記DMAコントローラのHLDREQ
信号出力とのANDを取る第2ANDゲートと、このゲ
ートの出力によってパソコン側のCPUへのバスリクエ
スト信号を制御する読み出し用シングル転送回路とによ
って構成したことを特徴とするDMA転送回路。
An apparatus for performing data transfer between a memory on a personal computer and a peripheral device.
A register provided between the data bus line of the PU and the data bus line of the CPU on the peripheral device side, and a write control signal of a DMA controller provided for the peripheral device are latched. C
A second flip-flop for controlling a write timing from a PU to the register, and an AND between the latched output and an HLDREQ signal output of the DMA controller
A first AND gate, a write single transfer circuit for controlling a bus request signal to the CPU of the personal computer by an output of the gate, and a read control signal of the DMA controller connected to a clock terminal of a first flip-flop. A first flip-flop for latching and controlling a read timing from the register to the peripheral device side CPU based on the latched output; and a latched output and an HLDREQ of the DMA controller.
A DMA transfer circuit comprising: a second AND gate for performing an AND operation with a signal output; and a read single transfer circuit for controlling a bus request signal to a CPU on a personal computer side by an output of the gate.
JP5178764A 1993-07-20 1993-07-20 DMA transfer circuit Expired - Fee Related JP3028998B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5178764A JP3028998B2 (en) 1993-07-20 1993-07-20 DMA transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5178764A JP3028998B2 (en) 1993-07-20 1993-07-20 DMA transfer circuit

Publications (2)

Publication Number Publication Date
JPH0736822A JPH0736822A (en) 1995-02-07
JP3028998B2 true JP3028998B2 (en) 2000-04-04

Family

ID=16054207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5178764A Expired - Fee Related JP3028998B2 (en) 1993-07-20 1993-07-20 DMA transfer circuit

Country Status (1)

Country Link
JP (1) JP3028998B2 (en)

Also Published As

Publication number Publication date
JPH0736822A (en) 1995-02-07

Similar Documents

Publication Publication Date Title
US4271466A (en) Direct memory access control system with byte/word control of data bus
US5287486A (en) DMA controller using a programmable timer, a transfer counter and an or logic gate to control data transfer interrupts
JP2006113689A (en) Bus bridge device and data transfer method
JP3028998B2 (en) DMA transfer circuit
JPH03177953A (en) Data transfer system
JPH11110342A (en) Method and device for connecting bus
KR910008420B1 (en) Interface circuit between cpu and peripheral i/o devices
JP2574821B2 (en) Direct memory access controller
JPS5844420Y2 (en) High-speed data processing equipment
JPH036762A (en) Direct access method for image memory
JPH02211571A (en) Information processor
JPH0330899B2 (en)
JPS61250748A (en) Memory access system of information processor
JPS6411984B2 (en)
KR950033853A (en) Computer system with interface circuit capable of high speed information transmission
JPH023853A (en) Interface method for cpu
JPH0496826A (en) Interrupt controller
JPS6113624B2 (en)
JPH05120201A (en) Data processor
JPH0519918A (en) Io bus control system
JPS63226749A (en) Data transfer system
JPH0479022B2 (en)
JPH0573484A (en) Information processing system
JPS616754A (en) Direct memory access transfer system
JPH01250163A (en) Bus controller

Legal Events

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