JPH10207825A - Data transfer device - Google Patents

Data transfer device

Info

Publication number
JPH10207825A
JPH10207825A JP1303497A JP1303497A JPH10207825A JP H10207825 A JPH10207825 A JP H10207825A JP 1303497 A JP1303497 A JP 1303497A JP 1303497 A JP1303497 A JP 1303497A JP H10207825 A JPH10207825 A JP H10207825A
Authority
JP
Japan
Prior art keywords
data
memory
data transfer
signal line
transfer
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
JP1303497A
Other languages
Japanese (ja)
Inventor
Kozo Nishimura
耕造 西村
Yoshiaki Shintani
佳昭 新谷
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 JP1303497A priority Critical patent/JPH10207825A/en
Publication of JPH10207825A publication Critical patent/JPH10207825A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain high speed data transfer by simultaneously executing data reading from a transferring source and data writing in a transferred destination between memories in different memory devices. SOLUTION: The data transfer device is provided with memory devices 1, 2, a direct memory access(DMA) device 3 and a data transfer control device 4. The memory devices 1, 2 include memories having the same memory space and same physical addresses. Only when 'H' signals are inputted from the control device 4 to chip select signal lines 13, 17, the memory devices 1, 2 permit reading from the device 4 when the 'H' signals are inputted from the device 4 to reading permission signal lines 14, 18 and inhibit reading when 'L' signals are inputted. Thus the data transfer device can simultaneously execute data reading from the transferring source and data writing in the transferred destination between the memories in the different memory devices 1, 2.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データ転送装置に
関するものである。
[0001] The present invention relates to a data transfer device.

【0002】[0002]

【従来の技術】近年、効率の良いデータ転送を行う場合
に、CPUを介さずハードウェアによってデータ転送を
行うDMAが用いられており、このDMAによるデータ
転送装置の高速化が要求されている。
2. Description of the Related Art In recent years, when performing efficient data transfer, a DMA that performs data transfer by hardware without using a CPU has been used, and there is a demand for speeding up of a data transfer device using the DMA.

【0003】以下に従来のデータ転送装置およびメモリ
−メモリ間データ転送方式について説明する。図7は従
来のデータ転送装置の構成を示し、この従来のデータ転
送装置はメモリ装置69とDMA装置70とを有する。
メモリ装置69とDMA装置70との間は、データ信号
線72と、アドレス信号線71と、読み出し許可信号線
73と、書き込み許可信号線74とで接続されている。
メモリ装置69は、DMA装置70から読み出し許可信
号線73に”H”が入力されると読み出しを許可し、こ
こに”L”が入力されると読み出しを禁止する。同様に
メモリ装置69は、DMA装置70から書き込み許可信
号線74に”H”が入力されると書き込みを許可し、こ
こに”L”が入力されると書き込みを禁止する。
[0003] A conventional data transfer device and a memory-memory data transfer method will be described below. FIG. 7 shows a configuration of a conventional data transfer device. The conventional data transfer device has a memory device 69 and a DMA device 70.
The memory device 69 and the DMA device 70 are connected by a data signal line 72, an address signal line 71, a read permission signal line 73, and a write permission signal line 74.
The memory device 69 permits reading when "H" is input from the DMA device 70 to the read permission signal line 73, and prohibits reading when "L" is input thereto. Similarly, the memory device 69 permits writing when "H" is input to the write enable signal line 74 from the DMA device 70, and inhibits writing when "L" is input here.

【0004】以上のように構成された従来のデータ転送
装置について、以下そのデータ転送方式について説明す
る。図8は従来の1対1のメモリ−メモリ間データ転送
方式のタイミングチャートを示したものである。まず、
データ転送元のデータを読み出すため、DMA装置70
はアドレス信号線71に転送元のアドレスを出力し、読
み出し許可信号線73に”H”を出力し、かつ書き込み
許可信号線74に”L”を出力する。これらの信号を受
けたメモリ装置69は、転送元のデータをデータ信号線
72に出力する。
The data transfer system of the conventional data transfer device configured as described above will be described below. FIG. 8 shows a timing chart of a conventional one-to-one memory-memory data transfer method. First,
To read the data of the data transfer source, the DMA device 70
Outputs the address of the transfer source to the address signal line 71, outputs “H” to the read permission signal line 73, and outputs “L” to the write permission signal line 74. Upon receiving these signals, the memory device 69 outputs transfer source data to the data signal line 72.

【0005】つぎに、転送先にデータを書き込むため、
DMA装置70はアドレス信号線71に転送先のアドレ
スを出力し、書き込み許可信号線74に”H”を出力
し、かつ、読み出し許可信号線73に”L”を出力す
る。
Next, to write data to the transfer destination,
The DMA device 70 outputs the address of the transfer destination to the address signal line 71, outputs “H” to the write enable signal line 74, and outputs “L” to the read enable signal line 73.

【0006】これらの信号を受けたメモリ装置69は、
データ線72上のデータを転送先に書き込む。以上のよ
うに、従来の1対1のメモリ−メモリ間データ転送方式
では、転送元データの読み出しに1サイクルと転送先へ
の書き込みに1サイクルの合計2サイクルを必要とす
る。
[0006] Upon receiving these signals, the memory device 69
The data on the data line 72 is written to the transfer destination. As described above, in the conventional one-to-one memory-memory data transfer method, a total of two cycles are required, one cycle for reading the source data and one cycle for writing to the destination.

