JPH01207847A - Inter-memory data transfer system - Google Patents

Inter-memory data transfer system

Info

Publication number
JPH01207847A
JPH01207847A JP3308288A JP3308288A JPH01207847A JP H01207847 A JPH01207847 A JP H01207847A JP 3308288 A JP3308288 A JP 3308288A JP 3308288 A JP3308288 A JP 3308288A JP H01207847 A JPH01207847 A JP H01207847A
Authority
JP
Japan
Prior art keywords
memory
address
dmac
data
signal
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
JP3308288A
Other languages
Japanese (ja)
Inventor
Akihiro Okada
岡田 昭広
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
Original Assignee
Fujitsu 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 filed Critical Fujitsu Ltd
Priority to JP3308288A priority Critical patent/JPH01207847A/en
Publication of JPH01207847A publication Critical patent/JPH01207847A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To attain an inter-memory data transfer with only the use of one DMAC by providing in either memory an address variable type matching circuit to function as an input and output register from the DMAC side. CONSTITUTION:When the data of a memory 1 are transferred to a memory 2, the control right of the respective buses of an address read/write control is passed by a DMAC 4, an empty bus is utilized and the data transfer is executed by an address signal and a control signal which the DMAC 4 generates. A write address to the memory 2 is changed and simultaneously a shake band processing to exchange a request signal TxRQ and a strobe signal TxAK with the DMAC 4 is executed. Further, the read/write control of the memory 2 is executed by converting a signal from the DMAC 4.

Description

