JPH02171949A - Dma transfer system - Google Patents

Dma transfer system

Info

Publication number
JPH02171949A
JPH02171949A JP32876388A JP32876388A JPH02171949A JP H02171949 A JPH02171949 A JP H02171949A JP 32876388 A JP32876388 A JP 32876388A JP 32876388 A JP32876388 A JP 32876388A JP H02171949 A JPH02171949 A JP H02171949A
Authority
JP
Japan
Prior art keywords
data
memory
memories
address
bus
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
JP32876388A
Other languages
Japanese (ja)
Inventor
Toru Sugio
杉尾 徹
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP32876388A priority Critical patent/JPH02171949A/en
Publication of JPH02171949A publication Critical patent/JPH02171949A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To increase a data transfer speed by simultaneously applying lower address data to both memories in the case of data transfer between the memories using the lower address data in common and directly transferring the data through a data bus. CONSTITUTION:The transferring memory 1 is directly connected to the transferred memory 2 through a data bus 3 and an address bus 4. Low-order address data A0 to A12 out of an address signal (e) from a DMA controller (DMC) 5 are simultaneously applied to both the memories 1, 2 through the address bus 4 and data (f) from the memory 1 are directly transferred to the memory 2 through the data bus 3. Since the data can be directly transferred between both the memories without passing them through a temporary register or the like, data transfer between the memories having the low-order address data in common can be rapidly executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、下位のアドレスデータを共通とするメモリ間
のデータ転送を直接行なう方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a system for directly transferring data between memories that share lower address data.

〔従来の技術〕[Conventional technology]

メモリ間のデータ転送をDMAにより行危う場合、中間
にテンポラリレジスタと称するレジスタを設け、これへ
転送元のメモリからデータを蓄積のうえ、レジスタから
転送先のメモリへデータの格納を行なうものとなってい
る。
If it is difficult to transfer data between memories using DMA, a register called a temporary register is provided in the middle, data is accumulated from the transfer source memory in this register, and then data is stored from the register to the transfer destination memory. ing.

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

しかし、中間のレジスタを介してデータの転送を行なう
ため、メモリ間においてデータを直接転送する所要時間
に比し、レジスタを介する所要時間が約2倍となり、デ
ータ転送の応動速度が低下する欠点を生じている。
However, since data is transferred via intermediate registers, the time required to transfer data through the registers is approximately twice as long as the time required to directly transfer data between memories, resulting in a reduction in data transfer response speed. It is occurring.

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

前述の課題を解決するため、本発明はつぎの手段によ多
構成するものとなっている。
In order to solve the above-mentioned problems, the present invention is constructed by the following means.

すなわち、下位のアドレスデータを共通とするメモリ間
のデータ転送において、データバスおよびアドレスバス
により転送元のメモリと転送先のメモリとを直接々続し
、転送先のメモリへDMAコントローラのDMAアクノ
リッジ信号およびI/O/Oライト信チップセレクト信
号およびライト信号として与え、転送元のメモリにはD
MAコントローラの上位アドレスデータをデコードしチ
ップセレクト信号として与えると共に、メモリ・リード
信号を与え、かつ、データバスを介して両メモリへ下位
アドレスデータを同時に与え、データバスを介してデー
タの転送を同時に行なうものとしている。
In other words, in data transfer between memories that share lower address data in common, the source memory and the destination memory are directly connected via a data bus and address bus, and the DMA acknowledge signal of the DMA controller is sent to the destination memory. and I/O/O write signals are given as chip select signals and write signals, and the transfer source memory is
It decodes the upper address data of the MA controller and gives it as a chip select signal, gives a memory read signal, and gives the lower address data to both memories simultaneously via the data bus, and simultaneously transfers the data via the data bus. We intend to do so.

〔作用〕[Effect]

したがって、転送元のメモリが読み出し状態、転送先の
メモリが書込み状態になると共に、両メモリの下位アド
レスが同時に同一アドレスとして指定され、データバス
を介するデータの転送が両メモリの下位データを同一と
するアドレス間において直接行なわれる。
Therefore, the transfer source memory is in the read state and the transfer destination memory is in the write state, and the lower addresses of both memories are simultaneously designated as the same address, and data transfer via the data bus causes the lower data of both memories to be the same. This is done directly between addresses.

〔実施例〕〔Example〕

以下、実施例を示す図によって本発明の詳細な説明する
Hereinafter, the present invention will be explained in detail with reference to figures showing examples.

