JPH0325785A - Memory device - Google Patents

Memory device

Info

Publication number
JPH0325785A
JPH0325785A JP1160458A JP16045889A JPH0325785A JP H0325785 A JPH0325785 A JP H0325785A JP 1160458 A JP1160458 A JP 1160458A JP 16045889 A JP16045889 A JP 16045889A JP H0325785 A JPH0325785 A JP H0325785A
Authority
JP
Japan
Prior art keywords
address
storage element
row address
access
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
Application number
JP1160458A
Other languages
Japanese (ja)
Inventor
Takashi Yokota
隆史 横田
Kazuo Seo
瀬尾 和男
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1160458A priority Critical patent/JPH0325785A/en
Publication of JPH0325785A publication Critical patent/JPH0325785A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To delete a fast storage element and to effectively use a storage element large in capacity and low in speed by comparing the present input address with its history register by a comparison means, and controlling the storage element based on a comparison result. CONSTITUTION:When an access control signal 1 and address input 2 are supplied and access is started, a preceding row address 9a in a register 9 is compared with a present row address 2a in the input 2 at a comparator 7. When noncoincidence between the addresses 2a and 9a is obtained, the comparator 7 outputs (noncoincidence), and precharges a DRAM 6, and returns the row address 2a and a column address 2b sequentially, and performs prescribed access according to the signal 1. At this time, a control circuit 8 applies the optimum control on the storage element 6, and deletes the fast storage element. The large amount of storage is performed by arranging the memory devices in parallel, and also, memory capacity can be set and changed freely, which attains the effective use of the storage element with low speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は過去の履歴によって記憶素子に対する適切な
読出し・書込みの制御を行なうことのできる記憶装置に
関するものである. [従来の技術] 大容量ではあるが、低速な記憶素子を効率的に使用する
ために、小容量・高速な記憶素子を利用する記憶装置が
提案されている。第4図は例えばrMc68020ユー
ザーズ マニュアルJ  (CQ出版社,昭和62年6
月1日)89ページに示された従来の記憶装置のブロッ
ク図を簡略化したものであり、1はアクセス制御信号、
2は番地入力、3はデータ線、4は記憶装置の内容の一
部を持つデータメモリ、5はデータメモリ4に対応した
記憶番地を保持するタグメモリ、7は現在の番地人力2
とタグメモリ5の内容とを比較する比較回路、8は記憶
素子6,タグメモリ5,データメモリ4の制御をする制
御回路、6は記憶素子である. 本従来装置は外部から与えられるアクセス制御信号l.
番地人力2に基づいて動作し、データ線3を通じてデー
タのやりとりをする。アクセス制御信号1によって動作
を開始されると、番地人力2とタグメモリ5の内容とが
比較回路7によって比較される.比較回路7が一致を示
し、記憶素子6の内容のうち番地人力2に対応するデー
タがデータメモリ4にすでにコピーされているならば、
記憶装置はこのデータメモリ4に対して読出しまたは書
込みの動作を行ない、記憶素子6に対しては何も操作し
ない。また、比較回路7が不一致を示すならば、記憶素
子6の内容のうち番地人力2に対応するデータはまだデ
ータメモリ4に記憶されていないので、制御回路8は記
憶素子6に対して番地出力10,制御出力11を出力す
ることにより、アクセス制御信号1に従った読出し・書
込みの動作を行ない、同時にこのデータを記憶すべく、
タグメモリ5とデータメモリ4を更新する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] This invention relates to a storage device that can appropriately control reading and writing to a storage element based on past history. [Prior Art] In order to efficiently use large-capacity, low-speed memory elements, storage devices that utilize small-capacity, high-speed memory elements have been proposed. Figure 4 shows, for example, rMc68020 User's Manual J (CQ Publishing, June 1986).
This is a simplified block diagram of a conventional storage device shown on page 89 (Monday 1st), where 1 is an access control signal,
2 is an address input, 3 is a data line, 4 is a data memory that holds part of the contents of the storage device, 5 is a tag memory that holds a storage address corresponding to the data memory 4, and 7 is a current address input 2
8 is a control circuit that controls the storage element 6, the tag memory 5, and the data memory 4, and 6 is a storage element. This conventional device uses an access control signal l.
It operates based on address information 2 and exchanges data through data line 3. When the operation is started by the access control signal 1, the address input 2 and the contents of the tag memory 5 are compared by the comparison circuit 7. If the comparison circuit 7 indicates a match and the data corresponding to address 2 among the contents of the storage element 6 has already been copied to the data memory 4, then
The storage device performs a read or write operation on this data memory 4, but does not perform any operation on the storage element 6. Further, if the comparison circuit 7 indicates a mismatch, the data corresponding to the address 2 among the contents of the memory element 6 has not yet been stored in the data memory 4, so the control circuit 8 outputs the address to the memory element 6. 10. By outputting the control output 11, read/write operations are performed according to the access control signal 1, and at the same time, this data is stored.
Update tag memory 5 and data memory 4.

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

