JP2510604B2 - Storage device - Google Patents

Storage device

Info

Publication number
JP2510604B2
JP2510604B2 JP62183321A JP18332187A JP2510604B2 JP 2510604 B2 JP2510604 B2 JP 2510604B2 JP 62183321 A JP62183321 A JP 62183321A JP 18332187 A JP18332187 A JP 18332187A JP 2510604 B2 JP2510604 B2 JP 2510604B2
Authority
JP
Japan
Prior art keywords
memory
configuration
connector
package
information
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 - Lifetime
Application number
JP62183321A
Other languages
Japanese (ja)
Other versions
JPS6428754A (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.)
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 JP62183321A priority Critical patent/JP2510604B2/en
Publication of JPS6428754A publication Critical patent/JPS6428754A/en
Application granted granted Critical
Publication of JP2510604B2 publication Critical patent/JP2510604B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は、記憶容量が可変である記憶装置に係り、メ
モリ増設の容易な記憶構成認知制御に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device having a variable storage capacity, and relates to a storage configuration recognition control that facilitates memory expansion.

〔従来の技術〕[Conventional technology]

従来、装置に実装されるメモリパッケージの種類およ
び個数によって記憶容量を可変とするシステムは、特開
昭59-148693号公報等で知られており、メモリパッケー
ジ側に当該メモリパッケージの種類,記憶容量等の情報
を持ち、メモリパッケージからメモリ制御回路にこの情
報を伝達することにより、メモリの構成を認知し異なる
容量のメモリを制御する。
Conventionally, a system in which the storage capacity is variable depending on the type and number of memory packages mounted in the device is known from Japanese Patent Laid-Open No. 59-148693, and the type and storage capacity of the memory package on the memory package side. By transmitting this information from the memory package to the memory control circuit, the memory package recognizes the memory configuration and controls memories having different capacities.

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

従来、メモリパッケージからメモリ制御回路に対して
メモリ構成情報を伝達する手段が必要であり、この手段
は通常メモリパッケージにメモリ構成情報伝達用の専用
信号ピンを割当てることにより達成される。また、伝達
する情報が多い場合には、メモリパッケージ内にメモリ
構成をコードする手段を設けて専用信号ピンの本数を減
らす方法が用いられる。
Conventionally, a means for transmitting memory configuration information from a memory package to a memory control circuit is required, and this means is usually achieved by assigning a dedicated signal pin for transmitting memory configuration information to the memory package. Further, when a large amount of information is transmitted, a method of reducing the number of dedicated signal pins by providing a means for coding the memory configuration in the memory package is used.

上記の方法は、通常のメモリアクセスに必要な情報以
外の情報を伝達するための信号ピンあるいは論理が必要
となり、メモリパッケージおよび周辺部が大形化すると
いう問題がある。
The above method requires a signal pin or logic for transmitting information other than the information necessary for normal memory access, and has a problem that the memory package and the peripheral portion become large.

また、上記方法では異なる装置間でメモリパッケージ
の共用を行なう際には、構成情報伝達手段に一定の制限
が必要となる。
Further, in the above method, when sharing a memory package between different devices, a certain restriction is required for the configuration information transmitting means.

本発明の目的は、メモリパッケージとメモリ制御回路
との間で、メモリ構成認知専用の情報を授受することな
く、複数個のコネクタと、1種類あるいは2種類以上の
記憶容量を有する複数個のメモリパッケージとの任意の
組合せに対して、連続したアドレスづけを行ない、一般
プログラムがメモリ構成を意識することなくメモリアク
セスできるメモリ構成認知制御方式を提供することにあ
る。
An object of the present invention is to provide a plurality of connectors and a plurality of memories having a storage capacity of one or two or more types without exchanging information dedicated to the memory configuration recognition between the memory package and the memory control circuit. An object of the present invention is to provide a memory configuration recognition control method in which a general program can perform continuous memory addressing for any combination with a package and a general program can access the memory without being aware of the memory configuration.

上記目的は、メモリ制御部内に、メモリパッケージの
構成を記憶するメモリ構成記憶手段と、プログラムが現
在メモリ構成認知処理を実行中であるか否かを示す構成
認知処理状態記憶手段と、該構成認知処理状態記憶手段
中の記憶データが構成認知処理中を示している場合は、
上位装置からのメモリアクセスアドレスの一部の情報に
よって、メモリパッケージ接続用の複数個のコネクタの
うちの1つにメモリ選択信号を出力し、構成認知処理状
態記憶手段中の記憶データが構成認知処理状態を示して
いない場合は、上位装置から記憶装置へのアクセスアド
レスの一部の情報と上記メモリ構成記憶手段中のメモリ
構成情報とから接続されているメモリパッケージの1つ
を選択し、メモリ選択信号を出力するメモリ構成制御手
段とを備え、通常のメモリアクセスに先立って、構成制
御プログラムでメモリの構成認知を行ない、この結果を
上記メモリ構成記憶手段に記憶させることにより、複数
種類のメモリパッケージと、複数個のコネクタとの任意
の組合せに対しても連続アドレスでアクセス可能とする
ことにより達成される。
The above-mentioned object is, in the memory control unit, memory configuration storage means for storing the configuration of the memory package, configuration recognition processing state storage means for indicating whether or not a program is currently executing memory configuration recognition processing, and the configuration recognition. When the stored data in the processing state storage means indicates that the configuration recognition processing is in progress,
A memory selection signal is output to one of the plurality of connectors for connecting the memory package according to a part of the information of the memory access address from the upper-level device, and the stored data in the configuration recognition processing state storage means is subjected to the configuration recognition process. When the state is not shown, one of the connected memory packages is selected from the information of a part of the access address from the host device to the storage device and the memory configuration information in the memory configuration storage means, and the memory is selected. A memory configuration control means for outputting a signal, the configuration control program recognizes the memory configuration prior to a normal memory access, and stores the result in the memory configuration storage means, thereby providing a plurality of types of memory packages. This is achieved by making it possible to access any combination of That.