【発明の詳細な説明】 [目 次コ 概要 産業上の利用分野 従来の技術(第5図) 発明が解決しようとする課題 課題を解決するための手段(第1図) 作 用(第1図) 実施例(第2〜4図) 発明の効果 [概 要] ダイレクトメモリアクセスコントローラ(Direct
 Memory Access Controller
以下、DMACという)を用いてメモリ間でのデータ転
送を行なうメモリ間データ転送方式に関し、メモリに整
合回路を付加することにより、1つのDMACを用いる
だけで、メモリ間のデータ転送を可能にすることを目的
とし、 メモリの一方のメモリに、該DMAC側からは入出力レ
ジスタとして機能するアドレス可変型整合回路を設ける
ように構成する。
[Detailed Description of the Invention] [Table of Contents Overview Industrial Application Fields Prior Art (Fig. 5) Means for Solving the Problems to be Solved by the Invention (Fig. 1) Effect (Fig. 1) ) Embodiment (Figures 2 to 4) Effects of the invention [Summary] Direct memory access controller (Direct
Memory Access Controller
Regarding the inter-memory data transfer method that transfers data between memories using a DMAC (hereinafter referred to as DMAC), by adding a matching circuit to the memory, it is possible to transfer data between memories just by using one DMAC. For this purpose, one of the memories is configured to include a variable address matching circuit that functions as an input/output register from the DMAC side.

[産業上の利用分野コ 本発明は、DMACを用いてメモリ間でのデータ転送を
行なうメモリ間データ転送方式に関する。
[Industrial Field of Application] The present invention relates to an inter-memory data transfer method that uses DMAC to transfer data between memories.

近年、CPU (セントラルプロセッサユニット)ある
いはMPU (マイクロプロセッサユニット)を介さす
に、じかにメモリ間でデータ転送を行なうダイレクトメ
モリアクセス(DMA)という技術がある。かかる技術
は、CPUを介して、メモリ間でのデータ転送を行なう
場合、−旦CPUにデータを読み込み、次にそのデータ
を転送先メモリへ書き込むという2段階の処理を必要と
するため、特に大量のデータをまとめて転送しようとす
るすると、大きな転送時間を必要とし、その転送処理の
ためCPUがかかりっきりになるという不都合を解決す
るための技術である。
In recent years, there has been a technology called direct memory access (DMA) that directly transfers data between memories via a CPU (central processor unit) or MPU (microprocessor unit). When transferring data between memories via the CPU, this technology requires a two-step process of first reading the data into the CPU and then writing that data to the transfer destination memory, so it is particularly difficult to transfer large amounts of data. This technology solves the inconvenience that when attempting to transfer all data at once, it takes a long time to transfer, and the CPU becomes busy for the transfer process.

そして、かかるDMAを実施するためには、アドレス、
リード/ライト制御の各バスの制御権をCPUにわたし
てもらい、空いたバスを利用してDMACの発生するア
ドレス信号や制御訓号によって、データ転送を行なうこ
とになる。
And in order to implement such DMA, the address,
Control of each bus for read/write control is handed over to the CPU, and data is transferred using the vacant buses in response to address signals and control commands generated by the DMAC.

[従来の技術] 第5図は従来のメモリ間データ転送方式を概念的に示す
ブロック図であるが、この第5図において、31.32
はメモリ(RAM)、33.34はDMAC135は中
間レジスタであるが、例えばメモリ31からメモリ32
ヘデータを転送する場合は、メモリ31からのデータを
一旦DMAC33に入力し、その後このDMAC33か
ら中間レジスタ35を経由して他のDMAC34ヘデー
タを入力してからこれを更にメモリ32へ移す。
[Prior Art] FIG. 5 is a block diagram conceptually showing a conventional inter-memory data transfer method.
is a memory (RAM), and 33.34 is a DMAC 135 is an intermediate register, for example, from memory 31 to memory 32.
When data is transferred to the memory 32, the data from the memory 31 is first input to the DMAC 33, and then the data is input from this DMAC 33 to another DMAC 34 via the intermediate register 35, and then further transferred to the memory 32.

[発明が解決しようとする課題] しかしながら、このような従来のメモリ間データ転送方
式では、メモリ転送しこ2アクシヨン必要で、且つ、2
つのDMAを必要とするので、バー1〜規模が大きくな
り、データ転送性能も低いという問題点がある。
[Problems to be Solved by the Invention] However, in such a conventional memory-to-memory data transfer method, two actions are required for memory transfer, and two
Since two DMAs are required, there are problems in that the scale becomes large and the data transfer performance is low.

そこで、1つのDMACを用いて、メモリ間データ転送
を行なえないかとの要請があるが、レジスタとメモリと
の間での基本的な処理の部分で、一方のメモリアドレス
の変更ができないため、メモリ間のデータ転送は行なえ
ない。
Therefore, there is a request to transfer data between memories using one DMAC, but since the basic processing between registers and memory cannot change the memory address of one side, Data transfer between them is not possible.

本発明は、このような問題点に鑑みなされたもので、メ
モリレこ整合回路を付加すること[こより、1つのDM
ACを用いるだけで、メモリ間のデータ転送を可能にし
た、メモリ間データ転送方式を提供することを目的とし
ている。
The present invention has been made in view of these problems, and includes the addition of a memory register matching circuit [thereby, one DM
The purpose of this invention is to provide an inter-memory data transfer method that enables data transfer between memories simply by using AC.

[課題を解決するための手段] 第1図は本発明の基本構成を示すブロック図である。[Means to solve the problem] FIG. 1 is a block diagram showing the basic configuration of the present invention.

第1図において、1,2はメモリ、3はMPU、4はD
MACl3は整合回路、6はクロックパルスジェネレー
タで、メモリ1.MPU3.DMAC4,整合回路5は
、アドレスバスAD、データバスDATA、コントロー
ルバスCNTを介して相互に接続されている。さらに、
DMAC4と整合回路5との間には、シェイクハンド処
理ラインが存在する。なお、クロックパルスジェネレー
タ6はコントロールバスCNTに接続されるとともに、
MPU3ヘクロックφ1.φ2を供給している。
In Figure 1, 1 and 2 are memories, 3 is an MPU, and 4 is a D
MACl3 is a matching circuit, 6 is a clock pulse generator, and memory 1. MPU3. DMAC4 and matching circuit 5 are interconnected via address bus AD, data bus DATA, and control bus CNT. moreover,
A shakehand processing line exists between the DMAC 4 and the matching circuit 5. Note that the clock pulse generator 6 is connected to the control bus CNT, and
MPU3 clock φ1. φ2 is supplied.

また、MPU3とDMAC4とはバス使用許可のための
信号のやりとりを行なうための信号ラインを介して接続
され、更しこ整合回路5とメモリ2とはアドレス線、デ
ータ線、リード/ライト制御線を介して接続されている
Further, the MPU 3 and the DMAC 4 are connected via a signal line for exchanging signals for permission to use the bus, and the matching circuit 5 and the memory 2 are connected to an address line, a data line, and a read/write control line. connected via.

ところで、整合回路5は、DMAC4側からは入出力レ
ジスタとして機能するアドレス可変型の回路として構成
されている。このため、この整合回路5は、メモリ2へ
の書き込みアドレスA。〜Axを変更するアドレス変更
部7と、DMAC4との間でリクエスト信号T x R
Qとこれに対するストローブ信号TxAKとのやり取り
を行なうシェイクハント処理部8と、DMAC4からの
信号を変換してメモリ2のリート/ライト制御を行なう
リード/ライト制御部9とをそなえて構成されている。
By the way, the matching circuit 5 is configured as a variable address type circuit that functions as an input/output register from the DMAC 4 side. Therefore, this matching circuit 5 writes address A to the memory 2. A request signal T x R is sent between the address change unit 7 that changes ~Ax and the DMAC 4.
It is comprised of a shake hunt processing unit 8 that exchanges Q and a strobe signal TxAK corresponding thereto, and a read/write control unit 9 that converts signals from the DMAC 4 and performs read/write control of the memory 2. .

なお、この整合回路5は転送データD。−Dxを受けて
メモリ2側へ送るデータ送受信部10もそなえている。
Note that this matching circuit 5 transfers data D. - A data transmitting/receiving section 10 that receives Dx and sends it to the memory 2 side is also provided.

[作 用] このような構成により、DMAC4を用いて、例えばメ
モリ1のデータをメモリ2へ転送する際には、DMAC
4によって、アドレス、リード/ライ1へ制御の各バス
の制御権をMPU3にわたしてもらい、空いたハスを利
用してDMAC4の発生するアドレス信号や制御信号に
よって、データ転送を行なうが、このとき整合回路5に
よって、メモリ2への書き込みアドレスを変更するとと
もに、DMAC4との間でリクエスト信号TxRQとこ
れに対するストローブ信号TxAKとのやり取りを行な
うシェイクハンド処理を行ない、更にDMAC4からの
信号を変換してメモリ2のリード/ライト制御を行なう
。これによりDMAC4にとっては、メモリ2を入出力
レジスタに見せながらしかもアドレスを変更することが
でき、その結果、通常の入出力レジスターメモ9間のデ
ータ転送と同じ要領で、メモリ間転送が可能となる。
[Function] With such a configuration, when data in memory 1 is transferred to memory 2 using DMAC 4, for example, DMAC
4, the MPU 3 is given control of each bus for address and read/write 1, and data is transferred using the address and control signals generated by the DMAC 4 using the vacant lot. The matching circuit 5 changes the write address to the memory 2, performs shakehand processing to exchange the request signal TxRQ and the corresponding strobe signal TxAK with the DMAC 4, and further converts the signal from the DMAC 4. Performs read/write control of memory 2. This allows the DMAC 4 to view memory 2 as an input/output register while changing the address, and as a result, it becomes possible to transfer data between memories in the same way as data transfer between normal input/output register memo 9. .

[実施例] 以下、図面を参照して本発明の詳細な説明する。[Example] Hereinafter, the present invention will be described in detail with reference to the drawings.

第2図は本発明で主要部となる整合回路5のブロック図
である。整合回路5は、メモリ2に付加され、DMAC
4側からは入出力レジスタとして機能するアドレス可変
型の回路として構成されている。そして、この整合回路
5は、アドレス変更部7.データドライバ/レシーバ1
0.制御部11をそなえて構成されている。
FIG. 2 is a block diagram of the matching circuit 5 which is the main part of the present invention. A matching circuit 5 is added to the memory 2 and the DMAC
From the 4th side, it is configured as a variable address type circuit that functions as an input/output register. This matching circuit 5 includes an address changing section 7. Data driver/receiver 1
0. It is configured to include a control section 11.

ここで、アドレス変更部7は、メモリ2への書き込みア
ドレスを変更するもので、アドレスレジ−/<12.転
送先頭アドレスレジスタ13.アドレスデコーダ14.
アドレスジェネレータ15をそなえており、このアドレ
ス変更部7では、そのアドレスレシーバ12でMPUバ
スアドレスA0〜Axを受けこれらのアドレス情報を転
送先頭アドレスレジスタ13およびアドレスデコーダ1
4へ送り、更にデータドライバ/レシーバ10からの信
号を受けている転送先頭アドレスレジスタ13からの情
報と、アドレスデコーダ14からのデコードアドレス情
報とをアドレスジェネレータ15へ送る。そして、この
アドレスジェネレータ15では、転送先頭アドレスレジ
スタ13およびアドレスデコーダ14からの情報に基づ
きメモリアドレスA M o−A M xとメモリセレ
クトC5Mとを作る。
Here, the address changing unit 7 changes the write address to the memory 2, and the address changing unit 7 changes the write address to the memory 2. Transfer start address register 13. Address decoder 14.
An address generator 15 is provided, and this address change unit 7 receives MPU bus addresses A0 to Ax by its address receiver 12 and transfers these address information to a start address register 13 and an address decoder 1.
Furthermore, information from the transfer start address register 13 receiving the signal from the data driver/receiver 10 and decoded address information from the address decoder 14 are sent to the address generator 15. Then, this address generator 15 generates a memory address A Mo - A M x and a memory select C5M based on the information from the transfer start address register 13 and the address decoder 14.

=8− データドライバ/レシーバ10は、転送データD o−
D xを受けてメモリ2側へD M o−D M xと
して送るデータバッファ処理を行なうものであるが、転
送先頭アドレスレジスタ13へもデータ情報を送る。
=8- The data driver/receiver 10 transfers data D o-
It performs data buffer processing to receive Dx and send it to the memory 2 side as DMo-DMx, but also sends data information to the transfer start address register 13.

制御部11は、DMAC4との間でリクエスト信号Tx
RQとこれに対するストローブ信号TxAKとのやり取
りを行なうシェイクハンド処理部およびDMAC4から
の信号を変換してメモリ2のリード/ライト制御を行な
うリード/ライト制御部の両機能を有するものである。
The control unit 11 sends a request signal Tx to the DMAC 4.
It has the functions of both a shake hand processing section that exchanges RQ and a corresponding strobe signal TxAK, and a read/write control section that converts signals from the DMAC 4 and performs read/write control of the memory 2.

上述の構成により、メモリ1からメモリ2ヘデータを転
送する場合について説明すると、まず、MPU3で次の
ような前処理がなされる。即ち、(1)MPU3でDM
AC4に転送メモリ先頭アドレスとバイト数がセットさ
れる。
To explain the case where data is transferred from memory 1 to memory 2 using the above-described configuration, first, the following preprocessing is performed in MPU 3. That is, (1) DM with MPU3
The transfer memory start address and number of bytes are set in AC4.

(2)MPU3で整合回路5に書き込み先頭アドレスを
セラ1〜する。
(2) The MPU 3 writes the start address to the matching circuit 5 from Sera1.

(3)DMAC4へスタート指示をする。(3) Instruct DMAC4 to start.

かかる前処理の終了後に次の処理を施す。After the pretreatment is completed, the next treatment is performed.

(4)DMAC4が整合回路5からの転送要求(TxR
Q)で転送開始をMPU3へ通知する。これにより、D
MAC4はバス制御権を得る。
(4) The DMAC 4 receives a transfer request (TxR) from the matching circuit 5.
In Q), the MPU 3 is notified of the start of transfer. As a result, D
MAC4 gains bus control.

(5)DMAC4はアドレスと制御信号とを発行して、
メモリ1からデータを読み出すとともに、これと同時に
ストローブ(TxAK)を整合回路5へ出して、この整
合回路5ヘデータの転送を通知する。
(5) DMAC4 issues an address and a control signal,
At the same time as reading data from the memory 1, a strobe (TxAK) is sent to the matching circuit 5 to notify the matching circuit 5 of data transfer.

(6)整合回路5がデータをメモリ3側へ書き込む。(6) Matching circuit 5 writes data to memory 3 side.

そして、もし、つづけてメモリ1からメモリ2ヘデータ
を転送する場合は、上記(4)項以降の処理を繰り返す
Then, if data is to be transferred from memory 1 to memory 2 continuously, the process from item (4) above is repeated.

このように、DMAC4には、メモリ2を入出力レジス
タに見せながら、しかもアドレスを変更することができ
るので、通常の入出力レジスターメモリ間のデータ転送
と同じ要領で、メモリ間転送が可能となるのである。
In this way, the DMAC 4 allows memory 2 to be viewed as an input/output register while also changing the address, making it possible to transfer data between memories in the same way as normal data transfer between input/output registers and memories. It is.

また、DMAC4によるメモリ間データ転送に要するハ
ードウェア規模を削減できるほか、メモリの転送が1サ
イクルでできるので、データ転送性能の向上におおいに
寄与するものである。
In addition, the hardware scale required for inter-memory data transfer by the DMAC 4 can be reduced, and memory transfer can be performed in one cycle, which greatly contributes to improving data transfer performance.

整合回路5の具体的構成例としては、第3図に示す構成
により実現できる。この整合回路5は、まずメモリ2と
MPUバスとを分離し更にはメモリ2が選択された場合
にデータバスを開くために、バスドライバ/レシーバ1
6,17.18を有している。
A specific example of the configuration of the matching circuit 5 can be realized by the configuration shown in FIG. This matching circuit 5 first separates the memory 2 and the MPU bus, and furthermore, in order to open the data bus when the memory 2 is selected, the bus driver/receiver 1
6, 17.18.

バスドライバ/レシーバ16は第4図(e)のタイミン
グで入力されるアドレス情報A。−Axを受けてこれを
アドレスレジスタ・アドレスデコーダ19およびメモリ
アドレスデコーダ20へ送るもので、バスドライバ/レ
シーバ17はデータ情報り。−Dxをうけてこれを第4
図(h)のタイミングでD M o−D M xとして
メモリ2側へ送るとともに上位アドレスレジスタ21へ
送る。
The bus driver/receiver 16 receives address information A at the timing shown in FIG. 4(e). - It receives Ax and sends it to the address register/address decoder 19 and memory address decoder 20, and the bus driver/receiver 17 receives data information. -After receiving Dx, this is the 4th
It is sent to the memory 2 side as D M o - D M x and also sent to the upper address register 21 at the timing shown in FIG.

バスドライバ/レシーバ18は、タロツクφ2[第4図
(、)参照]、ストローブ信号TxAK [第4図(d
)参照]、リード/ライト制御信号R/W[この信号の
出力タイミングは第4図(e)参=11− 照]を受けるとともに、リクエスト信号TXRQ [第
4図(c)参照]を出力するものである。ここで、バス
ドライバ/レシーバ18は4クロツクφ2[第4図(a
)参照]を受けると、これを]−/8分周器22へ送り
出す。そして、この1/8分周器22では、クロックを
178分周し[第4図(b)参照]、更に遅延回路23
で少し遅らせてから、再度バスドライバ/レシーバ18
へ戻し、DMAC規定のタイミングにあわせて、リクエ
スト信号TxRQ [第4図(c)参照コとして出力す
る。
The bus driver/receiver 18 has a tarlock φ2 [see FIG. 4(,)] and a strobe signal TxAK [see FIG. 4(d)].
)], the read/write control signal R/W [see Figure 4 (e) = 11- for the output timing of this signal], and outputs the request signal TXRQ [see Figure 4 (c)]. It is something. Here, the bus driver/receiver 18 has four clocks φ2 [Fig.
) reference], it is sent to the ]-/8 frequency divider 22. The 1/8 frequency divider 22 divides the clock by 178 [see FIG. 4(b)], and further divides the clock into a delay circuit 23.
After a short delay, the bus driver/receiver 18
The request signal TxRQ (see FIG. 4(c)) is outputted in accordance with the timing specified by the DMAC.