第1図はブロック図、第2図は第1図における各部の信
号を示すタイミングチャート、第3図はメモリのアドレ
ス設定状況を示す図であシ、第1図においては、転送元
のメモリ1と転送先のメモリ2とをデータバス3および
アドレスバス4によシ直接々続する一方、DMAコント
ローラ(以下、DMC)5、セレクタ(以下、5EL)
6.7、および、デコーダ(以下、ogc)8が設けて
あり、5EL6,7は、図上省略した中央処理装置(以
下、CPU)からのバスホールドアクノリッジ信号(以
下、HLDAK)(a)に応動し、切替動作を行なうも
のと力っている。
FIG. 1 is a block diagram, FIG. 2 is a timing chart showing the signals of each part in FIG. 1, and FIG. 3 is a diagram showing the address setting status of the memory. and the transfer destination memory 2 are directly connected via a data bus 3 and an address bus 4, while a DMA controller (hereinafter referred to as DMC) 5 and a selector (hereinafter referred to as 5EL)
6.7 and a decoder (hereinafter referred to as OGC) 8 are provided, and 5EL6 and 7 are provided with a bus hold acknowledge signal (hereinafter referred to as HLDAK) (a) from a central processing unit (hereinafter referred to as CPU) not shown in the figure. It is believed that the system will respond and perform a switching operation.

また、メモリ1,2は、第3図のとおυにアドレスが設
定されておシ、メモリ1がrOOOOHJ〜「IFFF
H」、メモリ2はr8000HJ〜[9FFFHJとし
てアドレスが定められ、両メモリ1゜2の下位アドレス
データAO−A12 が共通となっている。
In addition, the addresses of memories 1 and 2 are set at υ as shown in FIG.
The addresses of memory 2 are determined as r8000HJ to [9FFFHJ, and the lower address data AO-A12 of both memories 1.2 is common.

こ\において、CPUからのHLDAK(a)が与えら
れると、DMC5が動作を開始すると共に5F2L6.
7が応動し、DMC5の送出するDMAアクノリッジ信
号(以下、DMAAK)・伽)をメモリ2のチップセレ
クト信号として与えると共に、1/Oライト信号(以下
、Ilo・WR)・(d)をライト信号としてメモリ2
へ与える一方、DMC5からのメモリ・リード信号(以
下、MRD)・(C)がメモリ1へ与えられ、更に、D
MC5の送出するアドレス信号(e)中の上位アドレス
データA13〜A15がDEC8によりデコードされ、
メモリ1のチップセレクト信号として与えられるため、
これにより、メモリ1が読み出し状態、メモリ2が書込
み状態となる。
At this point, when HLDAK(a) from the CPU is given, DMC5 starts operating and 5F2L6.
7 responds and provides the DMA acknowledge signal (hereinafter referred to as DMAAK) sent by the DMC 5 as a chip select signal for the memory 2, and also provides the 1/O write signal (hereinafter referred to as Ilo/WR) (d) as a write signal. as memory 2
On the other hand, a memory read signal (hereinafter referred to as MRD) (C) from DMC5 is given to memory 1, and
Upper address data A13 to A15 in the address signal (e) sent by the MC5 are decoded by the DEC8,
Since it is given as a chip select signal for memory 1,
As a result, memory 1 becomes a read state and memory 2 becomes a write state.

また、DMC5からのアドレス信号(e)中、下位アド
レスデータAO〜A12は、アドレスバス4を介してメ
モリ1,2へ同時に与えられるため、アドレス信号(e
)を例えばr /O0OHJとすれば、メモリ1のアド
レスr /O0OHJからのデータ(f)がメモリ2の
アドレスr9000HJヘデータバス3を介して直接転
送される。
In addition, among the address signal (e) from the DMC 5, the lower address data AO to A12 are simultaneously given to the memories 1 and 2 via the address bus 4, so the address signal (e
) is, for example, r /O0OHJ, then data (f) from address r /O0OHJ of memory 1 is directly transferred to address r9000HJ of memory 2 via data bus 3 .

なお、HL D A K (a)が与えられている間に
、DMC5がDMAAK(b)、MRD(c)、rlo
−WR(a)を順次に生じ、かつ、反対の順位により消
滅すると共に、Ilo・wR(d)よりも若干長い期間
、データ(f)を送出するものとなっており、これによ
り確実なデータの転送が行なわれる。
Note that while HLDAK (a) is given, DMC5 receives DMAAK (b), MRD (c), rlo
-WR(a) is generated sequentially and disappears in the opposite order, and data (f) is transmitted for a slightly longer period than Ilo・wR(d), thereby ensuring reliable data. transfer is performed.

HLDAK(a)の消滅後は、5EL6.7がDEC8
の出力およびCPUからのメモリライト信号MWRを選
択し、これらをメモリ2へ与えるため、CPUがアドレ
スr 9000HJを指定すれば、転送されたデータを
メモリ2から読み出すことができる。
After HLDAK(a) disappears, 5EL6.7 becomes DEC8
In order to select the output of and the memory write signal MWR from the CPU and apply them to the memory 2, if the CPU specifies the address r9000HJ, the transferred data can be read from the memory 2.

〔発明の効果〕〔Effect of the invention〕

以上の説明により明らか外とおυ本発明によれば、DM
AコントローラのDMAアクノリッジ信号およびI/O
/Oライト信より転送先のメモリを書込み状態とし、D
MAコントローラの上位アドレスデータおよびメモリ・
リード信号によシ転送元のメモリを読み出し状態とし、
両メモリへ下位アドレスデータを同時に与え、データバ
スを介してデータの転送を直接行なうものと1またこと
によシ、テンポラリレジスタ等の介在がなく、両メモリ
間のデータ転送が直接になされるため、データ転送が高
速となシ、下位アドレスデータの共通なメモリ間のデー
タ転送において顕著な効果が得られる。
From the above explanation, it is clear that according to the present invention, DM
A controller DMA acknowledge signal and I/O
/O write signal puts the transfer destination memory in writing state, and D
MA controller upper address data and memory
The read signal puts the transfer source memory in the read state,
In this method, lower address data is given to both memories at the same time, and the data is transferred directly via the data bus.In particular, there is no intervention such as a temporary register, and the data is transferred directly between the two memories. Since the data transfer speed is high, a remarkable effect can be obtained in data transfer between common memories of lower address data.

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

図は本発明の実施例を示し、第1図はブ「コック図、第
2図は第1図における各部の信号を示すタイミングチャ
ート、第3図はメモリのアドレス設定状況を示す図であ
る。 1.2−・118メモリ、3・・・−データバス、4@
−・・アドレスバス、5・・−・DMAコントローラ、
6,7・・・−セレクタ、8・Il・・デコーダ、(b
)・・・・DMAアクノリッジ信号、(c)・・・・メ
モリ・リード信号、(d)・・・・I/Oライト信号、
(e)・・・・アドレス信号、(f)・eφφデータ。
The figures show an embodiment of the present invention; FIG. 1 is a block diagram, FIG. 2 is a timing chart showing signals of each part in FIG. 1, and FIG. 3 is a diagram showing a memory address setting situation. 1.2-・118 memory, 3...-data bus, 4@
--Address bus, 5 --DMA controller,
6, 7...-selector, 8, Il... decoder, (b
)...DMA acknowledge signal, (c)...memory read signal, (d)...I/O write signal,
(e) Address signal, (f) eφφ data.

Claims (1)

【特許請求の範囲】[Claims] 下位のアドレスデータを共通とするメモリ間のデータ転
送において、データバスおよびアドレスバスにより転送
元のメモリと転送先のメモリとを直接々続し、該転送先
のメモリへDMAコントローラのDMAアクノリッジ信
号およびI/Oライト信号をチップセレクト信号および
ライト信号として与え、前記転送元のメモリには前記D
MAコントローラの上位アドレスデータをデコードしチ
ップセレクト信号として与えると共にメモリ・リード信
号を与え、かつ、前記データバスを介して前記両メモリ
へ下位アドレスデータを同時に与え、前記データバスを
介してデータの転送を直接行なうことを特徴とするDM
A転送方式。
In data transfer between memories that share lower address data in common, the source memory and the destination memory are directly connected via a data bus and address bus, and the DMA acknowledge signal and the DMA controller's DMA acknowledge signal are sent to the destination memory. An I/O write signal is given as a chip select signal and a write signal, and the transfer source memory receives the D
Decoding the upper address data of the MA controller and giving it as a chip select signal as well as giving a memory read signal, and simultaneously giving the lower address data to both of the memories via the data bus, and transferring the data via the data bus. DM characterized by directly conducting
A transfer method.
JP32876388A 1988-12-26 1988-12-26 Dma transfer system Pending JPH02171949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32876388A JPH02171949A (en) 1988-12-26 1988-12-26 Dma transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32876388A JPH02171949A (en) 1988-12-26 1988-12-26 Dma transfer system

Publications (1)

Publication Number Publication Date
JPH02171949A true JPH02171949A (en) 1990-07-03

Family

ID=18213876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32876388A Pending JPH02171949A (en) 1988-12-26 1988-12-26 Dma transfer system

Country Status (1)

Country Link
JP (1) JPH02171949A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0464848A2 (en) * 1990-07-06 1992-01-08 Nec Corporation Structure for enabling direct memory-to-memory transfer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0464848A2 (en) * 1990-07-06 1992-01-08 Nec Corporation Structure for enabling direct memory-to-memory transfer

Similar Documents

Publication Publication Date Title
JPH02171949A (en) Dma transfer system
JP2713204B2 (en) Information processing system
JP2000155738A (en) Data processor
JP2821176B2 (en) Information processing device
JPS61233857A (en) Data transfer equipment
JPH09269890A (en) Endian conversion system
JPH06348656A (en) Inter-processor data transfer method
JPH02211571A (en) Information processor
JPH04107666A (en) Dma transfer system
JPS6049465A (en) Data transfer method between microcomputers
JPS62102354A (en) Access control system
JPS6140658A (en) Data processor
JPH01207847A (en) Inter-memory data transfer system
JPH01108665A (en) Dma transfer control system
JPH0652039A (en) Data transfer system
JPS63104155A (en) Electronic computer
JPS6280754A (en) Memory access controller
JPS63197260A (en) Memory device control system
JPH04171565A (en) Data transfer system
JPS62262170A (en) Data transfer system
JPH02301851A (en) System bus accessing system
JPH04333940A (en) Data write system
JPH01276241A (en) Multiple interrupting device
JPS61259358A (en) Dma circuit
JPH03189755A (en) Inter-memory transfer device