〔作用〕[Action]

構成認知処理状態記憶手段に構成認知処理中であるこ
とを示す情報を構成制御プログラムで書き込むと、メモ
リ構成制御手段は、接続されているメモリパッケージの
構成によらずアクセスアドレスの一部のデコード結果か
ら複数個のコネクタのうち1つにメモリ選択信号を出力
するので、構成制御プログラムでアクセスアドレスを変
化させて、メモリに対するライト/リードアクセスを行
ってライトデータとリードデータの比較を行うことによ
り、アクセス中のコネクタにメモリパッケージが接続さ
れているかどうか、接続されている場合にはその記憶容
量はいくらかを判別することができる。
When the configuration control program writes the information indicating that the configuration recognition process is being performed in the configuration recognition processing state storage means, the memory configuration control means causes the memory configuration control means to decode a part of the access address regardless of the configuration of the connected memory package. Since the memory selection signal is output to one of the plurality of connectors from, the configuration control program changes the access address, and the write / read access to the memory is performed to compare the write data with the read data. It is possible to determine whether the memory package is connected to the connector being accessed and, if so, what its storage capacity is.

上記の方法により全コネクタに対して接続されている
メモリパッケージの構成を認知した後、認知結果を、メ
モリ構成情報記憶手段にライトし、構成認知処理状態記
憶手段に構成認知処理中でないことを示す情報を構成制
御プログラムで書き込んで、構成制御プログラムによる
メモリ構成認知処理を終了する。
After recognizing the configurations of the memory packages connected to all the connectors by the above method, the recognition result is written in the memory configuration information storage means, and the configuration recognition processing state storage means indicates that the configuration recognition processing is not in progress. The information is written by the configuration control program, and the memory configuration recognition process by the configuration control program ends.

構成認知処理終了後の通常メモリアクセス時には、メ
モリ構成制御手段によりアクセスアドレスが接続されて
いるメモリパッケージのうちどれに対応するかを判定し
その結果によって、メモリパッケージに対する制御信号
を出力する。
At the time of normal memory access after the end of the configuration recognition process, the memory configuration control unit determines which of the connected memory packages the access address corresponds to, and outputs a control signal for the memory package according to the result.

この結果、メモリパッケージとメモリ制御部との間で
メモリ構成認知用だけに用いる情報の授受を行うことな
しに、複数個のコネクタのうち任意個に、あらかじめ定
められた1種類あるいは2種類以上の記憶容量を有する
複数個のメモリパッケージのうち任意個を接続した場合
に、メモリのアドレスづけを連続したものとし、一般プ
ログラムは、メモリの構成を直接意識することなくメモ
リにアクセス可能となる。
As a result, without exchanging information used only for recognizing the memory configuration between the memory package and the memory control unit, any one of a plurality of connectors can be provided with one or more predetermined types. When any one of a plurality of memory packages having a storage capacity is connected, the addressing of the memory is made continuous, and the general program can access the memory without directly considering the memory configuration.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を引用して詳細に説明
する。
An embodiment of the present invention will be described below in detail with reference to the drawings.

まず、第1図により本実施例の構成を説明する。本実
施例は、メモリ制御部101、コネクタ〔1〕〜〔4〕(1
02a〜102d)、メモリパッケージ〔1〕〜〔4〕(103a
〜103d)から構成される。ここで、メモリパッケージと
は印刷回路基板上に複数個のメモリ素子とその周辺回路
部品を実装したものである。このメモリパッケージに
は、1Mビットダイナミック・ランダム・アクセス・メモ
リ(DRAM)で構成される4Mバイトのパッケージと、4Mビ
ットDRAMで構成される16Mバイトのパッケージの2種類
があり、2種類ともコネクタ〔1〕〜〔4〕(102a〜10
2d)のいずれにも接続可能である。したがって、本実施
例のメモリ構成としては、それぞれのコネクタに対し
て、未実装・4Mバイトパッケージ接続・16Mバイトパッ
ケージ接続の3通りの組合せがあり、合計34=81通りの
組合わせが存在する。
First, the configuration of this embodiment will be described with reference to FIG. In this embodiment, the memory control unit 101 and the connectors [1] to [4] (1
02a-102d), memory packages [1]-[4] (103a
~ 103d). Here, the memory package is a package in which a plurality of memory elements and their peripheral circuit components are mounted on a printed circuit board. There are two types of this memory package, a 4 Mbyte package composed of 1 Mbit dynamic random access memory (DRAM) and a 16 Mbyte package composed of 4 Mbit DRAM. 1] to [4] (102a to 10)
It can be connected to any of 2d). Therefore, as the memory configuration of this embodiment, there are three combinations of unmounted, 4 Mbyte package connection, and 16 Mbyte package connection for each connector, and there are a total of 3 4 = 81 combinations. .