これによりDMAC4からは入出力レジスタとして見え
る。
This makes it visible to the DMAC 4 as an input/output register.

このように、バスドライバ/レシーバ18が、第4図(
c)に示すようなリクエスト信号TxRQを出力すると
、DMAC4からは第4図(d)に示すようなタイミン
グでストローブ信号TxAKが返ってくる。
In this way, the bus driver/receiver 18 is configured as shown in FIG.
When a request signal TxRQ as shown in c) is output, a strobe signal TxAK is returned from the DMAC 4 at a timing as shown in FIG. 4(d).

また、第4図(e)のタイミングで、リード/ライ1〜
制御信号R/Wがバスドライバ/レシーバ18へ入力さ
れると、この信号はインバータ24で反転されてメモリ
2側へ出力されるようになっている。これはDMAC4
からのリード/ライト制御信号R/Wは通常のメモリ側
への信号であり、この整合回路5に接続されたメモリ2
は通常のメモリと反対の動作が必要なため、インバータ
24で反転するのである。なお、インバータ24で反転
されたり一ド/ライト制御信号R/Wの出力タイミング
は、第4図(f)のようになる。
Also, at the timing shown in Fig. 4(e), read/write 1 to
When the control signal R/W is input to the bus driver/receiver 18, this signal is inverted by the inverter 24 and output to the memory 2 side. This is DMAC4
The read/write control signal R/W from the memory 2 connected to this matching circuit 5 is a signal sent to the normal memory side.
Since it requires the opposite operation to that of a normal memory, it is inverted by the inverter 24. The output timing of the read/write control signal R/W, which is inverted by the inverter 24, is as shown in FIG. 4(f).

なお、リード/ライト制御信号R/Wは上位アドレスレ
ジスタ21へも制御信号として出力されるようになって
おり、この制御信号に応じて上位アドレスレジスタ21
は上位アドレスをメモリアドレスデコーダ20へ出力す
る。
Note that the read/write control signal R/W is also output to the upper address register 21 as a control signal, and the upper address register 21
outputs the upper address to the memory address decoder 20.

そして、メモリアドレスデコーダ20では、バスドライ
バ/レシーバ16と上位アドレスレジスタ21とからの
アドレス情報をメモリ用にデコードして、A M、 −
A Mx [この信号タイミングは第4図(f)のよう
になる]としてメモリ2側へ出力するとともに、メモリ
2のチップセレク1−のための信号を出力する。
Then, the memory address decoder 20 decodes the address information from the bus driver/receiver 16 and the upper address register 21 for memory, and outputs AM, -
A Mx [This signal timing is as shown in FIG. 4(f)] is output to the memory 2 side, and a signal for chip select 1- of the memory 2 is output.

このメモリアドレスデコーダ20からのチップセレクト
のための信号はゲート回路25を経てメモリ2ヘチップ
セレクトイ言号C3Mとしてメモリ2へ出力される。こ
のときこのゲート回路25には、バスドライバ/レシー
バ18からのストローブ信号TxAKも入力されている
。このチップセレクト信号C5Hの出力タイミングを示
すと、第4図(g)のようになる。
The chip select signal from the memory address decoder 20 is outputted to the memory 2 via the gate circuit 25 as a chip select word C3M. At this time, the strobe signal TxAK from the bus driver/receiver 18 is also input to the gate circuit 25. The output timing of this chip select signal C5H is shown in FIG. 4(g).