従来の記憶装置は上記のように高速なタグメモリとデー
タメモリを必要とし、部品点数が増えるという問題点が
あった。また、タグメモリ.データメモリを複数セット
持つ場合、相互間での矛盾の発生を防ぐ手段を付加する
必要があった。さらに、記憶素子を除く上記装置を1チ
ップの半導体素子にまとめる場合、素子の大きさ等の制
限からタグメモリとデータメモリの容量の十分な確保が
困難であるという問題があった。
As mentioned above, conventional storage devices require high-speed tag memory and data memory, which has the problem of increasing the number of parts. Also, tag memory. When having multiple sets of data memories, it was necessary to add a means to prevent conflicts between them. Furthermore, when the above-mentioned device excluding the memory element is combined into a single chip semiconductor element, there is a problem in that it is difficult to secure sufficient capacity for the tag memory and data memory due to limitations such as the size of the element.

この発明は上記のような問題点を解消するためになされ
たもので、従来の記憶装置で用いられていたタグメモリ
やデータメモリ等の高速記憶素子を削除できるとともに
、大容量・低速の記憶素子を効果的に使用できる記憶装
置を得ることを目的とする. 〔実施例〕 以下、この発明の一実施例を図について説明する. 第1図はこの発明の一実施例による記憶装置のブロック
図である。この図において1〜3.6,10.11は第
4図に示した従来装置と同一のものを示す。9は前回の
アクセスでの番地を保持する履歴レジスタ、7は履歴レ
ジスタ9の番地と現在の番地人力2との比較を行なう比
較回路、8はその比較結果に基づいて記憶素子6を制御
するための制御回路である.ここで記憶素子6は番地を
行・列の2回に分けて与えるダイナミック型の続出し・
書込み半導体メモリ(以下DRAMと略称)により構或
され、行番地が同一な場合、列番地のみの変更でアクセ
スできる高速アクセスモード(ベージモード)を持つも
のとする. 上記履歴レジスタ9は前回アクセスの行番地(前回行番
地)9aと、これが現在有効であることを示す有効ビッ
ト9bとにより構戒される.有効ビッl−9bは装置の
電源投入後、最初のアクセスが行われるまでに前回行番
地9ar無効」を示すように初期化する手段を有する.
番地人力2はその一部にDRAMの行番地になる或分(
現在行番地)2aと、列番地になる或分(現在列番地)
2bを含む。
This invention was made in order to solve the above-mentioned problems, and it is possible to eliminate high-speed storage elements such as tag memory and data memory used in conventional storage devices, and also to use large-capacity, low-speed storage elements. The purpose is to obtain a storage device that can be used effectively. [Example] An example of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a storage device according to an embodiment of the present invention. In this figure, numerals 1 to 3.6 and 10.11 are the same as the conventional device shown in FIG. Reference numeral 9 indicates a history register that holds the address from the previous access; 7 indicates a comparison circuit that compares the address of the history register 9 with the current address 2; and 8 indicates a control circuit for controlling the storage element 6 based on the comparison result. This is the control circuit. Here, the memory element 6 is a dynamic type successive memory that gives addresses twice in rows and columns.
It is composed of a writeable semiconductor memory (hereinafter abbreviated as DRAM), and has a high-speed access mode (page mode) that allows access by changing only the column address when the row address is the same. The history register 9 is checked by the row address of the previous access (previous row address) 9a and a valid bit 9b indicating that it is currently valid. The valid bit 1-9b has means for initializing it to indicate "previous row address 9ar invalid" after the device is powered on and before the first access is made.
Address number 2 is a part of the row address of DRAM (
Current row address) 2a and column address (current column address)
Contains 2b.

第2図は上記実施例による記憶装置の動作を示すフロー
チャートである。第3図は比較回路7の実現例を示す論
理回路図である。
FIG. 2 is a flowchart showing the operation of the storage device according to the above embodiment. FIG. 3 is a logic circuit diagram showing an example of implementation of the comparison circuit 7.

次に、本実施例による記憶装置の動作について説明する
。アクセス制御信号(アクセス指示信号)1と番地人力
2が与えられ、記憶装置に対するアクセスが開始される
と、履歴レジスタ9中の前回行番地9aと、番地人力2
中の現在行番地2aとが比較回路7により比較される。
Next, the operation of the storage device according to this embodiment will be explained. When access control signal (access instruction signal) 1 and address input 2 are given and access to the storage device is started, the previous row address 9a in the history register 9 and address input 2 are input.
The comparison circuit 7 compares the current row address 2a therein.