メモリ制御部101は、メモリ構成情報レジスタ104、構
成認知フラグレジスタ105、容量判別回路106、メモリパ
ッケージ選択回路107、RAS信号生成回路108a〜108d、タ
イミング発生回路109、アドレスマルチプレクサ110、ア
ドレス・デコーダ113,114から構成される。メモリ構成
情報レジスタ104は、プログラムによりリード/ライト
可能なレジスタであり、コネクタ〔1〕〜〔4〕(102a
〜102d)に接続されるメモリパッケージの構成情報を構
成制御プログラムにより書き込む。本レジスタは第2図
に示すように各コネクタに対応して、メモリパッケージ
実装の有無(INS=1:実装,INS=0:未実装)、メモリパ
ッケージの種類(M16=1:16Mバイトパッケージ,M16=0:
4Mバイトパッケージ)の2ビットずつの情報を有す。構
成認知フラグレジスタ105は、プログラムによりリード
/ライト可能なレジスタで、本レジスタに値“1"をライ
トすると、構成認知モードとなり、後述する手順により
プログラムによるメモリの構成認知が可能となる。容量
判別回路106は、メモリ構成情報レジスタ104のデータ
〔R0〕〜〔R7〕・117を入力とし、メモリの構成を識別
する。本回路の出力信号124は各コネクタごとの容量情
報と、コネクタ〔1〕から各コネクタまでの容量の合計
情報とからなる。本回路は、第3図に示すようにコネク
タ別容量情報301a〜301dを生成する部分と、コネクタ
〔1〕からコネクタ〔k〕(k=1,2,3,4)までの合計
容量である構成識別信号306a〜306dを生成するコネクタ
〔1〕容量判別回路303,コネクタ〔1,2〕容量判別回路3
04,コネクタ〔1,2,3〕容量判別回路305,コネクタ〔1,2,
3,4〕容量判別回路306とから成る。コネクタ〔k〕(k
=1,2,3,4)にxMバイトパッケージが接続されている
(x=0は未実装を示す。)ことを示す信号をsk
(x)、コネクタ〔1〕からコネクタ〔k〕までの記憶
容量の合計がyMバイトであることを示す信号をck(y)
と表している。コネクタ〔1,…,k〕容量判別回路は、コ
ネクタ〔1,…,k−1〕容量判別回路の出力信号ck−1
(y)とsk(x)を入力とし、ck(y)信号を出力す
る。このコネクタ〔1,…,k〕容量判別回路の1例とし
て、第4図にコネクタ〔1,2,3〕容量判別回路を示す。
第4図において401はANDゲート、402はORゲートであり
以下同一記号は同種ゲートを表す。C2(0)〜C2(32)
のうちのどれか1本のみが“1"(真)であり、それがコ
ネクタ〔1〕および〔2〕の容量合計値を示す。これに
コネクタ3の容量即ちS3(0)〜S3(16)のうちの“1"
である1本の値を加えたもの即ちAND条件が成立したも
のがコネクタ〔1,2,3〕の容量合計値を示す信号とな
る。例えばC3(20)は、 C3(20)=C2(20)・S3(0) +C2(16)・S3(4) +C2(4)・S3(16) のように生成される。(・は論理積を示し、+は論理和
を示す。) メモリパッケージ選択回路107は、デコータ〔2〕・1
14の出力信号116と、容量判別回路106の出力信号124を
入力とし、各コネクタに対応するRAS信号MRAS〔1〕〜M
RAS〔4〕・119を出力する。デコーダ〔2〕は26ビット
のアドレスバス111の上位4ビットA22〜A25をデコード
して、4Mバイトごとのデコード信号と16Mバイトごとの
デコード信号116とを出力する。この16Mバイト毎のデコ
ード信号は元の4Mバイト毎のデコード信号から例えば第
5図に示すようなORゲート回路によって作られる。メモ
リパッケージ選択回路では、デコード信号116と、メモ
リ構成情報とから、アクセスアドレスがどのコネクタに
接続されたメモリパッケージに対応するかを識別する。
MRAS〔1〕,MRAS〔2〕の生成回路を第6図,第7図に
示す。図中、M(m〜n)は、デコーダ〔2〕・114の
出力信号であり、アクセスアドレスが、mM以上nM未満の
範囲にあることを示す。MRAS〔3〕,MRAS〔4〕につい
ても同様にして生成される。RAS信号生成回路108a〜108
dは、アドレスの上位2ビットA24〜A25をデコードする
デコーダ〔1〕・113の出力信号CRAS〔1〕〜CRAS
〔4〕・115と、メモリパッケージ選択回路107の出力信
号MRAS〔1〕〜MRAS〔4〕・119とを、構成認知フラグ
レジスタ105のデータMCHK・118でセレクトし、メモリパ
ッケージへのRAS信号RAS〔1〕〜RAS〔4〕・120を生成
する。RAS信号のタイミングはタイミング発生回路109か
らのt1によって規定される。第8図にRAS〔1〕の生成
回路を示す。アドレス・マルチプレクサ110はアドレスA
2〜A23を入力とし、第9図および第10図に示すようにA2
〜A11およびA22をロウアドレス、A12〜A21およびA23を
カラムアドレスとし、タイミング発生回路109からのタ
イミング信号t2でロウアドレス,カラムアドレスを切替
え、メモリパッケージへのアドレス信号MA00〜MA10・12
3を出力する。1MビットDRAMはアドレスピンが10本であ
り、4MビットDRAMはアドレスピンが11本であるから1Mビ
ットDRAMで構成されている4Mバイトパッケージに対して
は、最上位ビットMA10は接続されない。なお本実施例で
は、メモリのデータ幅は32ビット(4バイト)であり、
メモリに対しては4バイト単位のアクセスしか行わない
ため、アドレスの下位2ビットA0,A1は使用されない。
また、メモリパッケージへのCAS信号121,WE信号122は全
コネクタに共通に接続される。
The memory control unit 101 includes a memory configuration information register 104, a configuration recognition flag register 105, a capacity determination circuit 106, a memory package selection circuit 107, RAS signal generation circuits 108a to 108d, a timing generation circuit 109, an address multiplexer 110, address decoders 113 and 114. Composed of. The memory configuration information register 104 is a register readable / writable by a program, and has connectors [1] to [4] (102a
~ 102d) write the configuration information of the memory package connected to the configuration control program. As shown in Fig. 2, this register corresponds to each connector and whether or not a memory package is mounted (INS = 1: mounted, INS = 0: not mounted), the type of memory package (M16 = 1: 16 MB package, M16 = 0:
4M byte package) 2 bits each. The configuration recognition flag register 105 is a program readable / writable register, and when the value “1” is written to this register, the configuration recognition mode is set, and the configuration recognition of the memory can be performed by the program by the procedure described later. The capacity determination circuit 106 receives the data [R0] to [R7] · 117 of the memory configuration information register 104 as input, and identifies the configuration of the memory. The output signal 124 of this circuit consists of capacity information for each connector and total capacity information from connector [1] to each connector. This circuit is the total capacity from the connector [1] to the connector [k] (k = 1,2,3,4) and the part that generates connector-based capacity information 301a to 301d as shown in FIG. Connector [1] Capacitance Discriminating Circuit 303, Connector [1, 2] Capacitance Discriminating Circuit 3 for Generating Configuration Identification Signals 306a to 306d
04, connector [1,2,3] Capacity determination circuit 305, connector [1,2,3
3, 4] The capacity determination circuit 306. Connector [k] (k
= 1,2,3,4), a signal indicating that the xM byte package is connected (x = 0 indicates not mounted) is sk
(X), a signal indicating that the total storage capacity from the connector [1] to the connector [k] is yM bytes is ck (y)
Is represented. The connector [1, ..., k] capacitance determination circuit outputs the output signal ck-1 of the connector [1, ..., k-1] capacitance determination circuit.
It inputs (y) and sk (x) and outputs a ck (y) signal. As an example of this connector [1, ..., k] capacity determination circuit, FIG. 4 shows a connector [1,2,3] capacity determination circuit.
In FIG. 4, 401 is an AND gate, 402 is an OR gate, and hereinafter the same symbols represent the same kind of gates. C2 (0) ~ C2 (32)
Only one of them is "1" (true), which indicates the total capacitance value of the connectors [1] and [2]. This is the capacity of the connector 3, that is, "1" of S3 (0) to S3 (16)
Is a signal indicating the total capacitance value of the connectors [1, 2, 3]. For example, C3 (20) is generated as C3 (20) = C2 (20) * S3 (0) + C2 (16) * S3 (4) + C2 (4) * S3 (16). (• indicates a logical product, and + indicates a logical sum.) The memory package selection circuit 107 includes a decoder [2] · 1.
The 14 output signals 116 and the output signal 124 of the capacity determination circuit 106 are input, and the RAS signals MRAS [1] to M corresponding to each connector are input.
RAS [4] · 119 is output. The decoder [2] decodes the upper 4 bits A22 to A25 of the 26-bit address bus 111 and outputs a decode signal every 4 Mbytes and a decode signal 116 every 16 Mbytes. The decode signal for every 16 Mbytes is produced from the original decode signal for every 4 Mbytes by, for example, an OR gate circuit as shown in FIG. The memory package selection circuit identifies which connector the access address corresponds to the memory package connected to from the decode signal 116 and the memory configuration information.
Generation circuits of MRAS [1] and MRAS [2] are shown in FIGS. 6 and 7. In the figure, M (m to n) is the output signal of the decoder [2] · 114, and indicates that the access address is in the range of at least mM and less than nM. The MRAS [3] and MRAS [4] are generated in the same manner. RAS signal generation circuit 108a-108
d is the output signal CRAS [1] to CRAS of the decoder [1] · 113 that decodes the upper two bits A24 to A25 of the address.
[4] 115 and the output signals MRAS [1] to MRAS [4] 119 of the memory package selection circuit 107 are selected by the data MCHK 118 of the configuration recognition flag register 105, and the RAS signal RAS to the memory package is selected. [1] to RAS [4] · 120 are generated. The timing of the RAS signal is defined by t1 from the timing generation circuit 109. FIG. 8 shows a RAS [1] generation circuit. Address multiplexer 110 is address A
2 to A23 as input, A2 as shown in Fig. 9 and Fig. 10
~ A11 and A22 are row addresses, A12 to A21 and A23 are column addresses, the timing signal t2 from the timing generation circuit 109 switches the row address and the column address, and the address signals MA00 to MA10.
Outputs 3. Since the 1M bit DRAM has 10 address pins and the 4M bit DRAM has 11 address pins, the most significant bit MA10 is not connected to the 4M byte package composed of the 1M bit DRAM. In this embodiment, the data width of the memory is 32 bits (4 bytes),
Since the memory is accessed only in units of 4 bytes, the lower 2 bits A0 and A1 of the address are not used.
The CAS signal 121 and WE signal 122 to the memory package are commonly connected to all connectors.