なお、アドレスレジスタ・アドレスデコーダ19からの
信号およびメモリアドレスデコーダ20からのチップセ
レクトのための信号はゲート回路26へ入力され、この
ゲート回路26からの出力は、バスドライバ/レシーバ
17への制御信号として使用される。
Note that the signal from the address register/address decoder 19 and the signal for chip selection from the memory address decoder 20 are input to a gate circuit 26, and the output from this gate circuit 26 is a control signal to the bus driver/receiver 17. used as.

このようにして、アドレス、データ、DMAC/MPU
との制御信号に所要の処理を加えることによって、DM
AC4からは入出力レジスタに見えるようにしながら、
しかもアドレスを可変にすることができ、これしこより
1つのDMAC4を用いるたけて、メモリ1,2間のデ
ータ転送が可能となる。
In this way, address, data, DMAC/MPU
By adding the necessary processing to the control signal of the DM
While making it look like an input/output register from AC4,
Moreover, the address can be made variable, and data transfer between the memories 1 and 2 is possible by using just one DMAC 4 here and there.

なお、MPU、DMAC,メモリの種類が異なった場合
でも、本発明を適用できる。そして、この場合は、信号
タイミングや信号線数は変わるが、基本的な処理方法は
同じである。
Note that the present invention can be applied even when the types of MPU, DMAC, and memory are different. In this case, although the signal timing and the number of signal lines change, the basic processing method remains the same.