第3図からも示されるように、有効ビッl−9bが前回
行番地9aが無効であることを示すか、あるいは現在行
番地2aと前回行番地9aとが等しくない場合には、比
較回路7は「不一致」を出力する.一方、有効ビット9
bが前回行番地9a有効を示し、かつ前回行番地9aと
現在行番地2aとが等しいときには、比較回路7は「一
致jを出力する.比較結果7が「一致」を示したとき、
記憶素子6に対する行番地は前回のものと同一であり、
新たにこれを発行する必要はない.そこで、この場合は
列番地2bのみを発行することにより、DRAM6の高
速アクセスモードを用いて高速にアクセスを終了するこ
とができる。
As shown in FIG. 3, if the valid bit 1-9b indicates that the previous row address 9a is invalid, or if the current row address 2a and the previous row address 9a are not equal, the comparison circuit 7 outputs "no match". On the other hand, valid bit 9
When b indicates that the previous row address 9a is valid and the previous row address 9a and the current row address 2a are equal, the comparison circuit 7 outputs "match j". When the comparison result 7 shows "match",
The row address for memory element 6 is the same as the previous one,
There is no need to issue a new one. Therefore, in this case, by issuing only column address 2b, access can be completed quickly using the high-speed access mode of the DRAM 6.

比較結果が「不一致」のときには、DRAM6を一旦プ
リチャージ状態にしたのち、通常のアクセスと同様に行
番地2a,列番地2bを順に送り、アクセス制御信号1
に従った所定のアクセスを行なう。
If the comparison result is "mismatch", the DRAM 6 is once put into a precharge state, and the row address 2a and column address 2b are sequentially sent as in normal access, and the access control signal 1 is sent.
Perform the specified access according to the following.

このような本実施例では、大容量・低速の記憶素子を用
いた記憶装置において、過去のアクセス履歴を保持し、
素子に最適な制御を与えるように構威したため、高速な
記憶素子の追加なしに素子を高速・効率的に使用するこ
とができる。
In this embodiment, past access history is retained in a storage device using a large-capacity, low-speed storage element.
Since the device is structured to provide optimal control to the device, the device can be used quickly and efficiently without adding a high-speed memory device.

また、従来装置のようにデータをコピーする機能を持た
ないため、本記憶装置を並列に配するだけで複数セット
の記憶素子に対応でき、データメモリ相互間でのデータ
の矛盾の防止などのために従来装置で必要とされた複雑
な制御機構を不要にすることができる。
In addition, since it does not have the function of copying data like conventional devices, it can support multiple sets of storage elements simply by arranging this storage device in parallel. The complicated control mechanism required in conventional devices can be eliminated.

また同様に本記憶装置を必要数だけ接続することにより
、記憶容量を自由に設定・変更することができる。
Similarly, by connecting the required number of storage devices, the storage capacity can be freely set and changed.

なお、上記実施例では記憶素子6としてDRAMを用い
たものを示したが、本発明は他の形式の半導体メモリに
も適応可能であり、またディスク装置など他の形式の記
憶媒体を用いた記憶素子に適用することも可能である。
Although the above embodiment uses a DRAM as the storage element 6, the present invention is also applicable to other types of semiconductor memory, and can also be applied to storage using other types of storage media such as disk devices. It is also possible to apply it to elements.

また、上記実施例では記憶素子6に個別部品を用いるご
とくの表現をしているが、これはLSI化等の手段によ
り上記実施例の一部または全体を一−−′フの記憶素子
としてまとめることも可能である.さらに上記実施例で
は履歴レジスタ9,制御回路8,ならびに記憶素子6を
lセットずつ用いたものを示したが、これらを複数セッ
ト設けることも可能である。
Furthermore, in the above embodiment, the memory element 6 is expressed as using individual parts, but this means that a part or the whole of the above embodiment is assembled into a single memory element by means of LSI, etc. It is also possible. Further, in the above embodiment, l sets each of the history register 9, the control circuit 8, and the memory element 6 are used, but it is also possible to provide a plurality of sets of these.