次に、本実施例の動作を、コネクタ〔1〕は未接続、
コネクタ〔2〕は16Mバイトパッケージ接続、コネクタ
〔3〕は未接続、コネクタ〔4〕は4Mバイトパッケージ
接続の場合を例として説明する。
Next, the operation of this embodiment will be described with reference to the case where the connector [1] is not connected,
An example will be described in which the connector [2] is connected to a 16 Mbyte package, the connector [3] is not connected, and the connector [4] is connected to a 4 Mbyte package.

本実施例ではシステム初期設定時に構成制御プログラ
ムによるメモリの構成認知処理を行う。この手順は第11
図のフローチャートに示す通りである。まず構成認知フ
ラグレジスタ105に値“1"をライトすることによりメモ
リ構成認知モードを指示する(ステップ1101)。この結
果、第8図のMCHKが“1"となり、RAS信号としてはデコ
ーダ〔1〕・113の出力であるCRAS〔1〕〜〔4〕が選
択される。この時、第10図に示すようにアドレスの上位
2ビットA24,A25がデコードされるため、A24,A25を変化
させることにより、メモリパッケージの構成によらず、
コネクタ〔1〕〜〔4〕にRAS〔1〕〜RAS〔4〕が出力
される。この状態で‘0000000'X(16進表示)番地にデ
ータをライト/リードする(ステップ1102)と、RAS
〔1〕が出力されるが、本例ではコネクタ〔1〕は未実
装であるので、ライトデータとリードデータは一致せず
(ステップ1103)、コネクタ〔1〕が未接続であること
が判明する。次に、‘1000000'X番地に同様のアクセス
を行う。本例ではコネクタ〔2〕にメモリパッケージが
接続されているのでライトデータとリードデータは一致
する。‘13FFFFC'X番地に‘AAAAAAAA'X,‘1FFFFFC'X番
地に‘55555555'Xをライトし、‘13FFFFC'X番地をリー
ドする(ステップ1104)と、本例ではコネクタ〔2〕に
16Mバイトパッケージが接続されているので、‘13FFFF
C'X番地と‘1FFFFFC'X番地は区別され、リードデータは
‘AAAAAAAA'Xとなる(ステップ1105)から、コネクタ
〔2〕に16Mバイトパッケージが接続されていることが
わかる。同様にしてコネクタ〔3〕,コネクタ〔4〕に
ついても構成認知を行うと、コネクタ〔3〕は未接続、
コネクタ〔4〕については4Mバイトパッケージが接続さ
れているから、第8図のA22,A23が無視され‘33FFFFC'X
番地と‘3FFFFFC'X番地がメモリパッケージ上の同一ア
ドレスを示し、ステップ1105の処理の結果は‘5555555
5'Xとなりコネクタ〔4〕に4Mバイトパッケージが接続
されていることがわかる。
In this embodiment, a memory configuration recognition process is performed by the configuration control program at the time of system initialization. This step is
This is as shown in the flowchart of the figure. First, the memory configuration recognition mode is instructed by writing the value "1" to the configuration recognition flag register 105 (step 1101). As a result, MCHK in FIG. 8 becomes "1", and CRAS [1] to [4] output from the decoders [1] and 113 are selected as the RAS signal. At this time, since the upper 2 bits A24 and A25 of the address are decoded as shown in FIG. 10, by changing A24 and A25, regardless of the memory package configuration,
RAS [1] to RAS [4] are output to the connectors [1] to [4]. In this state, when data is written / read to the address'0000000'X (hexadecimal display) (step 1102), RAS
Although [1] is output, since the connector [1] is not mounted in this example, the write data and the read data do not match (step 1103), and it is found that the connector [1] is not connected. . Next, the same access is made to the address'1000000'X. In this example, since the memory package is connected to the connector [2], the write data matches the read data. Write'AAAAAAAA'X at address '13FFFFC'X, write'55555555'X at address 1'FFFFFC'X, and read address'13FFFFC'X (step 1104), and in this example, to connector [2].
Since a 16MB package is connected, '13FFFF
The C'X address and the '1FFFFFC'X address are distinguished, and the read data is'AAAAAAAA'X (step 1105), which shows that the 16-Mbyte package is connected to the connector [2]. Similarly, when the configuration recognition is performed for the connector [3] and the connector [4], the connector [3] is not connected,
Since the 4M byte package is connected to connector [4], A22 and A23 in Fig. 8 are ignored and '33FFFFC'X
The address and '3FFFFFC'X address indicate the same address on the memory package, and the result of the processing in step 1105 is' 5555555.
It becomes 5'X, and it can be seen that the 4 Mbyte package is connected to the connector [4].