[発明の効果コ 以上詳述したように、本発明のメモリ間データ転送方式
によれば、DMACを用いてメモリ間でのデータ転送を
行なうメモリ間データ転送方式において、該メモリの一
方のメモリに、該DMAC側からは入出力レジスタとし
て機能するアドレス可変型整合回路が設けられるという
簡素な構成で、1つのDMACを用いるだけで、メモリ
間のデータ転送が可能になるという利点がある。
[Effects of the Invention] As detailed above, according to the memory-to-memory data transfer method of the present invention, in the memory-to-memory data transfer method in which data is transferred between memories using DMAC, one of the memories is With a simple configuration in which a variable address matching circuit that functions as an input/output register is provided from the DMAC side, there is an advantage that data transfer between memories is possible by using only one DMAC.

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

第1図は本発明の基本構成を示すブロック図、第2図は
本発明の一実施例を示す整合回路のブロック図、 第3図は整合回路の具体的構成図、 第4図は第3図の整合回路でのタイミングチャー1〜。 第5図は従来例を示すブロック図である。 図において、 1.2はメモリ、 3はMPU、 4はDMACl 3は整合回路、 6はクロックパルスジェネレータ、 7はアドレス変更部、 8はシェイクハンド処理部、 9はリード/ライト制御部、 10はデータ送受信部、 ]1は制御部、 12はアドレスレシーバ、 13は転送先頭アドレスレジスタ、 14はアドレスデコーダ、 15はアドレスジェネレータ、 16〜18はバスドライバ/レシーバ、19はアドレス
レジスタ・アドレスデコーダ、20はメモリアドレスデ
コーダ、 21は上位アドレスレジスタ、 22は1/8分周器、 23は遅延回路、 24はインバータ、 25.26はゲート回路である。
FIG. 1 is a block diagram showing the basic configuration of the present invention, FIG. 2 is a block diagram of a matching circuit showing an embodiment of the present invention, FIG. 3 is a specific configuration diagram of the matching circuit, and FIG. Timing chart 1 for the matching circuit in the figure. FIG. 5 is a block diagram showing a conventional example. In the figure, 1.2 is a memory, 3 is an MPU, 4 is a DMACl, 3 is a matching circuit, 6 is a clock pulse generator, 7 is an address change unit, 8 is a shake hand processing unit, 9 is a read/write control unit, and 10 is a Data transmission/reception unit, 1 is a control unit, 12 is an address receiver, 13 is a transfer start address register, 14 is an address decoder, 15 is an address generator, 16 to 18 are bus drivers/receivers, 19 is an address register/address decoder, 20 21 is a memory address decoder, 21 is an upper address register, 22 is a 1/8 frequency divider, 23 is a delay circuit, 24 is an inverter, and 25 and 26 are gate circuits.