【0007】図9は従来の1対多のメモリ−メモリ間デ
ータ転送方式のタイミングチャートを示したものであ
る。この場合は、1対1のメモリ−メモリ間データ転送
方式と同様に、まず、転送元のデータを読み出す。つぎ
に、各転送先にデータを書き込むため、DMA装置70
は1サイクルごとに各転送先のアドレスをアドレス信号
線71に出力し、書き込み許可信号線74に”H”を出
力し、かつ、読み出し許可信号線73に”L”を出力す
る。
FIG. 9 is a timing chart of a conventional one-to-many memory-to-memory data transfer system. In this case, as in the one-to-one memory-to-memory data transfer method, first, the transfer source data is read. Next, in order to write data to each transfer destination, the DMA device 70
Outputs the address of each transfer destination to the address signal line 71 for each cycle, outputs "H" to the write enable signal line 74, and outputs "L" to the read enable signal line 73.

【0008】これらの信号を受けたメモリ装置69は、
データ信号線72上のデータを各転送先に書き込む。以
上のように、従来の1対多のメモリ−メモリ間データ転
送方式では、転送先の個数をNとすると、転送元データ
の読み出しに1サイクルと各転送先への書き込みにNサ
イクルの合計N+1サイクルを必要とする。
[0008] Upon receiving these signals, the memory device 69
The data on the data signal line 72 is written to each transfer destination. As described above, in the conventional one-to-many memory-memory data transfer method, assuming that the number of transfer destinations is N, the total of N + 1 cycles is one cycle for reading source data and N cycles for writing to each destination. Requires a cycle.

【0009】[0009]

【発明が解決しようとする課題】しかしながら上記従来
の構成では、データ転送に要する時間は、転送元からの
データ読み出しに要する時間と、転送先へのデータ書き
込みに要する時間との合計であるため、最低でも2サイ
クル分の時間を要し、転送先が増えるとそれに応じて転
送時間が長くなるという欠点を有していた。
However, in the above conventional configuration, the time required for data transfer is the sum of the time required for reading data from the transfer source and the time required for writing data to the transfer destination. It has a disadvantage that it takes at least two cycles, and the transfer time becomes longer as the number of destinations increases.

【0010】本発明は上記従来の問題点を解決するもの
で、高速なデータ転送を行うためのデータ転送装置を提
供することを目的とする。
An object of the present invention is to solve the above-mentioned conventional problems and to provide a data transfer device for performing high-speed data transfer.

【0011】[0011]

【課題を解決するための手段】この目的を解決するため
に本発明のデータ転送装置は、異なるメモリ装置間のメ
モリどうしの間で、転送元のデータ読み出しと転送先へ
のデータ書き込みとを同時に行うようにしたものであ
る。
SUMMARY OF THE INVENTION In order to solve this object, a data transfer apparatus according to the present invention simultaneously reads data from a transfer source and writes data to a transfer destination between memories between different memory devices. It is something to do.

【0012】これによれば、データ読み出しとデータ書
き込みとを同時に行うことにより、異なるメモリ装置間
でのデータの転送を高速に行うことができる
According to this, the data transfer between different memory devices can be performed at high speed by simultaneously performing the data read and the data write.

【0013】[0013]

【発明の実施の形態】請求項1に記載の本発明は、DM
A装置と、複数のメモリ装置と、前記メモリ装置へのデ
ータ読み出しおよびデータ書き込みの制御を行うデータ
転送制御装置とを備え、前記データ転送制御装置は、異
なるメモリ装置間のメモリどうしの間で、転送元のデー
タ読み出しと転送先へのデータ書き込みとを同時に行う
ように構成されているものである。
BEST MODE FOR CARRYING OUT THE INVENTION
A device, a plurality of memory devices, comprising a data transfer control device for controlling the data read and data write to the memory device, the data transfer control device, between memories between different memory devices, It is configured to simultaneously read data from a transfer source and write data to a transfer destination.

【0014】これによれば、データ転送制御装置が、異
なるメモリ装置間のメモリどうしの間で、転送元のデー
タ読み出しと転送先へのデータ書き込みとを同時に行う
ことにより、異なるメモリ装置間でのデータの転送を高
速に行うことができる。請求項2に記載の本発明は、異
なるメモリ装置が同じ物理アドレスを有するメモリをそ
れぞれ備え、データ転送制御装置が、メモリ装置へ有効
アドレスを出力したうえで、転送元メモリへチップセレ
クト信号とデータ読み出し許可信号とを出力するととも
に、転送先メモリへチップセレクト信号とデータ書き込
み許可信号を出力するように構成されているものであ
る。
[0014] According to this, the data transfer control device simultaneously performs the reading of the data of the transfer source and the writing of the data to the transfer destination between the memories between the different memory devices, whereby the data transfer between the different memory devices is performed. Data transfer can be performed at high speed. According to a second aspect of the present invention, different memory devices each include a memory having the same physical address, and the data transfer control device outputs a valid address to the memory device, and then outputs a chip select signal and data to the source memory. It is configured to output a read permission signal and output a chip select signal and a data write permission signal to a transfer destination memory.

【0015】これによれば、データ転送制御装置からの
チップセレクト信号とデータ読み出し許可信号とデータ
書き込み許可信号とを各メモリ装置別に出力することが
でき、データ読み出しとデータ書き込みとを同時に行う
ことにより、異なるメモリ装置間で同じ物理アドレスを
有するメモリ−メモリ間の1対1あるいは1対多のデー
タ転送を高速に行うことができる。
According to this, the chip select signal, the data read permission signal, and the data write permission signal from the data transfer control device can be output for each memory device, and the data read and data write can be performed simultaneously. One-to-one or one-to-many data transfer between memories having the same physical address between different memory devices can be performed at high speed.