次に、上記の処理の結果得られたメモリ構成情報をメ
モリ構成情報レジスタ104にライトする(ステップ110
6)。本例では、第2図のR2,R3,R6が“1"に、R0,R1,R4,
R5,R7が“0"になる。最後に構成認知フラグレジスタ105
に“0"をライトし、メモリ構成認知モードを解除して
(ステップ1107)、構成制御プログラムによるメモリの
構成認知処理を終える。
Next, the memory configuration information obtained as a result of the above processing is written in the memory configuration information register 104 (step 110).
6). In this example, R2, R3, and R6 in FIG. 2 are set to "1", and R0, R1, R4, and
R5 and R7 become “0”. Finally the configuration recognition flag register 105
"0" is written to the memory to cancel the memory configuration recognition mode (step 1107), and the memory configuration recognition processing by the configuration control program ends.

メモリ構成情報レジスタ104に値をライトすると、容
量判別回路106の出力は、第3図からわかるように、S1
(0),S2(16),S3(0),S4(4),C1(0),C2(1
6),C3(16),C4(20)の各信号が“1"となる。本例の
メモリパッケージとアドレスとの対応は第12図に示すよ
うになる。本例では、コネクタ〔1〕およびコネクタ
〔3〕が未接続なので、コネクタ〔2〕の16Mバイトパ
ッケージがアドレス0〜16M、コネクタ〔4〕の4Mバイ
トパッケージがアドレス16〜20Mに割付けられる。
When a value is written in the memory configuration information register 104, the output of the capacity determination circuit 106 is S1 as shown in FIG.
(0), S2 (16), S3 (0), S4 (4), C1 (0), C2 (1
6), C3 (16) and C4 (20) signals become "1". The correspondence between memory packages and addresses in this example is as shown in FIG. In this example, since the connector [1] and the connector [3] are not connected, the 16M byte package of the connector [2] is assigned to addresses 0 to 16M, and the 4M byte package of the connector [4] is assigned to addresses 16 to 20M.

