JPH03118647A - Data transfer system within main storage device of data processor - Google Patents

Data transfer system within main storage device of data processor

Info

Publication number
JPH03118647A
JPH03118647A JP25528789A JP25528789A JPH03118647A JP H03118647 A JPH03118647 A JP H03118647A JP 25528789 A JP25528789 A JP 25528789A JP 25528789 A JP25528789 A JP 25528789A JP H03118647 A JPH03118647 A JP H03118647A
Authority
JP
Japan
Prior art keywords
data
address
memory
main memory
mem
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
JP25528789A
Other languages
Japanese (ja)
Inventor
Toshikatsu Nagasawa
長澤 敏勝
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP25528789A priority Critical patent/JPH03118647A/en
Publication of JPH03118647A publication Critical patent/JPH03118647A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To transfer data in a short cycle by securing such a constitution where a CPU sends a memory read request signal to a main memory controller MCU and the MCU writes the data into a main memory MEM in response to a memory write request signal. CONSTITUTION:The data D0 is not read out of a MEM 3 yet in a state where a move control signal MOVEC which shows the transfer of the data D0 to an address A1 from an address A0 within the MEM 3 is kept ON at the rise of a CLKT0. Even under such conditions, the end of a memory reading cycle is reported in advance to a CPU 1 from an MCU 2 at the rise of a CLKT2 via a signal TERM. Then the CPU 1 decides that the transfer of data is finished in the MEM 3 and turns off the signal MOVEC at the rise of a CLKT6. Then the MCU 2 starts a signal RAS at the rise of a CLKT7 and after the precharge time of the MEM 3 is over. Then the CPU 1 starts a column address strobe signal CAS at the fall of a CLKT8 and controls the write to the MEM 3. Thus the CPU 1 performs the reading/writing processes in 6 cycles.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ処理装置におけるデータ転送方式に関し
、特に、主記憶装置内のデータ転送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer method in a data processing device, and particularly to a data transfer method within a main memory device.

〔従来の技術〕[Conventional technology]

第3図を参照して、従来のデータ処理装置は、中央処理
装置(CPU)1と、主記憶制御装置(MCU)2と、
主記憶装置(MEM)3と、主記憶用アドレスラッチ(
AL)4と、主記憶用データラッチ(AL)5とを有す
る。CPUIは、MCU2へメモリリード要求信号RR
EQ又はメモリライト要求信号WREQを供給する。メ
モリリード要求信号RREQ又はメモリライト要求信号
WREQに応答して、MCU2は、MEM3ヘロウアド
レスストローブ信号RASおよびカラムアドレスストロ
ーブ信号CASを送出する。MCU2は、メモリサイク
ルが終了したとき、メモリサイクル終了信号TERMを
CPUIへ送出する。
Referring to FIG. 3, the conventional data processing device includes a central processing unit (CPU) 1, a main memory control unit (MCU) 2,
Main memory device (MEM) 3 and main memory address latch (
AL) 4 and a main memory data latch (AL) 5. The CPUI sends a memory read request signal RR to the MCU2.
EQ or memory write request signal WREQ is supplied. In response to memory read request signal RREQ or memory write request signal WREQ, MCU2 sends out MEM3 row address strobe signal RAS and column address strobe signal CAS. When the memory cycle ends, the MCU 2 sends a memory cycle end signal TERM to the CPUI.

アドレスはCPU1からアドレスバスABoにのり、A
L4にラッチされてMEM3のアドレスバスAB、に出
力される。データの書込み時、データはCPUIからデ
ータバスDB、にのりDL5にラッチされてMEM3の
データバスDBlに出力され、MEM3に書込まれる。
The address is transferred from CPU1 to address bus ABo,
It is latched into L4 and output to address bus AB of MEM3. When writing data, the data is transferred from the CPUI to the data bus DB, is latched to DL5, is output to the data bus DBl of the MEM3, and is written to the MEM3.

データの読出しは、その逆のバスを通る。CPUIは、
図示しないワークレジスタを有する。
Data reading goes through the reverse bus. The CPUI is
It has a work register (not shown).

次に、第4図を参照して、第3図に示された従来のデー
タ処理装置による主記憶装置内のデータ転送方式につい
て説明する。CPUIにおいて、問題の命令がオペコー
ド分岐によって主記憶装置内のデータ転送に関する命令
か否かが判断される。
Next, with reference to FIG. 4, a data transfer method within the main storage device by the conventional data processing apparatus shown in FIG. 3 will be described. In the CPU, it is determined whether the instruction in question is an instruction related to data transfer within the main memory device by an operation code branch.