【0016】請求項3に記載の本発明は、データ転送制
御装置が、メモリのアドレスについての上位ビットをセ
レクタビットとするとともに残りのビットを有効アドレ
スビットとしてメモリを分割する手段と、この分割され
たメモリの各々に対して有効アドレスビット長分のデー
タ信号線を接続する手段と、有効アドレスビットが等し
いメモリ間で転送元のデータ読み出しと転送先へのデー
タ書き込みとを同時に行う手段とを備えているものであ
る。
According to a third aspect of the present invention, the data transfer control device divides the memory by using the upper bits of the memory address as selector bits and the remaining bits as effective address bits, and Means for connecting a data signal line of an effective address bit length to each of the memories, and means for simultaneously reading data from a transfer source and writing data to a transfer destination between memories having the same effective address bits. Is what it is.

【0017】これによれば、データの転送を行うべきメ
モリ装置の選択と、これらのメモリ装置間で同じ物理ア
ドレスを有するメモリの設定とを行うことができて、異
なるメモリ装置間で同じ物理アドレスを有するメモリ−
メモリ間の1対1あるいは1対多のデータ転送を高速に
行うことができる。
According to this, it is possible to select a memory device to which data is to be transferred and to set a memory having the same physical address between these memory devices, and to set the same physical address between different memory devices. Memory having
One-to-one or one-to-many data transfer between memories can be performed at high speed.

【0018】請求項4に記載の本発明は、異なるメモリ
装置間での1対1のメモリ−メモリ間データ転送を行う
ように構成されている。また請求項5に記載の本発明
は、1つのメモリ装置から他の複数のメモリ装置への1
対多のメモリ−メモリ間データ転送を行うように構成さ
れている。
The present invention according to claim 4 is configured to perform one-to-one memory-to-memory data transfer between different memory devices. The present invention according to claim 5 is a method for transferring one memory device to a plurality of other memory devices.
It is configured to perform multi-memory data transfer between memories.

【0019】以下本発明の実施形態について、図面を参
照しながら説明する。図1は本発明の第1の実施形態に
おけるデータ転送装置を示すものである。この図1にお
いて、1および2はメモリ装置、3はDMA装置、4は
データ転送制御装置、5はデータ信号線である。6およ
び8はDMA装置3のメモリ装置1およびメモリ装置2
に対するデータ読み出し要求信号線、7および9はDM
A装置3のメモリ装置1およびメモリ装置2に対するデ
ータ書き込み要求信号線、10はDMA装置3およびC
PU等の他の装置からデータ転送制御装置4への全メモ
リ領域に対するアドレス信号線である。11および12
は、DMA装置3およびCPU等の他の装置からデータ
転送制御装置4への全メモリ領域に対するデータ読み出
し要求信号線およびデータ書き込み要求信号線である。
13はデータ制御装置4のメモリ装置1に対するチップ
セレクト信号線、14はメモリ装置1に対するデータ読
み出し許可信号線、15はメモリ装置1に対するデータ
書き込み許可信号線、16はデータ制御装置4のメモリ
装置1およびメモリ装置2に対するアドレス信号線、1
7はデータ制御装置4のメモリ装置2に対するチップセ
レクト信号線、18はメモリ装置2に対するデータ読み
出し許可信号線、19はメモリ装置2に対するデータ書
き込み許可信号線である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows a data transfer device according to a first embodiment of the present invention. In FIG. 1, 1 and 2 are memory devices, 3 is a DMA device, 4 is a data transfer control device, and 5 is a data signal line. 6 and 8 are the memory devices 1 and 2 of the DMA device 3.
, Data read request signal lines 7 and 9 are DM
Data write request signal lines for the memory device 1 and the memory device 2 of the A device 3
This is an address signal line for the entire memory area from another device such as a PU to the data transfer control device 4. 11 and 12
Are data read request signal lines and data write request signal lines for the entire memory area from other devices such as the DMA device 3 and the CPU to the data transfer control device 4.
13 is a chip select signal line for the memory device 1 of the data control device 4, 14 is a data read enable signal line for the memory device 1, 15 is a data write enable signal line for the memory device 1, and 16 is the memory device 1 of the data control device 4. And address signal lines for the memory device 2, 1
7 is a chip select signal line for the memory device 2 of the data control device 4, 18 is a data read enable signal line for the memory device 2, and 19 is a data write enable signal line for the memory device 2.

【0020】本実施形態のデータ転送装置のメモリ装置
1とメモリ装置2とは、同じメモリ空間を有し、同一の
物理アドレスを有するメモリが互いに存在する。また、
全メモリ領域を指定するアドレス信号線10の最上位ビ
ットが”1”の場合はこのアドレス信号線10の最上位
ビットを除いたアドレスで示されるメモリ装置1のメモ
リをアクセスし、”0”の場合はアドレス信号線10の
最上位ビットを除いたアドレスで示されるメモリ装置2
のメモリをアクセスする。
The memory device 1 and the memory device 2 of the data transfer device of the present embodiment have the same memory space, and memories having the same physical address are present. Also,
If the most significant bit of the address signal line 10 designating the entire memory area is "1", the memory of the memory device 1 indicated by the address excluding the most significant bit of the address signal line 10 is accessed, and "0" In the case, the memory device 2 indicated by the address excluding the most significant bit of the address signal line 10
To access memory.