本例で、構成認知終了後の通常アクセスで、アドレス
13Mにアクセスした場合を考えると、デコーダ〔2〕・1
14の出力は、M(12〜16)およびM(0〜16)が“1"と
なる。このとき、第7図のANDゲート701の出力が“1"と
なり、MRAS〔2〕が出力される。構成認知フラグレジス
タ105の値MCHKが“0"の場合は、RAS信号選択回路108a〜
108dによって、RAS信号としてMRAS〔1〕〜〔4〕が選
択されるので、この場合は、RAS〔2〕が出力され、第1
2図のアドレス割付け通り、コネクタ〔2〕に接続され
た16Mバイトパッケージにアクセスがなされる。
In this example, the address is
Considering the case of accessing 13M, the decoder [2] .1
In the output of 14, M (12 to 16) and M (0 to 16) are "1". At this time, the output of the AND gate 701 in FIG. 7 becomes "1", and MRAS [2] is output. When the value MCHK of the configuration recognition flag register 105 is “0”, the RAS signal selection circuit 108a to
Since MRAS [1] to [4] are selected as RAS signals by 108d, in this case, RAS [2] is output and the first
According to the address assignment shown in Fig. 2, the 16Mbyte package connected to connector [2] is accessed.

本実施例によれば、コネクタとメモリパッケージとの
任意の組合わせに対して連続したアドレス割付けが可能
となり、一般プログラムはメモリ構成を意識することな
くメモリアクセスを行なうことができる。また、メモリ
制御回路とメモリパッケージとのインタフェース信号は
アドレス,データ,メモリ制御信号のみで良く、メモリ
構成認知専用の信号は不要であり、メモリパッケージは
メモリ素子およびドライバのみで構成可能であるから、
記憶装置を安価で小形なものとできると共に、異なる種
類の装置間で、メモリパッケージの共用を容易に実施す
ることができる。
According to the present embodiment, continuous address allocation is possible for any combination of the connector and the memory package, and the general program can perform memory access without being aware of the memory configuration. Further, since the interface signal between the memory control circuit and the memory package may be only the address, data, and memory control signals, a signal dedicated to recognizing the memory configuration is unnecessary, and the memory package can be configured by only the memory element and the driver.
The storage device can be made inexpensive and small, and the memory package can be easily shared between different types of devices.

なお、本実施例ではメモリとしてDRAMを使用した例を
挙げたが、スタティック・ランダム・アクセス・メモリ
(SRAM)を使用した場合にも同様の効果を得ることがで
きる。また、本実施例において、コネクタ〔3〕にRAS
〔3〕,RAS〔4〕を与え、コネクタ〔3〕に4Mバイトパ
ッケージ、16Mバイトパッケージに加え、4Mバイトパッ
ケージ2個分を1個のパッケージに実装した8Mバイトパ
ッケージ,16Mバイトパッケージ2個分を1個のパッケー
ジに実装した32Mバイトパッケージを接続可能とし、コ
ネクタ〔4〕を用いない構成等も可能である。
In addition, although the example in which the DRAM is used as the memory is described in the present embodiment, the same effect can be obtained even when the static random access memory (SRAM) is used. Further, in the present embodiment, the RAS is connected to the connector [3].
[3], RAS [4] are given, and in addition to the 4M byte package and 16M byte package to the connector [3], 8M byte package and 2 16M byte package which are 2 4M byte packages mounted in 1 package It is possible to connect a 32 Mbyte package in which a single package is mounted, and a configuration without using the connector [4] is also possible.

〔発明の効果〕〔The invention's effect〕

本発明によれば、記憶容量の異なる1種類あるいは2
種類以上のメモリパッケージと、複数個のコネクタの任
意の組合わせに対して、連続したアドレスの割付けがで
きるので、一般プログラムはメモリ構成を意識すること
なくメモリアクセスを行うことができる。
According to the present invention, one type or two types having different storage capacities
Since consecutive addresses can be assigned to any combination of more than one type of memory package and a plurality of connectors, a general program can perform memory access without being aware of the memory configuration.

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

