JPS61259352A - Memory copy system - Google Patents

Memory copy system

Info

Publication number
JPS61259352A
JPS61259352A JP60100950A JP10095085A JPS61259352A JP S61259352 A JPS61259352 A JP S61259352A JP 60100950 A JP60100950 A JP 60100950A JP 10095085 A JP10095085 A JP 10095085A JP S61259352 A JPS61259352 A JP S61259352A
Authority
JP
Japan
Prior art keywords
memory
address
copy
data
zero
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.)
Granted
Application number
JP60100950A
Other languages
Japanese (ja)
Other versions
JPH0436425B2 (en
Inventor
Yoshiichi Tanabe
田辺 宣一
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 JP60100950A priority Critical patent/JPS61259352A/en
Publication of JPS61259352A publication Critical patent/JPS61259352A/en
Publication of JPH0436425B2 publication Critical patent/JPH0436425B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To attain high speed copy by writing data other than all '0' to a copy destination memory with a data not all '0' and address information via a central processing unit managing the execution of copy. CONSTITUTION:When the central controller 1 sends a CLR signal to the memory 3 being copy destination, a memory clear circuit 33 clears all areas into zero. Then the controller 1 sends a COPY signal to a memory 2 being a copy sender, a control circuit 22 of the memory 2 receives the COPY signal, then extracts a data sequentially from an address zero and sends the address information and the data to the controller 1. In this case, the result of discrimination of all zero discrimination bit arranged corresponding to each address is received from a discrimination circuit 21, and in case of all zero discrimination, the address is incremented by one to repeat the extraction of the data in the next address. In the case of other than all zero, the address information and the data are sent to the controller 1. The controller 1 sends them to the memory 3 as they are and a memory section 30 sets the data sent from the address zero to the address sent from the controller 1.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はメモリコピー方式1.411C蓄積プログラム
制御方弐【おける2重化された記憶装置間のコピ一方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a one-sided copy method between duplicated storage devices in a memory copy method 1.411C storage program control method 2.

(従来技術) 従来、蓄積プログラム制御方式においては、2重化され
たメモリ(記憶装置)間のコピーは一方のメモリより中
央制御装置が読み取り、その内容を他方のメモリへ書き
込む動作をメモリの全アドレスについて繰り返すことに
より行っている。
(Prior art) Conventionally, in storage program control systems, copying between duplicated memories (storage devices) is performed by a central control unit reading from one memory and writing the contents to the other memory. This is done by repeating the address.

(発明が解決しようとする問題点) 上述したような従来のコピ一方式では、コピーする必要
のないオール0(全ゼロ)のデータモ含めて、すべてコ
ピーすることてなり、コピ一時間が長くかかるという欠
点がある。
(Problems to be Solved by the Invention) In the conventional copying method as described above, it takes a long time to copy everything, including all-zero data that does not need to be copied. There is a drawback.

本発明は、コピー先のメモリを予め全エリアてついて0
クリアしておき、コピー元からはオール0以外のデータ
のみ転送することにより、上記欠点を解決し、高速なメ
モリコピーを行い得るコピ一方式を提供することにある
In the present invention, all areas of the copy destination memory are set to 0 in advance.
The object of the present invention is to solve the above-mentioned drawback by clearing the data and transferring only data other than all 0 from the copy source, and to provide a one-sided copying method that can perform high-speed memory copying.

(問題点を解決するための手段) 本発明によるメモリコピー方式は、メモリ装置内に、一
度に全エリアをクリアできるクリア回路、アドレス対応
に該アドレスのデータがオール0か否かを表示するオー
ル0表示ビット、及びメモリコピー指定時にオール0表
示ビットが0ならば該アドレスのデータ送出をスキップ
する判定回路を設置し、コピー元メモリはコピー指示に
よりオール0表示ビットがOfないアドレスのアドレス
情報と該アドレスのデータを中央処理装置へ送出し、該
中央処理装置は前記アドレス情報とデータによりコピー
先メモリへ書き込むことにより全エリアのコピーを行う
ようにしたものである。
(Means for Solving the Problems) The memory copy method according to the present invention includes a clear circuit that can clear all areas at once in a memory device, and an all-clear circuit that displays whether or not the data at the address is all 0 in response to an address. 0 indication bit, and a determination circuit that skips data transmission of the address if the all 0 indication bit is 0 when memory copy is specified, and the copy source memory is set to the address information of the address where the all 0 indication bit is not Off according to the copy instruction. The data at the address is sent to the central processing unit, and the central processing unit writes the address information and data to the copy destination memory, thereby copying the entire area.

(実施例) 以下、本発明を、図面を参照しながら実施例について説
明する。
(Example) Hereinafter, the present invention will be described with reference to the drawings.

第1図は本発明の実施例に係るメモリコピーシステムの
構成を示すブロック図である。中央制御装置(中央処理
装置)1は、コピー元メモリからアドレス情報とデータ
を受は取り、またコピー元へ書き込む機能を有する。2
はコピー元のメモリ装置、3はコピー先のメモリ装置で
ある。メモリ装置を以下単にメモリと称することにする
。20゜30はそれぞれコピー元メモリ2.コピー先メ
モリ3のメモリ部を示し、Dt+ D!+ Dn、 D
n+t pDH+2は各々メモリのアドレX0111n
In+1 I n+2番地のデータ(オール0以外)を
示している。アドレスl 、J+1 、n+2番地の0
〜0は該アドレスのデータがオールOであることを示す
。21.31はそれぞれコピー元メモリ2゜コピー先メ
モリ30オール0判定回路%22.32はそれぞれコピ
ー元メモリ2.コピー先メモリ3の制御回路である。判
定回路21.31は0の判定によりメモリ制御回路22
.32を次のアドレスヘスキツプさせる機能を有する。
FIG. 1 is a block diagram showing the configuration of a memory copy system according to an embodiment of the present invention. A central control unit (central processing unit) 1 has a function of receiving and receiving address information and data from a copy source memory, and also writes it to the copy source. 2
3 is the copy source memory device, and 3 is the copy destination memory device. The memory device will hereinafter be simply referred to as memory. 20° and 30 are the copy source memory 2. Indicates the memory section of copy destination memory 3, Dt+D! + Dn, D
n+t pDH+2 are each memory address X0111n
In+1 I Indicates the data at address n+2 (other than all 0). 0 at address l, J+1, n+2
~0 indicates that the data at the address is all O's. 21. 31 are copy source memory 2°, copy destination memory 30, all 0 judgment circuit %, 22. 32 are copy source memory 2, respectively. This is a control circuit for the copy destination memory 3. The determination circuit 21.31 determines whether the memory control circuit 22
.. 32 to the next address.

23.33はメモリ全エリアクリア回路であり1本回路
が起動されるとメモリ内全エリアを同時にクリアする機
能を有する。24.34はそれぞれコピー元、コピー先
のメモリ2,3のアドレス対応のオール0表示ビットで
ある。図中、信号線のcopyはコピへ指示信号、AD
Dはアドレス情報信号。
23. 33 is a memory all area clear circuit which has a function of clearing all areas in the memory at the same time when one circuit is activated. 24 and 34 are all 0 display bits corresponding to the addresses of memories 2 and 3 as the copy source and copy destination, respectively. In the figure, the copy signal line is an instruction signal to copy, AD
D is an address information signal.

DATAはデータ信号、CLRはクリア信号であり、信
号線の矢印はその信号方向を表わしている。
DATA is a data signal, CLR is a clear signal, and the arrow on the signal line indicates the direction of the signal.

次に、本実施例におけるコピー動作を順を追つて説明す
る。まず、中央制御装置1はコピー先のメモリ31CC
LR信号を送出すると、メモリクリア回路33は全エリ
アを0クリアする。その後中央制御装置1はコピー元の
メモリ2にC0PY信号を送出する。コピー元のメモリ
20制御回路22はcopy信号を受けると0番地から
順にデータを取り出し、中央制御装置1ヘアドレス情報
とデータを送るが、この時該アドレス対応に設置したオ
ール0判定ビットの判定結果を判定回路21より受は取
り、オール0判定の場合はアドレスを+1更新し、次の
番地のデータの取り出しを繰り返す。オール0以外の場
合は該アドレス情報とデータを中央制御装置1へ送る。
Next, the copy operation in this embodiment will be explained step by step. First, the central control unit 1 stores the copy destination memory 31CC.
When the LR signal is sent, the memory clear circuit 33 clears all areas to 0. Thereafter, the central control unit 1 sends a C0PY signal to the copy source memory 2. When the copy source memory 20 control circuit 22 receives the copy signal, it sequentially extracts the data starting from address 0 and sends the address information and data to the central control unit 1. At this time, the judgment result of the all 0 judgment bit set corresponding to the address is is received from the determination circuit 21, and in the case of all 0 determination, the address is updated by +1 and the extraction of data at the next address is repeated. If all values are other than 0, the address information and data are sent to the central control unit 1.

中央制御装置IViコピー元より送られてきたアドレス
情報とデータをそのままコピー先メモリ3へ送る。した
がってコピー先メモリ3内のメモリ部30は中央制御装
置1から送られてきたアドレスのみデータが0から送ら
れたデータにセットされる。コピー先メモリ3はアドレ
スがO番地からEND番地になるまで動作を繰り返すこ
とによりメモリコピーが行われる。したがって本実施例
ではオール0が入っている!番地から!  番地までの
mワードのデータオールOは中央制御装置1を介するこ
となくコピーすることができる。
The central control unit IVi sends the address information and data sent from the copy source to the copy destination memory 3 as they are. Therefore, in the memory unit 30 in the copy destination memory 3, only the address sent from the central control unit 1 is set from data 0 to the sent data. Memory copying is performed in the copy destination memory 3 by repeating the operation until the address reaches the O address to the END address. Therefore, in this embodiment, all 0s are included! From the street number! All m words of data up to address O can be copied without going through the central controller 1.

(発明の効果) 以上説明したように本発明によれば、オール0のデータ
は中央制御装置(中央処理装置)を介さずにコピーする
ことができるので、従来のように無条件に全エリアを中
央制御装置を介してコピーする方式に比べて高速なメモ
リコピー方式が得られる効果がある。
(Effects of the Invention) As explained above, according to the present invention, all 0 data can be copied without going through a central control unit (central processing unit), so all areas can be copied unconditionally unlike in the past. This has the effect of providing a faster memory copying method than a method of copying via a central control unit.

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

第1図は本発明の実施例に係るメモリコピーシステムの
構成を示すブロック図である。 1・・・中央制御装置、   2・・・コピー元メモリ
、3・・・コピー先メモリ、  20.30・・・メモ
リ部、21.31・・・オール0判定回路、 22.32・・・メモリ制御回路、 23.33・・・メモリオール0クリア回路、24.3
4・・・アドレス対応のオールO表示ビット。
FIG. 1 is a block diagram showing the configuration of a memory copy system according to an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Central control unit, 2... Copy source memory, 3... Copy destination memory, 20.30... Memory section, 21.31... All 0 judgment circuit, 22.32... Memory control circuit, 23.33...Memory all 0 clear circuit, 24.3
4... All O display bit corresponding to address.

Claims (1)

【特許請求の範囲】[Claims] メモリに1ワード毎に該ワードの内容がオール0か否か
を示す情報ビットを設け、前記メモリの一方から他方へ
のコピー時にコピー先のメモリの全エリアを予めクリア
しておき、コピー元メモリは、アドレス情報と該アドレ
スのデータを送出する時にオール0か否かの情報ビット
を判定し、オール0でないデータと該アドレス情報のみ
を送出するとともにコピーの実行管理を行う中央処理装
置を介して前記アドレス情報によりこのオール0以外の
データをコピー先メモリへ書き込むことを特徴とするメ
モリコピー方式。
An information bit is provided for each word in the memory to indicate whether the content of the word is all 0 or not, and when copying from one side of the memory to the other, all areas of the copy destination memory are cleared in advance, and the copy source memory When transmitting address information and data at the address, the information bits are determined as to whether all are 0 or not, and only data that is not all 0 and the address information are transmitted through a central processing unit that manages copy execution. A memory copy method characterized in that data other than all 0 is written to a copy destination memory according to the address information.
JP60100950A 1985-05-13 1985-05-13 Memory copy system Granted JPS61259352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60100950A JPS61259352A (en) 1985-05-13 1985-05-13 Memory copy system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60100950A JPS61259352A (en) 1985-05-13 1985-05-13 Memory copy system

Publications (2)

Publication Number Publication Date
JPS61259352A true JPS61259352A (en) 1986-11-17
JPH0436425B2 JPH0436425B2 (en) 1992-06-16

Family

ID=14287627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60100950A Granted JPS61259352A (en) 1985-05-13 1985-05-13 Memory copy system

Country Status (1)

Country Link
JP (1) JPS61259352A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009064238A (en) * 2007-09-06 2009-03-26 Hitachi Ulsi Systems Co Ltd Memory system
JP2013134617A (en) * 2011-12-26 2013-07-08 Fujitsu Ltd Circuit emulation apparatus, circuit emulation method and circuit emulation program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009064238A (en) * 2007-09-06 2009-03-26 Hitachi Ulsi Systems Co Ltd Memory system
JP2013134617A (en) * 2011-12-26 2013-07-08 Fujitsu Ltd Circuit emulation apparatus, circuit emulation method and circuit emulation program

Also Published As

Publication number Publication date
JPH0436425B2 (en) 1992-06-16

Similar Documents

Publication Publication Date Title
US5175732A (en) Method and apparatus for controlling data communication operations within stations of a local-area network
CN1345422A (en) Fieldbus message queuing method and apparatus
JPH01150940A (en) Crc arithmetic system
AU661301B2 (en) Data transfer system
US4603383A (en) Apparatus for direct data transfer among central processing units
JPS61259352A (en) Memory copy system
US6640269B1 (en) Method and apparatus for assisting communication of information between two processes
JPS60245062A (en) Data transfer device
JP2000155737A (en) Data packet receiving device
US6721824B1 (en) Method and apparatus for assisting communication of information between two processes
JPS633351B2 (en)
JP2689490B2 (en) Receive buffer controller
JPS6362083A (en) Projection data generation system
EP0899657A3 (en) Message passing between computer systems
JPH08137662A (en) Data transmission method and data transmitter
JP2637321B2 (en) Data transmission equipment
JPH01123551A (en) Start-stop data receiving system
JPS6049465A (en) Data transfer method between microcomputers
JPH11338801A (en) Equipment and method for controlling communication
JPS6041843A (en) Response transmission control system
JPS61214047A (en) Memory data transfer circuit
JPH06350669A (en) Transmission parallel processing synchronization control circuit
JPS6126684B2 (en)
JPH0354646A (en) Write system for memory device
JPS6160125A (en) Buffer control system