【0021】図2はデータ転送制御装置4のより詳細な
構成図である。この図2において、20は全メモリ領域
を指定するアドレス信号線10の最上位ビット、21は
アドレス信号線10からその最上位ビット20を除いた
下位ビットアドレス、22はインバータである。23、
24、25、26はAND回路、27、28、29、3
0、31、32はOR回路である。データ転送制御装置
4は、DMA装置3からのデータ転送要求信号およびC
PU等の他の装置からのアクセス要求信号に応じて、メ
モリ装置1およびメモリ装置2に対して適切な制御信号
を出力する。
FIG. 2 is a more detailed block diagram of the data transfer control device 4. In FIG. 2, reference numeral 20 denotes the most significant bit of the address signal line 10 for specifying the entire memory area, 21 denotes the lower bit address of the address signal line 10 excluding the most significant bit 20, and 22 denotes an inverter. 23,
24, 25 and 26 are AND circuits, 27, 28, 29 and 3
0, 31, and 32 are OR circuits. The data transfer control device 4 receives the data transfer request signal from the DMA device 3 and C
An appropriate control signal is output to the memory device 1 and the memory device 2 in response to an access request signal from another device such as a PU.

【0022】メモリ装置1および2は、データ転送装置
4からチップセレクト信号線13および17に”H”が
入力されたときのみ、データ転送制御装置4から読み出
し許可信号線14および18に”H”が入力されると読
み出しを許可し、”L”が入力されると読み出しを禁止
する。同様にメモリ装置1および2は、データ転送制御
装置4からチップセレクト信号線13および17に”
H”が入力されたときのみ、データ転送制御装置4から
書き込み許可信号線15および19に”H”が入力され
ると書き込みを許可し、”L”が入力されると書き込み
を禁止する。また、同じメモリ装置に対してのデータ読
み出し許可とデータ書き込み許可および1度に2つのメ
モリ装置に対してのデータ読み出し許可は禁止事項とす
る。
Only when "H" is input to the chip select signal lines 13 and 17 from the data transfer device 4, the memory devices 1 and 2 output "H" to the read enable signal lines 14 and 18 from the data transfer control device 4. Is input, reading is permitted, and when "L" is input, reading is prohibited. Similarly, the memory devices 1 and 2 are connected to the chip select signal lines 13 and 17 from the data transfer control device 4.
Only when "H" is input, writing is permitted when "H" is input to the write enable signal lines 15 and 19 from the data transfer control device 4, and writing is prohibited when "L" is input. The data read permission and data write permission for the same memory device and the data read permission for two memory devices at once are prohibited.

【0023】以上のように構成されたデータ転送装置に
ついて、以下その動作を説明する。図3は、図1および
図2に示されるデータ転送装置のタイミングチャートを
示したものである。この図3に示すように、転送元のデ
ータが全メモリ領域を指定するアドレス”0xABC
D”にあり、このデータをメモリ装置2内に転送する場
合に、DMA装置2は、データ転送制御装置4に対し
て、アドレス信号線10に”0xABCD”、メモリ装
置1のデータ読み出し要求信号線6に”H”、メモリ装
置1のデータ書き込み要求信号線7に”L”、メモリ装
置2のデータ読み出し要求信号線8に”L”、メモリ装
置2のデータ書き込み要求信号線9に”H”をそれぞれ
出力する。このとき、全メモリ領域に対するデータ読み
出し要求信号線11およびデータ書き込み要求信号線1
2には”L”が出力されている。
The operation of the data transfer device configured as described above will be described below. FIG. 3 shows a timing chart of the data transfer device shown in FIGS. As shown in FIG. 3, the transfer source data has an address "0xABC" which designates the entire memory area.
D ", and when transferring this data into the memory device 2, the DMA device 2 sends the address signal line 10" 0xABCD "to the data transfer control device 4 and the data read request signal line of the memory device 1. 6, "L" on the data write request signal line 7 of the memory device 1, "L" on the data read request signal line 8 of the memory device 2, and "H" on the data write request signal line 9 of the memory device 2. At this time, the data read request signal line 11 and the data write request signal line 1 for all memory areas are output.
2 outputs “L”.

【0024】これに対してデータ転送制御装置4は、メ
モリ装置1およびメモリ装置2に対して、アドレス信号
線16に”0x2BCD”、チップセレクト信号線13
に”H”、データ読み出し許可信号線14に”H”、デ
ータ書き込み許可信号線15に”L”を出力して、デー
タをデータ信号線5に取り出すと同時に、チップセレク
ト信号線17に”H”、データ読み出し許可信号線18
に”L”、データ書き込み許可信号線19に”H”を出
力して、データ信号線5に取り出されたデータを転送先
に記憶させる。
On the other hand, the data transfer control device 4 applies “0x2BCD” to the address signal line 16 and the chip select signal line 13 to the memory device 1 and the memory device 2.
"H" is output to the data read enable signal line 14, "L" is output to the data write enable signal line 15, and data is taken out to the data signal line 5, and "H" is output to the chip select signal line 17. ", Data read enable signal line 18
"L" is output to the data write enable signal line 19, and "H" is output to the data write enable signal line 19, and the data taken out to the data signal line 5 is stored in the transfer destination.

【0025】以上により、メモリ装置1内にあるの全メ
モリ領域指定用アドレス”0xABCD”からデータ信
号線5に取り出されたデータが、メモリ装置2内にある
全メモリ領域指定用アドレス”0x2BCD”に1サイ
クルで転送される。
As described above, the data extracted to the data signal line 5 from the entire memory area designating address “0xABCD” in the memory device 1 becomes the entire memory region designating address “0x2BCD” in the memory device 2. It is transferred in one cycle.

