JPS6152504B2 - - Google Patents

Info

Publication number
JPS6152504B2
JPS6152504B2 JP58154833A JP15483383A JPS6152504B2 JP S6152504 B2 JPS6152504 B2 JP S6152504B2 JP 58154833 A JP58154833 A JP 58154833A JP 15483383 A JP15483383 A JP 15483383A JP S6152504 B2 JPS6152504 B2 JP S6152504B2
Authority
JP
Japan
Prior art keywords
memory
address
output
signals
data
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.)
Expired
Application number
JP58154833A
Other languages
Japanese (ja)
Other versions
JPS5963084A (en
Inventor
Mamoru Hinai
Chikahiko Izumi
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP58154833A priority Critical patent/JPS5963084A/en
Publication of JPS5963084A publication Critical patent/JPS5963084A/en
Publication of JPS6152504B2 publication Critical patent/JPS6152504B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/10Address translation
    • G06F12/1027Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
    • G06F12/1045Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB] associated with a data cache

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、バーチヤルメモリ方式とバツフアメ
モリ方式を採用した電子計算機のメモリ制御装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a memory control device for an electronic computer that employs a virtual memory method and a buffer memory method.

〔発明の背景〕[Background of the invention]

近年の大型及び中型に類する電子計算機は、バ
ーチヤル・メモリ(Virtual Memory)方式とバ
ツフア・メモリ(Buffer Memory)方式を一般
的に併用している。バーチヤル・メモリ方式はプ
ログラムに実メモリの大きさを意識することなく
コーデイングを可能とする方式で、プログラマに
は実メモリ上の実アドレスではなくほぼ無限なメ
モリ容量を持つ仮想メモリ上の仮想アドレスが与
えられる。一方バツフア・メモリ方式は大容量で
はあるが演算速度に比較して低速なメイン・メモ
リとのギヤツプを補うため中央処理装置とメイ
ン・メモリの間に高速小容量のメモリを配してメ
モリ・ハイアラキを構成する方式である。
Recent large and medium-sized electronic computers generally use both the virtual memory method and the buffer memory method. The virtual memory method is a method that allows programs to code without being aware of the size of real memory.The programmer uses virtual addresses in virtual memory, which has an almost infinite memory capacity, instead of real addresses in real memory. is given. On the other hand, in the buffer memory method, a high-speed, small-capacity memory is placed between the central processing unit and the main memory to compensate for the gap with the main memory, which has a large capacity but is slow compared to the calculation speed. This is a method of configuring.

