JP2938453B2 - Memory system - Google Patents

Memory system

Info

Publication number
JP2938453B2
JP2938453B2 JP62267558A JP26755887A JP2938453B2 JP 2938453 B2 JP2938453 B2 JP 2938453B2 JP 62267558 A JP62267558 A JP 62267558A JP 26755887 A JP26755887 A JP 26755887A JP 2938453 B2 JP2938453 B2 JP 2938453B2
Authority
JP
Japan
Prior art keywords
memory
address
group
elements
msu
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 - Fee Related
Application number
JP62267558A
Other languages
Japanese (ja)
Other versions
JPH01109447A (en
Inventor
暢彦 栗林
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62267558A priority Critical patent/JP2938453B2/en
Publication of JPH01109447A publication Critical patent/JPH01109447A/en
Application granted granted Critical
Publication of JP2938453B2 publication Critical patent/JP2938453B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 異なる容量のメモリ素子を混在させて使用できるメモ
リシステムに関し, 簡単な制御機構で実現することを目的とし, 本発明は、アクセス源から与えられるアクセス要求の
物理アドレスを複数のメモリ素子の各々に対するアドレ
スに変換するアドレス制御回路と、上記複数のメモリ素
子の各々のメモリ容量等に関するメモリ構成情報を予め
設定される構成制御レジスタとを備え、該アドレス制御
回路は、該メモリ構成情報に基づき、上記複数のメモリ
素子が、メモリ容量の小さい第1のメモリ素子の群(6
a)と、メモリ容量の大きい第2のメモリ素子の群(7
a)とにより構成される場合には、第1のメモリ素子の
群(6a)と第2のメモリ素子の群(7a)に対してそれぞ
れメモリシステムの物理アドレス空間の上位と下位の物
理アドレスを割り当て、かつ物理アドレスの最上位ビッ
トの値の1と0によりそれぞれ第1と第2の各メモリ素
子の群(6a,7a)のアクセスを切り分ける制御を行うよ
うにする。 〔産業上の利用分野〕 本発明は,計算機のメモリシステムに関するものであ
り,特に異なる容量のメモリ素子を混在させて使用でき
るメモリシステムに関する。 〔従来の技術〕 最近におけるLSI製造技術の進歩により,メモリ素子
の容量は,16KBITから64KBIT,256KBIT,1MBITというよう
に,数年ごとに4倍となる大容量化が図られている。 このため,メモリシステムの設計製造では,設計時点
で使用を想定していたメモリ素子がたとえば64KBITのも
のであったとしても,量産時点では,既に256KBITのも
のが主流となっている場合があった。しかし,メモリ素
子は,そのメモリ容量が異なるとアドレスのビット幅な
どが異なるため,通常はそのままメモリプリント板を流
用することはできない。 従来は,このような場合を考えて,異なる容量のメモ
リ素子を混在して使用可能にするため,あるメモリのま
とまり(たとえばセグメント)を単位として同一容量の
メモリ素子のみを搭載したメモリプリント板を使用し,
そして各セグメントごとに別々のフローティングメモリ
アドレスレジスタを設けて,各セグメントごとに,セグ
メントに割り当てた物理アドレスと,そのセグメント内
のメモリプリント板のアドレスビット幅などの固有の制
御仕様とのインタフェースをとる方法が用いられてい
る。 〔発明が解決しようとする問題点〕 従来のメモリシステムでは,異なる容量のメモリ素子
を混在させて使用する場合,セグメント単位にフローテ
ィングアドレスレジスタを設けて個別に制御する必要が
あり,ハード量が増大するとともに,制御が複雑になる
という問題があった。 本発明は,メモリ容量の異なるメモリ素子を混在させ
たメモリシステムを,簡単な制御機構で実現することを
目的とする。 〔問題点を解決するための手段〕 本発明は,物理アドレス空間を上,下の領域に2分
し,容量の異なるメモリ素子群を2種類混在させてメモ
リシステムを構成する場合,各異なるメモリ素子群を別
々の領域に配置するとともに,物理アドレスの最上位ビ
ット(U/Lビットと呼ぶ)を領域の切り分け信号として
利用し,各メモリ素子群のアクセスを自動的に制御する
ようにしたものである。 特に本発明では,メモリ容量の小さいメモリ素子ある
いはメモリプリント板を物理アドレス空間の上位(U)
領域に割り当てることにより,物理アドレス空間を連続
させることができ,かつ従来のフローティングアドレス
レジスタをなくすることができ,そしてそれによりアド
レス制御機構を簡単化している。 第1図は,本発明の原理説明図である。図示されてい
る構成は,説明の便宜上単純化されかつ例示的方法で示
されている。 1はアクセス元のCPU(中央処理装置)である。 2はMCU(記憶制御装置)である。 3は物理アドレスをMSUアドレスに変換し,アクセス
制御を行うアドレス制御回路である。 4はメモリ構成情報を含む構成制御レジスタである。 5はMSU(主記憶装置)である。 6は物理アドレス空間の上位(U)領域であり,物理
アドレスの最上位ビットを用いて指定される。この領域
には,メモリ容量の小さいメモリ素子の群あるいはそれ
らを搭載したメモリプリント板群のみが割り当てられ
る。図示の例では,64KBIT RAMのメモリ素子の群6aが割
り当てられている。 7は,同じ物理アドレス空間の下位(L)領域であ
り,物理アドレスの最上位ビットを用いて指定される。
ここには,メモリ容量の大きいメモリ素子の群あるいは
それらを搭載したメモリプリント板群のみが割り当てら
れる。図示の例では,256KBIT RAMのメモリ素子の群7aが
割り当てられている。 MCU2のアドレス制御回路3は,与えられた物理アドレ
スの最上位ビット(U/L)をMSUアドレスの所定のビット
位置に設定する。MSUは,U/Lビットを検出し,U/L=1の
とき上位(U)領域のメモリ素子群をアクセスし,U/L=
0のとき下位(L)領域のメモリ素子群をアクセスす
る。 第1図においてMCU2は,CPU1や図示省略されているCHP
から,MSU5に対するアクセス要求を受け付ける。アクセ
ス要求は物理アドレスを用いて行われ,MCU2は,その物
理アドレスを対応するMSUアドレスに変換し,MSU5のメモ
リ素子のアクセス制御を行う。 MCU2の構成制御レジスタ4には,MSU5が異なるメモリ
容量のメモリ素子を混在させたものか,小さいメモリ容
量のメモリ素子のみで構成したものか,あるいは大きい
メモリ容量のメモリ素子のみで構成したものか,などの
実装情報や,インタリーブ形式,MSUの使用個数すなわ
ち,MSUの多重化度を示すメモリ構成情報が予め設定され
ている。 MCU2のアドレス制御回路3は,これらのメモリ構成情
報にしたがって,物理アドレスを所定の形式のMSUアド
レスに変換する。 MSUアドレスは,メモリ素子内アドレス(チップ内ア
ドレス)と,インタリーブアドレス(メモリバンクアド
レス)などを含む。 物理アドレスの最上位ビットU/Lは,物理アドレス空
間の上位(U)領域(U/L=1のとき)と下位(L)領
域(U/L=0のとき)とを切り分ける信号となるため,MS
Uアドレス内の定められたビット位置,たとえば最上位
ビットあるいは第3上位ビットの位置にそのまま移され
る。 MSU内では,MSUアドレス中のU/Lビットを検出し,MSU内
部アドレスバスを介して,U/L=1のときには上位(U)
領域のメモリ素子群(図では64KBIT RAM)のみをアクセ
スできるように制御し,U/L=0のときには下位(L)領
域のメモリ素子群(図では256KBIT RAM)のみをアクセ
スできるように制御する。 第2図(a)は,物理アドレスの形式を示し,第2図
(b),(c)は,それぞれ大小の異なるメモリ容量の
メモリ素子を混在使用した場合に,MCUのアドレス制御回
路3により変換されるMSUアドレスの形式を示す。 第2図(a)に示す物理アドレスの最上位のU/Lビッ
トが0のときと(物理アドレス空間の下位(L)領域を
示す),第2図(b)のMSUアドレスのU/Lビットも0と
なり,そのチップ内アドレス部分が,図示の例では各25
6KBIT RAMのメモリ素子群に印加される。 また物理アドレスのU/Lビットが1のとき,第2図
(c)のMSUアドレスが出力される。このMSUアドレスの
U/Lビットも1であり,また次の上位2ビットは“00"で
ある。これにより,その下位の第2図(b)のものより
2ビット短いチップ内アドレス部分が,図示の場合各64
KBIT RAMのメモリ素子群に印加される。 なお第2図(a),(b),(c)の各アドレスの下
位一定ビットはインタリーブアドレスとして使用されて
いる。また第1図のMSU5を独立にアクセス可能な複数の
ユニットで構成し,各ユニットに物理アドレス空間を下
位ビットで分割して割り当て,多重化構造とすることも
可能である。第2図(a)の物理アドレス中の下位のMS
アドレス部分は,この多重化アドレスを示す。 このような物理アドレスとMSUアドレスの形式は,同
じ大きさのメモリ容量のメモリ素子のみを使用する場合
にも容易に適応させることができる。 第3図(a),(b),(c)は,容量の大きいメモ
リ素子(たとえば256KBIT RAM)のみを用いた場合に,
物理アドレスと変換されたそのMSUアドレスの形式とを
示している。MSUアドレスのチップ内アドレスは,最上
位ビットU/Lが“0"の場合(第3図(b))も,“1"の
場合(第3図(c))も,いずれも物理アドレス(第3
図(a))と同じビット幅が使用される。 第4図(a),(b),(c)は,容量の小さいメモ
リ素子(たとえば64KBIT RAM)のみを用いた場合に,物
理アドレスと変換されたそのMSUアドレスとを示してい
る。この例では物理アドレスの最上位ビットU/Lは第3
ビット目にあり(第3図(a)),この値の場合(第3
図(b))も,1の場合(第3図(c))も,MSUアドレス
のチップ内アドレスと同じビット幅が使用される。 これら第2図ないし第4図の例から明らかなように,
本発明では,物理アドレスの最上位ビットU/Lの値にし
たがい,領域を上位(U)と下位(L)に切り分けるだ
けで,どのような場合にも対応することができる。 〔実施例〕 第5図は,本発明の1実施例システムの論理構成図で
ある。 図において、20は(n+1)台のCPU(CPU−0〜CPU
−n)、21は(m+1)台のCHP(CHP−0〜CHP−
m)、22はMCU、23はアドレス制御回路、23aは構成制御
レジスタ、24はMSUフレーム、25は8本の独立したMSUバ
スである。 MSUフレーム24は、MSU0〜MSU7の8つのメモリ部に分
割されている。それぞれのMSUは、MAC(メモリアクセス
コントローラ)とセグメント0,セグメント1から構成さ
れ、各MSUは、独立してアクセスされ多重化構造のMSUを
構成する。 1つのMSUは1つのMACとセグメントSEG−0とSEG−1
とからなり、また各セグメントは、第6図に示すように
アドレス空間を2分したU領域とL領域をもつととも
に、U,L各領域を縦断する16個のインタリーブされたメ
モリバンクLS(LOGICAL STORAGE)を含む。各メモリバ
ンクLSは、1ないし複数個のメモリ素子(RAMチップ)
で構成され、たとえば72ビット幅のデータを読み書きで
きる。 MCU22は、MSUフレーム24との間に独立した8本のバス
をもち、各CPU−0〜CPU−nと各CHP−0〜CHP−mから
のアクセス要求を受け付け、MSUフレーム24に対するア
クセス競合をチェックして、アクセス可能な場合に、MS
Uバス25を介してMSUフレーム24の各MACを並行してアク
セス制御する。アドレス制御回路23は、そのための多重
化制御機構である。 第7図は、第5図におけるアドレス制御回路23の1実
施例構成を示す。 図において、 30は、CPU−0〜CPU−nからのアクセスアドレス(物
理アドレス)を受け入れるポートPORT−Aである。 31は、CHP−0〜CHP−mからのアクセスアドレス(物
理アドレス)を受け入れるポートPORT−Bである。 32は、PORT−Aからの物理アドレスをMSUアドレスに
変換するアドレス変換部である。 33は、PORT−Bからの物理アドレスをMSUアドレスに
変換するアドレス変換部である。 アドレス変換部32と33は、第5図の構成制御レジスタ
23aに予め設定されたメモリの構成情報に基づいて、ア
ドレス変換の内容を決定する。 34は,PORT−AとPORT−Bのアクセスアドレスの一致
によるアクセス競合を検出し,予め定められた優先論理
により一方のアクセス要求のみを受け付けるプライオリ
ティ回路である。 35は,アドレス変換部32と33から出力される各MSUア
ドレスの一方を,プライオリティ回路34の出力により選
択するMSUバス25と同数のセレクタである。 36は,セレクタ35を介してMSUアドレスを設定されるM
SUバス25と同数のアドレスレジスタMSARであり,それぞ
れ対応するMSUバス25を介して,MSUフレーム24(第5
図)の各メモリMSU0〜MSU7にMSUアドレスを並列に供給
する。 第8図に,MSUアドレスの具体例を示す(第5図および
第6図が参照される)。 図示されたMSUアドレスは,第2〜25の24ビットで構
成され,以下の情報が設定される。 第2ビット:各セグメントSEG0,SEG1の上位(U)領
域と下位(L)領域を切り換える。 第21〜24ビット:各セグメント内の16個のメモリバン
クLS0〜Fを選択する。 第25ビット:セグメントSEG0/SEG1を切り換える。 0:SEG0を選択 1:SEG1を選択 第3,4,5,〜20ビット:各セグメントのチップ内アドレ
スにて充てる。 ・256KBIT RAMの場合は全ビットを使用する。 ・64KBIT RAMの場合は5〜20ビットを使用する。 第9図および第10図に具体例を示す。 第9図は,8MSUの多重構成で,256KBIT RAMのみをフル
実装し,インタリーブさせた場合,および256KBIT RAM
と64KBTI RAMとを混在させた場合の物理アドレス,MSUア
ドレス,MSU内部アドレスバスの各アドレス形式を示して
いる。 また第10図は,8MSUの多重構成で,64KBIT RAMをフル実
装し,インタリーブさせた場合の物理アドレス,MSUアド
レス,MSU内部アドレスバスの各アドレス形式を示してい
る。 第6図に示したように,1つのMSUは複数のメモリバン
クLSによりインタリーブ構成されるが,各メモリバンク
はセグメントSEG0とSEG1に分かれ,各セグメントはさら
にU/Lに分割されている。 第9図において,第5図のCPU20やCHP21からのアクセ
ス要求にともなって与えられる物理アドレスのうち,下
位の第21〜28ビットは,32インタリーブ構成のメモリバ
ンクおよびセグメントを選択するためのインタリーブア
ドレス部(第21〜25ビット)と,8MSUのアドレス選択と
バリッド制御のためのMSアドレス部(第26〜28ビット)
になり,上位の第2〜20ビットは,チップ内アドレス部
(第3〜20ビット)と,U/L指定部(第2ビット)にな
る。これらの構成情報は,第5図の構成制御レジスタ23
aに設定されている。MSUアドレスは,物理アドレスの第
2〜25ビットを用いて構成される。 MSUアドレスでは,第3図に示すように容量の大きい
メモリ素子のみを用いたシステムの場合,および第2図
に示すように異なる容量のメモリ素子を混在させたシス
テムの場合には,U/Lビットが第2ビットの位置にある。
そのため,MSUアドレスへの変換の際は,物理アドレスの
第2ビットにあるU/Lビットを第9図に示すようにその
ままMSUアドレスの第2ビットへ移行させる。 他方,第4図に示すような容量の小さいメモリ素子の
みを用いたシステムの場合には,第10図に示すように,
物理アドレスの第4ビットにあるU/Lビットを2ビット
上位へシフトさせてMSUアドレスとする。 同様にして本発明は,任意台数のMSUと任意容量のメ
モリ素子,あるいはフル実装とハーフ実装などの各種の
メモリ構成条件に適合させることができる。 〔発明の効果〕 本発明は,2つの異なる容量のメモリ素子の群を物理ア
ドレス空間の上位と下位の各領域に分けて配置し,それ
らのアクセスを物理アドレスの最上位ビットで切り分け
るという簡単な手段で,異なる容量のメモリ素子の群が
混在するメモリシステムを容易に構成できるとともに,
そのメモリ構成を指定する構成情報を構成制御システム
に設定するという簡単な手段で実現できるため,メモリ
システムの設計製造における弾力性を増大させることが
できる。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a memory system which can use memory elements of different capacities in a mixed manner, and aims to realize the memory system with a simple control mechanism. An address control circuit for converting an address into an address for each of the plurality of memory elements; and a configuration control register for setting memory configuration information relating to the memory capacity and the like of each of the plurality of memory elements in advance. Based on the memory configuration information, the plurality of memory elements are divided into a first memory element group (6
a) and a second memory element group (7
a), the upper and lower physical addresses of the physical address space of the memory system are assigned to the first memory element group (6a) and the second memory element group (7a), respectively. Control is performed to allocate and separate access to the first and second groups of memory elements (6a, 7a) according to the value of the most significant bit of the physical address, 1 and 0, respectively. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory system for a computer, and more particularly to a memory system that can use memory elements having different capacities in a mixed manner. [Prior Art] With recent advances in LSI manufacturing technology, the capacity of memory devices has been increased from 16KBIT to 64KBIT, 256KBIT, and 1MBIT, which is quadrupling every few years. For this reason, in the design and manufacture of memory systems, even if the memory element that was supposed to be used at the time of design was, for example, 64 KBIT, there was a case where 256 KBIT was already mainstream at the time of mass production. . However, since memory elements have different bit widths of addresses if their memory capacities are different, it is not usually possible to use a memory printed board as it is. Conventionally, in consideration of such a case, in order to be able to use memory elements of different capacities in a mixed manner, a memory printed board on which only memory elements of the same capacity are mounted in units of a certain memory (eg, segment) is used. use,
A separate floating memory address register is provided for each segment, and for each segment, an interface is provided between the physical address assigned to the segment and a unique control specification such as the address bit width of a memory printed board in the segment. A method is used. [Problems to be Solved by the Invention] In the conventional memory system, when memory elements having different capacities are used in a mixed manner, it is necessary to provide a floating address register for each segment and control them individually, which increases the amount of hardware. And the control becomes complicated. An object of the present invention is to realize a memory system in which memory elements having different memory capacities are mixed with a simple control mechanism. [Means for Solving the Problems] The present invention is directed to a case where a physical address space is divided into upper and lower areas, and two types of memory elements having different capacities are mixed to constitute a memory system. Device groups are arranged in separate areas, and the most significant bit (called U / L bit) of the physical address is used as an area segmentation signal to automatically control access to each memory element group. It is. In particular, in the present invention, a memory element or a memory printed board having a small memory capacity is placed in the upper (U)
By allocating to the areas, the physical address space can be contiguous, and the conventional floating address register can be eliminated, thereby simplifying the address control mechanism. FIG. 1 is a diagram illustrating the principle of the present invention. The configuration shown is simplified and illustrated in an exemplary manner for convenience of explanation. Reference numeral 1 denotes an access source CPU (central processing unit). Reference numeral 2 denotes an MCU (storage control device). An address control circuit 3 converts a physical address into an MSU address and performs access control. Reference numeral 4 denotes a configuration control register including memory configuration information. Reference numeral 5 denotes an MSU (main storage device). Reference numeral 6 denotes an upper (U) area of the physical address space, which is specified using the most significant bit of the physical address. In this area, only a group of memory elements having a small memory capacity or a group of memory printed boards on which these are mounted are allocated. In the illustrated example, a group of memory elements 6a of 64KBIT RAM is allocated. 7 is a lower (L) area of the same physical address space, and is specified by using the most significant bit of the physical address.
Here, only a group of memory elements having a large memory capacity or a group of memory printed boards on which these are mounted are assigned. In the illustrated example, a group 7a of memory elements of 256 KBIT RAM is assigned. The address control circuit 3 of the MCU 2 sets the most significant bit (U / L) of the given physical address at a predetermined bit position of the MSU address. The MSU detects the U / L bit, and when U / L = 1, accesses the memory element group in the upper (U) area.
When 0, the memory element group in the lower (L) area is accessed. In FIG. 1, the MCU 2 is a CPU 1 and a CHP (not shown).
Accepts an access request to MSU5. The access request is made using the physical address, and the MCU 2 converts the physical address into a corresponding MSU address and controls access to the memory element of the MSU 5. In the configuration control register 4 of the MCU 2, whether the MSU 5 includes memory elements having different memory capacities, only memory elements having small memory capacities, or only memory elements having large memory capacities , Etc., memory configuration information indicating the interleave format, the number of MSUs used, that is, the degree of multiplexing of the MSUs, are set in advance. The address control circuit 3 of the MCU 2 converts the physical address into an MSU address in a predetermined format according to the memory configuration information. The MSU address includes an address in a memory element (an address in a chip), an interleave address (a memory bank address), and the like. The most significant bit U / L of the physical address is a signal for separating the upper (U) area (when U / L = 1) and the lower (L) area (when U / L = 0) of the physical address space. Therefore, MS
It is directly moved to a predetermined bit position in the U address, for example, the position of the most significant bit or the third upper bit. In the MSU, the U / L bit in the MSU address is detected, and the upper (U) when U / L = 1 via the MSU internal address bus
Control so that only the memory element group in the area (64 KBIT RAM in the figure) can be accessed, and when U / L = 0, control so that only the memory element group in the lower (L) area (256 KBIT RAM in the figure) can be accessed . FIG. 2A shows the format of a physical address, and FIGS. 2B and 2C show the case where memory elements having different memory capacities are mixedly used by the address control circuit 3 of the MCU. Indicates the format of the MSU address to be translated. When the most significant U / L bit of the physical address shown in FIG. 2A is 0 (indicating the lower (L) area of the physical address space), the U / L of the MSU address in FIG. The bit is also 0, and the address portion in the chip is 25
Applied to the memory element group of 6KBIT RAM. When the U / L bit of the physical address is 1, the MSU address shown in FIG. 2C is output. Of this MSU address
The U / L bit is also 1, and the next upper 2 bits are "00". As a result, the lower address portion in the chip which is 2 bits shorter than that in FIG.
Applied to the memory element group of KBIT RAM. The lower fixed bits of each address shown in FIGS. 2A, 2B and 2C are used as an interleave address. It is also possible to configure the MSU 5 in FIG. 1 with a plurality of units that can be accessed independently, and to allocate a physical address space to each unit by dividing the physical address space into lower bits, thereby forming a multiplex structure. The lower MS in the physical address in FIG. 2 (a)
The address part indicates the multiplexed address. Such a format of the physical address and the MSU address can be easily adapted even when only a memory element having the same memory capacity is used. FIGS. 3 (a), (b) and (c) show the case where only a large-capacity memory element (for example, 256KBIT RAM) is used.
It shows the physical address and the format of the converted MSU address. Regarding the MSU address in the chip, the physical address (FIG. 3 (b)) or “1” (FIG. 3 (c)) is both used when the most significant bit U / L is “0” (FIG. 3 (b)). Third
The same bit width as in FIG. FIGS. 4 (a), (b), and (c) show the physical address and the converted MSU address when only a small-capacity memory element (for example, 64 KBIT RAM) is used. In this example, the most significant bit U / L of the physical address is the third
It is at the bit position (Fig. 3 (a)), and in the case of this value (Fig.
In both cases (FIG. 3 (b)) and 1 (FIG. 3 (c)), the same bit width as the intra-chip address of the MSU address is used. As is apparent from the examples of FIGS. 2 to 4,
In the present invention, any case can be dealt with simply by dividing the area into upper (U) and lower (L) areas according to the value of the most significant bit U / L of the physical address. Embodiment FIG. 5 is a logical configuration diagram of a system according to an embodiment of the present invention. In the figure, reference numeral 20 denotes (n + 1) CPUs (CPU-0 to CPU
-N) and 21 are (m + 1) CHPs (CHP-0 to CHP-
m) and 22 are MCUs, 23 is an address control circuit, 23a is a configuration control register, 24 is an MSU frame, and 25 is eight independent MSU buses. The MSU frame 24 is divided into eight memory units MSU0 to MSU7. Each MSU is composed of a MAC (memory access controller) and segment 0 and segment 1, and each MSU is independently accessed to constitute a multiplexed MSU. One MSU has one MAC, segment SEG-0 and SEG-1
Each segment has a U area and an L area that divide the address space into two as shown in FIG. 6, and 16 interleaved memory banks LS (LOGICAL) that traverse the U and L areas. STORAGE). Each memory bank LS includes one or more memory elements (RAM chips)
, And can read and write 72-bit width data, for example. The MCU 22 has eight independent buses with the MSU frame 24, accepts access requests from each of the CPU-0 to CPU-n and each of the CHP-0 to CHP-m, and prevents access conflicts with the MSU frame 24. Check and, if accessible, MS
Access control is performed on each MAC of the MSU frame 24 in parallel via the U bus 25. The address control circuit 23 is a multiplexing control mechanism for that purpose. FIG. 7 shows an embodiment of the address control circuit 23 in FIG. In the figure, reference numeral 30 denotes a port PORT-A for receiving an access address (physical address) from the CPU-0 to CPU-n. Reference numeral 31 denotes a port PORT-B for receiving an access address (physical address) from CHP-0 to CHP-m. An address conversion unit 32 converts a physical address from PORT-A into an MSU address. An address conversion unit 33 converts a physical address from PORT-B into an MSU address. The address conversion units 32 and 33 are provided in the configuration control register shown in FIG.
The content of the address conversion is determined based on the memory configuration information set in advance in 23a. Reference numeral 34 denotes a priority circuit that detects an access conflict due to a match between the access addresses of the PORT-A and the PORT-B, and receives only one of the access requests based on a predetermined priority logic. Reference numeral 35 denotes the same number of selectors as the number of the MSU bus 25 for selecting one of the MSU addresses output from the address conversion units 32 and 33 by the output of the priority circuit 34. 36 is an M for which the MSU address is set via the selector 35
The same number of address registers MSAR as the SU bus 25, and the MSU frame 24 (fifth
MSU addresses are supplied in parallel to the memories MSU0 to MSU7 in FIG. FIG. 8 shows a specific example of the MSU address (see FIGS. 5 and 6). The illustrated MSU address is composed of the 2nd to 25th 24 bits, and the following information is set. Second bit: Switches between the upper (U) area and the lower (L) area of each segment SEG0, SEG1. 21st to 24th bits: 16 memory banks LS0 to LS in each segment are selected. 25th bit: Switching between segments SEG0 / SEG1. 0: Select SEG0 1: Select SEG1 Third, fourth, fifth to 20th bits: Allocated by the on-chip address of each segment. • For 256KBIT RAM, use all bits. • For 64KBIT RAM, use 5 to 20 bits. 9 and 10 show specific examples. Fig. 9 shows the multiplexed configuration of 8MSU, when only 256KBIT RAM is fully mounted and interleaved, and when 256KBIT RAM is used.
The figure shows physical addresses, MSU addresses, and address formats of the MSU internal address bus when a RAM and a 64 KB TI RAM are mixed. FIG. 10 shows each address format of a physical address, an MSU address, and an MSU internal address bus when a 64KBIT RAM is fully mounted and interleaved in an 8MSU multiplex configuration. As shown in FIG. 6, one MSU is interleaved by a plurality of memory banks LS. Each memory bank is divided into segments SEG0 and SEG1, and each segment is further divided into U / L. In FIG. 9, the lower 21 to 28 bits of the physical address given in response to an access request from the CPU 20 or CHP 21 in FIG. 5 are interleave addresses for selecting a memory bank and a segment having a 32-interleave structure. Section (bits 21 to 25) and MS address section (bits 26 to 28) for 8MSU address selection and valid control
, And the upper 2nd to 20th bits become an in-chip address section (3rd to 20th bits) and a U / L designation section (2nd bit). These configuration information are stored in the configuration control register 23 shown in FIG.
is set to a. The MSU address is configured using the 2nd to 25th bits of the physical address. In the MSU address, the U / L is used for a system using only large-capacity memory elements as shown in FIG. 3 and a system using memory elements having different capacities as shown in FIG. The bit is in the position of the second bit.
Therefore, at the time of conversion to the MSU address, the U / L bit in the second bit of the physical address is directly shifted to the second bit of the MSU address as shown in FIG. On the other hand, in the case of a system using only small-capacity memory elements as shown in FIG. 4, as shown in FIG.
The U / L bit in the fourth bit of the physical address is shifted upward by 2 bits to form an MSU address. Similarly, the present invention can be adapted to various memory configuration conditions such as an arbitrary number of MSUs and memory elements of an arbitrary capacity, or full mounting and half mounting. [Effects of the Invention] The present invention provides a simple method of arranging two groups of memory elements having different capacities in upper and lower areas of a physical address space, and separating those accesses by the most significant bit of the physical address. Means can easily configure a memory system in which groups of memory elements of different capacities are mixed,
Since the configuration information for designating the memory configuration can be realized by a simple means of setting it in the configuration control system, the flexibility in designing and manufacturing the memory system can be increased.

【図面の簡単な説明】 第1図は本発明の原理説明図,第2図は異なる容量のメ
モリ素子混在時のMSUアドレス形式説明図,第3図は容
量の大きいメモリ素子(256KBIT RAM)のみを用いた場
合のMSUアドレス形式説明図,第4図は容量の小さいメ
モリ素子(64KBIT RAM)のみを用いた場合のMSUアドレ
ス形式説明図,第5図は本発明の1実施例システムの論
理構成図,第6図は第5図におけるMSU内のメモリアレ
イカードの構成図,第7図は第5図におけるアドレス制
御回路の1実施例構成図,第8図は実施例におけるMSU
アドレス形式の説明図,第9図は8MSU 256KBIT RAMフル
実装インタリーブシステムと64K−256K混在システムの
アドレス変換説明図,第10図は8MSU 64KBIT RAMフル実
装インタリーブシステムのアドレス変換説明図である。 第1図中, 1はCPU, 2はMCU, 3はアドレス制御回路, 5はMSU, 6は物理アドレス空間の上位(U)領域, 7は物理アドレス空間の下位(L)領域, 6aは64KBIT RAMのメモリ素子群, 7aは256KBIT RAMのメモリ素子群。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram illustrating the principle of the present invention, FIG. 2 is a diagram illustrating an MSU address format when memory devices having different capacities are mixed, and FIG. 3 is a memory device having a large capacity (256 KBIT RAM) only. FIG. 4 is an explanatory diagram of an MSU address format when using only small-capacity memory elements (64 KBIT RAM). FIG. 5 is a logical configuration of a system according to an embodiment of the present invention. FIG. 6, FIG. 6 is a block diagram of the memory array card in the MSU in FIG. 5, FIG. 7 is a block diagram of one embodiment of the address control circuit in FIG. 5, and FIG.
FIG. 9 is an explanatory diagram of an address format, FIG. 9 is an explanatory diagram of address conversion of an interleaved system with a full 8MSU 256KBIT RAM and a mixed system of 64K-256K, and FIG. 10 is an explanatory diagram of an address conversion of an interleaved system with a full implementation of 8MSU 64KBIT RAM. In FIG. 1, 1 is a CPU, 2 is an MCU, 3 is an address control circuit, 5 is an MSU, 6 is an upper (U) area of the physical address space, 7 is a lower (L) area of the physical address space, and 6a is 64 KBIT. RAM memory element group, 7a is a 256KBIT RAM memory element group.

Claims (1)

(57)【特許請求の範囲】 1.アクセス源から与えられるアクセス要求の物理アド
レスを複数のメモリ素子の各々に対するアドレスに変換
するアドレス制御回路と、上記複数のメモリ素子の各々
のメモリ容量等に関するメモリ構成情報を予め設定され
る構成制御レジスタとを備え、 該アドレス制御回路は、該メモリ構成情報に基づき、上
記複数のメモリ素子を第1のメモリ素子の群と第2のメ
モリ素子の群とに分割するとともに、第1のメモリ素子
の群と第2のメモリ素子の群に対してそれぞれメモリシ
ステムの物理アドレス空間の上位と下位の物理アドレス
を割り当て、かつ物理アドレスの最上位ビットの値の1
と0によりそれぞれ第1のメモリ素子の群と第2のメモ
リ素子の群のアクセスを切り分ける制御を行い、 その際、上記複数のメモリ素子が、メモリ容量の小さい
メモリ素子の群だけからなる場合、分割された結果の第
1のメモリ素子の群と第2のメモリ素子の群に対する物
理アドレスには、上記最上位ビットと下位のチップ内ア
ドレスビットの間の所要の上位ビットを0とした第1の
アドレス形式を適用し、 また上記複数のメモリ素子が、メモリ容量の大きいメモ
リ素子の群だけからなる場合、分割された結果の第1の
メモリ素子の群と第2のメモリ素子の群に対する物理ア
ドレスには、上記最上位ビットに続けてチップ内アドレ
スビットを配置した第2のアドレス形式を適用し、 さらに上記複数のメモリ素子が、メモリ容量の小さいメ
モリ素子の群と、メモリ容量の大きいメモリ素子の群と
からなる場合には、メモリ容量の小さいメモリ素子の群
を第1のメモリ素子の群,メモリ容量の大きい素子の群
を第2のメモリ素子の群として分割するとともに、該第
1のメモリ素子の群に対する物理アドレスには上記第1
のアドレス形式を適用し、該第2のメモリ素子の群に対
する物理アドレスには上記第2のアドレス形式を適用す
るように構成されていることを特徴とするメモリシステ
ム。 2.第1項において、上記複数のメモリ素子が、複数の
メモリプリント板に搭載され、上記アドレス制御回路は
メモリプリント板単位にアクセスを切り分ける制御を行
うことを特徴とするメモリシステム。
(57) [Claims] An address control circuit for converting a physical address of an access request given from an access source into an address for each of the plurality of memory elements, and a configuration control register for presetting memory configuration information relating to a memory capacity or the like of each of the plurality of memory elements The address control circuit divides the plurality of memory elements into a first memory element group and a second memory element group based on the memory configuration information, The upper and lower physical addresses of the physical address space of the memory system are allocated to the group and the second memory element group, respectively, and the value of the most significant bit of the physical address is 1
And 0 to control access between the first memory element group and the second memory element group, respectively. At this time, when the plurality of memory elements is only a memory element group having a small memory capacity, In the physical addresses for the first memory element group and the second memory element group obtained as a result of the division, the first high-order bit between the above-mentioned most significant bit and the low-order in-chip address bit is set to 0. In the case where the plurality of memory elements consist only of a group of memory elements having a large memory capacity, the physical format for the first group of memory elements and the second group of memory elements as a result of the division is applied. For the address, a second address format in which an in-chip address bit is arranged following the most significant bit is applied, and the plurality of memory elements are stored in a memory having a small memory capacity. In the case of a group of elements and a group of memory elements having a large memory capacity, a group of memory elements having a small memory capacity is a first memory element group, and a group of elements having a large memory capacity is a second memory element. And the physical address for the first memory element group is the first memory element.
A memory system, wherein the second address format is applied to a physical address for the second group of memory elements. 2. 2. The memory system according to claim 1, wherein the plurality of memory elements are mounted on a plurality of memory printed boards, and the address control circuit performs control for separating access on a memory printed board basis.
JP62267558A 1987-10-22 1987-10-22 Memory system Expired - Fee Related JP2938453B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62267558A JP2938453B2 (en) 1987-10-22 1987-10-22 Memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62267558A JP2938453B2 (en) 1987-10-22 1987-10-22 Memory system

Publications (2)

Publication Number Publication Date
JPH01109447A JPH01109447A (en) 1989-04-26
JP2938453B2 true JP2938453B2 (en) 1999-08-23

Family

ID=17446475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62267558A Expired - Fee Related JP2938453B2 (en) 1987-10-22 1987-10-22 Memory system

Country Status (1)

Country Link
JP (1) JP2938453B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04153750A (en) * 1990-10-17 1992-05-27 Fujitsu Ltd Control system for main storage
KR100360322B1 (en) * 1995-06-22 2003-03-28 나이루스 부힝 가부시키가이샤 Multidirectional camera device
JPH09127576A (en) * 1995-11-01 1997-05-16 Niles Parts Co Ltd Multi-direction image pickup camera device
JP3349929B2 (en) * 1997-08-28 2002-11-25 富士通株式会社 Memory controller

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60220441A (en) * 1984-04-16 1985-11-05 Nec Corp Memory control system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
特開 昭60−220441JP,A)

Also Published As

Publication number Publication date
JPH01109447A (en) 1989-04-26

Similar Documents

Publication Publication Date Title
US5619471A (en) Memory controller for both interleaved and non-interleaved memory
JPS62149093A (en) Memory system for providing continuous address space
US4870572A (en) Multi-processor system
US4613953A (en) Paging register for memory devices
US5761455A (en) Dynamic bus reconfiguration logic
CN108139989B (en) Computer device equipped with processing in memory and narrow access port
US6625673B1 (en) Method for assigning addresses to input/output devices
JP2938453B2 (en) Memory system
CN1171577A (en) Programmable read/write access signal and method therefor
JP5706060B2 (en) Semiconductor memory device and product development method
US5901298A (en) Method for utilizing a single multiplex address bus between DRAM, SRAM and ROM
US5551007A (en) Method for controlling multiple common memories and multiple common memory system
US5630098A (en) System and method for interleaving memory addresses between memory banks based on the capacity of the memory banks
US6629219B1 (en) Method and apparatus for providing highly programmable memory mapping and improved interleaving
US6622196B1 (en) Method of controlling semiconductor memory device having memory areas with different capacities
JPS6232516B2 (en)
JPH0148570B2 (en)
JPH0981453A (en) Method for controlling memory and enforcing device therefor
JPH0370052A (en) Address translation circuit, memory controller, information processor, and recorder
JPH05210580A (en) System and method of interleaving memory in computer system
JPH05134926A (en) Memory bank switching circuit
JPH06309223A (en) Storage device with memory interleaving function
JPH05197617A (en) Multiprocessor system
JPH05313994A (en) Bit-asigning method for address bus
JP3349929B2 (en) Memory controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees