JPH04116751A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPH04116751A
JPH04116751A JP23588890A JP23588890A JPH04116751A JP H04116751 A JPH04116751 A JP H04116751A JP 23588890 A JP23588890 A JP 23588890A JP 23588890 A JP23588890 A JP 23588890A JP H04116751 A JPH04116751 A JP H04116751A
Authority
JP
Japan
Prior art keywords
signal
transfer
cpu
data
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.)
Pending
Application number
JP23588890A
Other languages
Japanese (ja)
Inventor
Hiroshi Sakamoto
裕志 坂本
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP23588890A priority Critical patent/JPH04116751A/en
Publication of JPH04116751A publication Critical patent/JPH04116751A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize transfer in an efficient cycle by permitting a direct memory access (DMA) cycle to hold CPU by memory access time. CONSTITUTION:When a DMA device (DMAC) 4 transfers data, a holding request signal (HRQ signal C) which requests the use of a bus is not asserted while a local data bus 6 connected to I/O 5 is accessed and it is transferred to a transceiver 3 having a data holding function through an arbiter 6. Then, the HRQ signal C is asserted as against CPU 1, the use right of the bus is obtained and it transferred to a memory 2. Thus, time when CPU holds can be shortened. Thus, transfer is executed at the efficient cycle.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、コンピュータやワードプロセッサー等のフロ
ッピーディスクあるいはハードディスクのデータ転送に
多用されているダイレクトメモリアクセス(以下、DM
Aという)転送が可能な機器に関する。
Detailed Description of the Invention (Field of Industrial Application) The present invention is directed to direct memory access (hereinafter referred to as DM), which is frequently used for data transfer on floppy disks or hard disks in computers, word processors, etc.
(referred to as A) relates to a device capable of transfer.

(従来の技術) 一般に、コンピュータやワードプロセッサー等の機器に
おいてフロッピーディスクやハードディスクのデータを
転送方式として中央処理装置(以下、CPUという)を
介することなく■10−メモリ間の高速なデータ転送が
可能なりMA転送が多く用いられてきた。ここでDMA
転送について概略説明を行う。フロッピーディスクコン
トローラよりメモリにデータ転送を行う場合、CPtJ
を介して転送を行うとI10リードサイクルにより一度
CPUのレジスタにデータを取り込みその後メモリライ
トサイクルにてレジスタのデータをメモリに転送する。
(Prior art) Generally, in devices such as computers and word processors, it is possible to transfer data from floppy disks and hard disks at high speed between ■10 and memory without going through the central processing unit (hereinafter referred to as CPU). MA transfer has been widely used. DMA here
A general explanation of the transfer will be provided. When transferring data from the floppy disk controller to memory, CPtJ
When data is transferred via the I10 read cycle, the data is once taken into the register of the CPU, and then the data in the register is transferred to the memory in the memory write cycle.

