JPH06324939A - Memory circuit and control method for the same - Google Patents
Memory circuit and control method for the sameInfo
- Publication number
- JPH06324939A JPH06324939A JP11262993A JP11262993A JPH06324939A JP H06324939 A JPH06324939 A JP H06324939A JP 11262993 A JP11262993 A JP 11262993A JP 11262993 A JP11262993 A JP 11262993A JP H06324939 A JPH06324939 A JP H06324939A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- data
- divided
- decoder
- data lines
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000015654 memory Effects 0.000 title claims abstract description 189
- 238000000034 method Methods 0.000 title claims description 19
- 230000004044 response Effects 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 7
- 238000010348 incorporation Methods 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Static Random-Access Memory (AREA)
- Memory System (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、メモリ回路及びその制
御方法に関し、更に詳しくは、集積回路に内蔵され、命
令用及びデータ用の各バスと夫々情報を伝達可能なデー
タ用及び命令用の2つのキャッシュメモリ領域に分割可
能な物理アドレス領域を有するキャッシュメモリ回路に
好適なメモリ回路及びその制御方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory circuit and a control method thereof, and more particularly, to a data bus and a command bus which are built in an integrated circuit and which can transmit information to each bus for command and data. The present invention relates to a memory circuit suitable for a cache memory circuit having a physical address area that can be divided into two cache memory areas, and a control method thereof.
【0002】[0002]
【従来の技術】最近では、拡散プロセス技術が進んだこ
とから、キャッシュメモリも安価に製造できるようにな
り、従来は高価なためマイクロプロセッサ上では利用が
困難であったキャッシュメモリがマイクロプロセッサに
も搭載されるようになってきた。キャッシュメモリの多
くは、性能を充分に発揮するためにその物理アクセス領
域が、命令用メモリ領域とデータ用メモリ領域の2つの
領域に分割されている。この2つの領域は、夫々が固定
されたメモリ領域として使用されるのが通例である。し
かし、キャッシュメモリの性能を最大限に引出すための
双方の領域比率は、各アプリケーションソフトウエア毎
に異なる。2. Description of the Related Art Recently, due to the progress of diffusion process technology, it has become possible to manufacture a cache memory at a low cost, and it is difficult to use a cache memory in a microprocessor because it is expensive in the past. It has come to be installed. In many cache memories, the physical access area is divided into two areas, an instruction memory area and a data memory area, in order to sufficiently exert the performance. These two areas are usually used as fixed memory areas. However, the area ratios of both areas for maximizing the performance of the cache memory differ for each application software.
【0003】従って、命令用メモリ領域及びデータ用メ
モリ領域の各領域サイズの比率を所望によりその都度変
更できることが望まれる。この要請に応えるために、例
えば2つの領域のサイズが相互に異なるキャッシュメモ
リを採用し、命令用及びデータ用メモリ領域のいずれに
大きな領域を割り当てるかを、マイクロプロセッサのイ
ニシャライズ時又はリセット時に設定できるようにした
ものもある。しかし、各アプリケーションソフトウエア
毎に最適な命令用及びデータ用キャッシュ領域の比率を
設定できれば更に好適である。Therefore, it is desired that the ratio of the area sizes of the instruction memory area and the data memory area can be changed each time if desired. In order to meet this demand, for example, two caches whose sizes are different from each other are adopted, and which of the instruction memory area and the data memory area is to be allocated can be set at the time of initialization or reset of the microprocessor. Some have done so. However, it is more preferable if the optimum ratio of the instruction and data cache areas can be set for each application software.
【0004】従来の領域比率を可変としたキャッシュメ
モリ回路について、図10及び図11を参照して説明す
る。図10及び図11は夫々、そのキャッシュメモリ回
路のメモリセルの内部回路及び全体回路を示す図であ
る。図10において、このメモリセルは、1つのメモリ
セルの内部に夫々2つの読出しデータ端子RDA及びR
DBと、2組の書込みデータ端子WDA及びXWDA
(WDAのトップバー付きを示す。以下同様)、WDB
及びXWDBとを有し、また、それに対応して夫々2つ
の読出しアドレス端子RAA、RAB及び書込みアドレ
ス端子WAA、WABを有している。更に、このキャッ
シュメモリでは、図11に示したように、第一及び第二
の読出しアドレスデコーダ1XDR、2XDR及び第一
及び第二の書込みアドレスデコーダ1XDW、2XDW
を備え、且つ1つのメモリセルに対して書込み及び読出
しデータ線を各2組備える。A conventional cache memory circuit having a variable area ratio will be described with reference to FIGS. 10 and 11 are diagrams showing the internal circuit and the entire circuit of the memory cell of the cache memory circuit, respectively. In FIG. 10, this memory cell has two read data terminals RDA and RDA inside one memory cell.
DB and two sets of write data terminals WDA and XWDA
(Indicates WDA with top bar. Same below), WDB
And XWDB, and two read address terminals RAA and RAB and write address terminals WAA and WAB, respectively. Further, in this cache memory, as shown in FIG. 11, first and second read address decoders 1XDR and 2XDR and first and second write address decoders 1XDW and 2XDW.
And two sets of write and read data lines for each memory cell.
【0005】上記の構成により、この従来のキャッシュ
メモリでは、メモリセルアレイに対して相互に異なる2
つのアドレスにあるメモリセルを同時に且つ独立にアク
セスすることができる。従って、各デコーダへの命令用
及びデータ用へのアドレス範囲を別論理で規定すること
により、このメモリセルアレイを命令用及びデータ用の
2つのキャッシュメモリ領域に使用することができ、且
つその2つの領域の比率を変更可能である。With the above structure, in this conventional cache memory, two different memory cell arrays are provided.
Memory cells at one address can be accessed simultaneously and independently. Therefore, by defining the address range for the instruction and the data for each decoder by different logic, this memory cell array can be used for two cache memory areas for the instruction and the data, and The area ratio can be changed.
【0006】[0006]
【発明が解決しようとする課題】命令用及びデータ用メ
モリ領域の比率を可変とした上記従来のキャッシュメモ
リ回路では、そのメモリセル内の素子数が、通常のメモ
リセルの素子数6に比して18と極めて多く、また、各
メモリセルに接続される配線数も通常のキャッシュメモ
リ回路の場合よりも多いことから、メモリセルアレイ全
体の専有面積が通常のメモリセルアレイに比して、例え
ば数倍も大きくなるという欠点があった。In the above-mentioned conventional cache memory circuit in which the ratio of the instruction and data memory areas is variable, the number of elements in the memory cell is smaller than the number of ordinary memory cells, which is six. Since the number of wirings connected to each memory cell is larger than that of a normal cache memory circuit, the total area occupied by the memory cell array is several times larger than that of a normal memory cell array. It also had the drawback of becoming larger.
【0007】本発明は、上記従来のキャッシュメモリ回
路の欠点に鑑み、メモリセルの素子数がさほど多くな
く、従ってその専有面積をさほど大きくすることなく、
命令用及びデータ用のメモリ領域の比率を可変としたキ
ャッシュメモリ回路に好適なメモリ回路及びその制御方
法を提供することを目的とする。In view of the above-mentioned drawbacks of the conventional cache memory circuit, the present invention does not have a large number of memory cells and therefore does not have a large occupied area.
An object of the present invention is to provide a memory circuit suitable for a cache memory circuit having a variable ratio of instruction and data memory areas and a control method thereof.
【0008】[0008]
【課題を解決するための手段】前記目的を達成するた
め、本発明のメモリ回路は、第一及び第二のバスとの間
で夫々情報を伝達する第一及び第二の領域に分割可能な
メモリ領域を有するメモリ回路において、前記第一及び
第二の領域に夫々対応する少なくとも1つのメモリ読出
し及び書込み回路と、前記第一及び第二の領域に夫々対
応する第一及び第二のアドレスデコーダ回路と、前記第
一及び第二のアドレスデコーダ回路の双方の出力が共通
に接続されて該双方の出力により夫々1つが独立に選択
可能な複数のワード線と、複数の区分データ線に夫々分
割されており、該区分データ線のうちの各1つが夫々前
記第一及び第二の領域に対応する前記読出し及び書込み
回路と夫々接続可能に配設された複数のデータ線と、前
記分割された各区分データ線相互間に配設され、第一の
制御信号により開閉制御されて該区分データ線を相互に
接続可能なスイッチ手段と、第二の制御信号により前記
第一及び第二のデコーダの出力をブロック毎に制御する
デコーダ制御部と、前記ワード線の選択を介して前記区
分データ線に夫々接続される複数のメモリセルから成
り、前記ワード線及び前記区分データ線に対応するメモ
リセルブロックとして構成されるメモリセルアレイとを
具備し、前記第一及び第二の制御信号の選択により、前
記メモリセルブロックが前記第一又は第二の領域のいず
れかに編入されることを特徴とする。To achieve the above object, the memory circuit of the present invention can be divided into first and second areas for transmitting information to and from the first and second buses, respectively. In a memory circuit having a memory area, at least one memory read / write circuit corresponding to the first and second areas, respectively, and first and second address decoders corresponding to the first and second areas, respectively. The outputs of the circuit and the first and second address decoder circuits are commonly connected, and a plurality of word lines, one of which is independently selectable by the outputs of the two, and a plurality of divided data lines, respectively, are divided. A plurality of data lines, each one of the divided data lines being arranged to be connectable to the read and write circuits corresponding to the first and second regions, respectively; Each division Switch means disposed between the data lines and capable of connecting and disconnecting the divided data lines by being controlled to open / close by a first control signal, and outputs of the first and second decoders by a second control signal As a memory cell block corresponding to the word line and the divided data line, and a decoder control unit for controlling each block and a plurality of memory cells respectively connected to the divided data line through selection of the word line. A memory cell array configured, and the memory cell block is incorporated into either the first or second region according to selection of the first and second control signals.
【0009】また、本発明のメモリ回路の制御方法は、
第一及び第二のバスとの間で夫々情報を伝達する第一及
び第二の領域に分割可能なメモリ領域を有するキャッシ
ュメモリ回路の制御方法において、前記メモリ回路に、
前記第一及び第二の領域の夫々に対応する少なくとも1
つのメモリ読出し及び書込み回路と、前記第一及び第二
の領域に夫々対応する第一及び第二のアドレスデコーダ
回路とを設け、各ワード線に対し前記第一及び第二のア
ドレスデコーダ回路双方の各出力を共通に接続し、各デ
ータ線を複数の区分データ線に夫々分割してメモリセル
アレイを該区分データ線に対応するメモリセルブロック
に分割すると共に、前記各分割された区分データ線相互
を夫々第一の制御信号に従って接続可能とし、第二の制
御信号により前記第一及び第二のデコーダを前記データ
線の分割に対応するデコーダブロック毎に制御し、前記
第一及び第二の制御信号の選択により、各メモリセルブ
ロックを前記第一又は第二の領域のいずれかに編入する
ことを特徴とする。The memory circuit control method of the present invention is
In a method of controlling a cache memory circuit having a memory area that can be divided into first and second areas for transmitting information to and from a first bus and a second bus, respectively, in the memory circuit,
At least one corresponding to each of the first and second regions
Two memory read / write circuits and first and second address decoder circuits corresponding to the first and second areas, respectively, are provided, and both the first and second address decoder circuits are provided for each word line. Each output is connected in common, each data line is divided into a plurality of divided data lines, the memory cell array is divided into memory cell blocks corresponding to the divided data lines, and the divided divided data lines are connected to each other. Connection is made possible in accordance with the first control signal, and the second control signal controls the first and second decoders for each decoder block corresponding to the division of the data line. Is selected, each memory cell block is incorporated into either the first region or the second region.
【0010】[0010]
【作用】本発明のメモリ回路及びその制御方法では、第
一及び第二のアドレスデコーダのいずれによってもワー
ド線を選択出来ることとし、また、データ線を複数の区
分データ線に分割することで、メモリセルアレイをデー
タ線の分割に対応してブロック化する構成により、第一
の制御信号に対応するデータ線の接続及び切離し並びに
第二の制御信号に対応する第一又は第二のアドレスデコ
ーダの出力選択によって、各ワード線及び区分データ線
に対応するメモリセルを第一又は第二の領域に対応する
読出し及び書込み回路に接続することで、メモリセルブ
ロックを第一又は第二の領域のいずれかに編入する。According to the memory circuit and the control method thereof of the present invention, the word line can be selected by both the first and second address decoders, and the data line is divided into a plurality of divided data lines. With the configuration in which the memory cell array is divided into blocks corresponding to the division of the data line, the connection and disconnection of the data line corresponding to the first control signal and the output of the first or second address decoder corresponding to the second control signal. Depending on the selection, by connecting the memory cells corresponding to each word line and the divided data line to the read and write circuits corresponding to the first or second area, the memory cell block can be arranged in either the first or second area. Transfer to.
【0011】[0011]
【実施例】図面を参照して本発明を更に詳しく説明す
る。図1〜図3は、本発明の一実施例のメモリ回路を構
成するキャッシュメモリ回路を示す図で、図1はその全
体構成を、図2及び3はその部分詳細図を示す。このキ
ャッシュメモリ回路は、中央に配置された、多数のメモ
リセルの集合として構成される4つのメモリセルブロッ
ク1A〜1Dから成るメモリセルアレイ11と、命令用
及びデータ用の各1組のXアドレスデコーダ(Xデコー
ダ)群12、13と、命令用及びデータ用の各1つのセ
ンスアンプ及び書込み回路SWR1I、SWR1Dと、
命令用及びデータ用の各1つのYアドレスデコーダ(Y
デコーダ)及びセレクタYSEL1I、YSEL1Dと
から基本的に構成される。The present invention will be described in more detail with reference to the drawings. 1 to 3 are views showing a cache memory circuit which constitutes a memory circuit according to an embodiment of the present invention, FIG. 1 shows the entire structure, and FIGS. 2 and 3 show partial detailed views thereof. This cache memory circuit includes a memory cell array 11 composed of four memory cell blocks 1A to 1D arranged in the center and configured as a set of a large number of memory cells, and one set of an X address decoder for instruction and one set of X address decoder for data. (X decoder) groups 12 and 13, and one sense amplifier and one write circuit SWR1I and one write circuit SWR1D for instruction and data,
One Y address decoder for each of instruction and data (Y
A decoder) and selectors YSEL1I and YSEL1D.
【0012】命令用のXデコーダ群12、Yデコーダ及
びセレクタYSEL1I並びに命令用のセンスアンプ及
び書込み回路SWR1Iは夫々、命令用のI−キャッシ
ュアドレスバス14及びI−キャッシュデータバス15
と接続され、これらから第一の領域を構成する命令用キ
ャッシュメモリ領域のためのアドレス情報及びデータ情
報を取り込む。また、データ用のXデコーダ群13、Y
アドレスデコーダYSEL1D並びにデータ用のセンス
アンプ及び書込み回路SWR1Dは夫々、データ用のD
−キャッシュアドレスバス16及びD−キャッシュデー
タバス17と接続され、これらから第二の領域を構成す
るデータ用キャッシュメモリ領域のためのアドレス情報
及びデータ情報を取り込む。The X decoder group 12 for instructions, the Y decoder and selector YSEL1I, and the sense amplifier and write circuit SWR1I for instructions are respectively an I-cache address bus 14 and an I-cache data bus 15 for instructions.
The address information and the data information for the instruction cache memory area forming the first area are fetched from these. Further, the X decoder group 13 for data, Y
The address decoder YSEL1D and the data sense amplifier and write circuit SWR1D are respectively data D
It is connected to the cache address bus 16 and the D-cache data bus 17, and fetches address information and data information for the data cache memory area forming the second area from these.
【0013】命令用及びデータ用の各Xデコーダ群1
2、13は、夫々複数のブロック、図面上では4つのブ
ロックIXD_A、IXD_B、IXD_C、IXD_
D、DXD_A、DXD_B、DXD_C、DXD_D
に分割されている。双方のXデコーダ群12、13の相
互に対応する各出力は、夫々1つのワード線20に共通
に接続される。例えば、データ用アドレスデコーダブロ
ックDXD_AのクロックドインバータG4の出力と、
命令用アドレスデコーダブロックIXD_Aのクロック
ドインバータG5の出力とは、同じワード線20に共通
に接続される。かかる構成により、命令用及びデータ用
のいずれのXデコーダ12、13群からも1つの共通の
ワード線20にアクセス可能である。Each X decoder group 1 for instruction and data
Reference numerals 2 and 13 denote a plurality of blocks, respectively, and four blocks IXD_A, IXD_B, IXD_C, and IXD_ in the drawing.
D, DXD_A, DXD_B, DXD_C, DXD_D
Is divided into The outputs of the X decoder groups 12 and 13 corresponding to each other are commonly connected to one word line 20. For example, the output of the clocked inverter G4 of the data address decoder block DXD_A,
The output of the clocked inverter G5 of the instruction address decoder block IXD_A is commonly connected to the same word line 20. With such a configuration, one common word line 20 can be accessed from both the X decoders 12 and 13 groups for instructions and data.
【0014】各メモリセルブロック1A〜1Dの区分デ
ータ線対18、19は、隣接するメモリセルブロックの
区分データ線対18、19と、トランスファーゲートを
成すデータ線間接続用NチャンネルトランジスタTr
5、Tr6相当(例えばTr5、Tr6という意味に使
用する。以下同様)−として構成されるスイッチ手段に
より夫々分割可能に接続される。各トランジスタスイッ
チTr5、Tr6相当は、データ線間接続信号φpによ
りその開閉が制御される。また、各各区分データ線1
8、19毎にプリチャージ用のトランジスタTr3、T
r4相当が図示しない低電位側電源との間に設けられて
いる。区分データ線18、19の集合として構成される
各データ線は、命令用及びデータ用の各Yデコーダ及び
セレクタYSEL1I、YSEL1Dのいずれによって
も、その一対が選択される構成である。The divided data line pairs 18 and 19 of the memory cell blocks 1A to 1D are connected to the divided data line pairs 18 and 19 of the adjacent memory cell blocks and the data line connecting N-channel transistor Tr for forming a transfer gate.
5 and Tr6 (for example, used to mean Tr5 and Tr6. The same applies hereinafter) -are connected in a divisible manner by switch means. Opening / closing of each of the transistor switches Tr5 and Tr6 is controlled by a data line connection signal φp. In addition, each division data line 1
Precharging transistors Tr3 and T for every 8 and 19
r4 equivalent is provided between the low potential side power source (not shown). Each data line configured as a set of the divided data lines 18 and 19 is configured such that a pair is selected by each of the instruction and data Y decoders and the selectors YSEL1I and YSEL1D.
【0015】各メモリセル21は、通常の6トランジス
タタイプのメモリセルとして構成され、データ保持用の
インバータG1、G2相当並びにトランジスタゲートT
r1、Tr2相当から構成される。各メモリセル21
は、対応するワード線20のアクティブ信号を受けて当
該メモリセル21に対応する区分データ線対18、19
に接続される。従って、メモリセルアレイ11は、ブロ
ック化されたXデコーダ群12、13及び区分されたデ
ータ線対18、19に対応してブロック化されている。Each memory cell 21 is configured as a normal 6-transistor type memory cell, and corresponds to data holding inverters G1 and G2 and a transistor gate T.
It is composed of r1 and Tr2. Each memory cell 21
Receives the active signal of the corresponding word line 20 and the divided data line pair 18, 19 corresponding to the memory cell 21.
Connected to. Therefore, the memory cell array 11 is divided into blocks corresponding to the blocked X decoder groups 12 and 13 and the divided data line pairs 18 and 19.
【0016】図9は、命令用(及びデータ用)センスア
ンプ及び書込み回路SWR1I相当と、命令用(及びデ
ータ用)Yデコーダ及びセレクタYSEL1I相当の1
ビット当りの回路構成を区分データ線対18、19の集
合であるデータ線1AB、1A相当と共に示している。
Yデコーダ及びセレクタは、1対のデータ線に対応して
ゲート組G21、G51相当を有し、このゲート組B2
1、G51相当がデータ線1AB、1A相当の対数だけ
備えられる。Yデコーダ及びセレクタの1つのゲート組
G21、G51相当の出力がアクティブになると、区分
データ線対18、19を含むデータ線対1AB、1A相
当が選択される。選択されたデータ線対1AB、1A
は、トランスファーゲートQ43、Q44相当により、
書込み回路又はセンス回路に接続される。書込み回路
は、ゲートG41、G42及びトランジスタQ45、Q
46から成る組として構成され、書込み信号WR1によ
り制御されて、データバスから書込みデータ信号DW1
を受け取り、これをデータ線対1AB、1A相当を介し
て各メモリセルに供給する。FIG. 9 shows a command (and data) sense amplifier and write circuit SWR1I equivalent, and a command (and data) Y decoder and selector YSEL1I equivalent.
The circuit configuration for each bit is shown together with data lines 1AB and 1A corresponding to a set of divided data line pairs 18 and 19.
The Y decoder and selector have gate groups G21 and G51 corresponding to the pair of data lines.
1, G51 equivalent are provided by the number of logarithms corresponding to the data lines 1AB, 1A. When the output corresponding to one gate group G21, G51 of the Y decoder and selector becomes active, the data line pair 1AB, 1A equivalent including the divided data line pair 18, 19 is selected. Selected data line pair 1AB, 1A
Is equivalent to transfer gates Q43 and Q44,
It is connected to a write circuit or a sense circuit. The write circuit includes gates G41 and G42 and transistors Q45 and Q.
46 as a set, and is controlled by the write signal WR1 to write data signal DW1 from the data bus.
Is supplied to each memory cell via the data line pair 1AB and 1A.
【0017】また、センス回路は、トランジスタ組Q4
9〜Q58から構成され、読出し信号RS1により制御
されて、データ線対1AB、1A相当からのデータを識
別してこのデータを、インバータ47と出力制御信号R
S2により制御されるトランジスタQ61とを介し、出
力O1として出力する。プリチャージ用トランジスタQ
41、Q42は、プリチャージ信号PR1を受けて、Y
デコーダにより選択されたデータ線対1AB、1A相当
をプリチャージ期間に高電位側電源に接続し、そのデー
タ線対をプリチャージする。Further, the sense circuit includes a transistor group Q4.
9 to Q58 and is controlled by the read signal RS1 to identify the data from the data line pair 1AB and 1A, and to output this data to the inverter 47 and the output control signal R.
It is output as the output O1 via the transistor Q61 controlled by S2. Precharge transistor Q
41 and Q42 receive the precharge signal PR1 and Y
The data line pair 1AB and 1A equivalent selected by the decoder are connected to the high potential side power supply during the precharge period, and the data line pair is precharged.
【0018】上記構成により図1〜図3に示したキャッ
シュメモリ回路では、制御信号により各メモリセルブロ
ック1A、1B、1C、1Dの4つの各ブロックを適宜
組み合わせることにより、データ用キャッシュメモリ領
域及び命令用キャッシュメモリ領域の比率を選定でき
る。この領域比率の選定方法を図7に表として示した。
同図において、Iは命令用、Dはデータ用を意味し、横
方向に領域比率の選定の様々なケースをとり、これら各
ケースについての各ブロックA〜Dの各命令用領域I及
びデータ用領域Dへの編入状態、及びこの編入状態を得
るための各制御信号の状態を表中に示している。なお、
表中において、制御信号φ2IA相当の状態を示す符号
としては、Vがアクティブ信号を、NVがノンアクティ
ブ信号を夫々表す。In the cache memory circuit shown in FIGS. 1 to 3 having the above-described structure, by appropriately combining the four blocks of the memory cell blocks 1A, 1B, 1C and 1D by the control signal, the cache memory area for data and The ratio of the instruction cache memory area can be selected. The method of selecting the area ratio is shown in the table of FIG.
In the same figure, I means for instructions, D means for data, and various cases of selecting the area ratio in the horizontal direction are taken. For each of these cases, the instruction area I and data for each block A to D The state of incorporation into the area D and the state of each control signal for obtaining this incorporation state are shown in the table. In addition,
In the table, V indicates an active signal and NV indicates a non-active signal as a code indicating a state corresponding to the control signal φ2IA.
【0019】図7において、例えば命令用メモリ領域I
対データ用メモリ領域Dの領域比率が4:0である図の
右端の列について、まず、具体的に説明する。このと
き、全てのメモリブロックA〜Dは命令用キャッシュ領
域Iに編入される。この場合には、命令用Xデコーダ群
12の出力は全てアクティブ状態、データ用Xデコーダ
群13の出力は全てノンアクティブ状態にされる。この
目的のために、命令用Xデコーダブロック内のクロック
ドインバータG5相当に与えられる制御クロックφ1I
A、φ1IB、φ1IC、φ1IDはアクティブ信号と
なり、また、データ用Xデコーダブロック内のクロック
ドインバータG4相当に与えられる制御クロックφ1D
A、φ1DB、φ1DC、φ1DDはノンアクティブ信
号とされる。In FIG. 7, for example, an instruction memory area I
The rightmost column in the drawing in which the area ratio of the memory area D for data is 4: 0 will be specifically described first. At this time, all the memory blocks A to D are incorporated into the instruction cache area I. In this case, all the outputs of the instruction X decoder group 12 are in the active state, and all the outputs of the data X decoder group 13 are in the inactive state. For this purpose, a control clock φ1I provided to the clocked inverter G5 equivalent in the instruction X decoder block
A, φ1IB, φ1IC, φ1ID become active signals, and a control clock φ1D provided to the clocked inverter G4 equivalent in the data X decoder block.
A, φ1DB, φ1DC, and φ1DD are non-active signals.
【0020】各区分データ線対相互の間に配設されたデ
ータ線接続用トランジスタTr5、Tr6相当は全てオ
ンとなり、各区分データ線対は全体として1つの、即ち
第一領域のデータ線対として構成される。この目的のた
めに、データ線間接続信号φY1A、φY1B、φY1
Cは全てアクティブ信号になり、対応する各区分データ
線が相互に電気的に接続される。また、Yデコーダ及び
セレクタYSEL1I、YSEL1Dに与える信号φS
1I及びφSIDは、図示のごとく命令用がアクティブ
信号、データ用がノンアクティブ信号とされる。All the data line connecting transistors Tr5, Tr6 and the like arranged between the respective divided data line pairs are turned on, and each divided data line pair as a whole is a data line pair in the first region. Composed. For this purpose, data line connection signals φY1A, φY1B, φY1
All C's become active signals, and the corresponding segment data lines are electrically connected to each other. Further, a signal φS given to the Y decoder and selectors YSEL1I and YSEL1D
As shown in the figure, 1I and φSID are active signals for commands and non-active signals for data.
【0021】各制御信号の選択により、メモリ領域の比
率4:0が選定されると、キャッシュメモリの実際の制
御は以下のごとく行われる。即ち、まず、命令用Xデコ
ーダブロックIXD_A、IXD_B、IDX_C、I
DX_Dの中でいずれか1つのNANDゲートG6相当
のゲートの出力が選択されることで、4つのメモリセル
ブロック1A〜1Dのなかの1本のワード線20が選択
される。このワード線20に接続された各メモリセルが
対応する区分データ線対18、19に接続されると、命
令用Yデコーダ及びセレクタYSEL1Iにより選択さ
れた1つのデータ線対1AB、1Aに対応する1つのメ
モリセルが、実際に選択されて命令用センスアンプ及び
書込み回路SWR1Iに接続され、このメモリセルに対
して読出し又は書込みがなされる。このようにして、全
てのメモリセルが命令用キャッシュメモリとして使用で
きる。When the memory area ratio of 4: 0 is selected by selecting each control signal, the actual control of the cache memory is performed as follows. That is, first, the instruction X decoder blocks IXD_A, IXD_B, IDX_C, and I
By selecting the output of any one of the gates corresponding to the NAND gate G6 in DX_D, one word line 20 in the four memory cell blocks 1A to 1D is selected. When each memory cell connected to the word line 20 is connected to the corresponding segmented data line pair 18 and 19, 1 corresponding to one data line pair 1AB and 1A selected by the instruction Y decoder and selector YSEL1I is selected. One memory cell is actually selected and connected to the command sense amplifier and write circuit SWR1I, and reading or writing is performed on this memory cell. In this way, all memory cells can be used as the instruction cache memory.
【0022】次に、図7の命令用領域Iとデータ用領域
Dの領域比率が3:1の場合について説明する。このと
きには、3つのメモリセルブロックA、B、Cが命令用
キャッシュメモリ領域Iに、1つのメモリセルブロック
Dがデータ用キャッシュメモリ領域Dに編入される。こ
の目的のために、命令用XデコーダブロックIXD_
A、IXD_B、IXD_CのクロックドインバータG
5相当に与える制御クロックφ1IA、1IB、1IC
並びにデータ用XデコーダブロックDXD_Dのクロッ
クドインバータG4相当に与える制御クロックφ1DD
をアクティブ信号とする。Next, a case where the area ratio between the instruction area I and the data area D in FIG. 7 is 3: 1 will be described. At this time, three memory cell blocks A, B, and C are incorporated into the instruction cache memory region I, and one memory cell block D is incorporated into the data cache memory region D. For this purpose, the X decoder block for instructions IXD_
A, IXD_B, IXD_C clocked inverter G
Control clocks φ1IA, 1IB, 1IC given to 5
And a control clock φ1DD applied to the clocked inverter G4 equivalent of the data X decoder block DXD_D
Is an active signal.
【0023】他方データ用XデコーダブロックDXD_
A、DXD_B、DXD_CのクロックドインバータG
4相当に与える制御クロックφ1DA、φ1DB、φ1
DC並びに命令用XデコーダブロックIDX_Dのクロ
ックドインバータG5相当に与える制御クロックφ1I
Dをノンアクティブ信号とする。このときのデータ線間
接続信号φY1A及びφY1Bはアクティブ信号、φY
1Cはノンアクティブ信号として、メモリセルブロック
1A、1B、1Cを電気的に接続して第一の領域に編入
し、メモリセルブロック1Dを電気的に切り離して第二
の領域に編入する。また、Yデコーダ及びセレクタに与
えるYデコーダ制御信号φS1I及びφS1Dはいずれ
もアクティブ信号とする。On the other hand, the X decoder block for data DXD_
Clocked inverter G of A, DXD_B, DXD_C
4 control clocks φ1DA, φ1DB, φ1
Control clock φ1I given to DC and instruction X decoder block IDX_D corresponding to clocked inverter G5
Let D be a non-active signal. At this time, the data line connection signals φY1A and φY1B are active signals, φY
As a non-active signal, 1C electrically connects the memory cell blocks 1A, 1B, and 1C into the first region, and electrically disconnects the memory cell block 1D into the second region. Further, the Y decoder control signals φS1I and φS1D supplied to the Y decoder and the selector are both active signals.
【0024】上記の如き領域分割構成が採用されると、
命令用XデコーダブロックIXD_A、IDX_B、I
DX_Cのいずれか1つのNANDゲートG6相当の出
力と、データ用XデコーダDXD_DのNANDゲート
G3相当の出力とは夫々独立に選択できるので、上記領
域構成のキャッシュメモリで、異なる領域に存在する2
本のワード線20が選択可能となる。命令用Xデコーダ
群12で選択されたワード線20のメモリセルは、前記
と同様に、命令用YデコーダYSEL1Iにより選択さ
れるデータ線を介して、命令用センスアンプ及び書込み
回路SWR1Iにより読出し又は書込みが行われる。ま
た、データ用Xデコーダ群13により選択されたワード
線20のメモリセルは、データ用YデコーダYSEL1
Dにより選択されるデータ線を介して、データ用センス
アンプ及び書込み回路SWR1Dにより読出し又は書込
みが行われる。このようにして、命令用メモリ領域対デ
ータ用メモリ領域の比率が、3:1で制御される。When the area division structure as described above is adopted,
Instruction X decoder block IXD_A, IDX_B, I
Since the output corresponding to any one of the NAND gates G6 of DX_C and the output corresponding to the NAND gate G3 of the data X decoder DXD_D can be independently selected, the cache memory having the above area configuration exists in different areas.
The word line 20 of the book can be selected. The memory cell of the word line 20 selected by the instruction X decoder group 12 is read or written by the instruction sense amplifier and write circuit SWR1I via the data line selected by the instruction Y decoder YSEL1I as described above. Is done. The memory cell of the word line 20 selected by the data X decoder group 13 is the data Y decoder YSEL1.
Reading or writing is performed by the data sense amplifier and write circuit SWR1D via the data line selected by D. In this way, the ratio of the instruction memory area to the data memory area is controlled at 3: 1.
【0025】図7のその他の領域比率の選択について
も、上記と同様にXデコーダ群のクロックドインバータ
の制御クロック及びデータ線間接続信号等の組合せによ
り行われる。このようにして、図1〜図3に示したキャ
ッシュメモリ回路は、例えばアプリケーションソフトウ
エアにより各制御信号のアクティブ又はノンアクティブ
を選択して、メモリセルアレイのブロックの組合せ及至
はその命令用又はデータ用領域への編入を選択する。こ
れにより、命令用及びデータ用領域を所望の比率に設定
して制御可能である。なお、メモリセルアレイのブロッ
ク化における分割数及び各ブロックのサイズは任意に選
定可能である。The selection of the other area ratios in FIG. 7 is also performed by the combination of the control clock of the clocked inverter of the X decoder group and the data line connection signal as in the above. In this manner, the cache memory circuits shown in FIGS. 1 to 3 select active or inactive of each control signal by, for example, application software, and the combination of blocks of the memory cell array and the instruction or data are selected. Select to transfer to the area. As a result, it is possible to set and control the command area and the data area at a desired ratio. The number of divisions and the size of each block in dividing the memory cell array into blocks can be arbitrarily selected.
【0026】図4〜図6は、本発明の第二の実施例のメ
モリ回路を構成するキャッシュメモリ回路を示す回路図
であり、図4がその全体を、図5及び6がその部分詳細
を示す。この実施例のキャッシュメモリ回路では、4つ
のメモリセルブロック2A、2B、2C、2Dは2列2
行に配置され、4つのデータ用XデコーダブロックDX
D_2A、DXD_2B、DXD_2C、DXD_2D
が、夫々に対応する各メモリセルブロック2A、2B、
2C、2Dに隣接して配置される。データ用Xデコーダ
群13は、D−キャッシュアドレスバス36と接続され
てデータ用アドレス情報を取り込む。4 to 6 are circuit diagrams showing a cache memory circuit which constitutes a memory circuit of the second embodiment of the present invention. FIG. 4 shows the whole, and FIGS. 5 and 6 show partial details thereof. Show. In the cache memory circuit of this embodiment, the four memory cell blocks 2A, 2B, 2C and 2D are arranged in 2 columns 2
4 data X decoder blocks DX arranged in rows
D_2A, DXD_2B, DXD_2C, DXD_2D
However, each memory cell block 2A, 2B,
It is arranged adjacent to 2C and 2D. The data X decoder group 13 is connected to the D-cache address bus 36 and fetches data address information.
【0027】また、命令用XデコーダブロックIXD_
1AC及びIXD_1BDは、2列に配置されたメモリ
ブロック2A及び2C、2B及び2Dの間に夫々に対応
して配置され、夫々I−キャッシュアドレスバス34に
接続されて、これから命令用アドレス情報を取り込む。
各メモリブロックの全てのワード線40は、各命令用及
びデータ用Xデコーダ群32、33の双方の出力により
アクセスされる。各XデコーダブロックIXD_1A
C、IXD_1BD、DXD_2A、DXD_2B、D
XD_2C、DXD_2Dは、その出力段を成すクロッ
クドインバータの制御クロックφ2IA、φ2IB、φ
2IC、φ2ID、φ2DA、φ2DB、φ2DC、φ
2DDで制御される。The instruction X decoder block IXD--
1AC and IXD_1BD are respectively arranged between the memory blocks 2A and 2C, 2B and 2D arranged in two columns, respectively, are connected to the I-cache address bus 34, and fetch the address information for instructions from this. .
All word lines 40 of each memory block are accessed by the outputs of both the instruction and data X decoder groups 32 and 33. Each X decoder block IXD_1A
C, IXD_1BD, DXD_2A, DXD_2B, D
XD_2C and DXD_2D are control clocks φ2IA, φ2IB, φ of the clocked inverters that form the output stage thereof.
2IC, φ2ID, φ2DA, φ2DB, φ2DC, φ
It is controlled by 2DD.
【0028】センスアンプ及び書込み回路並びにYデコ
ーダ及びセレクタは、データ用及び命令用の夫々に2セ
ットづつ、回路全体として夫々4セットづつ設けられ
る。各命令用センスアンプ及び書込み回路SWR2I
1、SWR2I2はI−キャッシュデータバス34と接
続され、各データ用センスアンプ及び書込み回路SWR
2D1、SWR2D2はD−キャッシュデータバス37
と接続される。命令用及びデータ用の各センスアンプ及
び書込み回路のうち、SWR2I1又はSWR2D1の
いずれか又は双方、SWR2I2、SWR2D2のいず
れか又は双方が、夫々アクティブ信号とされる。データ
線の選択は、Yデコーダ制御信号φSI1、φSI2、
φSD1、φSD2のアクティブ又はノンアクティブ信
号により行われる。Two sets of sense amplifiers and write circuits, two sets of Y decoders and selectors are provided for each of data and instructions, and four sets are provided for each circuit as a whole. Sense amplifier and write circuit SWR2I for each instruction
1, SWR2I2 are connected to the I-cache data bus 34, and each data sense amplifier and write circuit SWR
2D1 and SWR2D2 are D-cache data buses 37
Connected with. Among the command and data sense amplifiers and write circuits, either or both of SWR2I1 and SWR2D1 and either or both of SWR2I2 and SWR2D2 are set as active signals. The data lines are selected by Y decoder control signals φSI1, φSI2,
This is performed by an active or non-active signal of φSD1 and φSD2.
【0029】メモリセルブロック2Aの区分データ線対
38、39と、隣接するメモリセルブロック2Bの区分
データ線対38、39との間には、トランスファーゲー
トを成すデータ線間接続用NチャンネルトランジスタT
r21、Tr22が配置され、そのゲート電極にはデー
タ線間接続信号φY2Aが与えられる。また、メモリセ
ルブロック2Cの区分データ線対38、39と、隣接す
るメモリセルブロック2Dのブロックデータ線対38、
39との間には、同様にNチャンネルトランジスタから
成るスイッチ手段が設けられ、そのゲート電極にはデー
タ線間接続信号φY2Bが与えられる。データ線間接続
信号φY2A及びφY2BのHレベル又はLレベルの選
択により、双方の区分データ線38、39を、1本のデ
ータ線対として制御し、又は、第一及び第二の領域夫々
のデータ線対として制御可能である。An N-channel transistor T for connecting data lines, which forms a transfer gate, is provided between the partition data line pair 38, 39 of the memory cell block 2A and the partition data line pair 38, 39 of the adjacent memory cell block 2B.
r21 and Tr22 are arranged, and a data line connection signal φY2A is applied to their gate electrodes. Further, the divided data line pair 38, 39 of the memory cell block 2C and the block data line pair 38 of the adjacent memory cell block 2D,
Similarly, a switch means including an N-channel transistor is provided between the switch 39 and 39, and the data line connection signal φY2B is applied to its gate electrode. By selecting the H level or the L level of the data line connection signals φY2A and φY2B, both the divided data lines 38 and 39 are controlled as one data line pair, or the data of each of the first and second regions is controlled. It can be controlled as a line pair.
【0030】図8は、上記第二の実施例のキャッシュメ
モリ回路におけるメモリ領域の領域比率を選択する方法
を図7と同様に示す。命令用メモリ領域I対データ用メ
モリ領域Dの比率が4:0である右端のケースでは、全
てのメモリセルブロックを命令用メモリ領域Iに編入す
るために、命令用Xデコーダブロックの出力を制御する
制御クロックφ2IA、φ2IB、φ2IC、φ2ID
が全てアクティブ信号となり、データ用Xデコーダブロ
ックの出力を制御する制御クロックφ2DA、φ2D
B、φ2DC、φ2DDはノンアクティブ信号となる。
また、データ線間接続信号φY2A及びφY2Bはいず
れも区分データ線対相互を接続するためにアクティブ信
号となる。FIG. 8 shows a method of selecting the area ratio of the memory area in the cache memory circuit of the second embodiment, similar to FIG. In the rightmost case where the ratio of the instruction memory area I to the data memory area D is 4: 0, the output of the instruction X decoder block is controlled in order to incorporate all the memory cell blocks into the instruction memory area I. Control clock φ2IA, φ2IB, φ2IC, φ2ID
Become active signals and control clocks φ2DA and φ2D for controlling the output of the data X decoder block
B, φ2DC, and φ2DD are non-active signals.
Further, the data line connection signals φY2A and φY2B are both active signals for connecting the divided data line pairs.
【0031】上記制御信号の選択に従って、命令用Xデ
コーダブロックIXD_1AC又はIXD_1BDのい
ずれかの出力が選択され、メモリセルブロック2A、2
Bのうちから1本のワード線が、メモリセルブロック2
C、2Dのうちから1本のワード線が夫々選択される。
従って、ワード線40は2本が同時に選択できることと
なる。この場合、命令用Yデコーダ及びセレクタYSE
L2I1、YSEL2I2を選択する信号φSI1、φ
SI2のうちいずれかがアクティブ信号とされるので、
前記選択された2本のワード線40にアクセスされたメ
モリセルのうち、アクティブとされた側のデータ線対3
8、39に接続されているメモリセルのみが結局読出し
又は書込み可能となり、I−キャッシュデータバス35
と接続できる。このようにして、全てのメモリセルが命
令用キャッシュとして使用される。According to the selection of the control signal, the output of either the instruction X decoder block IXD_1AC or IXD_1BD is selected, and the memory cell blocks 2A, 2A and 2B are selected.
One word line from B is the memory cell block 2
One word line is selected from C and 2D.
Therefore, two word lines 40 can be selected at the same time. In this case, the instruction Y decoder and selector YSE
Signals φSI1 and φ for selecting L2I1 and YSEL2I2
Since either of SI2 is an active signal,
Data line pair 3 on the activated side of the memory cells accessed by the selected two word lines 40
Only the memory cells connected to 8 and 39 eventually become readable or writable, and the I-cache data bus 35
Can be connected with. In this way, all memory cells are used as the instruction cache.
【0032】次に、図8において、命令用メモリ領域I
対データ用メモリ領域Dの比率が3:1であるケースに
ついて説明する。このケースでは、メモリブロック2
A、2B、2Cが命令用、メモリブロック2Dがデータ
用に割り当てられる。従って、命令用XデコーダIXD
_1AC及びIXD_1BDの一部並びにデータ用Xデ
コーダDXD_2Dの出力をアクティブとし、それ以外
のXデコーダをノンアクティブとする。この目的のため
に、クロックドインバータの制御クロックφ2IA、φ
2IB、φ2IC、φ2DDをアクティブ信号とし、φ
2DA、φ2DB、φ2DC、φ2IDをノンアクティ
ブ信号とする。また、データ線間接続信号φY2Aをア
クティブとしてメモリセルブロック2Aと2Bとを接続
し、データ線間接続信号φY2Bをノンアクティブとし
てメモリセルブロック2Cと2Dとを切り離す。Next, referring to FIG. 8, the instruction memory area I
A case where the ratio of the memory area D for data is 3: 1 will be described. In this case, memory block 2
A, 2B, and 2C are assigned for instructions, and the memory block 2D is assigned for data. Therefore, the instruction X decoder IXD
A part of _1AC and IXD_1BD and the output of the data X decoder DXD_2D are activated, and the other X decoders are deactivated. For this purpose, the clocked inverter control clocks φ2IA, φ
2IB, φ2IC, φ2DD are active signals, and φ
2DA, φ2DB, φ2DC, and φ2ID are non-active signals. Further, the data line connection signal φY2A is activated to connect the memory cell blocks 2A and 2B, and the data line connection signal φY2B is set to inactive to disconnect the memory cell blocks 2C and 2D.
【0033】上記領域比率の選択において、命令用Xデ
コーダブロックのうちの1つの出力と、データ用Xデコ
ーダブロックDXD_2Dの1つの出力とにより、夫々
ワード線40が1本づつアクセスされる。命令用Yデコ
ーダ及びセレクタYSEL2I1又はYSEL2I2の
うち一方が、Yデコーダ制御信号φSI1又はφSI2
のアクティブ又はノンアクティブにより夫々選択され
る。また、データ用Yデコーダ及びセレクタYSEL2
D2が、Yデコーダ制御信号φSD2のアクティブによ
り選択される。In selecting the area ratio, one word line 40 is accessed by one output of the instruction X decoder block and one output of the data X decoder block DXD_2D. One of the Y decoder for instruction and the selector YSEL2I1 or YSEL2I2 is the Y decoder control signal φSI1 or φSI2.
Are selected depending on whether they are active or inactive. Also, a data Y decoder and a selector YSEL2
D2 is selected by the active Y decoder control signal φSD2.
【0034】図8のその他の領域比率についても、上記
と同様に各制御信号のアクティブ又はノンアクティブの
選択により行われる。即ち、命令用を成す第一のメモリ
領域及びデータ用を成す第二のメモリ領域の比率は、表
に記した制御信号の選択に従って可変とされる。各ブロ
ックは、集積回路のチップ上でのメモリアレイの配置に
従って最適なブロック形状が選定でき、これらのブロッ
クを、その配置に従い命令用又はデータ用のいずれかの
キャッシュメモリ領域に割当てることで、その領域比率
を選定できる。各領域への割当ては、そのときに使用す
るアプリケーションソフトウエア等に最適な領域比率と
することができ、キャッシュメモリを搭載したことによ
るメリットを最大限に引き出すことができる。The other area ratios in FIG. 8 are also selected by the active or non-active selection of each control signal as in the above. That is, the ratio of the first memory area for instruction and the second memory area for data is variable according to the selection of the control signal shown in the table. For each block, an optimum block shape can be selected according to the arrangement of the memory array on the chip of the integrated circuit, and by allocating these blocks to either the instruction or data cache memory area according to the arrangement, Area ratio can be selected. Allocation to each area can be made to be an optimal area ratio for application software used at that time, and the merit of having a cache memory can be maximized.
【0035】上記各実施例のキャッシュメモリ回路は、
本発明の実施例のメモリ回路の制御方法において採用さ
れる。なお、上記各実施例のメモリ回路は、夫々単に例
示であり、本発明のメモリ回路及び本発明の制御方法で
採用されるメモリ回路は、必ずしもキャッシュメモリ回
路にのみ限定されるものではなく、上記実施例から種々
の修正及び変更が可能である。The cache memory circuit of each of the above embodiments is
It is adopted in the control method of the memory circuit of the embodiment of the present invention. The memory circuits of the above embodiments are merely examples, and the memory circuit employed in the memory circuit of the present invention and the control method of the present invention is not necessarily limited to the cache memory circuit. Various modifications and changes are possible from the embodiment.
【0036】[0036]
【発明の効果】以上説明したように、本発明のメモリ回
路及びその制御方法によると、メモリセルアレイ及びデ
コーダをブロック化すると共に、これに対応する各区分
データ線相互を切離し可能に接続することで、各メモリ
セルブロックを第一又は第二の領域のいずれにも編入す
ることが出来るので、各メモリセルの構成を複雑化する
ことなく、第一領域及び第二領域のサイズ比率を変更可
能である。従って、本発明のメモリ回路及びその制御方
法をキャッシュメモリ回路に適用すると、キャッシュメ
モリ搭載による性能を最大限に引き出すことが出来る領
域比率を選定可能であり、本発明によりキャッシュメモ
リに好適なメモリ回路及びその制御方法が提供される。As described above, according to the memory circuit and its control method of the present invention, the memory cell array and the decoder are divided into blocks, and the corresponding divided data lines are connected to each other in a separable manner. Since each memory cell block can be incorporated into either the first or second area, the size ratio of the first area and the second area can be changed without complicating the configuration of each memory cell. is there. Therefore, when the memory circuit and its control method of the present invention are applied to the cache memory circuit, it is possible to select the area ratio that can maximize the performance by mounting the cache memory, and the memory circuit suitable for the cache memory according to the present invention. And a control method thereof.
【図1】本発明の第一の実施例のメモリ回路の全体図で
ある。FIG. 1 is an overall view of a memory circuit according to a first embodiment of the present invention.
【図2】本発明の第一の実施例のメモリ回路の部分詳細
図である。FIG. 2 is a partial detailed view of the memory circuit according to the first embodiment of the present invention.
【図3】本発明の第一の実施例のメモリ回路の部分詳細
図である。FIG. 3 is a partial detailed view of the memory circuit according to the first embodiment of the present invention.
【図4】本発明の第二の実施例のメモリ回路の全体図で
ある。FIG. 4 is an overall view of a memory circuit according to a second embodiment of the present invention.
【図5】本発明の第二の実施例のメモリ回路の部分詳細
図である。FIG. 5 is a partial detailed view of a memory circuit according to a second embodiment of the present invention.
【図6】本発明の第二の実施例のメモリ回路の部分詳細
図である。FIG. 6 is a partial detailed view of a memory circuit according to a second embodiment of the present invention.
【図7】第一の実施例における領域比率の選定方法を示
す信号選択図である。FIG. 7 is a signal selection diagram showing a method of selecting a region ratio in the first embodiment.
【図8】第二の実施例における領域比率の選定方法を示
す信号選択図である。FIG. 8 is a signal selection diagram showing a method of selecting a region ratio in the second embodiment.
【図9】第一の実施例のYデコーダ及びセレクタ並びに
センスアンプ及び書込み回路の構成を例示する回路図で
ある。FIG. 9 is a circuit diagram illustrating a configuration of a Y decoder and a selector, a sense amplifier, and a writing circuit according to the first embodiment.
【図10】従来のキャッシュメモリ回路のメモリセルの
構成を示す回路図である。FIG. 10 is a circuit diagram showing a configuration of a memory cell of a conventional cache memory circuit.
【図11】図10のキャッシュメモリ回路の全体構成を
示す回路図である。11 is a circuit diagram showing an overall configuration of the cache memory circuit of FIG.
SWR1I、SWR2I1、SWR2I2 命令用センスアンプ及び書込み
回路 SW1D、SWR2D1、SWR2D2 データ用センスアンプ及び書込み
回路 YSEL1I、YSEL2I1、YSEL2I2、 命令用Yデコーダ及びセレ
クタ YSEL1D、YSEL2D1、YSEL2D2 データ用Yデコーダ及びセ
レクタ IXD_A、IXD_B、IXD_C、IXD_D、IXD_1AC、IXD_1BD 命令用X
デコーダ DXD_A、DXD_B、DXD_C、DXD_D、DXD_2A、DXD_2B、DXD_2C、DXD_2
D データ用Xデコーダ φp、PR1 プリチャージ
信号 φY1A、φY1B、φY1C、φY2A、φY2B データ線間接続信号 φ1DA、φ1DB、φ1DC、φ1DD、φ1IA、φ1IB、φ1IC、φ1ID
Xデコーダ出力制御信号 φS1I、φS1D、φI1、φSI2、φS
D1、φSD2 Yデコーダ制御信号 WR1 書込み信号 DW1 書込みデータ信号 O1 出力 11、31 メモリセルアレイ 12、32 命令用Xデコーダ群 13、33 データ用Xデコーダ群 14、34 I−キャッシュアドレスバス 15、35 1−キャッシュデータバス 16、36 D−キャッシュアドレスバス 17、37 D−キャッシュデータバス 18、19、38、39 区分データ線対 20、40 ワード線SWR1I, SWR2I1, SWR2I2 instruction sense amplifier and write circuit SW1D, SWR2D1, SWR2D2 data sense amplifier and write circuit YSEL1I, YSEL2I1, YSEL2I2, instruction Y decoder and selector YSEL1D, YSEL2D1, YSEL2D2 data Y decoder and selector DIXD_A , IXD_C, IXD_D, IXD_1AC, IXD_1BD X for instruction
Decoder DXD_A, DXD_B, DXD_C, DXD_D, DXD_2A, DXD_2B, DXD_2C, DXD_2
D data X decoder φp, PR1 Precharge signal φY1A, φY1B, φY1C, φY2A, φY2B Data line connection signal φ1DA, φ1DB, φ1DC, φ1DD, φ1IA, φ1IB, φ1IC, φ1ID
X decoder output control signal φS1I, φS1D, φI1, φSI2, φS
D1, φSD2 Y decoder control signal WR1 write signal DW1 write data signal O1 output 11, 31 memory cell array 12, 32 instruction X decoder group 13, 33 data X decoder group 14, 34 I-cache address bus 15, 35 1- Cache data bus 16,36 D-cache address bus 17,37 D-cache data bus 18,19,38,39 Partitioned data line pair 20,40 Word line
Claims (5)
伝達する第一及び第二の領域に分割可能なメモリ領域を
有するメモリ回路において、 前記第一及び第二の領域に夫々対応する少なくとも1つ
のメモリ読出し及び書込み回路と、 前記第一及び第二の領域に夫々対応する第一及び第二の
アドレスデコーダ回路と、 前記第一及び第二のアドレスデコーダ回路の双方の出力
が共通に接続されて該双方の出力により夫々1つが独立
に選択可能な複数のワード線と、 複数の区分データ線に夫々分割されており、該区分デー
タ線のうちの各1つが夫々前記第一及び第二の領域に対
応する前記読出し及び書込み回路と夫々接続可能に配設
された複数のデータ線と、 前記分割された各区分データ線相互間に配設され、第一
の制御信号により開閉制御されて該区分データ線を相互
に接続可能なスイッチ手段と、 第二の制御信号により前記第一及び第二のデコーダの出
力をブロック毎に制御するデコーダ制御部と、 前記ワード線の選択を介して前記区分データ線に夫々接
続される複数のメモリセルから成り、前記ワード線及び
前記区分データ線に対応するメモリセルブロックとして
構成されるメモリセルアレイとを具備し、 前記第一及び第二の制御信号の選択により、前記メモリ
セルブロックが前記第一又は第二の領域のいずれかに編
入されることを特徴とするメモリ回路。1. A memory circuit having a memory area that can be divided into first and second areas for transmitting information to and from the first and second buses, respectively. At least one corresponding memory read / write circuit, first and second address decoder circuits respectively corresponding to the first and second regions, and outputs of both the first and second address decoder circuits. It is divided into a plurality of word lines that are commonly connected and one of which is independently selectable by the outputs of both of them, and a plurality of section data lines, and each one of the section data lines is the first data line. And a plurality of data lines respectively corresponding to the read and write circuits corresponding to the second area and between the divided data lines and opened / closed by a first control signal. Controlled Switch means for connecting the divided data lines to each other; a decoder control section for controlling the output of the first and second decoders for each block by a second control signal; and the decoder control section for selecting the word lines. A memory cell array composed of a plurality of memory cells respectively connected to the divisional data lines and configured as a memory cell block corresponding to the word lines and the divisional data lines; A memory circuit, wherein the memory cell block is incorporated into either the first or second region depending on the selection.
読出し及び書込み回路を各2以上備えおり、第三の制御
信号に応答して前記第一の領域に対応する読出し及び書
込み回路のいずれか1つを選択する第一の選択手段と、
第四の制御信号に応答して前記第二の領域に対応する読
出し及び書込み回路のいずれか1つを選択する第二の選
択手段とを更に備えることを特徴とする請求項1に記載
のメモリ回路。2. The read and write circuits corresponding to the first and second areas are provided in two or more each, and the read and write circuits corresponding to the first area are provided in response to a third control signal. A first selecting means for selecting any one,
2. The memory according to claim 1, further comprising second selecting means for selecting one of the read and write circuits corresponding to the second area in response to a fourth control signal. circuit.
ことを特徴とする請求項1又は2に記載のメモリ回路。3. The memory circuit according to claim 1, which is configured as a cache memory circuit.
伝達する第一及び第二の領域に分割可能なメモリ領域を
有するメモリ回路の制御方法において、 前記メモリ回路に、前記第一及び第二の領域の夫々に対
応する少なくとも1つのメモリ読出し及び書込み回路
と、前記第一及び第二の領域に夫々対応する第一及び第
二のアドレスデコーダ回路とを設け、 各ワード線に対し前記第一及び第二のアドレスデコーダ
回路双方の各出力を共通に接続し、 各データ線を複数の区分データ線に夫々分割してメモリ
セルアレイを該区分データ線に対応するメモリセルブロ
ックに分割すると共に、前記各分割された区分データ線
相互を夫々第一の制御信号に従って接続可能とし、 第二の制御信号により前記第一及び第二のデコーダを前
記データ線の分割に対応するデコーダブロック毎に制御
し、 前記第一及び第二の制御信号の選択により、各メモリセ
ルブロックを前記第一又は第二の領域のいずれかに編入
することを特徴とする方法。4. A method of controlling a memory circuit having a memory area that can be divided into first and second areas for transmitting information to and from a first bus and a second bus, respectively. At least one memory read / write circuit corresponding to each of the first and second regions and first and second address decoder circuits corresponding to the first and second regions are provided, and each word line is provided. On the other hand, the outputs of both the first and second address decoder circuits are commonly connected, each data line is divided into a plurality of divided data lines, and the memory cell array is divided into memory cell blocks corresponding to the divided data lines. In addition, the divided data lines can be connected to each other according to a first control signal, and the second control signal causes the first and second decoders to divide the data lines. Controls for each decoder block respond, by selection of the first and second control signals, the method characterized by incorporated each memory cell block in one of said first or second regions.
して構成され、前記各制御信号の選択がソフトウエアに
より指定されることを特徴とする請求項4に記載のメモ
リ回路の制御方法。5. The method of controlling a memory circuit according to claim 4, wherein the memory circuit is configured as a cache memory circuit, and selection of each of the control signals is designated by software.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11262993A JP2522149B2 (en) | 1993-05-14 | 1993-05-14 | Memory circuit and control method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11262993A JP2522149B2 (en) | 1993-05-14 | 1993-05-14 | Memory circuit and control method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06324939A true JPH06324939A (en) | 1994-11-25 |
| JP2522149B2 JP2522149B2 (en) | 1996-08-07 |
Family
ID=14591517
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11262993A Expired - Lifetime JP2522149B2 (en) | 1993-05-14 | 1993-05-14 | Memory circuit and control method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2522149B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012018700A (en) * | 2011-10-25 | 2012-01-26 | Renesas Electronics Corp | Arithmetic processing unit and storage system |
-
1993
- 1993-05-14 JP JP11262993A patent/JP2522149B2/en not_active Expired - Lifetime
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012018700A (en) * | 2011-10-25 | 2012-01-26 | Renesas Electronics Corp | Arithmetic processing unit and storage system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2522149B2 (en) | 1996-08-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3356747B2 (en) | Semiconductor storage device | |
| US5590084A (en) | Semiconductor memory device having a column selector | |
| US6005794A (en) | Static memory with low power write port | |
| JP2982920B2 (en) | Semiconductor storage device | |
| US5734619A (en) | Semiconductor memory device having cell array divided into a plurality of cell blocks | |
| US20020136081A1 (en) | Semiconductor integrated circuit device | |
| US5812483A (en) | Integrated circuit memory devices including split word lines and predecoders and related methods | |
| US4554646A (en) | Semiconductor memory device | |
| JPH0760595B2 (en) | Semiconductor memory | |
| US6469951B2 (en) | Semiconductor memory having an overlaid bus structure | |
| US6038159A (en) | Memory architecture and decoder addressing | |
| US6788600B2 (en) | Non-volatile semiconductor memory | |
| US6215721B1 (en) | Multi-bank memory device and method for arranging input/output lines | |
| CA1173566A (en) | Multiport memory array | |
| JP2522149B2 (en) | Memory circuit and control method thereof | |
| US5305258A (en) | Semiconductor memory and memory cell | |
| JP2845187B2 (en) | Semiconductor storage device | |
| JP3497904B2 (en) | Semiconductor device | |
| JP2006147145A (en) | Arrangement method of semiconductor memory device | |
| US6160730A (en) | Multi-block memory | |
| US6947308B2 (en) | Embedded semiconductor memory with crossbar wirings and switches for high bandwidth | |
| US5982680A (en) | Semiconductor memory | |
| US5384726A (en) | Semiconductor memory device having a capability for controlled activation of sense amplifiers | |
| US6404698B1 (en) | Semiconductor memory device having column redundancy function | |
| US6345011B2 (en) | Input/output line structure of a semiconductor memory device |