JPH0224749A - Memory data writing accelerating device - Google Patents
Memory data writing accelerating deviceInfo
- Publication number
- JPH0224749A JPH0224749A JP63173891A JP17389188A JPH0224749A JP H0224749 A JPH0224749 A JP H0224749A JP 63173891 A JP63173891 A JP 63173891A JP 17389188 A JP17389188 A JP 17389188A JP H0224749 A JPH0224749 A JP H0224749A
- Authority
- JP
- Japan
- Prior art keywords
- data
- write
- storage device
- instruction
- memory
- 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
Links
- 238000006243 chemical reaction Methods 0.000 abstract description 6
- 230000001133 acceleration Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、主記憶装置に対して部位指定書込みを行うデ
ータ処理システムにおいて、主記憶装置のメモリへのデ
ータ書込みを高速化する装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a device for speeding up data writing to the memory of the main storage device in a data processing system that performs site-specific writing to the main storage device. It is.
(従来の技術)
従来、データ処理システムでは主記憶装置を備え、該主
記憶装置にデータを格納して記憶させている。(Prior Art) Conventionally, a data processing system includes a main memory, and data is stored in the main memory.
前記主記憶装置で部位指定書込みが可能なものは、該主
記憶装置のデータ書込み単位内の書込み部分を指示する
信号と、書込みデータと、該書込みデータを格納するメ
モリのアドレスを入力し、該データに検査ビットを付加
してメモリに書込んでいる。If the main storage device is capable of site-specific writing, input a signal instructing the writing portion within the data writing unit of the main storage device, the write data, and the address of the memory that stores the write data. A check bit is added to the data and written to the memory.
前記データ書込み単位内の書込み部分の指示には、前記
データ書込み単位の全ての部分を指示する全部位指示(
以下、フルライト指示と称す)と前記データ書込み単位
内の一部分を指示する部分部位指示(以下、パーシャル
ライト指示と称す)とがある。The instruction for the write part in the data write unit includes an all-parts instruction (indicating all parts of the data write unit).
There are two types: a full write instruction (hereinafter referred to as a full write instruction) and a partial site instruction (hereinafter referred to as a partial write instruction) that specifies a part of the data write unit.
また、この種のデータ処理システムでは、構成要素間の
データの流れの速度の違い等を補正するためにバッファ
記憶装置を備えているものもある。Further, some data processing systems of this type are equipped with a buffer storage device to compensate for differences in data flow speed between components.
(発明が解決しようとする課題)
しかしながら、前記部位指定書込みが可能な主記憶装置
では、フルライト指示を受けた場合は、入力した書込み
データに検査ビットを付加してメモリに書込むだけであ
るが、パーシャルライト指示を受けた場合は、まず指示
されたアドレスのメモリに格納されているデータを読み
出し、該データに付加されている検査ビットに基づいて
、該データが正常であるか否かの判定を行う。前記判定
の結果、データが正常であれば入力した書込みデータと
読み出しデータとを編集して、メモリへの書込みデータ
を作成する。更にデータに検査ビットを付加した後にメ
モリへデータを書込むため、時間がかかるという問題点
があった。(Problem to be Solved by the Invention) However, in the above-mentioned main storage device that allows site-specific writing, when a full write instruction is received, a check bit is simply added to the input write data and written to the memory. However, when receiving a partial write instruction, it first reads the data stored in the memory at the specified address and checks whether the data is normal or not based on the check bit added to the data. Make a judgment. As a result of the determination, if the data is normal, the input write data and read data are edited to create write data to the memory. Furthermore, since the data is written into the memory after the check bits are added to the data, there is a problem that it takes time.
本発明の目的は上記問題点に鑑み、部位指定書込みが可
能な主記憶装置へのデータ書込み時間を短縮することが
可能な装置を提供することにある。SUMMARY OF THE INVENTION In view of the above-mentioned problems, it is an object of the present invention to provide a device capable of shortening the time required to write data to a main storage device in which site-specific writing is possible.
(課題を解決するための手段)
本発明は上記の目的を達成するために、主記憶装置に格
納されているデータの、少なくともその一部と同じデー
タを該主記憶装置内のアドレスと同じアドレスに格納し
ているメモリを含み、指示されたアドレスのメモリにデ
ータが格納されているか否かを示すヒツト信号を出力す
る記憶部と、前記主記憶装置のデータ書込み単位内の書
込み部分を指示する書込み部位指示を入力し、前記ヒツ
ト信号に基づいて前記メモリにデータが格納されている
ときは、該書込み部位指示を前記データ書込み単位の全
ての部分を指示する全部位指示に変換して前記主記憶装
置に出力し、前記メモリにデータが格納されていないと
きは、前記書込み部位指示を前記主記憶装置に出力する
書込み部位指示変換部と、前記書込み部位指示と該書込
み部位指示に対応した書込みデータとを入力し、該書込
みデータと指示されたアドレスに対応した前記記憶部の
メモリに格°納されているデータとから前記データ書込
み単位のデータを編集して前記主記憶装置に出力する書
込みデータ編集部とからなるメモリデータ書込み高速化
装置を構成した。(Means for Solving the Problems) In order to achieve the above-mentioned object, the present invention provides for storing data that is the same as at least a part of the data stored in the main memory at the same address as the address in the main memory. a memory unit that outputs a hit signal indicating whether or not data is stored in the memory at a designated address; and a storage unit that designates a write portion within a data write unit of the main memory When a write site instruction is input and data is stored in the memory based on the hit signal, the write site instruction is converted into an all site instruction that specifies all parts of the data write unit, and the main a writing part instruction conversion unit that outputs the writing part instruction to the main storage device when the data is not stored in the memory; A write operation in which the data in the data write unit is edited from the write data and the data stored in the memory of the storage unit corresponding to the specified address and output to the main storage device. A memory data writing acceleration device consisting of a data editing section was constructed.
(作 用)
本発明によれば、記憶部により、主記憶装置に格納され
ているデータの少なくともその一部と同じデータが、該
主記憶装置内のアドレスと同じアドレスのメモリに格納
され、指示されたアドレスのメモリにデータが格納され
ているか否かを示すヒツト信号が出力される。また、書
込み部位指示変換部により、前記主記憶装置のデータ書
込み単位内の書込み部分を指示する書込み部位指示が入
力され、前記ヒツト信号に基づいて、指示されたアドレ
スに対応した前記記憶部のメモリにデータが格納されて
いるときは、前記書込み部位指示が前記データ書込み単
位の全ての部分を指示する全部位指示に変換されて前記
主記憶装置に出力され、前記メモリにデータが格納され
ていないときは、前記書込み部位指示が前記主記憶装置
に出力される。更に、書込みデータ編集部により、前記
書込み部位指示と該書込み部位指示に対応した書込みデ
ータとが入力され、該書込みデータと指示されたアドレ
スに対応した前記記憶部のメモリに格納されているデー
タとから前記データ書込み単位のデータが編集されて前
記主記憶装置に出力される。(Function) According to the present invention, the storage unit stores at least part of the data stored in the main storage device in the memory at the same address as the address in the main storage device, and A hit signal indicating whether data is stored in the memory at the specified address is output. Further, the write site instruction conversion section inputs a write site instruction that specifies a write section within a data write unit of the main storage device, and based on the hit signal, the memory of the storage section corresponding to the specified address is input. When data is stored in the memory, the write part instruction is converted into an all part instruction that specifies all parts of the data write unit and is output to the main storage device, and no data is stored in the memory. At this time, the write location instruction is output to the main storage device. Further, the writing data editing section inputs the writing part instruction and the writing data corresponding to the writing part instruction, and the writing data and the data stored in the memory of the storage part corresponding to the designated address are combined. The data in the data writing unit is edited and output to the main storage device.
(実施例) 第1図は本発明の一実施例を示す構成図である。(Example) FIG. 1 is a block diagram showing an embodiment of the present invention.
図において、1は中央処理装置、2は主記憶装置、3は
メモリデータ書込み高速化装置である。In the figure, 1 is a central processing unit, 2 is a main storage device, and 3 is a memory data write acceleration device.
前記中央処理装置1は、16ビツトからなる書込みデー
タWDI〜WD4を主記憶装置2に書込むときに、該書
込みデータWD1〜WD4と、該書込みデータWDI〜
WD4を格納するメモリのアドレスを示すアドレス信号
ADと、前記主記憶装置2のデータ書込み単位内の書込
み部分を指示する書込み部位指示信号WPI〜WP4を
出力する。When the central processing unit 1 writes write data WDI to WD4 consisting of 16 bits to the main storage device 2, the central processing unit 1 writes the write data WD1 to WD4 and the write data WDI to WDI to the main storage device 2.
It outputs an address signal AD indicating the address of the memory storing WD4, and write site instruction signals WPI to WP4 indicating the write portion within the data write unit of the main memory device 2.
前記主記憶装置2は、16ビツトからなる書込みデータ
WTDI〜WTD4と、該書込みデータWTDI〜WT
D4を格納するメモリのアドレスを示すアドレス信号A
Dと、データ書込み単位内の書込み部分を指示する書込
み部位指示信号WS1〜W34等を入力してメモリへの
データ書込みを行う。前記主記憶装置2では、前記デー
タ書込み単位は16ビツトであり、更に前記データ書込
み単位は4ビツト毎の書込み部位に分割されている。前
記書込み部位指示信号WS1〜WS4は4ビツトからな
り、該4ビツトはそれぞれ前記書込み部位に対応してお
り、前記書込み部位指示信号WS1〜WS4が論理″1
1のときに、該書込み部位指示信号WSI〜WS4に対
応した書込み部位にデータが書込まれる。前記書込み部
位指示信号WS1〜WS4が論理′0”のときは、該書
込み部位指示信号WSI〜WS4に対応した書込み部位
に格納されているデータはそのまま保存される。The main memory device 2 stores write data WTDI to WTD4 consisting of 16 bits and write data WTDI to WT.
Address signal A indicating the address of the memory storing D4
D, write site instruction signals WS1 to W34 that instruct the write portion within the data write unit, and the like are input to write data to the memory. In the main memory device 2, the data write unit is 16 bits, and the data write unit is further divided into write locations of 4 bits each. The write site instruction signals WS1 to WS4 are composed of 4 bits, each of which corresponds to the write site, and the write site instruction signals WS1 to WS4 are set to logic "1".
1, data is written to the write site corresponding to the write site instruction signals WSI to WS4. When the write site instruction signals WS1 to WS4 are at logic '0'', the data stored in the write site corresponding to the write site instruction signals WSI to WS4 is saved as is.
前記メモリデータ書込高速化装置3は、記憶部としての
バッファ記憶装置100と、書込み部位指示変換部20
0と、書込みデータ編集部300とから構成されている
。The memory data write acceleration device 3 includes a buffer storage device 100 as a storage section, and a write location instruction conversion section 20.
0 and a write data editing section 300.
前記バッファ記憶装置100は一般に知られているもの
で、データ処理システムの構成要素間のデータの流れの
速度の違い、又は構成要素間事象の発生時間を補正する
ために用いられている記憶装置である。前記バッファ記
憶装置100は前記主記憶装置2に格納されているデー
タの、少なくともその一部と同じデータを該主記憶装置
2内のアドレスと同じアドレスに格納するメモリを有し
ており、指定されたアドレスのメモリに格納されている
16ビツトの保持データMDI〜MD4を出力する。ま
た、指示されたアドレスのメモリにデータが格納されて
いるか否かを示すヒツト信号HTを出力する。前記ヒツ
ト信号HTは、前記メモリにデータが格納されていると
きに論理′1”になる。The buffer storage device 100 is generally known and is a storage device used to compensate for differences in data flow rates between components of a data processing system or for the time of occurrence of events between components. be. The buffer storage device 100 has a memory for storing at least a part of the data stored in the main storage device 2 at the same address as the address in the main storage device 2. The 16-bit held data MDI to MD4 stored in the memory at the specified address is output. It also outputs a hit signal HT indicating whether data is stored in the memory at the designated address. The hit signal HT becomes logic '1' when data is stored in the memory.
前記書込み部位指示変換部200は、4人力のOR回路
211と2人力のAND回路221と2人力のOR回路
231〜234とから構成されている。前記OR回路2
11の4人力には、前記中央処理装置1から出力される
書込み部位指示信号WPI〜WP4が接続され、該OR
回路211の出力信号Wは前記AND回路221の一方
の入力に接続されている。また、前記AND回路221
の他方の入力には、前記バッファ記憶装置100から出
力されるヒツト信号HTが接続されている。The writing site instruction conversion section 200 is composed of a four-man powered OR circuit 211, a two-man powered AND circuit 221, and two-man powered OR circuits 231 to 234. The OR circuit 2
Writing site instruction signals WPI to WP4 outputted from the central processing unit 1 are connected to the four manual input terminals 11, and the OR
The output signal W of the circuit 211 is connected to one input of the AND circuit 221. In addition, the AND circuit 221
A hit signal HT output from the buffer storage device 100 is connected to the other input of the buffer storage device 100 .
前記OR回路231〜234のそれぞれ一方の入力には
、前記AND回路221の出力信号Aが接続されている
。また、前記OR回路231の他方の入力には前記書込
み部位指示信号の第1ビツトWP 1が、OR回路23
2の他方の入力には書込み部位指示信号の第2ビツトW
R2が、OR回路233の他方の入力には書込み部位指
示信号の第3ビツトWP3が、OR回路234の他方の
入力には書込み部位指示信号の第4ピツ)WF2がそれ
ぞれ接続されている。前記OR回路231〜234のそ
れぞれの出力信号WS1〜WS4は、書込み部位指示信
号として前記主記憶装置2に接続されている。The output signal A of the AND circuit 221 is connected to one input of each of the OR circuits 231 to 234. Further, the first bit WP 1 of the write site instruction signal is input to the other input of the OR circuit 231.
The other input of 2 is the second bit W of the writing site instruction signal.
The other input of the OR circuit 233 is connected to the third bit WP3 of the write site instruction signal, and the other input of the OR circuit 234 is connected to the fourth bit WF2 of the write site instruction signal. The respective output signals WS1 to WS4 of the OR circuits 231 to 234 are connected to the main storage device 2 as write site instruction signals.
前記書込み部位指示変換部200では、入力した書込み
部位指示信号WPI〜WP4の少なくとも1ビツトが論
理″1”であるときに、前記OR回路211の出力信号
Wが論理“1”になり、更に前記ヒツト信号HTが論理
“1”のときは、前記AND回路221の出力信号Aは
論理“1”になる。これにより、OR回路231〜23
4の出力信号WS1〜WS4は全て論理“1”になる。In the write site instruction converter 200, when at least one bit of the input write site instruction signals WPI to WP4 is logic "1", the output signal W of the OR circuit 211 becomes logic "1", and When the hit signal HT is logic "1", the output signal A of the AND circuit 221 becomes logic "1". As a result, OR circuits 231 to 23
All of the output signals WS1 to WS4 of 4 become logic "1".
また、前記ヒツト信号HTが論理“0”のときは、前記
AND回路221の出力信号Aは論理“0゛になり、前
記OR回路231〜234の出力信号WS1〜WS4は
、前記書込み指示信号WPI〜WP4と同じになる。Further, when the hit signal HT is at logic "0", the output signal A of the AND circuit 221 becomes logic "0", and the output signals WS1 to WS4 of the OR circuits 231 to 234 are equal to the write instruction signal WPI. ~It will be the same as WP4.
前記書込みデータ編集部300は、NOT回路311〜
314と4人力のOR回路321と2人力のAND回路
331〜334とトライステート出力のバスドライバ3
41〜348とから構成されている。前記バスドライバ
341〜348は、それぞれ4ビツトの入出力と出力制
御端子を備え、該出力制御端子に論理′1”の信号が入
力されているときに、バスドライバ341〜348のそ
れぞれは入力信号を出力し、該制御端子に論理“0”の
信号が入力されているときは、バスドライバ341〜3
48の出力はハイインピーダンスになる。The write data editing section 300 includes NOT circuits 311 to
314, a 4-man OR circuit 321, a 2-man AND circuit 331 to 334, and a tri-state output bus driver 3
41 to 348. The bus drivers 341 to 348 each have a 4-bit input/output and an output control terminal, and when a logic '1' signal is input to the output control terminal, each of the bus drivers 341 to 348 receives an input signal. is output, and when a logic “0” signal is input to the control terminal, the bus drivers 341 to 3
The output of 48 becomes high impedance.
前記N07回路311の入力には前記書込み部位指示信
号の第1ビツトWPIが、前記N07回路312の入力
には前記書込み部位指示信号の第2ビツトWP2が、前
記N07回路313の入力には前記書込み部位指示信号
の第3ビツトWP3が、前記N07回路314の入力に
は前記書込み部位指示信号の第4ビツトWP4がそれぞ
れ接続されている。The input of the N07 circuit 311 is the first bit WPI of the write site instruction signal, the input of the N07 circuit 312 is the second bit WP2 of the write site instruction signal, and the input of the N07 circuit 313 is the write site instruction signal. The third bit WP3 of the part instruction signal is connected to the input of the N07 circuit 314, and the fourth bit WP4 of the write part instruction signal is connected to the input of the N07 circuit 314, respectively.
前記OR回路321の4つの入力には、前記書込み部位
指示信号WPI〜WP4が接続され、該OR回路321
の出力信号Bは前記AND回路331〜334の、それ
ぞれの一方の入力に接続されている。前記AND回路3
31の他方の入力は前記N07回路311の出力に、前
記AND回路332の他方の入力は前記N07回路31
2の出力に、前記AND回路333の他方の入力は前記
N07回路313の出力に、前記AND回路334の他
方の入力は前記N07回路314の出力にそれぞれ接続
されている。また、前記AND回路331の出力は前記
バスドライバ345の出力制御端子に、前記AND回路
332の出力は前記バスドライバ346の出力制御端子
に、前記AND回路333の出力は前記バスドライバ3
47の出力制御端子に、前記AND回路334の出力は
前記バスドライバ348の出力制御端子にそれぞれ接続
されている。The four inputs of the OR circuit 321 are connected to the write site instruction signals WPI to WP4, and the OR circuit 321
The output signal B is connected to one input of each of the AND circuits 331 to 334. The AND circuit 3
The other input of the AND circuit 332 is the output of the N07 circuit 311, and the other input of the AND circuit 332 is the output of the N07 circuit 311.
The other input of the AND circuit 333 is connected to the output of the N07 circuit 313, and the other input of the AND circuit 334 is connected to the output of the N07 circuit 314. Further, the output of the AND circuit 331 is connected to the output control terminal of the bus driver 345, the output of the AND circuit 332 is connected to the output control terminal of the bus driver 346, and the output of the AND circuit 333 is connected to the output control terminal of the bus driver 345.
The output of the AND circuit 334 is connected to the output control terminal of the bus driver 348, and the output of the AND circuit 334 is connected to the output control terminal of the bus driver 348.
前記バスドライバ341の出力制御端子には前記書込み
部位指示信号の第1ビツトWPIが、前記バスドライバ
342の出力制御端子には前記書込み部位指示信号の第
2ビツトWP2が、前記バスドライバ343の出力制御
端子には前記書込み部位指示信号の第3ピツ)WF2が
、前記バスドライバ344の出力制御端子には前記書込
み部位指示信号の第4ビツトWP4がそれぞれ接続され
ている。The output control terminal of the bus driver 341 receives the first bit WPI of the write location instruction signal, the output control terminal of the bus driver 342 receives the second bit WP2 of the write location instruction signal, and the output of the bus driver 343 receives the first bit WPI of the write location instruction signal. The third bit WF2 of the write site instruction signal is connected to the control terminal, and the fourth bit WP4 of the write site instruction signal is connected to the output control terminal of the bus driver 344.
前記バスドライバ341の入力には前記中央処理装置1
から出力される書込みデータの第1の4ビツトWD1が
、前記バスドライバ342の入力には前記書込みデータ
の第2の4ビツトWD2が、前記バスドライバ343の
入力には前記書込みデータの第3の4ビツトWD3が、
前記バスドライバ344の入力には前記書込みデータの
第4の4ビツトWD4がそれぞれ接続されている。前記
バスドライバ341〜344の出力信号WTDI〜WT
D4は前記バッファ記憶装置100に接続されると共に
、前記主記憶装置2に書込みデータとして人力される。The input of the bus driver 341 includes the central processing unit 1.
The first 4 bits WD1 of the write data output from the bus driver 342 are input to the bus driver 342, and the third 4 bits WD2 of the write data are input to the input of the bus driver 343. 4-bit WD3 is
The fourth 4-bit WD4 of the write data is connected to the input of the bus driver 344, respectively. Output signals WTDI to WT of the bus drivers 341 to 344
D4 is connected to the buffer storage device 100 and is manually input to the main storage device 2 as write data.
前記バスドライバ345の入力には前記バッファ記憶装
置100から出力される保持データの第1の4ビツトM
DIが、前記バスドライバ346の入力には前記保持デ
ータの第2の4ビツトMD2が、前記バスドライバ34
7の入力には前記保持データの第3の4ビツトMD3が
、前記バスドライバ348の入力には前記保持データの
第4の4ビツトMD4がそれぞれ接続されている。また
、前記バスドライ、バ345の出力の4ビツトは前記バ
スドライバ341の出力の4ビツトに、前記バスドライ
バ346の出力の4ビツトは前記バスドライバ342の
出力の4ビツトに、前記バスドライバ347の出力の4
ビツトは前記バスドライバ343の出力の4ビツトに、
前記バスドライバ348の出力の4ビツトは前記バスド
ライバ344の出力の4ビツトにそれぞれ対応して接続
されている。The input of the bus driver 345 receives the first four bits M of the held data output from the buffer storage device 100.
DI is input to the bus driver 346, and the second 4-bit MD2 of the held data is input to the bus driver 346.
The third 4-bit MD3 of the held data is connected to the input of the bus driver 348, and the fourth 4-bit MD4 of the held data is connected to the input of the bus driver 348. Further, 4 bits of the output of the bus driver 345 are connected to 4 bits of the output of the bus driver 341, 4 bits of the output of the bus driver 346 are connected to 4 bits of the output of the bus driver 342, and 4 bits of the output of the bus driver 347 are connected to the 4 bits of the output of the bus driver 345. 4 of the output of
The bits are 4 bits of the output of the bus driver 343,
The four bits of the output of the bus driver 348 are connected to the four bits of the output of the bus driver 344, respectively.
前記書込みデータ編集部300では、前記中央処理装置
1から入力した書込み部位指示信号wP1〜WP4の、
論理“1”であるビットに対応した前記バスドライバ3
41〜344のいずれかを介して、前記中央処理装置1
から入力した書込みデータWDI〜WD4を前記主記憶
装置2に出力する。また、前記書込み部位指示信号WP
I〜WP4の論理″0#であるビットに対応した前記バ
スドライバ345〜348のいずれかを介して前記バッ
ファ記憶装置100の保持データMDI〜MD4を前記
主記憶装置2に出力する。The write data editing section 300 processes the write part instruction signals wP1 to WP4 input from the central processing unit 1.
The bus driver 3 corresponds to the bit that is logic “1”
The central processing unit 1 via any one of 41 to 344
The write data WDI to WD4 inputted from the main storage device 2 are output to the main storage device 2. Further, the writing site instruction signal WP
The data MDI to MD4 held in the buffer storage device 100 is output to the main storage device 2 via one of the bus drivers 345 to 348 corresponding to the bit of logic "0#" of I to WP4.
また、前記中央処理装置1から出力される書込みデータ
WD1〜WD4を格納するメモリのアドレスを示すアド
レス信号ADは前記主記憶装置2に接続されると共に、
前記バッファ記憶装置100に接続されている。Further, an address signal AD indicating the address of a memory storing write data WD1 to WD4 outputted from the central processing unit 1 is connected to the main storage device 2, and
It is connected to the buffer storage device 100 .
次に、本実施例の動作を第2図に示すデータの一例に基
づいて説明する。Next, the operation of this embodiment will be explained based on an example of data shown in FIG.
前記中央処理装置1が前記主記憶装置2の所定アドレス
のメモリに格納されているデータの上位バイトのデータ
を、AB (16進数)に書換えるパーシャルライトを
行う場合には、前記書込みデータの第1の4ビツトWD
1にはA(16進数)が、第2の4ビツトWD2にはB
(16進数)が、第3及び第4の4ビットWD3.WD
4には不定データがそれぞれ出力される。また、前記書
込み部位指示信号の第1ビツトWPI及び第2ビツトW
P2には論理“1”の信号が、第3ビツトWP3及び第
4ビツトWP4には論理′0″の信号がそれぞれ出力さ
れる。このとき、主記憶装置2及びバッファ記憶装置1
00の該当アドレスのメモリに1234 (16進数)
のデータが格納されていたとすると、該バッファ記憶装
置100から出力されるヒツト信号HTは論理′1′″
になる。これにより、書込み部位指示変換部200から
主記憶装置2に出力される書込み部位指示信号WSI〜
WS4は4ビット共に論理“1”になり、フルライト指
示に変換されて出力される。When the central processing unit 1 performs a partial write to rewrite the upper byte of data stored in the memory at a predetermined address of the main storage device 2 to AB (hexadecimal), the 1 4-bit WD
1 has A (hexadecimal number), second 4-bit WD2 has B
(hexadecimal number) is the third and fourth 4-bit WD3. W.D.
Indeterminate data is output to 4, respectively. Further, the first bit WPI and the second bit W of the write site instruction signal
A logic "1" signal is output to P2, and a logic "0" signal is output to the third bit WP3 and fourth bit WP4.At this time, the main memory device 2 and the buffer memory device 1
1234 (hexadecimal) in the memory at the corresponding address of 00
, the hit signal HT output from the buffer storage device 100 is a logic '1'''.
become. As a result, the write site instruction signal WSI~ is output from the write site instruction converter 200 to the main storage device 2.
All four bits of WS4 become logic "1", which is converted into a full write instruction and output.
前記書込みデータ編集部300は前記バッファ記憶装置
100から保持データの第1の4ビットMDIとして1
(16進数)を、第2の4ビットMD2として2(16
進数)を、第3の4ビットMD3として3(16進数)
を、第4の4ビットMD4として4(16進数)をそれ
ぞれ入力する。The write data editing unit 300 extracts 1 as the first 4-bit MDI of the retained data from the buffer storage device 100.
(hexadecimal number) as the second 4-bit MD2 2 (16
3 (hexadecimal) as the third 4-bit MD3
and input 4 (hexadecimal number) as the fourth 4-bit MD4.
これにより、OR回路321の出力信号Bが論理a1”
になると共に、前記バスドライバ341゜342のそれ
ぞれを介して、前記中央処理装置1から出力された書込
みデータの上位バイト、即ち書込みデータの第1の4ビ
ツトWDIと第2の4ピツ)WD2が、前記主記憶装置
2及びバッファ記憶装置100に出力される。このとき
、バスドライ/<343.344の出力はハイインピー
ダンスになっている。As a result, the output signal B of the OR circuit 321 becomes the logic a1''
At the same time, through each of the bus drivers 341 and 342, the upper bytes of the write data output from the central processing unit 1, that is, the first 4 bits WDI and the second 4 bits WD2 of the write data are , is output to the main storage device 2 and the buffer storage device 100. At this time, the output of the bus driver/<343.344 is in high impedance.
前記AND回路331〜334のそれぞれの一方の入力
信号Bは論理“1°であり、他方の入力信号は、前記書
込み部位指示信号WPI〜WP4が前記NOT回路31
1〜314により反転した信号である。従って、AND
回路331.332の出力信号は論理“0”になり、A
ND回路333.334の出力信号は論理“1”になる
。これにより、バスドライバ347,348のそれぞれ
を介して、前記バッファ記憶装置100から出力された
保持データの下位バイト、即ち保持データの第3の4ビ
ットMD3と第4の4ビットMD4が前記主記憶装置2
及びバッファ記憶装置100に出力される。このとき、
バスドライバ331゜332の出力はハイインピーダン
スになっている。One input signal B of each of the AND circuits 331 to 334 has a logic of "1 degree," and the other input signal indicates that the write site instruction signals WPI to WP4 correspond to the NOT circuit 31.
This is a signal inverted by 1 to 314. Therefore, AND
The output signals of circuits 331 and 332 become logic “0” and A
The output signals of the ND circuits 333 and 334 become logic "1". As a result, the lower bytes of the held data output from the buffer storage device 100, that is, the third 4 bits MD3 and the fourth 4 bits MD4 of the held data, are transferred to the main memory via the bus drivers 347 and 348, respectively. Device 2
and is output to the buffer storage device 100. At this time,
The outputs of the bus drivers 331 and 332 are high impedance.
従って、前記書込みデータ編集部300から前記主記憶
装置2に出力される書込みデータの第1の4ビツトWT
DIはA(16進数)になり、第2の4ビツトWTD2
はB(16進数)になり、第3の4ビツトWTD3は3
(16進数)になり、第4の4ビツトWTD4は4(1
6進数)になる。Therefore, the first 4 bits WT of the write data output from the write data editing section 300 to the main storage device 2
DI becomes A (hexadecimal number) and the second 4-bit WTD2
becomes B (hexadecimal), and the third 4-bit WTD3 becomes 3
(hexadecimal number), and the fourth 4-bit WTD4 is 4 (1
Hexadecimal).
また、書込みデータWTDI〜WTD4は前記主記憶装
置2のメモリに書込まれると共に、前記バッファ記憶装
置100のメモリにも書込まれる。Further, the write data WTDI to WTD4 are written to the memory of the main storage device 2 and also written to the memory of the buffer storage device 100.
これにより、バッファ記憶装置100のメモリに格納さ
れているデータも更新される。As a result, the data stored in the memory of the buffer storage device 100 is also updated.
このようにして、主記憶装置2は、フルライト指示を受
けたことになり、入力した書込みデータWTDI〜WT
D4に検査ビットを付加してメモリに書込む処理を行う
だけでよいことになる。In this way, the main storage device 2 has received the full write instruction, and the input write data WTDI to WT
All that is required is to add a check bit to D4 and write it into memory.
尚、本実施例では、記憶部をバッファ記憶装置を用いて
構成したが、バッファ記憶装置とは別に記憶部を構成し
ても同様の効果は得られる。In this embodiment, the storage section is configured using a buffer storage device, but the same effect can be obtained even if the storage section is configured separately from the buffer storage device.
(発明の効果)
以上説明したように本発明によれば、主記憶装置に格納
されているデータの、少なくともその一部と同じデータ
を該主記憶装置内のアドレスと同じアドレスに格納して
いるメモリを含み、指示されたアドレスのメモリにデー
タが格納されているか否かを示すヒツト信号を出力する
記憶部と、前記主記憶装置のデータ書込み単位内の書込
み部分を指示する書込み部位指示を入力し、前記ヒツト
信号に基づいて前記メモリにデータが格納されていると
きは、該書込み部位指示を前記データ書込み単位の全て
の部分を指示する全部位指示に変換して前記主記憶装置
に出力し、前記メモリにデータが格納されていないとき
は、前記書込み部位指示を前記主記憶装置に出力する書
込み部位指示変換部と、前記書込み部位指示と該書込み
部位指示に対応した書込みデータとを入力し、該書込み
データと指示されたアドレスに対応した前記記憶部のメ
モリに格納されているデータとから前記データ書込み単
位のデータを編集して前記主記憶装置に出力する書込み
データ編集部とからメモリデータ書込み高速化装置を構
成したので、部位指定書込みが可能な主記憶装置に対し
て、部位指示によるデータ書込みを行う場合に、指示さ
れたアドレスに対応した前記記憶部のメモリにデータが
格納されているときは、前記主記憶装置に対する書込み
部位指示は全部位指示に変換されると共に、該全部位指
示に対応した書込みデータが編集されて前記主記憶装置
に出力される。このため、主記憶装置では書込み処理時
間のかからない全部位指示によるデータ書込みが行なわ
れ、該主記憶装置へのデータ書込み時間を短縮すること
ができるという利点を有する。(Effects of the Invention) As explained above, according to the present invention, data that is the same as at least a part of the data stored in the main memory is stored at the same address as the address in the main memory. A storage unit that includes a memory and outputs a hit signal indicating whether data is stored in the memory at a designated address, and inputs a write location instruction that designates a write portion within a data write unit of the main storage device. When data is stored in the memory based on the hit signal, the write part instruction is converted into an all part instruction that specifies all parts of the data write unit and output to the main storage device. , when no data is stored in the memory, a write site instruction converter outputs the write site instruction to the main storage device, and inputs the write site instruction and write data corresponding to the write site instruction. , a write data editing unit that edits the data in the data write unit from the write data and the data stored in the memory of the storage unit corresponding to the designated address, and outputs the edited data to the main storage device; Since the write speed-up device is configured, when data is written by specifying a part to a main storage device that allows part-specified writing, the data is stored in the memory of the storage unit corresponding to the specified address. When the write part instruction for the main storage device is converted into an all-part instruction, the write data corresponding to the all-part instruction is edited and output to the main storage device. Therefore, data is written in the main memory by specifying all parts, which requires no write processing time, and there is an advantage that the time required to write data to the main memory can be shortened.
第1図は本発明の一実施例を示す構成図、第2図はデー
タの一例を示す図である。
1・・・中央処理装置、2・・・主記憶装置、3・・・
メモリデータ書込み高速化装置、100・・・バッファ
記憶装置(記憶部)、200・・・書込み部位指示変換
部、211・・・OR回路、221・・・AND回路、
231〜234・・・OR回路、300・・・書込みデ
ータ編集部、311・・・314・・・NOT回路、3
21・・・OR回路、33〜334・・・AND回路、
341〜348・・・トライステートバスドライバ。
特許出願人 沖電気工業株式会社代理人 弁理士
吉 1)精 孝
テ―りの一イラ11Σホ1図
第2WJFIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a diagram showing an example of data. 1...Central processing unit, 2...Main storage device, 3...
Memory data write acceleration device, 100... Buffer storage device (storage unit), 200... Write site instruction conversion unit, 211... OR circuit, 221... AND circuit,
231-234...OR circuit, 300...Write data editing section, 311...314...NOT circuit, 3
21...OR circuit, 33-334...AND circuit,
341-348... Tri-state bus driver. Patent Applicant Oki Electric Industry Co., Ltd. Agent Patent Attorney Yoshi 1) Sei Takashi Ira 11ΣHo 1 Figure 2 WJ
Claims (1)
一部と同じデータを該主記憶装置内のアドレスと同じア
ドレスに格納しているメモリを含み、指示されたアドレ
スのメモリにデータが格納されているか否かを示すヒッ
ト信号を出力する記憶部と、 前記主記憶装置のデータ書込み単位内の書込み部分を指
示する書込み部位指示を入力し、前記ヒット信号に基づ
いて前記メモリにデータが格納されているときは、該書
込み部位指示を前記データ書込み単位の全ての部分を指
示する全部位指示に変換して前記主記憶装置に出力し、
前記メモリにデータが格納されていないときは、前記書
込み部位指示を前記主記憶装置に出力する書込み部位指
示変換部と、 前記書込み部位指示と該書込み部位指示に対応した書込
みデータとを入力し、該書込みデータと指示されたアド
レスに対応した前記記憶部のメモリに格納されているデ
ータとから前記データ書込み単位のデータを編集して前
記主記憶装置に出力する書込みデータ編集部とからなる ことを特徴とするメモリデータ書込み高速化装置。[Scope of Claims] A memory at a specified address, including a memory storing at least part of the same data stored in a main memory at the same address as the address in the main memory. a storage unit that outputs a hit signal indicating whether or not data is stored in the main storage device; and a storage unit that inputs a write location instruction that designates a write portion in a data write unit of the main storage device, and inputs a write location instruction that specifies a write portion in a data write unit of the main storage device, and stores the data in the memory based on the hit signal. when data is stored in the data write unit, converting the write part instruction into an all part instruction indicating all parts of the data write unit and outputting it to the main storage device;
When no data is stored in the memory, a write site instruction converter outputs the write site instruction to the main storage device; inputs the write site instruction and write data corresponding to the write site instruction; and a write data editing unit that edits the data in the data write unit from the write data and the data stored in the memory of the storage unit corresponding to the designated address, and outputs the edited data to the main storage device. Features a memory data writing speed-up device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63173891A JPH0224749A (en) | 1988-07-14 | 1988-07-14 | Memory data writing accelerating device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63173891A JPH0224749A (en) | 1988-07-14 | 1988-07-14 | Memory data writing accelerating device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0224749A true JPH0224749A (en) | 1990-01-26 |
Family
ID=15969020
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63173891A Pending JPH0224749A (en) | 1988-07-14 | 1988-07-14 | Memory data writing accelerating device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0224749A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS522247A (en) * | 1975-06-24 | 1977-01-08 | Hitachi Ltd | Data processing apparatus |
-
1988
- 1988-07-14 JP JP63173891A patent/JPH0224749A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS522247A (en) * | 1975-06-24 | 1977-01-08 | Hitachi Ltd | Data processing apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2590897B2 (en) | Semiconductor memory | |
| EP0361808B1 (en) | Modular test structure for single chip digital exchange controller | |
| JPH0224749A (en) | Memory data writing accelerating device | |
| JPS6236257B2 (en) | ||
| JPS6086631A (en) | Scan-in system | |
| JPS58211232A (en) | Microcomputer output circuit | |
| US4745581A (en) | LSI system of a structure requiring no additional address signals to incorporate additional status registers into the system | |
| KR940007479Y1 (en) | Data transfer circuit between multiple processors | |
| JPS5821299B2 (en) | memory | |
| JP3480963B2 (en) | DMA transfer system | |
| JPS6121528A (en) | Code converting system | |
| SU1243031A1 (en) | Device for dynamic distributing of memory | |
| JPH03191450A (en) | Defective chip substituting circuit for memory card | |
| JPS62173557A (en) | Microprocessor | |
| JPH0760408B2 (en) | Data processing device | |
| JPH02166835A (en) | Data format conversion circuit | |
| JPH01144140A (en) | Allocation system for memory board | |
| JPH0444286B2 (en) | ||
| JPS61259353A (en) | Data storage device | |
| JPS59221746A (en) | Microcomputer | |
| JP2000235788A (en) | Semiconductor storage device | |
| JPS6398046A (en) | Memory controller | |
| JPH10301797A (en) | System for writing parity bit | |
| JPS62209639A (en) | Memory modifier light circuit | |
| JPS62160531A (en) | Arithmetic unit of single chip microcomputer |