すなわち2回のサイクルによりデータを転送する。一方
DMA転送においてはIloに対しては特定のセレクト
信号(D A CK信号)とI10リード信号(■○R
D信号)、メモリに対してはアドレスとメモリーライト
信号(MEMW倍信号を出力し一回のサイクルにてデー
タ転送を行う。
That is, data is transferred in two cycles. On the other hand, in DMA transfer, a specific select signal (D A CK signal) and I10 read signal (■○R
D signal), an address and a memory write signal (MEMW times signal) are output to the memory, and data is transferred in one cycle.

(発明が解決しようとする課題) ところが高速なデータ転送を特長とするDMA転送も最
近のCPUの高速化(1サイクル100 ns径程度と
比較して処理サイクルが高速化されていない(1サイク
ル500 ns径程度このためDMA転送を用いたlサ
イクルの転送よりもCPUを用いて2回のサイクルの方
が高速に転送できる。
(Problem to be Solved by the Invention) However, DMA transfer, which is characterized by high-speed data transfer, does not have a faster processing cycle (1 cycle 500 ns) compared to recent CPU speeds (1 cycle 100 ns diameter). For this reason, two-cycle transfer using the CPU can be faster than one-cycle transfer using DMA transfer.

しかしメモリのアクセス時間に比べてIloのアクセス
時間が遅いことやCPUでこれらの転送を行う場合一般
にCPUはデータ転送にかかりきりになるため効率良い
システムを構築することができず低速なりMA転送を依
然用いているのが現状である。これらよりDMA転送速
度を上げる方法以外にDMA装置(DMAC)がメイン
データバスを占有する時間を短くする方法が必要になる
However, the Ilo access time is slower than the memory access time, and when these transfers are performed by the CPU, the CPU is generally devoted to data transfer, making it impossible to build an efficient system, resulting in slow MA transfer. Currently, it is still in use. In addition to these methods of increasing the DMA transfer speed, a method of shortening the time that the DMA device (DMAC) occupies the main data bus is required.

本発明はDMACがメインデータバスを占有する時間が
短縮できるデータ転送方式を提供することを目的とする
ものである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data transfer method that can shorten the time that a DMAC occupies a main data bus.

(課題を解決するための手段) 本発明は上記課題を達成するために、DMA転送が可能
な■/○が接続されているローカルデータバスとメモリ
が接続されているメインデータバス間にデータ保持機能
を有するトランシーバと、CPUとDMAC両者の工/
○に対するアクセスを調停する調停回路(アビータ)を
備えるようにしたものである。
(Means for Solving the Problems) In order to achieve the above-mentioned problems, the present invention provides data retention between a local data bus to which ■/○ capable of DMA transfer are connected and a main data bus to which memory is connected. Transceiver with functions and engineering/engineering of both CPU and DMAC
It is equipped with an arbitration circuit (arbiter) that arbitrates access to ○.

(作 用) したがって本発明によれば、DMACがデータ転送を行
う際にバスの使用を要求するホールドリクエスト信号(
以下HRQ信号という)をIloが接続されたローカル
データバスのアクセス中はアサートせずにアービタを介
してデータ保持機能を有するトランシーバに転送する、
その後CPUに対してHRQ信号をアサートしバスの使
用権を得てメモリに転送する。これによりCPUがホー
ルドする時間を短くすることができるものである。
(Function) Therefore, according to the present invention, the hold request signal (
The HRQ signal (hereinafter referred to as HRQ signal) is not asserted during access to the local data bus to which Ilo is connected, and is transferred to a transceiver having a data retention function via an arbiter.
Thereafter, the HRQ signal is asserted to the CPU to obtain the right to use the bus and transfer to the memory. This makes it possible to shorten the time the CPU holds.

(実施例) 第1図は本発明の一実施例におけるデータ転送方式の構
成を示すものである。第1図において、1はCPU、2
はメインデータバスaを介して接続されているメモリ、
3はメインデータバスaとローカルデータバス5間にあ
ってデータを保持する機能を持ったトランシーバ、4は
DMACl3はD M A転送が可能な工/○、6はC
PUIとDMAC4のアクセスを調停するアービタであ
る。
(Embodiment) FIG. 1 shows the configuration of a data transfer system in an embodiment of the present invention. In Figure 1, 1 is the CPU, 2
is the memory connected via main data bus a,
3 is a transceiver that is located between the main data bus a and the local data bus 5 and has the function of holding data; 4 is a DMACl3 is a transceiver capable of DMA transfer; 6 is a transceiver capable of DMA transfer;
This is an arbiter that mediates access between PUI and DMAC4.

またCはDMAC4より出力されるHRQ信号、dはH
RQ信号に対する応答信号(HLDA)、eはCPUI
がIloにアクセスするためのリクエスト信号(工○A
C3)、fはDMAC4が工/○にアクセスするための
リクエスト信号(DMAIO)、gはアービタ6により
調停されたトランシーバコントロール及びI10許可信
号、hはl105からデータ転送を要求するデータリク
エスト信号(D RE Q)、iはデータリクエスト信
号の応答信号(D A CK)である。
Also, C is the HRQ signal output from DMAC4, and d is H
Response signal (HLDA) to RQ signal, e is CPUI
A request signal for accessing Ilo (Engineering○A)
C3), f is a request signal (DMAIO) for DMAC 4 to access work/○, g is a transceiver control and I10 permission signal arbitrated by arbiter 6, and h is a data request signal (D REQ), i is a response signal (DACK) of the data request signal.

第2図は本発明の一実施例におけるDMA転送のタイミ
ングチャート(Iloからメモリへの転送)を示すもの
であり、第3図は従来のDMA転送のタイミングチャー
ト(Iloからメモリへの転送)を示すものである。
FIG. 2 shows a timing chart of DMA transfer (transfer from Ilo to memory) in one embodiment of the present invention, and FIG. 3 shows a timing chart of conventional DMA transfer (transfer from Ilo to memory). It shows.

次に、上記実施例においてIloからメモリにデータ転
送を行う手順について説明する。
Next, a procedure for transferring data from Ilo to memory in the above embodiment will be explained.

■/○からデータ転送を要求する信号DREQ信号りが
アサートされるとDMAC4はアービタ6に対して■/
○アクセス要求信号であるDMA工○信号fを出力する
。アービタ6にて調停された後、DMAC4はDACK
信号i信号−ド信号を出力し、l105よりデータをト
ランシーバ3に保持させる。この後、DMAC4はCP
U1に対してHRQ信号信号量力しHLDA信号d信号
上ランシーバ3に保持していたデータをメインデータバ
スaを介してメモリ2へ転送する。
When the signal DREQ requesting data transfer from ■/○ is asserted, the DMAC 4 sends the arbiter 6 to ■/○.
Outputs the DMA signal f, which is an access request signal. After arbitration in arbiter 6, DMAC4 receives DACK
It outputs the signal i signal - and causes the transceiver 3 to hold the data from l105. After this, DMAC4 uses CP
The HRQ signal is input to U1, and the data held in the transceiver 3 is transferred to the memory 2 via the main data bus a on the HLDA signal d.

次にメモリ2より工105にデータを転送する場合は、
l105からDREQ信号りが出力されるとDMAC4
はHRQ信号信号量サートする。
Next, when transferring data from memory 2 to workpiece 105,
When the DREQ signal is output from l105, DMAC4
The signal amount of the HRQ signal is asserted.

HLDA信号d信号上−トされるとメモリ2よりトラン
シーバ3にデータを保持する。その後、HRQ信号信号
量ゲートしメインデータバスaをCPUlに返しDMA
 I○信号fをアサートしてアービタ6により許可信号
を受けるとDACK信号1とライト信号によりトランシ
ーバ3のデータを工105に送る。
When the HLDA signal d is input, data is stored in the transceiver 3 from the memory 2. After that, the HRQ signal amount is gated and the main data bus a is returned to the CPU1 for DMA
When the I○ signal f is asserted and a permission signal is received by the arbiter 6, the data in the transceiver 3 is sent to the transceiver 3 by the DACK signal 1 and the write signal.

第2図と第3図の本実施例と従来例におけるI/○から
メモリにデータ転送時のタイミングチャートを比較する
とCPUがメインデータバスを使用できない時間は、本
実施例では従来例に比して大幅に短縮されたことがわか
る。
Comparing the timing charts for data transfer from I/○ to memory in this embodiment and the conventional example shown in Figures 2 and 3, the time during which the CPU cannot use the main data bus is longer in this embodiment than in the conventional example. It can be seen that the time period has been significantly shortened.

(発明の効果) 本発明は上記実施例から明らかなように、DMAサイク
ルはメモリアクセス時間のみCPUをホールドすればよ
いため、メインデータバスをDMACが占有する時間が
短くてすみ効率のよいサイクルで転送を行うことができ
るという効果を有する。
(Effects of the Invention) As is clear from the above embodiments, the present invention is an efficient cycle because the CPU only needs to be held during the memory access time in the DMA cycle, and the time during which the DMAC occupies the main data bus is shortened. This has the effect that transfer can be performed.

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

第1図は本発明の一実施例におけるデータ転送方式のシ
ステム構成図、第2図は本発明の一実施例におけるDM
A転送のタイミングチャート、第3図は従来例における
DMA転送のタイミングチャートである。 1 ・・・CPU、  2  ・・・メモリ、 3 ・
・・トランシーバ、 4 ・・・DMAC,5・・・工
/○、 6 ・・ アービタ、 a ・・・メインデー
タバス、 b ・・・ローカルデータバス、c  −・
 HRQ信号、 d ・−HLDA信号、e ・・・ 
l0AC3信号、 f ・・・0MAl0信号、 g 
・・・ トランシーバコントロール及びI10許可信号
、 h ・・・DREQ信号、 1 ・・・DACK信
号。 特許畠願人 松下電器産業株式会社
Figure 1 is a system configuration diagram of a data transfer method in an embodiment of the present invention, and Figure 2 is a DM system diagram in an embodiment of the present invention.
Timing chart of A transfer. FIG. 3 is a timing chart of DMA transfer in a conventional example. 1...CPU, 2...Memory, 3.
・Transceiver, 4 ・DMAC, 5 ・Engineering/○, 6 ・Arbiter, a ・Main data bus, b ・Local data bus, c −・
HRQ signal, d・-HLDA signal, e...
l0AC3 signal, f...0MA10 signal, g
... Transceiver control and I10 enable signal, h ... DREQ signal, 1 ... DACK signal. Patent applicant Matsushita Electric Industrial Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置(CPU)とメインデータバスを介して接
続された主記憶素子(メモリ)と、前記CPUを介さず
に前記メモリとI/O間の高速転送が可能なダイレクト
メモリアクセス装置(DMAC)及びダイレクトメモリ
アクセス転送が可能な前記I/Oが接続されたローカル
データバスと、前記CPUが前記I/Oをアクセス中、
あるいは前記DMACが前記I/Oをアクセス中かを判
断し調停を行う調停回路と、前記ローカルデータバスと
前記メインデータバス間にデータを保持することが可能
なトランシーバにより構成されるデータ転送方式。
A main memory element (memory) connected to a central processing unit (CPU) via a main data bus, and a direct memory access device (DMAC) capable of high-speed transfer between the memory and I/O without going through the CPU. and a local data bus to which the I/O capable of direct memory access transfer is connected, and the CPU is accessing the I/O;
Alternatively, the data transfer method includes an arbitration circuit that determines whether the DMAC is accessing the I/O and performs arbitration, and a transceiver that can hold data between the local data bus and the main data bus.
JP23588890A 1990-09-07 1990-09-07 Data transfer system Pending JPH04116751A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23588890A JPH04116751A (en) 1990-09-07 1990-09-07 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23588890A JPH04116751A (en) 1990-09-07 1990-09-07 Data transfer system

Publications (1)

Publication Number Publication Date
JPH04116751A true JPH04116751A (en) 1992-04-17

Family

ID=16992732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23588890A Pending JPH04116751A (en) 1990-09-07 1990-09-07 Data transfer system

Country Status (1)

Country Link
JP (1) JPH04116751A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6105082A (en) * 1997-05-15 2000-08-15 Ricoh Company, Ltd. Data processor used in a data transfer system which includes a detection circuit for detecting whether processor uses bus in a forthcoming cycle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6105082A (en) * 1997-05-15 2000-08-15 Ricoh Company, Ltd. Data processor used in a data transfer system which includes a detection circuit for detecting whether processor uses bus in a forthcoming cycle

Similar Documents

Publication Publication Date Title
US6026464A (en) Memory control system and method utilizing distributed memory controllers for multibank memory
US4937734A (en) High speed bus with virtual memory data transfer and rerun cycle capability
US5740376A (en) Signaling protocol for a peripheral component interconnect
EP0392657B1 (en) System providing cache coherent direct memory access between dissimilar bus systems
EP0559408B1 (en) A method and apparatus for performing bus arbitration using an arbiter in a data processing system
CA2026737C (en) Bus master interface circuit with transparent preemption of a data transfer controller
CA2007690C (en) High speed bus with virtual memory data transfer capability
CA2060820C (en) Direct memory access for data transfer within an i/o device
US5088028A (en) Lock converting bus-to-bus interface system
US6604159B1 (en) Data release to reduce latency in on-chip system bus
US5968144A (en) System for supporting DMA I/O device using PCI bus and PCI-PCI bridge comprising programmable DMA controller for request arbitration and storing data transfer information
US5097483A (en) Tri-statable bus with apparatus to drive bus line to first level and then second level for predetermined time before turning off
US6047336A (en) Speculative direct memory access transfer between slave devices and memory
JPH04116751A (en) Data transfer system
JPH03122745A (en) Dma control system
JPS62154045A (en) Bus arbitration system
JPH04130551A (en) Cache control method
KR100451789B1 (en) Arbitration apparatus and method of processor for resources share
JP2985496B2 (en) DMA transfer method
JPH02101560A (en) Bus interface device
JPH03216755A (en) Information processor
JP2000322377A (en) Data transfer controller
JPH0142017B2 (en)
JPH034349A (en) Dma transfer system
JPH04148265A (en) Data processor