【0026】以上のように本実施形態によれば、2つの
メモリ装置を用意して、それらに同一の物理アドレスを
有するアクセスポートを設けることにより、異なるメモ
リ装置間での1対1のメモリ−メモリ間データ転送を従
来の半分の時間で行うことができる。
As described above, according to the present embodiment, two memory devices are prepared, and an access port having the same physical address is provided in each of the two memory devices. Data transfer between memories can be performed in half the time of the related art.

【0027】以下本発明の第2の実施形態について図面
を参照しながら説明する。図4は本発明の第2の実施形
態を示すデータ転送装置の図である。この図4におい
て、331、332、333、…、33nはメモリ装
置、34はDMA装置、35はデータ転送制御装置、3
6はデータ信号線である。371、372、373、
…、37nはDMA装置34のメモリ装置331、33
2、333、…、33nに対するデータ読み出し要求信
号線、381、382、383、…、38nはDMA装
置34のメモリ装置331、332、333、…、33
nに対するデータ書き込み要求信号線、39はDMA装
置34およびCPU等の他の装置からデータ転送制御装
置35への全メモリ領域に対するアドレス信号線であ
る。40および41は、DMA装置34およびCPU等
の他の装置からデータ転送制御装置35への全メモリ領
域に対するデータ読み出し要求信号線およびデータ書き
込み要求信号線である。421、422、423、…、
42nはそれぞれデータ転送制御装置35のメモリ装置
331、332、333、…、33nに対するチップセ
レクト信号線、431、432、433、…、43nは
それぞれメモリ装置331、332、333、…、33
nに対するデータ読み出し許可信号線、441、44
2、443、…、44nはそれぞれメモリ装置331、
332、333、…、33nに対するデータ書き込み許
可信号線、45はメモリ装置331、332、333、
…、33nに対するアドレス信号線である。
Hereinafter, a second embodiment of the present invention will be described with reference to the drawings. FIG. 4 is a diagram of a data transfer device according to a second embodiment of the present invention. In FIG. 4, 331, 332, 333,..., 33n are memory devices, 34 is a DMA device, 35 is a data transfer control device,
6 is a data signal line. 371, 372, 373,
, 37n are memory devices 331, 33 of the DMA device 34
33n, the data read request signal lines 381, 382, 383,..., 38n are the memory devices 331, 332, 333,.
A data write request signal line 39 for n is an address signal line for the entire memory area from the DMA device 34 and other devices such as the CPU to the data transfer control device 35. Reference numerals 40 and 41 denote a data read request signal line and a data write request signal line for the entire memory area from the DMA device 34 and other devices such as the CPU to the data transfer control device 35. 421, 422, 423, ...,
42n, chip select signal lines 431, 432, 433,..., 43n for the memory devices 331, 332, 333,.
n, a data read permission signal line for n, 441, 44
, 44n are memory devices 331,
, 33n, and 45 are data write enable signal lines, and 45 is a memory device 331, 332, 333,
.., 33n.

【0028】本実施形態のデータ転送装置は、2のべき
乗の数のn個のメモリ装置331、332、333、
…、33nを備える。これらのメモリ装置331、33
2、333、…、33nは、同じメモリ空間を有し、同
一の物理アドレスを有するメモリが互いに存在する。各
メモリ装置のアドレス信号線45の幅がmビットで、か
つ、メモリ装置の個数nの2を底とする対数をn’とす
ると、すなわちn’=log2 nとすると、全メモリ領
域に対するアドレス信号線39の幅はn’+mビットと
なる。また、メモリ装置に対して全メモリ領域に対する
アドレスでアクセスを行う場合、アドレス信号線39の
上位n’ビットをデコードした数値をiとすると、デー
タ転送制御装置35はメモリ装置33i内の領域をアク
セスするように制御を行う。
The data transfer device according to the present embodiment includes n memory devices 331, 332, 333, each of which is a power of two.
, 33n. These memory devices 331, 33
, 33n have the same memory space, and memories having the same physical address exist with each other. Assuming that the width of the address signal line 45 of each memory device is m bits and the logarithm of the number n of the memory devices with 2 as a base is n ′, that is, n ′ = log 2 n, the address for all memory areas is The width of the signal line 39 is n '+ m bits. Further, when accessing the memory device with an address for all the memory regions, if the numerical value obtained by decoding the upper n ′ bits of the address signal line 39 is i, the data transfer control device 35 accesses the region in the memory device 33i. Control so that

【0029】図5はデータ転送制御装置35のより詳細
な構成図である。この図5において、46は全メモリ領
域を指定するアドレス信号線39の上位n’ビット、4
7はアドレス信号線35からその上位ビットn’を除い
たmビットの下位ビットアドレス、48はデコーダ、4
9、50、51、52、53、54、55、56はAN
D回路、57、58、59、60、61、62、63、
64、65、66、67、68はOR回路である。デー
タ転送制御装置35は、DMA装置34からのデータ転
送要求信号およびCPU等の他の装置からのアクセス要
求信号に応じて、メモリ装置331、332、333、
…、33nに対して適切な制御信号を出力する。
FIG. 5 is a more detailed block diagram of the data transfer control device 35. In FIG. 5, reference numeral 46 denotes the upper n 'bits of the address signal line 39 for specifying the entire memory area;
7 is an m-bit lower bit address excluding the upper bit n 'from the address signal line 35; 48 is a decoder;
9, 50, 51, 52, 53, 54, 55, 56 are AN
D circuit, 57, 58, 59, 60, 61, 62, 63,
64, 65, 66, 67 and 68 are OR circuits. The data transfer control device 35 responds to a data transfer request signal from the DMA device 34 and an access request signal from another device such as a CPU, so that the memory devices 331, 332, 333,
.., 33n.