Claims (2)

【特許請求の範囲】[Claims] (1)ダイレクトメモリアクセスコントローラ(4)を
用いてメモリ(1、2)間でのデータ転送を行なうメモ
リ間データ転送方式において、 該メモリ(1、2)の一方のメモリに、 該ダイレクトメモリアクセスコントローラ(4)側から
は入出力レジスタとして機能するアドレス可変型整合回
路(5)が設けられた ことを特徴とする、メモリ間データ転送方式。
(1) In an inter-memory data transfer method in which data is transferred between memories (1, 2) using a direct memory access controller (4), the direct memory access is performed on one of the memories (1, 2). An inter-memory data transfer system characterized in that a variable address matching circuit (5) functioning as an input/output register is provided from the controller (4) side.
(2)該整合回路(5)が、 該一方のメモリへの書き込みアドレスを変更するアドレ
ス変更部(7)と、 該ダイレクトメモリアクセスコントローラ(4)との間
でリクエスト信号とこれに対するストローブ信号とのや
り取りを行なうシェイクハンド処理部(8)と、 該ダイレクトメモリアクセスコントローラ(4)からの
信号を変換して該一方のメモリのリード/ライト制御を
行なうリード/ライト制御部(9)とをそなえて構成さ
れた請求項1記載のメモリ間データ転送方式。
(2) The matching circuit (5) transmits a request signal and a corresponding strobe signal between the address change unit (7) that changes the write address to the one memory and the direct memory access controller (4). and a read/write control section (9) that converts signals from the direct memory access controller (4) to control read/write of the one memory. 2. The inter-memory data transfer system according to claim 1, wherein the inter-memory data transfer system is configured as follows.
JP3308288A 1988-02-16 1988-02-16 Inter-memory data transfer system Pending JPH01207847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3308288A JPH01207847A (en) 1988-02-16 1988-02-16 Inter-memory data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3308288A JPH01207847A (en) 1988-02-16 1988-02-16 Inter-memory data transfer system