第1図は本発明の一実施例のブロック図、第2図はメモ
リ構成情報レジスタの内容を示す概念図、第3図は容量
判別回路のブロックダイヤグラム、第4図はコネクタ
〔1,…,k〕容量判別回路の一例を示す図、第5図はアド
レスデコード回路の一部を示す図、第6図・第7図はメ
モリパッケージ選択回路の一部の論理図、第8図はRAS
信号生成回路の一部の論理図、第9図はアドレス割付け
の概念図、第10図はメモリ構成認知モード時のアドレス
割付けの概念図、第11図はメモリ構成認知方法を示すフ
ローチャート、第12図はメモリパッケージとアドレスと
の対応を示す概念図である。 101……メモリ制御部、102……コネクタ、103……メモ
リパッケージ、104……メモリ構成情報レジスタ、105…
…構成認知フラグレジスタ、106……容量判別回路、107
……メモリパッケージ選択回路、108……RAS信号生成回
路、109……タイミング発生回路、110……アドレスマル
チプレクサ、111……アドレスバス、112……データバ
ス、113……デコーダ〔1〕、114……デコータ〔2〕、
115……デコータ〔1〕出力信号、116……デコータ
〔2〕出力信号、117……メモリ構成情報レジスタの出
力データ、118……構成認知フラグレジスタの出力デー
タ、119……メモリパッケージ選択回路出力信号、120…
…RAS信号、121……CAS信号、122……WE信号、123……
メモリアドレス信号、301……コネクタ別容量信号、302
……コネクタ〔1〕容量判別回路、303……コネクタ
〔1,2〕容量判別回路、304……コネクタ〔1,2,3〕容量
判別回路、305……コネクタ〔1,2,3,4〕容量判別回路、
306……構成識別信号、401,701……ANDゲート
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a conceptual diagram showing the contents of a memory configuration information register, FIG. 3 is a block diagram of a capacity discriminating circuit, and FIG. 4 is a connector [1, ... k] A diagram showing an example of the capacitance discrimination circuit, FIG. 5 is a diagram showing a part of the address decoding circuit, FIGS. 6 and 7 are a logic diagram of a part of the memory package selection circuit, and FIG. 8 is a RAS.
Partial logic diagram of the signal generation circuit, FIG. 9 is a conceptual diagram of address allocation, FIG. 10 is a conceptual diagram of address allocation in the memory configuration recognition mode, FIG. 11 is a flowchart showing a memory configuration recognition method, and 12 The figure is a conceptual diagram showing the correspondence between memory packages and addresses. 101 ... Memory control unit, 102 ... connector, 103 ... Memory package, 104 ... Memory configuration information register, 105 ...
... Configuration recognition flag register, 106 ... Capacity determination circuit, 107
... Memory package selection circuit, 108 ... RAS signal generation circuit, 109 ... Timing generation circuit, 110 ... Address multiplexer, 111 ... Address bus, 112 ... Data bus, 113 ... Decoder [1], 114 ... … Decorator [2],
115 ... Decoder [1] output signal, 116 ... Decoder [2] output signal, 117 ... Memory configuration information register output data, 118 ... Configuration recognition flag register output data, 119 ... Memory package selection circuit output Signal, 120 ...
… RAS signal, 121 …… CAS signal, 122 …… WE signal, 123 ……
Memory address signal, 301 ...... Capacity signal by connector, 302
...... Connector [1] Capacity determination circuit, 303 ...... Connector [1, 2] Capacity determination circuit, 304 …… Connector [1, 2, 3] Capacity determination circuit, 305 …… Connector [1, 2, 3, 4 ] Capacity determination circuit,
306 …… Configuration identification signal, 401,701 …… AND gate

───────────────────────────────────────────────────── フロントページの続き (72)発明者 具志堅 正春 神奈川県秦野市堀山下1番地 株式会社 日立製作所神奈川工場内 (56)参考文献 特開 昭61−129792(JP,A) 特開 昭60−150146(JP,A) 特開 昭60−220441(JP,A) 特開 昭62−74137(JP,A) 実開 昭61−176654(JP,U) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Masaharu Gushiken 1 Horiyamashita No. 1 Horiyamashita, Hadano City, Kanagawa Prefecture Inside the Kanagawa Plant, Hitachi, Ltd. (56) References JP 61-129792 (JP, A) JP 60- 150146 (JP, A) JP 60-220441 (JP, A) JP 62-74137 (JP, A) Actually opened 61-176654 (JP, U)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数個のメモリパッケージと、前記複数個
のメモリパッケージを接続するための複数個のコネクタ
と、上位装置に接続され、前記コネクタを介して前記メ
モリパッケージを接続し制御するためのメモリ制御部を
有する記憶装置であって、 前記メモリ制御部は、前記複数個のコネクタの各々に対
応してメモリパッケージ実装有無および実装メモリ容量
を記憶するメモリ構成記憶手段と、前記上位装置で動作
する構成制御プログラムの指示に基づいて該プログラム
が現在メモリ構成認知処理を実行中であるか否かを示す
情報を記憶する構成認知処理状態記憶手段と、前記上位
装置からのメモリアクセスアドレスに応じてメモリ選択
信号を出力するメモリ構成制御手段と、メモリアクセス
のタイミングを制御するタイミング制御手段とを備え、
前記構成制御プログラムに応じて該構成制御プログラム
によるメモリ構成認知結果を前記メモリ構成記憶手段に
記憶し、 前記メモリ構成制御手段は、前記上位装置からのメモリ
アクセスアドレスをデコードするデコード手段と、前記
メモリ構成記憶手段の記憶情報を入力として各コネクタ
に対応するメモリ容量および最初のコネクタから該各コ
ネクタまでのメモリ容量の積算値を表わす信号を出力す
る容量判別手段と、前記デコード手段の出力信号と前記
容量判別手段の出力信号と前記構成認知処理状態記憶手
段の記憶情報とを入力として、前記前記コネクタに対し
メモリ選択信号を発生するメモリパッケージ選択手段と
備え、前記構成認知処理状態記憶手段の記憶情報が前記
メモリ構成認知処理中であることを示す場合は、前記上
位装置からのメモリアクセスアドレスの一部の情報によ
って、前記複数個のコネクタのうちの1つにメモリ選択
信号を出力し、前記構成認知処理状態記憶手段の記憶情
報が前記メモリ構成認知処理中でないことを示す場合
は、前記上位装置からのメモリアクセスアドレスの一部
の情報と前記メモリ構成記憶手段中の記憶情報とから前
記複数個のコネクタに接続されているメモリパッケージ
の1つを選択し、メモリ選択信号を出力することを特徴
とする記憶装置。
1. A plurality of memory packages, a plurality of connectors for connecting the plurality of memory packages, and a host device, for connecting and controlling the memory packages via the connectors. A storage device having a memory control unit, wherein the memory control unit operates in the host device, a memory configuration storage unit that stores the presence / absence of a memory package and the mounted memory capacity corresponding to each of the plurality of connectors. According to the memory access address from the host device, a configuration recognition processing state storage unit that stores information indicating whether the program is currently executing the memory configuration recognition process based on an instruction of the configuration control program. Memory configuration control means for outputting a memory selection signal, and timing control means for controlling the timing of memory access Equipped with
A memory configuration recognition result by the configuration control program is stored in the memory configuration storage unit according to the configuration control program, and the memory configuration control unit includes a decoding unit that decodes a memory access address from the host device; Capacity determining means for inputting the memory information of the configuration storing means and outputting a signal representing a memory capacity corresponding to each connector and an integrated value of the memory capacity from the first connector to each connector, an output signal of the decoding means and the above The storage information of the configuration recognition processing state storage means is provided with memory package selection means for generating a memory selection signal to the connector by inputting the output signal of the capacity determination means and the storage information of the configuration recognition processing state storage means. Indicates that the memory configuration recognition process is in progress, A memory selection signal is output to one of the plurality of connectors according to a part of the information of the memory access address, and the stored information of the configuration recognition processing state storage means is not in the memory configuration recognition process. In the case shown, one of the memory packages connected to the plurality of connectors is selected from the partial information of the memory access address from the higher-level device and the stored information in the memory configuration storage means, and the memory is selected. A storage device which outputs a signal.
JP62183321A 1987-07-24 1987-07-24 Storage device Expired - Lifetime JP2510604B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62183321A JP2510604B2 (en) 1987-07-24 1987-07-24 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62183321A JP2510604B2 (en) 1987-07-24 1987-07-24 Storage device