【0030】メモリ装置331、332、333、…、
33nは、データ転送制御装置35からそれぞれチップ
セレクト信号線421、422、423、…、42n
に”H”が入力されたときのみ、データ転送制御装置3
5から読み出し許可信号線431、432、433、
…、43nに”H”が入力されると読み出しを許可
し、”L”が入力されると読み出しを禁止する。同様に
メモリ装置331、332、333、…、33nは、デ
ータ転送装置35からチップセレクト信号線421、4
22、423、…、42nに”H”が入力されたときの
み、データ転送制御装置35から書き込み許可信号線4
41、442、443、…、44nに”H”が入力され
ると書き込みを許可し、”L”が入力されると書き込み
を禁止する。また、同じメモリ装置に対してのデータ読
み出し許可とデータ書き込み許可および1度に複数のメ
モリ装置に対しての読み出し許可は禁止事項とする。
The memory devices 331, 332, 333,...
33n are the chip select signal lines 421, 422, 423,.
Only when “H” is input to the data transfer control device 3
5, the read enable signal lines 431, 432, 433,
When "H" is input to 43n, reading is permitted, and when "L" is input, reading is prohibited. Similarly, the memory devices 331, 332, 333,..., 33n are connected to the chip select signal lines 421, 4
Only when “H” is input to 22, 423,..., 42n, the write enable signal line 4
When "H" is input to 41, 442, 443,..., 44n, writing is permitted, and when "L" is input, writing is prohibited. Also, data read permission and data write permission for the same memory device and read permission for a plurality of memory devices at once are prohibited.

【0031】以上のように構成されたデータ転送装置に
ついて、以下その動作を説明する。図6は、図4および
図5のデータ転送装置のタイミングチャートを示したも
のである。図6のチャートの左側に示すように、転送元
のデータがメモリ装置内のアドレス”0xABC”にあ
り、このデータをメモリ装置332内およびメモリ装置
333内に転送する場合は、DMA装置34は、データ
転送制御装置35に対して、アドレス信号線39に”0
xABC”、メモリ装置331のデータ読み出し要求信
号線371に”H”、メモリ装置331のデータ書き込
み要求信号線381に”L”、メモリ装置332のデー
タ書き込み要求信号線382に”H”、メモリ装置33
2のデータ読み出し要求信号線372に”L”、メモリ
装置333のデータ書き込み要求信号線383に”
H”、メモリ装置333のデータ読み出し要求信号線3
73に”L”を出力する。このとき、全メモリ領域に対
するデータ読み出し要求信号線40およびデータ書き込
み要求信号線41には”L”が出力されている。これに
対して、データ転送制御装置35は、メモリ装置33
1、332、333、…、33nに対して、アドレス信
号線45に”0xABC”、チップセレクト信号線42
1に”H”、データ読み出し許可信号線431に”
H”、データ書き込み許可信号線431に”L”を出力
して、データをデータ信号線36に取り出す。かつ、こ
れと同時に、チップセレクト信号線422および423
に”H”、データ読み出し許可信号線432および43
3に”L”、データ書き込み許可信号線442および4
43に”H”を出力して、データ信号線36に取り出さ
れたデータを転送先に記憶させる。
The operation of the data transfer device configured as described above will be described below. FIG. 6 shows a timing chart of the data transfer device of FIGS. As shown on the left side of the chart in FIG. 6, when the data of the transfer source is located at the address “0xABC” in the memory device and this data is transferred to the memory device 332 and the memory device 333, the DMA device 34 For the data transfer control device 35, "0" is input to the address signal line 39.
xABC ”,“ H ”on the data read request signal line 371 of the memory device 331,“ L ”on the data write request signal line 381 of the memory device 331,“ H ”on the data write request signal line 382 of the memory device 332, 33
2 is “L” on the data read request signal line 372, and “L” is on the data write request signal line 383 of the memory device 333.
H ”, the data read request signal line 3 of the memory device 333
“L” is output to 73. At this time, “L” is output to the data read request signal line 40 and the data write request signal line 41 for all memory areas. On the other hand, the data transfer control device 35
, 33n, "0xABC" is assigned to the address signal line 45, and the chip select signal line 42
1 to “H” and the data read enable signal line 431 to “H”.
H "," L "is output to the data write enable signal line 431, and data is taken out to the data signal line 36. At the same time, the chip select signal lines 422 and 423 are output.
"H", data read enable signal lines 432 and 43
3 to “L”, data write enable signal lines 442 and 4
"H" is output to 43, and the data taken out on the data signal line 36 is stored in the transfer destination.

【0032】以上により、メモリ装置331内にある全
メモリ領域指定用アドレス”0xABC”からデータ信
号線36に取り出されたデータが、転送先のメモリ装置
332および333のアドレス”0xABC”に1サイ
クルで転送される。
As described above, the data extracted from the entire memory area designation address “0xABC” in the memory device 331 to the data signal line 36 is transferred to the address “0xABC” of the transfer destination memory devices 332 and 333 in one cycle. Will be transferred.

