JPH0363850A - Store system - Google Patents
Store systemInfo
- Publication number
- JPH0363850A JPH0363850A JP1201724A JP20172489A JPH0363850A JP H0363850 A JPH0363850 A JP H0363850A JP 1201724 A JP1201724 A JP 1201724A JP 20172489 A JP20172489 A JP 20172489A JP H0363850 A JPH0363850 A JP H0363850A
- Authority
- JP
- Japan
- Prior art keywords
- data
- array
- signal line
- store
- detection circuit
- 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
- 238000001514 detection method Methods 0.000 claims abstract description 16
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 8
- 238000003786 synthesis reaction Methods 0.000 claims abstract description 8
- 238000000034 method Methods 0.000 claims description 12
- 230000010365 information processing Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
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 storage method for an information processing device, and more particularly to a storage method for an information processing device that includes a data array that can be specified for writing in arbitrary bit units.
従来の情報処理装置のストア方式では、第1のサイクル
でキャツシュビットの判定とデータアレイの内容の読み
出しとを行ない、っぎの第2のサイクルでデータアレイ
の読み出しデータとストアデータとの合成を行ない、合
成データをデータアレイに書き込む方式を行なってきた
。In the storage method of conventional information processing devices, the first cycle determines the cash bit and reads the contents of the data array, and the second cycle combines the read data from the data array with the stored data. A method has been used in which synthetic data is written into a data array.
上述した従来のストア方式では、1回のストア要求のた
めに第1のサイクルでデータアレイの読み出しを行ない
、第2のサイクルで合成されたデータのデータアレイへ
の書き込みを行なうので、2サイクルの間データアレイ
を占有する必要があり、後続するリクエストの処理が待
たされるという欠点がある。In the conventional store method described above, the data array is read in the first cycle for one store request, and the synthesized data is written to the data array in the second cycle, so it takes two cycles. This method has the disadvantage that the data array must be occupied for a while, and subsequent requests must be processed.
本発明のストア方式は、任意のビット単位に書き込み指
定が可能で主記憶データの写しを記憶するデータアレイ
と、前記データアレイの内容と主記憶の内容とを対応付
けるアドレスアレイと、前記アドレスアレイの読み出し
データのビットを判定する検出回路と、ストアデータの
主記憶への書き込み位置を示す書き込み位置データと前
記検出回路の出力とに従って、前記データアレイからの
読み出しデータとストアデータとをビット単位で選択し
て出力するデータ合成回路を備えて構成される。The storage method of the present invention includes: a data array that can be specified for writing in arbitrary bit units and stores a copy of main memory data; an address array that associates the contents of the data array with the contents of the main memory; Selecting read data and store data from the data array in bit units according to a detection circuit that determines bits of read data, write position data indicating a write position of store data to main memory, and the output of the detection circuit. and a data synthesis circuit that outputs the data.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明によるストア方式の一実施例の構成を示
すブロック図である。第1図において10.20.30
はそれぞれレジスタ、40はアドレスアレイ、50はデ
ータアレイ、60は検出回路、70はデータ合成回路で
ある。FIG. 1 is a block diagram showing the configuration of an embodiment of a store method according to the present invention. 10.20.30 in Figure 1
are registers, 40 is an address array, 50 is a data array, 60 is a detection circuit, and 70 is a data synthesis circuit.
アドレスレジスタ10は、ストア要求のアドレスを受け
て保持し、アドレスアレイ40は、信号線101で示さ
れる要求アドレスの一部を記憶することにより、アドレ
スレジスタ10との間の対応を管理する。検出回路60
は、アドレスアレイ40の内容とリクエストアドレスと
を比較し、両者が一致したときには論理“1”を出力す
る。なお、信号線601上の論理値が“1″のときには
キャツシュビットが発生する。データレジスタ20は、
ストア要求のデータを保持し、データアレイ50はアド
レスレジスタ10によってアドレスアレイ40のアドレ
ス値が決定されるのと同時に索引され、信号線501上
に読み出しデータが送出される。The address register 10 receives and holds the address of a store request, and the address array 40 manages correspondence with the address register 10 by storing a part of the requested address indicated by the signal line 101. Detection circuit 60
compares the contents of the address array 40 and the request address, and outputs a logic "1" when the two match. Note that a cash bit is generated when the logical value on the signal line 601 is "1". The data register 20 is
The data array 50 holds the data of the store request, is indexed at the same time as the address value of the address array 40 is determined by the address register 10, and read data is sent out on the signal line 501.
マスクレジスタ30は、ストアデータを主記憶(図示し
ていない〉へ書き込む位置を示すマスクデータを保持す
る。データ合成回路70は、検出回路60から信号線6
01上への出力が論理1”でかつマスクレジスタ30か
ら信号線301上への出力が論理“0”のとき、信号線
501上の読み出しデータをビット単位で選択し、信号
線601上の論理値が“O”のとき又は信号線301上
の論理値が“1″のときは、信号線201上のストアデ
ータをビット単位で選択し、信号線701上に出力する
。又、データアレイ50は信号線601上の論理値が“
1″のとき、信号線301上の論理値が、“1”のビッ
トに対応する信号線201上のストアデータの書き込み
を行なう。The mask register 30 holds mask data indicating the position where store data is written to main memory (not shown).The data synthesis circuit 70 connects the signal line 6 from the detection circuit 60
When the output on the signal line 601 is logic 1 and the output from the mask register 30 on the signal line 301 is logic 0, the read data on the signal line 501 is selected bit by bit, and the logic on the signal line 601 is selected. When the value is "O" or when the logical value on the signal line 301 is "1", the store data on the signal line 201 is selected bit by bit and output on the signal line 701. The logical value on the signal line 601 is “
1'', the logical value on the signal line 301 writes the store data on the signal line 201 corresponding to the bit of “1”.
次に、以上の構成を持つ実施例の動作について説明する
。ここで本実施例の動作としては、8バイトのストアデ
ータに対するストア方式について述べる。Next, the operation of the embodiment having the above configuration will be explained. Here, as the operation of this embodiment, a store method for 8-byte store data will be described.
いま、主記憶への書き込み位置をバイト0゜1.2とす
ると、マスクレジスタ30には論理値“1110000
0″が保持される0次に、信号線102で示されるアド
レスによってアドレスアレイ40は索引され、検出回路
60で信号線101で示される要求アドレスの一部と比
較が行なわれる。Now, assuming that the writing position to the main memory is byte 0°1.2, the mask register 30 has a logical value “1110000”.
Next, the address array 40 is indexed by the address indicated by the signal line 102, and the detection circuit 60 compares it with a portion of the requested address indicated by the signal line 101.
検出回路60の出力である信号線601上の論理値が“
1”の場合、データアレイ50は、信号線301上の論
理値“11100000″に従いバイト0,1.2にお
いて信号線201上のストアデータの書き込みを行なう
、そして、バイト3〜7においては、データアレイの内
容の読み出しを同時に行ない、信号線501上に読み出
しデータを送出する。データ合成回路70は、信号線3
01上の論理値“1110.0000” G:従い、バ
イト0.1.2において信号線201上のストアデータ
を選択し、バイト3〜7においては信号線501上の読
み出しデータを選択し出力する。The logic value on the signal line 601 which is the output of the detection circuit 60 is “
1”, the data array 50 writes the store data on the signal line 201 in bytes 0, 1.2 according to the logical value “11100000” on the signal line 301, and in bytes 3 to 7, the data array 50 writes the store data on the signal line 201 in bytes 0 and 1.2. The contents of the array are simultaneously read and the read data is sent out on the signal line 501.
Logical value “1110.0000” on 01 G: Therefore, in byte 0.1.2, store data on signal line 201 is selected, and in bytes 3 to 7, read data on signal line 501 is selected and output. .
又、検出回路60の出力が論理“O”の場合、データア
レイ50は、全てのバイトにおいてデータアレイ50の
内容の読み出しのみを行ない信号線501上に読み出し
データを送出する。データ合成回路70は、検出回路6
0の出力である信号線601上の論理値が“0″である
ため、全てのバイトにおいて信号線201上のストアデ
ータを選択し出力する。Further, when the output of the detection circuit 60 is logic "O", the data array 50 only reads the contents of the data array 50 in all bytes and sends the read data onto the signal line 501. The data synthesis circuit 70 includes the detection circuit 6
Since the logical value on the signal line 601, which is an output of 0, is "0", the store data on the signal line 201 is selected and output in all bytes.
以上説明したように本発明は、ビット単位に書き込み指
定が可能であるデータアレイを有するストア方式により
、同一サイクルでデータアレイの読み出しとストアデー
タの書き込みを行なうことができ、ストア要求に対する
データアレイ上の処理を高速にすることができるという
効果がある。As explained above, the present invention uses a store method that has a data array that can be specified for writing bit by bit, so that it is possible to read the data array and write store data in the same cycle. This has the effect of speeding up the processing.
第1図は本発明によるストア方式の一実施例の構成を示
すブロック図である。
10・・・アドレスレジスタ、20・・・データレジス
タ、30・・・マスクレジスタ、40・・・アドレスア
レイ、50・・・データアレイ、60・・・検出回路、
70・・・データ合成回路。FIG. 1 is a block diagram showing the configuration of an embodiment of a store method according to the present invention. DESCRIPTION OF SYMBOLS 10... Address register, 20... Data register, 30... Mask register, 40... Address array, 50... Data array, 60... Detection circuit,
70...Data synthesis circuit.
Claims (1)
タの写しを記憶するデータアレイと、前記データアレイ
の内容と主記憶の内容とを対応付けるアドレスアレイと
、前記アドレスアレイの読み出しデータのビットを判定
する検出回路と、ストアデータの主記憶への書き込み位
置を示す書き込み位置データと前記検出回路の出力とに
従って、前記データアレイからの読み出しデータとスト
アデータとをビット単位で選択して出力するデータ合成
回路を備えて成ることを特徴とするストア方式。A data array that can be specified for writing in arbitrary bit units and stores a copy of main memory data, an address array that associates the contents of the data array with the contents of the main memory, and a bit of read data from the address array is determined. a data synthesis circuit that selects and outputs read data and store data from the data array bit by bit according to a detection circuit, write position data indicating a write position of store data to main memory, and an output of the detection circuit; A store method characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1201724A JPH0363850A (en) | 1989-08-02 | 1989-08-02 | Store system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1201724A JPH0363850A (en) | 1989-08-02 | 1989-08-02 | Store system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0363850A true JPH0363850A (en) | 1991-03-19 |
Family
ID=16445883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1201724A Pending JPH0363850A (en) | 1989-08-02 | 1989-08-02 | Store system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0363850A (en) |
-
1989
- 1989-08-02 JP JP1201724A patent/JPH0363850A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0363850A (en) | Store system | |
JPS6113633B2 (en) | ||
JP2699482B2 (en) | Data transfer control device | |
JPS62118457A (en) | Buffer memory control system | |
JPH0373040A (en) | Cache memory | |
JP2703255B2 (en) | Cache memory writing device | |
JP3047992B2 (en) | Main memory key control method | |
JPH06301600A (en) | Storage device | |
JPH03116345A (en) | Data processor | |
JPH06103026A (en) | Memory system | |
JP2000285019A (en) | Cache control circuit | |
JPH02176839A (en) | Information processor | |
JPS62274349A (en) | Data processing system | |
JPH02259945A (en) | Storing processing system | |
JPH04293136A (en) | Cache control system | |
JPH0375850A (en) | Memory access processor | |
JPH06337815A (en) | Data processor | |
JPS63103342A (en) | Main memory controller | |
JPH04264640A (en) | Buffer storage device | |
JPH04125747A (en) | Cache memory control device | |
JPH0256650A (en) | Memory device | |
JPS58196681A (en) | Address converting system for virtual machine system | |
JP2000181797A (en) | Device cache control system | |
JPS61296438A (en) | Data parity storing system | |
JPH0460729A (en) | Information processor |