Publications (2)

Publication Number Publication Date
JPS6428754A JPS6428754A (en) 1989-01-31
JP2510604B2 true JP2510604B2 (en) 1996-06-26

Family

ID=16133658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62183321A Expired - Lifetime JP2510604B2 (en) 1987-07-24 1987-07-24 Storage device

Country Status (1)

Country Link
JP (1) JP2510604B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3069355B2 (en) * 1989-03-16 2000-07-24 セイコーエプソン株式会社 DRAM type setting device method and computer
JP2865119B2 (en) * 1992-04-06 1999-03-08 ヤマハ株式会社 Memory control circuit
JPH06180986A (en) * 1992-10-01 1994-06-28 Hudson Soft Co Ltd Memory controller unit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60150146A (en) * 1984-01-17 1985-08-07 Mitsubishi Electric Corp Main memory selector of electronic computer
JPS60220441A (en) * 1984-04-16 1985-11-05 Nec Corp Memory control system
JPS61129792A (en) * 1984-11-27 1986-06-17 Fujitsu Ltd Included packaging memory access processing system
JPS61176654U (en) * 1984-12-26 1986-11-04

Also Published As

Publication number Publication date
JPS6428754A (en) 1989-01-31

Similar Documents

Publication Publication Date Title
US5966727A (en) Combination flash memory and dram memory board interleave-bypass memory access method, and memory access device incorporating both the same
US5761695A (en) Cache memory control method and apparatus, and method and apparatus for controlling memory capable of interleave control
US5611042A (en) Data error detection and correction for a shared SRAM
US6035381A (en) Memory device including main memory storage and distinct key storage accessed using only a row address
US4805092A (en) Electronic circuit for extending the addressing capacity of a processor
US6421765B1 (en) Method and apparatus for selecting functional space in a low pin count memory device
US5535404A (en) Microprocessor status register having plural control information registers each set and cleared by on and off decoders receiving the same control data word
JP2510604B2 (en) Storage device
US5333292A (en) Microcomputer for selectively accessing non-volatile memory and other storage unit in response to allocated address inputs
US5630098A (en) System and method for interleaving memory addresses between memory banks based on the capacity of the memory banks
US5909703A (en) Method and apparatus for banking addresses for DRAMS
JPH0562380B2 (en)
JP3635996B2 (en) Information processing system
JP4220351B2 (en) Integrated circuit and method capable of simultaneously executing data reading operation and writing operation
US7395399B2 (en) Control circuit to enable high data rate access to a DRAM with a plurality of areas
US5586129A (en) Parity bit memory simulator
US6029210A (en) Memory initialization system selectively outputting a data between a normal data stored in the memory and a fixed value according to a registered access state
JPH11102328A (en) Memory diagnostic system
KR950000495B1 (en) Node memory system for parallel processing system
KR20030057916A (en) System for Device Chip Selection in Common Bus Structure
JP3415408B2 (en) Communication control device
JPH09297707A (en) Driving method for storage device, and same device
JPS60119694A (en) Refresh method of dynamic memory
JPS6134618A (en) Memory clear controlling system
JPH0793039B2 (en) Memory address control circuit