【0033】また、転送元のデータがメモリ装置331
内のアドレス”0xCBA”にあり、このデータをメモ
リ装置331以外のすべてのメモリ装置33i(i=2
〜n)内に転送する場合は、DMA装置34は、データ
転送制御装置35に対して、全メモリ領域に対するアド
レス信号線39に”0xCBA”、データ読み出し要求
信号線371に”H”、その他のデータ読み出し要求信
号線37i(i=2〜n)に”L”、データ書き込み信
号線381に”L”、その他のデータ書き込み要求信号
線38i(i=2〜n)に”H”を出力する。このと
き、全メモリ領域に対するデータ読み出し要求信号線4
0およびデータ書き込み要求信号線41には”L”が出
力されている。
The transfer source data is stored in the memory device 331.
Of the memory device 33i (i = 2) except for the memory device 331.
When the transfer is performed within the range of (n) to (n), the DMA device 34 instructs the data transfer control device 35 to “0xCBA” on the address signal lines 39 for all memory areas, “H” on the data read request signal line 371, and other data. “L” is output to the data read request signal line 37i (i = 2 to n), “L” is output to the data write signal line 381, and “H” is output to the other data write request signal lines 38i (i = 2 to n). . At this time, the data read request signal line 4 for all memory areas
“L” is output to 0 and the data write request signal line 41.

【0034】以上により、メモリ装置331内のアドレ
ス”0xCBA”からデータ信号線36に取り出された
データが、メモリ装置331以外の転送先のメモリ装置
33i(i=2〜n)内のアドレス”0xCBA”に1
サイクルで転送される。
As described above, the data extracted from the address “0xCBA” in the memory device 331 to the data signal line 36 is transferred to the address “0xCBA” in the destination memory device 33i (i = 2 to n) other than the memory device 331. "1
Transferred in cycles.

【0035】以上のように本実施形態によれば、2のべ
き乗の数のn個のメモリ装置を備え、それらに同一の物
理アドレスを有するアクセスポートを設けることによ
り、異なるメモリ装置間での1対iのメモリ−メモリ間
データ転送を従来の1/(1+i)の時間で行うことが
できる。
As described above, according to the present embodiment, by providing n memory devices of a power-of-two number and providing them with access ports having the same physical address, one memory device between different memory devices can be provided. The data transfer between the memory and the memory can be performed in 1 / (1 + i) time in the related art.

【0036】なお、上述の第1の実施形態において、メ
モリ装置は全メモリ領域を2等分したが、メモリ装置は
メモリ領域のある一部領域を2等分してもよい。また、
第2の実施形態でも、メモリ装置は全メモリ領域をn等
分したが、メモリ装置はメモリ領域のある一部領域をn
等分してもよいことは言うまでもない。
In the above-described first embodiment, the memory device divides the entire memory area into two equal parts, but the memory device may divide a part of the memory area into two equal parts. Also,
Also in the second embodiment, the memory device divides the entire memory area into n equal parts.
It goes without saying that it may be equally divided.

【0037】[0037]

【発明の効果】以上のように本発明によれば、複数のメ
モリ装置とDMA装置との間にデータ転送制御装置を設
けて、このデータ転送制御装置が、異なるメモリ装置間
のメモリどうしの間で、転送元へのデータ読み出しと転
送先へのデータ書き込みとを同時に行うように構成され
ているようにしたため、異なるメモリ装置間のメモリ一
メモリ間の1対1あるいは1対多のデータ転送を、デー
タ読み出しとデータ書き込みとを一度に行うことで高速
に行うことができ、データ転送時間の短縮に大きな効果
をもたらす。
As described above, according to the present invention, a data transfer control device is provided between a plurality of memory devices and a DMA device, and the data transfer control device operates between memory devices of different memory devices. In this configuration, data reading to the transfer source and data writing to the transfer destination are performed at the same time, so that one-to-one or one-to-many data transfer between memories between different memory devices can be performed. By performing data read and data write at once, high-speed data read and data write can be performed, which has a great effect on shortening the data transfer time.

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

【図1】本発明の第1の実施形態におけるデータ転送装
置の構成図である。
FIG. 1 is a configuration diagram of a data transfer device according to a first embodiment of the present invention.

【図2】同実施形態におけるデータ転送制御装置の詳細
な構成図である。
FIG. 2 is a detailed configuration diagram of a data transfer control device in the embodiment.

【図3】同実施形態におけるデータ転送時のタイミング
チャートである。
FIG. 3 is a timing chart at the time of data transfer in the embodiment.

【図4】本発明の第2の実施形態におけるデータ転送装
置の構成図である。
FIG. 4 is a configuration diagram of a data transfer device according to a second embodiment of the present invention.

【図5】同実施形態におけるデータ転送制御装置の詳細
な構成図である。
FIG. 5 is a detailed configuration diagram of a data transfer control device in the embodiment.

【図6】同実施形態におけるデータ転送時のタイミング
チャートである。
FIG. 6 is a timing chart at the time of data transfer in the embodiment.

【図7】従来のデータ転送装置の構成図である。FIG. 7 is a configuration diagram of a conventional data transfer device.

【図8】従来の1対1のメモリ−メモリ間データ転送時
のタイミングチャートである。
FIG. 8 is a timing chart at the time of conventional one-to-one memory-memory data transfer.

【図9】従来の1対多のメモリ−メモリ間データ転送時
のタイミングチャートである。
FIG. 9 is a timing chart at the time of a conventional one-to-many memory-memory data transfer.

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