もしそうなら、論理アドレス(仮想アドレス)が物理ア
ドレス(実アドレス)に変換されて、主記憶装置内のデ
ータ転送の準備が行われる。
If so, the logical address (virtual address) is translated to a physical address (real address) to prepare for data transfer within main memory.

CLKTOの立上りで読出し制御が起動されて、メモリ
リード要求信号RREQがオンになり、アドレスA0が
アドレスバスAB0に出力され、CLKTIの立上りで
AL4にラッチされてアドレスバスAB、に出力される
。同時に、CLKT。
At the rising edge of CLKTO, read control is activated, the memory read request signal RREQ is turned on, and address A0 is output to address bus AB0, and at the rising edge of CLKTI, it is latched by AL4 and output to address bus AB. At the same time, CLKT.

の立上りでロウアドレスストローブ信号RASが起動さ
れ、CLKT、の立下りでカラムアドレスストローブ信
号CASが起動される。その結果、読出しデータD0が
CLKT)の立下りでデータバスD B rに出力され
、DL5にラッチされ、CLKT4の立上りでデータバ
スDBOに出力されて、CPUIに取り込まれる。読出
しサイクルの終了処理として、CLKT、の立上りでメ
モリサイクル終了信号TERMがオンになり、読出しサ
イクルが5サイクルで終了する。
The row address strobe signal RAS is activated at the rising edge of CLKT, and the column address strobe signal CAS is activated at the falling edge of CLKT. As a result, the read data D0 is output to the data bus DBr at the falling edge of CLKT), latched to DL5, and output to the data bus DBO at the rising edge of CLKT4, and taken into the CPUI. As a read cycle end process, the memory cycle end signal TERM is turned on at the rise of CLKT, and the read cycle ends in five cycles.

その後、CPU1の内部処理でデータをワークレジスタ
に格納後、書込み制御がCLKT、の立上りで起動され
て、メモリライト要求信号WREQがオンになり、アド
レスAIがアドレスバスAB、に出力され、CLKT、
、、の立上りでAL4にラッチされてアドレスバスAB
、に出力される。
After that, after data is stored in the work register by internal processing of the CPU 1, write control is activated at the rising edge of CLKT, memory write request signal WREQ is turned on, address AI is output to address bus AB, and CLKT is
, is latched by AL4 at the rising edge of address bus AB.
, is output to.

同時に、CLKT、ヤ、の立上りでロウアドレスストロ
ーブ信号RASが起動され、CL K T−+2の立下
りでカラムアドレスストローブ信号CASが起動される
。書込みデータp。はCLKT、の立上りでデータバス
DB、に出力されCLKT、ヤ1でAL4にラッチされ
てデータバスDBIに出力されてMEM3に書込まれる
。書込みサイクルの終了処理として、CL K T−+
yの立上りでメモリサイクル終了信号TERMがオンに
なり、書込みサイクルが4サイクルで終了する。
At the same time, the row address strobe signal RAS is activated at the rising edge of CLKT, and the column address strobe signal CAS is activated at the falling edge of CLKT-+2. Write data p. is output to the data bus DB at the rising edge of CLKT, is latched by AL4 at CLKT, and is output to the data bus DBI and written into MEM3. As the end processing of the write cycle, CL K T-+
At the rising edge of y, the memory cycle end signal TERM is turned on, and the write cycle ends in four cycles.

n−w−5と仮定すると、読出しから書込みまでのサイ
クルとして、10サイクルを必要としている。
Assuming n-w-5, 10 cycles are required from read to write.

このように、従来のデータ処理装置では、主記憶装置内
のデータ転送は、MEMB内のアドレス八〇からデータ
D0を読出してCPUI内のワークレジスタに書込み、
その後、CPU1内のワークレジスタからMEMB内の
アドレスA、にデータD0を書込んでいた。
In this way, in the conventional data processing device, data transfer in the main memory is performed by reading data D0 from address 80 in MEMB and writing it to the work register in CPUI.
Thereafter, data D0 was written from the work register in CPU1 to address A in MEMB.

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

上述した従来の主記憶装置内のデータ転送方式は、主記
憶装置内のあるアドレスから別のアドレスにデータを転
送するのに、中央処理装置内のワークレジスタを通過し
ているので、不必要な時間が掛かってしまうという欠点
がある。
In the conventional data transfer method in the main memory described above, when data is transferred from one address in the main memory to another address, it passes through the work register in the central processing unit, so unnecessary data is transferred. The disadvantage is that it takes time.

したがって、本発明の課題は、中央処理装置内のワーク
レジスタを通過することなしに、主記憶装置内のあるア
ドレスから別のアドレスにデータを転送することにより
、主記憶装置内のデータ転送を高速に行うことにある。
Therefore, an object of the present invention is to speed up data transfer in main memory by transferring data from one address in main memory to another address without passing through the work register in the central processing unit. It's about doing things.

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

本発明によるデータ処理装置の主記憶装置内データ転送
方式は、主記憶装置内で、データを第1のアドレスから
第2のアドレスへ転送するデータ転送方式において、 中央処理装置は主記憶制御装置へメモリリード要求信号
を送出すると共に前記第1のアドレスを前記゛主記憶装
置へ送出し、 前記主記憶制御装置は前記メモリリード要求信号に応答
して前記主記憶装置を前記第1のアドレスから前記デー
タを読出すように制御し、前記中央処理装置は主記憶制
御装置へメモリライト要求信号を送出すると共に前記第
2のアドレスを前記主記憶装置へ送出し、 前記主記憶制御装置は前記メモリライト要求信号に応答
して前記主記憶装置を前記読出されたデータを前記第2
のアドレスへ書込むように制御する。
A data transfer method within a main memory of a data processing device according to the present invention is a data transfer method in which data is transferred from a first address to a second address within the main memory, in which the central processing unit is transferred to the main memory controller. Sending out a memory read request signal and sending the first address to the main storage device, and the main storage control device reads the main storage device from the first address to the main storage device in response to the memory read request signal. controlling the data to be read, the central processing unit sends a memory write request signal to the main memory control unit and the second address to the main memory unit, and the main memory control unit sends the memory write request signal to the main memory control unit. In response to a request signal, the main memory device stores the read data in the second memory device.
control to write to the address.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照して説明する
Embodiments of the present invention will be described below with reference to the drawings.

第1図を参照すると、本発明の一実施例によるデータ転
送方式が適用されるデータ処理装置は、CPUIがMe
O2へMEMB内のデータ転送命令を実行中を示すムー
ブコントロール信号MOVECを送出することを除いて
、第3図に示されたものと同様の構成を有する。
Referring to FIG. 1, a data processing device to which a data transfer method according to an embodiment of the present invention is applied has a CPU with Me.
It has the same configuration as that shown in FIG. 3, except that it sends a move control signal MOVEC indicating that a data transfer command in MEMB is being executed to O2.

以下、第2図を参照して、第1図に示された本発明のデ
ータ処理装置による主記憶装置内のデータ転送方式につ
いて説明する。
Hereinafter, with reference to FIG. 2, a data transfer method within the main storage device by the data processing apparatus of the present invention shown in FIG. 1 will be described.

CLKToの立上りで読出し制御が起動されて、メモリ
リード要求信号RREQがオンになり、アドレスA0が
アドレスバスA B oに出力され、CLKTIの立上
りでAl1にラッチされてアドレスバスA B lに出
力される。同時に、CLKT’+の立上りでロウアドレ
スストローブ信号RASが起動され、CLKT2の立下
りでカラムアドレスストローブ信号CASが起動される
。その結果、読出しデータD。がCLKT、の立下りで
データバスDB、に出力され、DL5にラッチされる。
At the rising edge of CLKTo, the read control is activated, the memory read request signal RREQ is turned on, and the address A0 is output to the address bus A B o, and at the rising edge of CLKTI, it is latched into Al1 and output to the address bus A B l. Ru. At the same time, the row address strobe signal RAS is activated at the rising edge of CLKT'+, and the column address strobe signal CAS is activated at the falling edge of CLKT2. As a result, read data D. is output to data bus DB at the falling edge of CLKT, and latched to DL5.

MEMB内でアドレスA。からアドレスA、へのデータ
D。の転送中を示すムーブコントロール信号MOVEC
が、CL K T oの立上りからオンになっている状
態で、MEM3からデータD0が読出されていないにも
拘らず、CLKT2の立上りで、MeO2からCPUI
ヘメモリリードサイクル終了報告をメモリサイクル終了
信号TERMによって先行して報告する。
Address A in MEMB. Data D from address A to address A. Move control signal MOVEC indicating that the
is turned on from the rising edge of CLK T o, and even though data D0 has not been read from MEM3, at the rising edge of CLK T2, the CPU I
A memory read cycle completion report is reported in advance by a memory cycle completion signal TERM.