〔発明の効果] 以上のように、この発明によれば、大容量・低速の記憶
素子を用いた記憶装置において、過去のアクセス履歴を
保持し、現在の入力番地とこの履歴レジスタの内容とを
比較することにより、素子に最適な制御を与えるように
構威したため、高速な記憶素子の追加なしに素子を高速
・効率的に使用できる効果がある. また、本発明による記憶装置を並列に配するだけで複数
セットの記憶素子に対応でき、データメモリ相互間での
データの矛盾の防止などのために従来装置で必要とされ
た複雑な制御機構を不要にでき、さらに本記憶装置を必
要数だけ接続することにより、記憶容量の自由な設定・
変更ができる効果がある.
[Effects of the Invention] As described above, according to the present invention, in a storage device using a large-capacity, low-speed storage element, past access history is retained and the current input address and the contents of this history register are stored. Through comparison, we were able to provide optimal control to the elements, which has the effect of allowing the elements to be used quickly and efficiently without the need to add high-speed memory elements. In addition, by simply arranging the storage devices according to the present invention in parallel, it is possible to support multiple sets of storage elements, and to avoid the complicated control mechanism required in conventional devices in order to prevent data inconsistency between data memories. Furthermore, by connecting only the required number of storage devices, you can freely set and store the storage capacity.
It has the effect of allowing changes.

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

第i図はこの発明の一実施例による記憶装置のブロック
図、第2図はその動作を示すフローチャート図、第3図
は比較回路の実現例を示す論理回路図、第4図は従来の
記憶装置のブロック図である。 図において、1はアクセス制御信号、2は番地人力、2
aは現在行番地、2bは現在列番地、3はデータ線、4
はデータメモリ、5はタグメモリ、6は記憶素子、7は
比較回路、8は制御回路、9は履歴レジスタ、9aは前
回行番地、9bば有効ビン1・、lOは番地出力、11
は制御出力である.なお図中同一符号は同一又は相当部
分を示す。 第1図
Fig. i is a block diagram of a storage device according to an embodiment of the present invention, Fig. 2 is a flowchart showing its operation, Fig. 3 is a logic circuit diagram showing an example of implementation of a comparison circuit, and Fig. 4 is a conventional storage device. FIG. 2 is a block diagram of the device. In the figure, 1 is an access control signal, 2 is an address manual, and 2 is an access control signal.
a is the current row address, 2b is the current column address, 3 is the data line, 4
is a data memory, 5 is a tag memory, 6 is a storage element, 7 is a comparison circuit, 8 is a control circuit, 9 is a history register, 9a is a previous row address, 9b is a valid bin 1., IO is an address output, 11
is the control output. Note that the same reference numerals in the figures indicate the same or equivalent parts. Figure 1

Claims (1)

【特許請求の範囲】[Claims] (1)以前に行われたアクセスの履歴を保持する履歴レ
ジスタと、 現在の入力番地とこの履歴レジスタの内容とを比較する
比較手段と、 上記比較結果に基づいて記憶素子を制御する制御手段と
を備えたことを特徴とする記憶装置。
(1) A history register that holds a history of previously performed accesses, a comparison means that compares the current input address and the contents of this history register, and a control means that controls the storage element based on the comparison result. A storage device comprising:
JP1160458A 1989-06-22 1989-06-22 Memory device Pending JPH0325785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1160458A JPH0325785A (en) 1989-06-22 1989-06-22 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1160458A JPH0325785A (en) 1989-06-22 1989-06-22 Memory device

Publications (1)

Publication Number Publication Date
JPH0325785A true JPH0325785A (en) 1991-02-04

Family

ID=15715376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1160458A Pending JPH0325785A (en) 1989-06-22 1989-06-22 Memory device

Country Status (1)

Country Link
JP (1) JPH0325785A (en)

Similar Documents

Publication Publication Date Title
US20020031007A1 (en) Semiconductor memory apparatus, semiconductor apparatus, data processing apparatus and computer system
JP2006190402A (en) Semiconductor device
JPH0223591A (en) Computer system, method of reading and transferring memory in computer system, method of memory control and memory controller
JPS6053896B2 (en) Memory system of data processing equipment
JPH0746507B2 (en) Dual port read / write memory
JPS61161562A (en) Hierarchical memory system
JP3577119B2 (en) Semiconductor storage device
JP3786993B2 (en) Data storage unit and data storage device using the unit
JP3081614B2 (en) Partial write control device
JPH0325785A (en) Memory device
JPH07200385A (en) System and method for data processing with memory provided with low-power operating mode
JPH01138694A (en) Memory device
JP3628339B2 (en) Data access system
JP4116801B2 (en) Semiconductor memory device
JPS61190644A (en) Cache disc subsystem
JPS592058B2 (en) Storage device
JPH06314359A (en) Ic memory card
JPH081745B2 (en) Serial access memory
JPH0450625B2 (en)
JPH0422476Y2 (en)
JPH06314240A (en) Cache memory
JPH01207848A (en) Storage device
JPH0660645A (en) Power saving storage device
JPH05282107A (en) External storage device
JPH02501602A (en) Mirror disk RAM system