バーチヤル・メモリ方式では、メモリ参照に先
立つて、仮想アドレスを実アドレスに変換する必
要がある。仮想アドレスの実アドレスへの変換は
プログラムが用意したメイン・メモリ上の変換テ
ーブルを参照して行うが、毎回低速なメイン・メ
モリを参照していたのではアドレス変換のオーバ
ヘツドが大きい。そこで一度メイン・メモリを参
照して得た仮想アドレスと実アドレスの変換対を
記憶しておく高速アドレス変換テーブル(以下
TLB:Translation Lookaside Bufferと呼ぶ)を
配し、メモリ参照時に該当仮想アドレスがTLB
に存在するか否かチエツクし、存在する時(プロ
グラムの局所性によりこの確率が非常に高い)は
高速に実アドレスを得られるようにしている。
Virtual memory schemes require that virtual addresses be translated to real addresses prior to memory reference. Conversion of a virtual address to a real address is performed by referring to a conversion table in main memory prepared by the program, but if the slow main memory is referred to each time, the overhead of address conversion is large. Therefore, a high-speed address translation table (hereinafter referred to as
Translation Lookaside Buffer (TLB) is placed, and when the memory is referenced, the corresponding virtual address is
It checks whether the address exists in the address, and when it does exist (the probability of this is very high due to the locality of the program), the real address can be obtained quickly.

バツフア・メモリ方式に於いては、バツフア・
メモリはメイン・メモリの一部の写しであるた
め、その対応関係を記憶するためにはバツフア・
アドレス・アレー(以下BAA:Buffer Address
Arrayと呼ぶ)が配されている。中央処理装置が
仮想アドレスでメモリ参照を起動すると、TLB
により変換された実アドレスがBAAに存在する
か否かチエツクされ、存在する時(プログラムの
局所性によりこの確率が非常に高い)はバツフ
ア・メモリから高速に該当データが読み出されて
中央処理装置に送られる。
In the buffer memory method, buffer
Since memory is a copy of a portion of main memory, buffer memory is required to remember the correspondence.
Address array (BAA: Buffer Address
Array) is arranged. When the central processing unit initiates a memory reference at a virtual address, the TLB
It is checked whether the real address converted by BAA exists or not, and if it exists (the probability of this is very high due to the locality of the program), the corresponding data is read out from the buffer memory at high speed and sent to the central processing unit. sent to.

以上の説明ではTLB,BAAの参照はシリアル
に行われる様に説明したが、処理の高速化の為に
はパラレルに参照することが必要である。この場
合、仮想アドレスでBAAが参照される。さらに
正確に記述すれば仮想アドレス内の実アドレス部
(ページ内相対アドレス)でBAAが参照されるよ
うになつている。なお、メイン・メモリとバツフ
ア・メモリのデータ対応はブロツクと呼ばれる3
2Bあるいは64Bが一般的であることから、
BAA参照に使用可能なビツト数は高々6ないし
7ビツトになる。
In the above explanation, the TLB and BAA are referenced serially, but in order to speed up processing, it is necessary to reference them in parallel. In this case, the BAA is referenced by the virtual address. To be more precise, the BAA is referenced in the real address part (intra-page relative address) within the virtual address. The data correspondence between main memory and buffer memory is called a block.
Since 2B or 64B is common,
The number of bits available for BAA reference is at most 6 to 7 bits.

第1図は前記のTLBとBAAをパラレルに参照
する方式のメモリ制御装置の一例を示すブロツク
図である。中央処理装置で発生するメモリ要求リ
クエストは仮想アドレスをレジスタ1に格納す
る。仮想アドレスの上位のページ・アドレスで
TLB2の該当エントリが牽引される。本例では
TLB2はlカラム×2ロウから成り、2―1,
2―2が各ロウを示している。つまり、第1ロウ
と第2ロウにそれぞれl組のエントリがある。
TLB2のロウ2―1,2―2の各エントリは仮
想アドレス部(L部)、有効フラグ・ビツト部
(V部)及び実アドレス部(R部)から成る。
TLB2の各ロウから読み出されたL部及びV部
の内容は、該当する仮想アドレス比較回路4―
1,4―2によつてレジスタ1内の仮想アドレス
の上位ビツトであるページアドレスと比較され
る。
FIG. 1 is a block diagram showing an example of a memory control device that refers to the TLB and BAA in parallel. A memory request request that occurs in the central processing unit stores a virtual address in register 1. With the page address above the virtual address
The corresponding entry in TLB2 is towed. In this example
TLB2 consists of 1 column x 2 rows, 2-1,
2-2 indicates each row. In other words, there are l sets of entries in each of the first row and the second row.
Each entry in rows 2-1 and 2-2 of TLB2 consists of a virtual address field (L field), a valid flag/bit field (V field), and a real address field (R field).
The contents of the L part and V part read from each row of TLB2 are stored in the corresponding virtual address comparison circuit 4-
1, 4-2, it is compared with the page address, which is the upper bit of the virtual address in register 1.

仮想アドレスの下位のページ内相対アドレスで
BAA3が牽引される。BAA3はmカラム×nロ
ウから成り、3―1,3―2,……3―nが第1
から第nのロウを示している。つまり、各ロウ
は、それぞれm組のエントリを持つている。
TLB2とBAA3をパラレルに参照する方式で
は、バツフアメモリのブロツク・サイズにより
BAA3のカラム数mが決定される。即ち、ペー
ジ・サイズ4KB、ブロツク・サイズ64Bの場
合、m=64カラムである。ロウ数nはバツフア・
メモリ容量により決定される。BAA3の各エン
トリは実アドレス部(R部)及び有効フラグ・ビ
ツト部(V部)から成る。実アドレス比較回路6
―1,6―2,……,6―nは、選択回路5を通
じて入力されるところのTLB2―1のR部から
読出される実アドレス(ページアドレス)または
中央処理装置が直接レジスタ1に格納する実アド
レス(ページアドレス)と、対応するBAA3―
1,3―2,……,3―nのR部から読出される
内容とを比較する。選択回路5は、中央処理装置
が直接実アドレスをレジスタに格納した場合にレ
ジスタ1の内容を選択し、レジスタ1に仮想アド
レスが格納された場合はTLB2―1の内容を選
択する。他方の実アドレス比較回路7―1,7―
2,……,7―nは、TLB2―2のR部から読
出される実アドレスと、対応するBAA3―1,
3―2,……,3―nのR部から読出される実ア
ドレスとを比較する。前記各実アドレス比較回路
6―1〜6―n,7―1〜7nはそれぞれの2入
力が一致するときにその出力が“1”になる。
An in-page relative address below the virtual address.
BAA3 is in tow. BAA3 consists of m columns x n rows, and 3-1, 3-2, ...3-n are the first
The n-th row is shown. That is, each row has m sets of entries.
In the method of referencing TLB2 and BAA3 in parallel, it depends on the block size of buffer memory.
The number m of columns of BAA3 is determined. That is, if the page size is 4KB and the block size is 64B, m=64 columns. The number of rows n is a buffer.
Determined by memory capacity. Each entry in BAA3 consists of a real address field (R field) and a valid flag/bit field (V field). Real address comparison circuit 6
-1, 6-2, ..., 6-n are real addresses (page addresses) read from the R section of TLB2-1 that are input through the selection circuit 5, or stored directly in the register 1 by the central processing unit. The real address (page address) and the corresponding BAA3-
The contents read from the R section of 1, 3-2, . . . , 3-n are compared. The selection circuit 5 selects the contents of register 1 when the central processing unit directly stores a real address in the register, and selects the contents of TLB 2-1 when a virtual address is stored in register 1. Other real address comparison circuit 7-1, 7-
2,...,7-n are the real addresses read from the R section of TLB2-2 and the corresponding BAA3-1,
The real addresses read from the R section of 3-2, . . . , 3-n are compared. When the two inputs of each of the real address comparison circuits 6-1 to 6-n and 7-1 to 7n match, the output becomes "1".

実アドレス比較回路6―1〜6―n,7―1〜
7―nによる比較結果は仮想アドレス比較回路4
―1,4―2の結果により選択された後、エンコ
ーダ8に入力され、エンコーダされた出力がレジ
スタ9の上位に格納される。レジスタ9の下位に
はレジスタ1のページ内相対アドレスが格納され
る。かくしてレジスタ1に格納された仮想アドレ
スまたは実アドレスに対応するバツフアメモリ参
照アドレスがレジスタ9に得られる。このレジス
タ9のアドレスでバツフア・メモリを牽引し読み
出したデータは中央処理装置へ転送される。
Real address comparison circuits 6-1 to 6-n, 7-1 to
The comparison result by 7-n is sent to virtual address comparison circuit 4.
After being selected based on the results of -1 and 4-2, it is input to the encoder 8, and the encoded output is stored in the upper part of the register 9. The in-page relative address of register 1 is stored in the lower part of register 9. Thus, a buffer memory reference address corresponding to the virtual address or real address stored in register 1 is obtained in register 9. The data read out from the buffer memory by the address of register 9 is transferred to the central processing unit.

ところで、前記TLB2およびBAA3は高速性
と同時にある程度の容量を必要とするため、バイ
ポーラ・メモリの従来例を第2図に示す。
By the way, since the TLB2 and BAA3 require high speed as well as a certain amount of capacity, a conventional example of bipolar memory is shown in FIG.

第2図において、入力ピンA0〜A2及びA3〜A5
に印加されるアドレス信号は、それぞれ、Xアド
レス・デコーダ10及びYアドレス・デゴーダ1
4でデコードされた後ドライバー11及び13を
経てメモリ・セル12を起動する。本例では、メ
モリ・セル12は8ビツト×8ビツトから成る64
ビツト構成である。メモリ・セル12から選択さ
れた1ビツトはセンス・アツプ15を経て出力回
路16に導かれ、出力回路16は入力ピンCS
(チツプ・セレクト)が有効な時に出力ピンDO
(データ・アウト)に読出しデータを出力する。
入力ピンCS(チツプ・セレクト)及びWE(ライ
ト・イネープル)が有効な時にライト・モードと
なる。ライト・モードでは、入力ピンDI(デー
タ・イン)がゲート17を経てアンド回路18及
び19でCS及びWEとアンドがとられ、これらア
ンド回路18,19の出力によつて出力にライト
“1”あるいはライト“0”信号が有効とされ、
ドライバー13を経てアドレスA0―A5で指定さ
れたメモリ・セル12のビツトに書き込み指示を
行う。
In Figure 2, input pins A 0 - A 2 and A 3 - A 5
The address signals applied to are X address decoder 10 and Y address degoder 1, respectively.
4, the memory cell 12 is activated via drivers 11 and 13. In this example, the memory cell 12 consists of 64 bits each consisting of 8 bits x 8 bits.
It has a bit configuration. One bit selected from the memory cell 12 is led to the output circuit 16 via the sense amplifier 15, and the output circuit 16 is connected to the input pin CS.
Output pin DO when (chip select) is enabled.
Outputs read data to (data out).
Write mode is entered when input pins CS (chip select) and WE (write enable) are enabled. In the write mode, the input pin DI (data in) is ANDed with CS and WE by the AND circuits 18 and 19 through the gate 17, and the output of these AND circuits 18 and 19 writes "1" to the output. Or the write “0” signal is valid,
A write instruction is given via the driver 13 to the bit of the memory cell 12 specified by addresses A0 to A5 .

前述のTLBまたはBAAとして使用する時は、
この種のバイポーラ・メモリをマトリクス状に配
置して所望のワード幅、ビツト幅を実現してい
る。
When used as TLB or BAA mentioned above,
This type of bipolar memory is arranged in a matrix to achieve a desired word width and bit width.

さて、近年電子計算機は超高密度LSIの開発、
改良によつて大規模化、高速化が実現され始め、
この傾向は今後とも推し進められることと思われ
る。このように、演算装置等多くの論理装置が
LSI化され高速化される一方、バイポーラ・メモ
リを含む論理部はバイポーラ・メモリへのアドレ
スの拡散及びバイポーラ・メモリからの読み出し
データの収束のゲートがその大部分を占めLSI化
しにくくその効果を生かすことが出来ず、電子計
算機のマシン・サイクルを制限するクリテイカ
ル・パスになる可能性が大きい。また、メイン・
メモリの容量も大容量化する傾向があり、従つて
バツフア・メモリの容量増加も要求される。即
ち、BAAの容量増加が要求される。一方ではバ
イポーラ・メモリの高集積化も進められて高速の
4Kビツト・メモリも可能になりつつある。しか
し、BAAに関しては、TLB,BAAパラレル参照
方式に於いては前述のようにカラム数が高々6な
いし7ビツトしか許されないため、バイポーラ・
メモリの高集積化に対してはビツト数の増加を必
要とする。しかし第2図に述べたような構成の従
来のバイポーラ・メモリを用いて大容量のBAA
を構成することは、バイポーラ・メモリのパツケ
ージ・ピン数が著しく増えてしまい実現できな
い。
Now, in recent years, electronic computers have developed ultra-high density LSIs,
Through improvements, larger scale and faster speeds began to be realized.
This trend is expected to continue in the future. In this way, many logic devices such as arithmetic units
While the logic section including bipolar memory is becoming faster and faster with LSI, the majority of the logic part is the gate for spreading the address to the bipolar memory and converging the data read from the bipolar memory, making it difficult to convert to LSI and taking advantage of the effect. There is a high possibility that this will become a critical path that limits the machine cycle of the electronic computer. Also, the main
There is also a tendency for memory capacity to increase, and accordingly, an increase in buffer memory capacity is also required. That is, an increase in the capacity of BAA is required. On the other hand, the integration of bipolar memory is progressing, and high-speed
4K bit memory is also becoming possible. However, regarding BAA, in the TLB and BAA parallel reference systems, the number of columns is only allowed to be 6 or 7 bits at most, as mentioned above, so bipolar
Higher integration of memory requires an increase in the number of bits. However, it is not possible to achieve large capacity BAA using conventional bipolar memory configured as shown in Figure 2.
configuring a bipolar memory is impractical because the number of package pins of the bipolar memory increases significantly.

ちなみに、4Kビツト・メモリを64ワードで構
成すると64ビツトを収容可能であるが、必要ピン
数はアドレス線、データ線共で140ピンにも達し
てしまい、バイポーラ・メモリのパツケージ・サ
イズは入出力ピン数で制約されてしまう。
By the way, if a 4K bit memory is configured with 64 words, it can accommodate 64 bits, but the required number of pins for both address lines and data lines reaches 140, and the package size of bipolar memory is limited to input/output. It is limited by the number of pins.

〔発明の目的〕[Purpose of the invention]

本発明の目的とするところは、前記の如き従来
の問題点を除去し、TLBとBAAに同一構成のメ
モリを配して、プロパゲーシヨン・デイレーの減
少及びパツケージの入出力ピンの減少を図るメモ
リ制御装置を提供することにある。
The purpose of the present invention is to eliminate the above-mentioned conventional problems, and to reduce propagation delay and the number of input/output pins of the package by allocating memories of the same configuration to TLB and BAA. An object of the present invention is to provide a memory control device.

〔発明の概要〕[Summary of the invention]

本発明はTLBおよびBAAを備えるメモリ制御
装置において、同一構成の比較回路内蔵形のメモ
リを配する。メモリはn個のメモリ部、該各メモ
リ部の出力データをチツプ・セレクト信号に従つ
て選択して出力する回路、該メモリ部に1対1で
対応するメモリの出力データと外部信号とを比較
するn個の比較回路とを内蔵する。TLBに配さ
れたメモリは、チツプ・セレクト信号を一つのメ
モリ部に対する一本のみを有効とし、一つのメモ
リ部の出力データと外部信号とを比較するように
し、上記BAAに配されたメモリは、全てのメモ
リ部に対する全てのチツプ・セレクト信号を有効
とし、全てのメモリ部からの各出力を各対応する
比較回路にて同時に外部信号と比較するようにす
る。
The present invention provides a memory control device including a TLB and a BAA, in which a memory with a built-in comparison circuit having the same configuration is arranged. The memory includes n memory sections, a circuit that selects and outputs the output data of each memory section according to a chip select signal, and compares the output data of the memory corresponding one-to-one to the memory section with an external signal. n comparison circuits are built-in. The memory allocated to the TLB makes only one chip select signal valid for one memory part, and the output data of one memory part and the external signal are compared. , all chip select signals for all memory sections are enabled, and each output from all memory sections is simultaneously compared with an external signal in each corresponding comparison circuit.

〔発明の実施例〕[Embodiments of the invention]

次に本発明の一実施例を図面を用いて説明す
る。
Next, one embodiment of the present invention will be described with reference to the drawings.

第3図は本発明の一実施例として、TLBおよ
びBAAのメモリとして用いられる比較回路内蔵
形バイポーラ・メモリのブロツク図を示すもので
ある。図中、()内の数字は信号本数を表わす
が、信号本数は集積度により異なり本発明はこれ
に限定されるものではない。20―1〜20―4
はメモリ部であり、それぞれの内部構成は従来の
ものと同様でよい。各メモリ部20―1,20―
4はそれぞれチツプ・セレクト信号24―1,2
4―4と共通信号としてアドレス信号(端子)2
5、データ・イン信号(端子)26及びライト許
可信号27が入力され、その結果としてデータ・
アウト信号33―1,33―4を出力する。23
は出力データ選択回路であり、データ・アウト信
号33―1,33―4のうちチツプ・セレクト信
号24―1,24―4で選択された1組のデータ
を出力ピン32に出力する。21―1,21―4
は比較回路Aであり、メモリ部20―1〜20―
4から読み出されたデータ・アウト信号33―1
〜33―4と外部からの被比較信号29を比較
し、それぞれ2入力の不一致が検出された時に比
較出力A30―1〜30―4に“1”を出力す
る。同様に比較回路B22―1〜22―4は、メ
モリ部20―1〜20―4から読み出されたデー
タ・アウト信号33―1〜33―4と外部からの
被比較信号28を比較し、それぞれ2入力の不一
致が検出された時比較検出力B31―1〜31―
4に“1”を出力する。
FIG. 3 shows a block diagram of a bipolar memory with a built-in comparator circuit used as a TLB and BAA memory as an embodiment of the present invention. In the figure, the numbers in parentheses represent the number of signals, but the number of signals varies depending on the degree of integration, and the present invention is not limited to this. 20-1 to 20-4
is a memory section, and the internal configuration of each may be the same as that of the conventional one. Each memory section 20-1, 20-
4 are chip select signals 24-1 and 2, respectively.
Address signal (terminal) 2 as a common signal with 4-4
5, the data in signal (terminal) 26 and write permission signal 27 are input, and as a result, the data in signal (terminal) 26 and write permission signal 27 are input.
Output signals 33-1 and 33-4. 23
is an output data selection circuit which outputs a set of data selected by the chip select signals 24-1 and 24-4 among the data out signals 33-1 and 33-4 to the output pin 32. 21-1, 21-4
is the comparison circuit A, and the memory sections 20-1 to 20-
Data out signal 33-1 read from 4
~33-4 and the compared signal 29 from the outside are compared, and when a mismatch between the two inputs is detected, "1" is output to the comparison outputs A30-1 to A30-4. Similarly, the comparison circuits B22-1 to 22-4 compare the data out signals 33-1 to 33-4 read from the memory units 20-1 to 20-4 with the compared signal 28 from the outside, Comparison detection power when a mismatch between two inputs is detected B31-1 to 31-
Output “1” to 4.

実施例の動作 メモリ部20―1〜20―4にそれぞれ及び出
力データ選択回路23は従来のバイポーラ・メモ
リとほぼ同様であるが、本発明ではメモリ部が複
数組に分割され(本例では4組)、各組のアドレ
ス信号25、データ・イン信号26、ライト許可
信号27が共通になつている点が特徴である。以
下各動作モード別に説明する。
Operation of the Embodiment Each of the memory sections 20-1 to 20-4 and the output data selection circuit 23 are almost the same as those of a conventional bipolar memory, but in the present invention, the memory section is divided into a plurality of groups (in this example, there are four groups). The feature is that the address signal 25, data-in signal 26, and write permission signal 27 of each group are common. Each operation mode will be explained below.

(イ) リード・モード このモードはTLBに配されたメモリの時に
使われるモードである。チツプ・セレクト信号
24―1〜24―4のうちの一本とアドレス信
号25が有効とされ、メモリ部20―1,20
―4が起動され読み出しデータ信号33―1〜
33―4を出力する。データ・アウト信号33
―1〜33―4は出力データ選択回路23に入
力され該当するチツプ・セレクト信号24が有
効なデータの組、例えばチツプ・セレクト信号
24―1が有効な時データ・アウト信号33―
1を出力ピン32に出力する。
(b) Read mode This mode is used when the memory is allocated to TLB. One of the chip select signals 24-1 to 24-4 and the address signal 25 are enabled, and the memory sections 20-1 and 20
-4 is activated and the read data signal 33-1~
Outputs 33-4. Data out signal 33
-1 to 33-4 are data sets input to the output data selection circuit 23 and for which the corresponding chip select signal 24 is valid, for example, when the chip select signal 24-1 is valid, the data out signal 33-
1 to the output pin 32.

(ロ) ライト・モード チツプ・セレクト信号24―1〜24―4の
うちの一本とアドレス信号25及びデータ・イ
ン信号26、ライト許可信号27が有効とさ
れ、チツプ・セレクト信号で選択されたメモリ
部のアドレス信号25が示すメモリへデータ・
イン信号26の内容が書き込まれる。本バイポ
ーラ・メモリがBAAとして使用される時は各
メモリ部20―1,20―2,20―3,20
―4がそれぞれBAAの各ロウに対応し、新し
いアドレスが登録される時はある種のアルゴリ
ズムに従つて特定のロウが選択された後登録が
行われるので、アドレス信号、データ・イン信
号、ライト許可信号は共通で良く、パツケー
ジ・ピン数を減少させる効果がある。
(b) Write mode One of the chip select signals 24-1 to 24-4, the address signal 25, the data in signal 26, and the write permission signal 27 are enabled, and the chip select signal is selected. Data is transferred to the memory indicated by the address signal 25 of the memory section.
The contents of the IN signal 26 are written. When this bipolar memory is used as a BAA, each memory section 20-1, 20-2, 20-3, 20
-4 correspond to each row of BAA, and when a new address is registered, a specific row is selected according to a certain algorithm and then registration is performed, so the address signal, data in signal, write The enable signal can be shared, which has the effect of reducing the number of package pins.

(ハ) 比較モード このモードはBAAに配されたメモリの時に
使われるモードである。本モードに於いては、
チツプ・セレクト信号24―1〜24―4の全
てとアドレス信号25が有効とされ、メモリ部
20―1〜20―4が起動されデータ・アウト
信号を出力するデータ・アウト信号33―1〜
33―4はそれぞれ比較回路A21―1〜21
―4及び比較回路B22―1,22―4に入力
される。比較回路A21―1〜21―4の一方
の入力は被比較信号29が、比較回路B22―
1〜22―4の一方の入力は被比較信号28が
有効とされる。本バイポーラ・メモリがBAA
として使用される時は、被比較信号29は
TLBの第1のロウの実アドレス部(R部)出
力、被比較信号28はTLBの第2ロウの実ア
ドレス部(R部)出力に相当する(第1図参
照)。
(c) Comparison mode This mode is used when memory is allocated to BAA. In this mode,
All of the chip select signals 24-1 to 24-4 and the address signal 25 are enabled, and the data out signals 33-1 to 33-1 activate the memory sections 20-1 to 20-4 and output data out signals.
33-4 are comparison circuits A21-1 to A21-21, respectively.
-4 and comparison circuits B22-1 and 22-4. One input of the comparison circuits A21-1 to 21-4 receives the compared signal 29, and the comparison circuit B22-
The compared signal 28 is valid for one input of the signals 1 to 22-4. This bipolar memory is BAA
When used as
The first row real address part (R part) output of the TLB, the compared signal 28, corresponds to the second row real address part (R part) output of the TLB (see FIG. 1).

比較回路21,22はそれぞれの入力の排他
的論理和7をとることにより入力ビツト(本例
では28ビツト)のうち1ビツトでも不一致があ
る時それぞれの出力30―1〜30―4,31
―1〜31―4を“1”とする。ただし、一致
がとれた時に出力30―1〜30―4を“1”
とするように比較回路21,22を構成しても
よいことは勿論である。本モードの時はチツ
プ・セレクト信号を全て有効とするためデータ
出力ピン32の内容は保証されないが、BAA
ととして使用する時にはリード・モードは通常
動作で使用されることはなく、比較モードとは
重複しないので問題はない。リード・モードは
保守機能として使用されるのみである。
Comparing circuits 21 and 22 calculate the exclusive OR 7 of their respective inputs, and when there is a mismatch in even one bit among the input bits (28 bits in this example), the respective outputs 30-1 to 30-4, 31 are output.
-1 to 31-4 are set to "1". However, when a match is found, the outputs 30-1 to 30-4 are set to “1”.
Of course, the comparator circuits 21 and 22 may be configured as follows. In this mode, all chip select signals are enabled, so the contents of data output pin 32 are not guaranteed, but BAA
There is no problem when the read mode is used as a mode because it is not used in normal operation and does not overlap with the comparison mode. Read mode is only used as a maintenance function.

なお本実施例における各信号24―1〜24
―4,25,26,27,28,29,30―
1〜31―4,32はそれぞれ対応してパツケ
ージに設けられた入出力ピン上に入出力され
る。
Note that each signal 24-1 to 24 in this embodiment
-4,25,26,27,28,29,30-
1 to 31-4 and 32 are respectively input and output on corresponding input/output pins provided on the package.

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

本発明によれば、比較回路内蔵形の同一構成の
アドレをTLBとBAAに共通に便うことができ、
電子計算機の製造上の効果が極めて高い。また
TLBおよびBAAにおいてもメモリ部と比較回路
部を同一メモリ・パツケージ上に搭載することに
より、プロパゲーシヨン・デイレーを改善できる
と共にピン数削限に効果があり、高密度化を可能
とする。
According to the present invention, addresses with the same configuration and built-in comparison circuit can be commonly used for TLB and BAA.
Extremely effective in manufacturing electronic computers. Also
In TLB and BAA, by mounting the memory section and comparison circuit section on the same memory package, it is possible to improve propagation delay, reduce the number of pins, and enable higher density.

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

第1図はTLB,BAAパラレル参照方式のメモ
リ制御装置の一例を示すブロツク図、第2図は従
来のバイポーラ・メモリの構成を示すブロツク
図、第3図は本発明に採用されるメモリの一実施
例を示す比較回路内蔵形バイポーラ・メモリのブ
ロツク図である。 2……高速アドレス変換テーブル(TLB)、3
……バツフア・アドレス・アレー(BAA)、4…
…仮想アドレス比較回路、6,7……実アドレス
比較回路、20―1,20―4……メモリ部、2
1―1〜21―4,22―1,22―4……比較
回路、23……出力データ選択回路、28,29
……被比較信号。
FIG. 1 is a block diagram showing an example of a memory control device using TLB and BAA parallel reference methods, FIG. 2 is a block diagram showing the configuration of a conventional bipolar memory, and FIG. 3 is an example of a memory adopted in the present invention. 1 is a block diagram of a bipolar memory with a built-in comparison circuit showing an embodiment. FIG. 2...High-speed address translation table (TLB), 3
...Battle Address Array (BAA), 4...
...Virtual address comparison circuit, 6, 7...Real address comparison circuit, 20-1, 20-4...Memory section, 2
1-1 to 21-4, 22-1, 22-4... Comparison circuit, 23... Output data selection circuit, 28, 29
...compared signal.

Claims (1)

【特許請求の範囲】 1 仮想アドレスと実アドレスの変換対を記憶
し、仮想アドレスを実アドレスに変換する高速ア
ドレス変換テーブルと、バツフアメモリに格納さ
れたデータのアドレスを記憶するバツフア・アド
レス・アレーとを備えるメモリ制御装置におい
て、n個のメモリ部、該各メモリ部の出力データ
をチツプ・セレクト信号に従つて選択して出力す
る回路、該メモリ部1対1で対応し対応するメモ
リ部の出力データと外部信号とを比較するn個の
比較回路とを内蔵し、該各メモリ部に対して個別
にチツプ・セレクト信号を入力しまた共通にアド
レス信号、データ・イン信号及びライト許可信号
を入力するように構成された同一構成のメモリを
上記高速アドレス変換テーブルとバツフア・アド
レス・アレーに配し、上記高速アドレス変換テー
ブルに配されたメモリは、上記チツプ・セレクト
信号を一つのメモリ部に対する一本のみを有効と
し、一つのメモリ部の出力データと外部信号とを
比較するようにし、記バツフア・アドレス・アレ
ーに配されたメモリは、全てのメモリ部に対する
全てのチツプ・セレクト信号を有効とし、全ての
メモリ部からの各出力を各対応する比較回路にて
同時に外部信号と比較するようにしたことを特徴
とするメモリ制御装置。 2 上記メモリは上記各メモリ部に1対1で対応
するn個の第2の比較回路を備え、上記高速アド
レス変換テーブルに配された上記メモリは、上記
第2の比較回路を使用せず、上記バツフア・アド
レス・アレーに配された上記メモリは、さらに全
てのメモリ部からの各出力を各第2の比較回路に
て同時に外部信号と比較するようにしたことを特
徴とする特許請求の範囲第1項記載のメモリ制御
装置。
[Scope of Claims] 1. A high-speed address conversion table that stores translation pairs of virtual addresses and real addresses and converts virtual addresses to real addresses, and a buffer address array that stores addresses of data stored in buffer memory. A memory control device comprising n memory sections, a circuit that selects and outputs output data of each of the memory sections according to a chip select signal, and an output of the corresponding memory section that corresponds one to one with the memory sections. Built-in n comparison circuits that compare data and external signals, chip select signals are individually input to each memory section, and address signals, data-in signals, and write permission signals are commonly input. Memories of the same configuration configured to The output data of one memory section is compared with the external signal, and the memories arranged in the buffer address array enable all chip select signals for all memory sections. A memory control device characterized in that each output from all memory units is simultaneously compared with an external signal by each corresponding comparison circuit. 2. The memory includes n second comparison circuits corresponding one-to-one to each memory section, and the memory arranged in the high-speed address conversion table does not use the second comparison circuit, Claims characterized in that the memory arranged in the buffer address array is further configured such that each output from all the memory sections is simultaneously compared with an external signal by each second comparison circuit. 2. The memory control device according to item 1.
JP58154833A 1983-08-26 1983-08-26 Memory control device Granted JPS5963084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58154833A JPS5963084A (en) 1983-08-26 1983-08-26 Memory control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58154833A JPS5963084A (en) 1983-08-26 1983-08-26 Memory control device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP959878A Division JPS54102930A (en) 1978-01-31 1978-01-31 Bipolar memory

Publications (2)

Publication Number Publication Date
JPS5963084A JPS5963084A (en) 1984-04-10
JPS6152504B2 true JPS6152504B2 (en) 1986-11-13

Family

ID=15592873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58154833A Granted JPS5963084A (en) 1983-08-26 1983-08-26 Memory control device

Country Status (1)

Country Link
JP (1) JPS5963084A (en)

Also Published As

Publication number Publication date
JPS5963084A (en) 1984-04-10

Similar Documents

Publication Publication Date Title
US4823259A (en) High speed buffer store arrangement for quick wide transfer of data
US6901501B2 (en) Data processor
US5053951A (en) Segment descriptor unit for performing static and dynamic address translation operations
US5386527A (en) Method and system for high-speed virtual-to-physical address translation and cache tag matching
US5253203A (en) Subarray architecture with partial address translation
JPH0594698A (en) Semiconductor memory
JPH0622000B2 (en) Microprocessor device
JPH07120312B2 (en) Buffer memory controller
US7398362B1 (en) Programmable interleaving in multiple-bank memories
US5173872A (en) Content addressable memory for microprocessor system
JPS63101944A (en) Memory controller
US7370151B2 (en) Method and system for absorbing defects in high performance microprocessor with a large n-way set associative cache
US5761714A (en) Single-cycle multi-accessible interleaved cache
EP0166192B1 (en) High-speed buffer store arrangement for fast transfer of data
KR930009667B1 (en) Segment discripter unit
EP0310446A2 (en) Cache memory management method
JPS6152504B2 (en)
JP2654590B2 (en) Semiconductor integrated circuit device
US6226731B1 (en) Method and system for accessing a cache memory within a data-processing system utilizing a pre-calculated comparison array
JP2675836B2 (en) Data processing device
JPH0371247A (en) Buffer storage controller
JPH0330036A (en) Semiconductor storage device
JPH087716B2 (en) Semiconductor memory device
WO1992005486A1 (en) Method and means for error checking of dram-control signals between system modules
JPH04160614A (en) Buffer storage controller