Publications (1)

Publication Number Publication Date
JPH01207847A true JPH01207847A (en) 1989-08-21

Family

ID=12376774

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3308288A Pending JPH01207847A (en) 1988-02-16 1988-02-16 Inter-memory data transfer system

Country Status (1)

Country Link
JP (1) JPH01207847A (en)

Similar Documents

Publication Publication Date Title
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
JP2822986B2 (en) Single chip microcomputer with DMA
JPS63255759A (en) Control system
JPH03171246A (en) Transmission and reception system bus interface
JPH01207847A (en) Inter-memory data transfer system
JPH051504B2 (en)
JPS6111876A (en) Data transfer system
JPH0227696B2 (en) JOHOSHORISOCHI
JPH0343804A (en) Sequence controller
JPH07271654A (en) Controller
JP2705955B2 (en) Parallel information processing device
JPS62241045A (en) Storage device
JP3201439B2 (en) Direct memory access control circuit
JPH05120207A (en) Data transfer system
JPH04225458A (en) Computer
JPH02211571A (en) Information processor
JPH04282938A (en) Communication controller
JPH02171949A (en) Dma transfer system
JPS5844426Y2 (en) Inter-processor information transfer device
JPH0573473A (en) Industrial computer system
JPH04246744A (en) Arbitration circuit
JPH05265932A (en) Bus control system
JPH0221376A (en) Picture processing system
JPH03188549A (en) Common bus control system
JPH01265355A (en) Multi-processor system