その後、CPUIは、CLKT3の立上りで書込み制御
を起動するために、メモリライト要求信号WREQをオ
ンにし、アドレスA1がアドレスバスAB、に出力され
、CLKT4の立上りでAl1にラッチされてアドレス
バスA B +に出力される。MEM3へデータD0が
書込まれていないにも拘らず、CLKT5の立上りで、
MeO2からCPUIヘメモリライトサイクル終了報告
をメモリサイクル終了信号TERMによって先行して報
告する。
After that, the CPU turns on the memory write request signal WREQ to start write control at the rising edge of CLKT3, and the address A1 is output to the address bus AB, and at the rising edge of CLKT4, it is latched to Al1 and transferred to the address bus AB. Output to +. Even though data D0 is not written to MEM3, at the rising edge of CLKT5,
A memory write cycle completion report is previously reported from MeO2 to the CPUI using a memory cycle end signal TERM.

CPUIは、MEMB内のデータ転送が終了したものと
して、CLKT6の立上りでムーブコントロール信号M
OVECをオフにする。その後、CPUIは、次の命令
を実行するが、MeO2はMEM3のプリチャージ時間
を待ってCL K T 7の立上りでロウアドレススト
ローブ信号RASを起動し、CLKT8の立下りでカラ
ムアドレスストローブ信号CASを起動して、MEM3
に対する書込み制御を行う。
CPUI assumes that the data transfer in MEMB has been completed, and transmits the move control signal M at the rising edge of CLKT6.
Turn off OVEC. After that, the CPUI executes the next instruction, but MeO2 waits for the precharge time of MEM3, activates the row address strobe signal RAS at the rising edge of CLKT7, and activates the column address strobe signal CAS at the falling edge of CLKT8. Start up and MEM3
Performs write control for .

このように、CPUIは6サイクルで読出し書込み処理
を終了する。
In this way, the CPUI completes the read/write process in six cycles.

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

以上説明したように、本発明は、主記憶装置内のデータ
転送中をステータスとして表示することにより、従来よ
りも短いサイクル数で主記憶装置内のデータ転送を行う
ことができるという効果がある。
As described above, the present invention has the advantage that data transfer in the main memory can be performed in a shorter number of cycles than before by displaying the status indicating that data is being transferred in the main memory.

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