1 第1のメモリ装置 2 第2のメモリ装置 3 DMA装置 4 データ転送制御装置 5 データ信号線 10 アドレス信号線 13 チップセレクト信号線 14 データ読み出し許可信号線 15 データ書き込み許可信号線 16 アドレス信号線 17 チップセレクト信号線 18 データ読み出し許可信号線 19 データ書き込み許可信号線 REFERENCE SIGNS LIST 1 first memory device 2 second memory device 3 DMA device 4 data transfer control device 5 data signal line 10 address signal line 13 chip select signal line 14 data read enable signal line 15 data write enable signal line 16 address signal line 17 Chip select signal line 18 Data read enable signal line 19 Data write enable signal line

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 DMA装置と、複数のメモリ装置と、前
記メモリ装置へのデータ読み出しおよびデータ書き込み
の制御を行うデータ転送制御装置とを備え、前記データ
転送制御装置は、異なるメモリ装置間のメモリどうしの
間で、転送元のデータ読み出しと転送先へのデータ書き
込みとを同時に行うように構成されていることを特徴と
するデータ転送装置。
1. A data transfer control device comprising: a DMA device; a plurality of memory devices; and a data transfer control device that controls data reading and data writing to the memory device, wherein the data transfer control device includes a memory between different memory devices. A data transfer apparatus characterized in that data transfer from a transfer source and data write to a transfer destination are simultaneously performed between the two.
【請求項2】 異なるメモリ装置が同じ物理アドレスを
有するメモリをそれぞれ備え、データ転送制御装置は、
メモリ装置へ有効アドレスを出力したうえで、転送元メ
モリへチップセレクト信号とデータ読み出し許可信号と
を出力するとともに、転送先メモリへチップセレクト信
号とデータ書き込み許可信号を出力するように構成され
ていることを特徴とする請求項1記載のデータ転送装
置。
2. A data transfer control device, wherein different memory devices each include a memory having the same physical address.
After outputting a valid address to the memory device, a chip select signal and a data read enable signal are output to the transfer source memory, and a chip select signal and a data write enable signal are output to the transfer destination memory. The data transfer device according to claim 1, wherein:
【請求項3】 データ転送制御装置は、メモリのアドレ
スについての上位ビットをセレクタビットとするととも
に残りのビットを有効アドレスビットとしてメモリを分
割する手段と、この分割されたメモリの各々に対して有
効アドレスビット長分のデータ信号線を接続する手段
と、有効アドレスビットが等しいメモリ間で転送元のデ
ータ読み出しと転送先へのデータ書き込みとを同時に行
う手段とを備えていることを特徴とする請求項1または
2記載のデータ転送装置。
3. The data transfer control device includes means for dividing a memory by setting upper bits of a memory address as selector bits and setting remaining bits as valid address bits, and validating each of the divided memories. Means for connecting a data signal line corresponding to the address bit length, and means for simultaneously reading data from a transfer source and writing data to a transfer destination between memories having the same effective address bits. Item 3. The data transfer device according to item 1 or 2.
【請求項4】 異なるメモリ装置間での1対1のメモリ
−メモリ間データ転送を行うように構成されていること
を特徴とする請求項1から3までのいずれか1項記載の
データ転送装置。
4. The data transfer device according to claim 1, wherein the data transfer device is configured to perform one-to-one memory-memory data transfer between different memory devices. .
【請求項5】 1つのメモリ装置から他の複数のメモリ
装置への1対多のメモリ−メモリ間データ転送を行うよ
うに構成されていることを特徴とする請求項1から3ま
でのいずれか1項記載のデータ転送装置。
5. The memory device according to claim 1, wherein one-to-many memory-to-memory data transfer is performed from one memory device to another plurality of memory devices. 2. The data transfer device according to claim 1.
JP1303497A 1997-01-28 1997-01-28 Data transfer device Pending JPH10207825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1303497A JPH10207825A (en) 1997-01-28 1997-01-28 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1303497A JPH10207825A (en) 1997-01-28 1997-01-28 Data transfer device

Publications (1)

Publication Number Publication Date
JPH10207825A true JPH10207825A (en) 1998-08-07

Family

ID=11821849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1303497A Pending JPH10207825A (en) 1997-01-28 1997-01-28 Data transfer device

Country Status (1)

Country Link
JP (1) JPH10207825A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110058028A (en) * 2009-11-25 2011-06-01 삼성전자주식회사 Multi-chip memory system and data transfer method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110058028A (en) * 2009-11-25 2011-06-01 삼성전자주식회사 Multi-chip memory system and data transfer method thereof

Similar Documents

Publication Publication Date Title
EP0444601B1 (en) Data processor with interleaved DRAM memory
JPH0584532B2 (en)
JP2004536417A (en) Memory device for performing addressing with different burst order in read and write operations
US20060059320A1 (en) Memory control device
US5895481A (en) Programmable VESA unified memory architecture (VUMA) row address strobe (RAS)
US5408612A (en) Microprocessor system for selectively accessing a processor internal register when the processor has control of the bus and partial address identifying the register
JPH10207825A (en) Data transfer device
JP4969811B2 (en) Information processing system and memory control device
JP2636485B2 (en) Cache storage
JPS6232832B2 (en)
JPS63163938A (en) Dynamic ram controller
JPS6022777B2 (en) Data transfer method
JPS5960787A (en) Memory access system
JPS6040115B2 (en) Bubble memory bank switch method
JPH04116750A (en) Dma memory transfer device
JPS63259746A (en) Inter-bank-memory data transmission system
JPH0561769A (en) Memory access method
JPH09204393A (en) Information equipment
JPH039453A (en) Data transfer controller
JPH05210580A (en) System and method of interleaving memory in computer system
JPH0784866A (en) Memory control circuit
JPH04337851A (en) Memory access system
JPH03204049A (en) Memory controller
JPH01125621A (en) Register setting system
JP2004118595A (en) Access control device and access control method