第1図は本発明の一実施例によるデータ転送方式が適用
されるデータ処理装置の構成を示すブロツク図、第2図
は第1図に示された本発明のデータ処理装置による主記
憶装置内のデータ転送方式を説明するためのタイムチャ
ート、第3図は従来によるデータ転送方式が適用される
データ処理装置の構成を示すブロック図、第4図は第3
図に示された従来のデータ処理装置による主記憶装置内
のデータ転送方式を説明するためのタイムチャートであ
る。 1・・・中央処理装置(CPU) 、2・・・主記憶制
御装置(MCU) 、3・・・主記憶装置(MEM) 
、4・・・アドレスラッチ(AL) 、5・・・データ
ラッチ(D L)。 ci  (y   S と 2 ミ2ミ 凄 罎 と (j (< OOと≧ト 0つ く ミ の く
FIG. 1 is a block diagram showing the configuration of a data processing device to which a data transfer method according to an embodiment of the present invention is applied, and FIG. 2 is a block diagram showing the main memory of the data processing device of the present invention shown in FIG. 3 is a block diagram showing the configuration of a data processing device to which the conventional data transfer method is applied, and FIG. 4 is a time chart for explaining the data transfer method.
2 is a time chart for explaining a data transfer method within a main storage device by the conventional data processing device shown in the figure. 1... Central processing unit (CPU), 2... Main memory control unit (MCU), 3... Main memory device (MEM)
, 4... Address latch (AL), 5... Data latch (DL). ci (y S and 2 Mi 2 Mi 罎 and (j (< OO and ≧ ト 0 Tsukumi no Ku

Claims (1)

【特許請求の範囲】 1、主記憶装置内で、データを第1のアドレスから第2
のアドレスへ転送するデータ転送方式において、 中央処理装置は主記憶制御装置へメモリリード要求信号
を送出すると共に前記第1のアドレスを前記主記憶装置
へ送出し、 前記主記憶制御装置は前記メモリリード要求信号に応答
して前記主記憶装置を前記第1のアドレスから前記デー
タを読出すように制御し、 前記中央処理装置は主記憶制御装置へメモリライト要求
信号を送出すると共に前記第2のアドレスを前記主記憶
装置へ送出し、 前記主記憶制御装置は前記メモリライト要求信号に応答
して前記主記憶装置を前記読出されたデータを前記第2
のアドレスへ書込むように制御する データ処理装置の主記憶装置内データ転送方式。 2、前記中央処理装置は、前記主記憶装置内でのデータ
転送中、それを示す信号を前記主記憶制御装置へ供給す
る請求項1記載のデータ処理装置の主記憶装置内データ
転送方式。3、前記主記憶制御装置は、前記主記憶装置
に対する読出し処理が終了する以前に読出しサイクルが
終了したことを前記中央処理装置へ先行して報告し、前
記主記憶装置に対する書込み処理が終了する以前に書込
みサイクルが終了したことを前記中央処理装置へ先行し
て報告する請求項1記載のデータ処理装置の主記憶装置
内データ転送方式。
[Claims] 1. In the main memory, data is transferred from a first address to a second address.
In the data transfer method, the central processing unit sends a memory read request signal to a main memory control unit, and also sends the first address to the main memory unit, and the main memory control unit sends the first address to the memory read request signal. The main storage device is controlled to read the data from the first address in response to the request signal, and the central processing unit sends a memory write request signal to the main storage control device and reads the data from the second address. the main storage controller sends the read data to the second main storage device in response to the memory write request signal.
A data transfer method within the main memory of a data processing device that controls writing to addresses. 2. A data transfer system within a main memory device of a data processing device according to claim 1, wherein the central processing unit supplies a signal indicating this to the main memory control device during data transfer within the main memory device. 3. The main storage control device reports the completion of the read cycle to the central processing unit before the read processing to the main storage device ends, and before the write processing to the main storage device ends. 2. The data transfer system in a main memory of a data processing device according to claim 1, wherein the completion of a write cycle is reported to the central processing unit in advance.
JP25528789A 1989-10-02 1989-10-02 Data transfer system within main storage device of data processor Pending JPH03118647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25528789A JPH03118647A (en) 1989-10-02 1989-10-02 Data transfer system within main storage device of data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25528789A JPH03118647A (en) 1989-10-02 1989-10-02 Data transfer system within main storage device of data processor

Publications (1)

Publication Number Publication Date
JPH03118647A true JPH03118647A (en) 1991-05-21

Family

ID=17276666

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25528789A Pending JPH03118647A (en) 1989-10-02 1989-10-02 Data transfer system within main storage device of data processor

Country Status (1)

Country Link
JP (1) JPH03118647A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100549019B1 (en) * 2004-12-17 2006-02-08 대한민국 A paper cutter capable of compress

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52129241A (en) * 1976-04-21 1977-10-29 Hitachi Ltd Memory control system
JPS5619578A (en) * 1979-07-26 1981-02-24 Fujitsu Ltd Information processor
JPS6055459A (en) * 1983-09-07 1985-03-30 Hitachi Ltd Control method of block data transfer and storage
JPH01193948A (en) * 1988-01-28 1989-08-03 Mitsubishi Electric Corp System for controlling data transfer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52129241A (en) * 1976-04-21 1977-10-29 Hitachi Ltd Memory control system
JPS5619578A (en) * 1979-07-26 1981-02-24 Fujitsu Ltd Information processor
JPS6055459A (en) * 1983-09-07 1985-03-30 Hitachi Ltd Control method of block data transfer and storage
JPH01193948A (en) * 1988-01-28 1989-08-03 Mitsubishi Electric Corp System for controlling data transfer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100549019B1 (en) * 2004-12-17 2006-02-08 대한민국 A paper cutter capable of compress

Similar Documents

Publication Publication Date Title
JPH02223091A (en) Computer memory system
EP0053360B1 (en) Information processing apparatus with data transfer between external memories
JPH02120960A (en) Method of transferring data and reducing period of data transfer cycle
JPH03118647A (en) Data transfer system within main storage device of data processor
US20040123061A1 (en) Memory controlling aparatus performing the writing of data using address line
JPH0546527A (en) Dual port memory circuit
JPH0877143A (en) Vector data processor
JP2552366B2 (en) Bit block transfer controller
JPS63298796A (en) Memory device
JPH02263248A (en) Memory device
JPH03191479A (en) Image processor
JPH0433060B2 (en)
KR950000312A (en) How to control the robot
JPH02266452A (en) Device for accessing cpu bus in other system
JPH06214939A (en) Dma controller
JPH07262127A (en) Ic test equipment
JPH11167519A (en) Memory refresh control circuit, memory, memory module, and digital device
JPH1153252A (en) Memory control circuit
JPS6361351A (en) Data transfer method
JPH03144779A (en) Image processing system
JPH0229845A (en) Memory access system
JPH06324940A (en) Method and device for controlling memory
JPH07319720A (en) System switching method for processor
JPS5855587B2 (en) Data transfer method of magnetic bubble storage device
JPH01250163A (en) Bus controller