JP3099046B2 - Non-volatile storage device - Google Patents

Non-volatile storage device

Info

Publication number
JP3099046B2
JP3099046B2 JP17412485A JP17412485A JP3099046B2 JP 3099046 B2 JP3099046 B2 JP 3099046B2 JP 17412485 A JP17412485 A JP 17412485A JP 17412485 A JP17412485 A JP 17412485A JP 3099046 B2 JP3099046 B2 JP 3099046B2
Authority
JP
Japan
Prior art keywords
address
memory
board
signal
supplied
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
JP17412485A
Other languages
Japanese (ja)
Other versions
JPS6236799A (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 JP17412485A priority Critical patent/JP3099046B2/en
Publication of JPS6236799A publication Critical patent/JPS6236799A/en
Application granted granted Critical
Publication of JP3099046B2 publication Critical patent/JP3099046B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)

Description

【発明の詳細な説明】 [技術分野] この発明は、データ記憶技術さらには半導体メモリか
らなる記憶装置の構成に適用して特に有効な技術に関
し、例えばマイクロコンピュータ・システムを構成する
メモリボードにおけるアドレス割付け方式に利用して有
効な技術に関する。 [背景技術] マイクロコンピュータ・システムの主記憶装置は、例
えばアクセス時間の短いRAM(ランダム・アクセス・メ
モリ)によって構成される。しかしながら、RAMは、揮
発性メモリであり、電源が遮断されるとデータを保持で
きない。そこで、RAMに貯えられた保持すべきデータを
電源遮断後も保持できるようなシステムを構成するた
め、バッテリによってバックアップされたメモリボード
(RAMボード)が提案されている。 バッテリによってバックアップされるメモリボードに
ついては、[株]日立製作所が昭和59年9月に発行した
カタログ「16kビットバイトバッテリバックアップCMOS
メモリボードH68CM1P−1 ユザーズマニュアル」に記
載されている。 しかしながら、バッテリ・バックアップ型のメモリボ
ードにあっては、RAMの他にバッテリおよび、電源電圧
の低下を検出して、RAMへのアクセスを禁止する回路等
の回路もボード上に搭載しなければならないため、ボー
ド上へのRAMの実装密度が低下してしまう。特に、16ビ
ットや32ビットのようなマイクロプロセッサが開発さ
れ、アドレス空間が増大するのに伴なって記憶容量も増
大される傾向にある。しかるに、記憶容量を増大するた
め使用するRAMの数が増加されると、それだけ大型のバ
ックアップ用バッテリが必要になるという問題点があ
る。 そこで、本発明者は、メモリボードを構成する半導体
メモリとして、電源遮断後にバッテリによるバックアッ
プを必要としない電気的に書込み消去可能なEEPROM(エ
レクトリカリ・イレイサブル・プログラマブル・リード
・オンリ・メモリ)を使用する方法を考えた。 ここで、EEPROMはデータの書き込み1サイクルのため
例えば10ms程度の比較的長い時間を要する。そのため、
例えばRAMを使ったメモリボードと同じアドレス割付け
方式、すなわち一つのメモリへのデータの書込みを行な
って、それが終了すると次のメモリへ移るという方式
(第5図参照)に従って、各EEPROMへのデータの書込み
を行なって行くと、一方データごとに10msの待ち時間が
必要になる。その結果として、極端に書込み時間が長く
なってしまうという不都合がある。 [発明の目的] この発明の目的は、バッテリによるバックアップを必
要としないで記憶したデータを電源遮断後も保持できる
ような半導体メモリを使った記憶装置を提供することに
ある。 この発明の他の目的は、半導体メモリを使った記憶装
置の実装密度を向上させることにある。 この発明のさらに他の目的は、データの書込みに要す
る時間を短縮できるようなアドレス割付け方式を提供す
ることにある。 この発明の前記ならびにそのほかの目的と新規な特徴
については、本明細書の記述および添付図面から明らか
になるであろう。 [発明の概要] 本願において開示される発明のうち代表的なものの概
要を説明すれば、下記のとおりである。 すなわち、メモリボードを構成する半導体メモリとし
てRAMの代わりにEEPROMを使用するとともに、複数個のE
EPROMに対してバイト単位もしくはワード単位で連続し
てデータを順番に書き込んで行くようなアドレス割付け
方式を採用することにより、記憶したデータを電源遮断
後もバッテリによるバックアップを必要としないで保持
でき、しかもバッテリが不要になった分だけメモリの実
装密度を高くできるとともに、一つのEEPROMに対する書
込みを行なっている間に次のEEPROMへの書込みに移るこ
とができるようにして、データの書込みに要する時間を
短縮するという上記目的を達成するものである。 以下図面を用いてこの発明を具体的に説明する。 [実施例] 第1図には、68000系の16ビット・マイクロプロセッ
サを用いたシステムを構成するメモリボードに本発明を
適用した場合の一実施例が示されている。 この実施例のメモリボードは、特に制限されないが、
ワード単位でアクセス可能にされた16個もしくは16組の
EEPROM m1〜m16が搭載され、256kバイト(128kワード)
の記憶容量を持つようにされる。市販されている8ビッ
ト構成の64kビット容量を持つEEPROMを使用した場合、
第4図に示すように各々2つずつ組にして上記EEPROM m
1〜m16を構成すればよい。 その場合、組をなす2つのEEPROMの一方には一ワード
のデータの下位8ビットD0〜D7を、また他方には上位D8
〜D15を供給し、その他の信号は全く共通に印加させる
ように接続を行なえばよい。 上記EEPROM m1〜m16は、内部アドレスバスA−BUSお
よび内部データバスD−BUSを介して、アドレスバッフ
ァABFおよびデータバスバッファDBFに接続されている。
ボード上のアドレスバッファABFおよびデータバスバッ
ファDBFは、システムバスS−BUSを介して、CPU(マイ
クロプロセッサ)が搭載されたマスタボード(以下CPU
ボードと称する)に接続され、CPUの駆動能力を補完す
る。 システムバスS−BUSから上記アドレスバッファABFに
取り込まれたアドレス信号A1〜A23のうちA5〜A17の13ビ
ットが、上記EEPROM m1〜m16に供給される。これによっ
て、ワード単位でのデータの読出し、書込みが行なわれ
る。 アドレスバッファABFに取り込まれたアドレス信号A1
〜A23のうち、A1〜A9およびA18〜A23が選択回路として
のデコーダ回路DECに供給される。これをデコードする
ことにより、上記EEPROM m1〜m16のうち一つを選択する
ための選択信号CS1〜CS16が形成される。特に制限され
ないが、デコーダ回路DEC内には後に詳しく説明するよ
うに、このメモリボードに与えられたアドレス空間の先
頭アドレスを任意に設定することができるアドレス設定
回路が設けられている。 上記デコーダ回路DECには、メモリボードのアクセス
時にCPUボードから上記システムバスS−BUSに出力さ
れ、制御信号バッファCBFに取り込まれた上位データス
トローブ信号UDS、下位データストローブ信号LDSおよび
制御信号▲▼や▲▼が供給される。こ
れによって、これらの制御信号と上記アドレス信号A1
A9およびA18〜A23とに基づいて上記選択信号CS1〜CS16
が形成される。 上記制御信号IACKは、CPUから出力される現在実行中
のモードとサイクルのタイプを示す3ビットのファンク
ションコードをCPUボード上においてデコードすること
により形成された信号である。制御信号▲▼
は、メモリに対するアクセスか、I/Oに対するアクセス
かを区別するための信号で、CPUボード上でアドレス信
号をデコードすることにより発生される。 なお、制御信号バッファCBFには、この他にCPUボード
からシステムバスS−BUS上に出力される16MHzのような
クロック信号CLKやリード・ライト制御信号R/Wが取り込
まれるようにされている。 制御信号バッファCBFに取り込まれたクロック信号CLK
は、分周回路DVDに供給されて分周され、例えば625μs
のような周期のクロック信号φcが形成される。 上記デコーダ回路DECにおいて形成された選択信号CS1
〜CS16は、上記各EEPROM m1〜m16に対応して設けられた
リード・ライトコントロール回路CNT1〜CNT16にそれぞ
れ供給される。リード・ライトコントロール回路CNT1
CNT16は、選択信号CSnおよびシステムバスS−BUSから
制御信号バッファCBFに取り込まれたリード・ライト制
御信号R/Wとクロック信号φcに基づいて、各EEPROM m1
〜m16に対するライトイネーブル信号▲▼nやチッ
プイネーブル信号▲▼nおよび出力イネーブル▲
▼nを形成し出力する。EEPROM m1〜m16は、これらの
制御信号▲▼n,▲▼n,▲▼nおよびアドレ
ス信号A5〜A17の供給を受けてアクセスされる。ライト
イネーブル信号▲▼nがハイレベルの場合、対応す
る番地に記憶されている16ビットのデータが読み出され
てデータバスバッファDBFに供給され、システムバスS
−BUS上に出力される。一方、ライトイネーブル信号▲
▼nがロウレベルの場合、そのときシステムバスS
−BUSからデータバスバッファDBFに取り込まれた16ビッ
トのデータがEEPROM m1〜m16内の対応する番地に書き込
まれる。 しかして、この実施例では、各EEPROM m1〜m16に対し
て、第6図(A)に示すような方式でアドレスが割り付
けられている。 すなわち、AS1〜AS16をそれぞれ上記EEPROM m1〜m16
のアドレス空間とすると、EEPROM m1の先頭アドレスに
は1番目のワード1が格納され、EEPROM m2の先頭アド
レスには2番目のワード2が格納される。このようにし
て、EEPROM m16に16番目のワード16が格納されると、17
番目のワード17は再びEEPROM m1に戻って、EEPROM m1
第2アドレスに格納される。以後、最初の16個のワード
1〜16と同じようにして、次の16個のワード17〜32がEE
PROM m1〜m16に順番に格納されて行くようにアドレスの
割付けが行なわれている。 しかも、この実施例では、EEPROM m1〜m16として、例
えば[株]日立製作所製HN58064P−25のようなアドレス
およびデータのラッチ機能を有するEEPROMが使用されて
いる。 このような、ラッチ機能付EEPROMでは、各EEPROM m1
〜m16をアクセスに行ったとき、アドレス信号やデータ
信号を200ns程度保持してやればよい。ただし、1つの
データ(8ビット)の書込み所要時間は10msである。 従って、各EEPROM m1〜m16に1ワードのデータを書き
込むのに10ms程度要する。つまり、ライトイネーブル信
号▲▼は、10ms程度ロウレベルに保持する必要があ
る。ところが、上記実施例では200ns以上経過したら次
のEEPROMのアクセスに移るようにされる。 そのため、EEPROM m1から書込みを始めて、m2,m3,‥
‥と進み再びEEPROM m1に戻ったとき、最初のアクセス
のときから10ms経過していればよい。 その結果、上記実施例では、10msの間にEEPROM m1〜m
16のすべてに対し、余裕をもって各データを書き込むこ
とができる。これによって、第5図に示すようなRAMボ
ードと同じアドレス割付け方式に従ったアクセスによっ
てEEPROMにデータを書き込んで行く方法に比べて、上記
実施例では16倍のスピードでデータの書込みを行なうこ
とができるようになる。 メモリボード上のEEPROMの数は、16個に限定されるも
のでなく17個以上(2n個毎の値)であってもよい。ま
た、上記のようなメモリボードを複数個用意し、一つの
ボード上のEEPROM全部に対する書込みが一巡してから次
のメモリホードへ移行するようにすれば、更に全データ
の書込みに要する時間が短縮される。第6図(B)にメ
モリボードを2枚にした場合のアドレス割付け方式を示
す。なお、メモリボード上には、電源投入時にリセット
信号を発生するパワーオンリセット回路PORが設けられ
ている。ここで発生されたリセット信号RSは、上記リー
ド・ライトコントロール回路CNT1〜CNT16に供給され、
内部のカウンタやラッチ回路がリセットされるようにさ
れている。 第2図には、上記実施例におけるデコーダ回路DECの
一構成例が示されている。特に制限されないが、ここに
は上記実施例のようなメモリボードを最高32枚まで使用
しても、第6図に示すアドレス割付け方式と同じような
割付け方式で各EEPROMをアクセスする選択信号CS1〜CS
16を自動的に形成できるようにされてものが示されてい
る。 この実施例のデコーダ回路DECには、図7に示すよう
に、23ビットのアドレスに対応して8Mワード(16Mバイ
ト)の大きさを有するCPUのアドレス空間の中で256kバ
イト(128kワード)の大きさを有する各メモリボード
を、任意の位置に配置(割付け)できるようにするため
のアドレス設定手段1が設けられている。このアドレス
設定手段1は、アドレスの上位6ビットすなわちA18〜A
23に対応された6個のスイッチSW1〜SW6からなるディッ
プスイッチのようなスイッチアレイ1aと、プルアップ抵
抗R1〜R6およびアドレスA18〜A23に対応した6個イクス
クルーシブORゲートG1〜G6とにより構成されている。こ
れにより、CPUのアドレス空間の中で各メモリボードの
アドレス領域(メモリ空間)を128kワード単位で任意の
位置に配置でき、メモリボードを最高の32枚使用した場
合には、全メモリボードの占めるメモリ空間は4Mワード
(8Mバイト)となり、8Mワード(16Mバイト)のCPU空間
の半分を占めることとなる。残りの4Mワード(8Mバイ
ト)の空間はROMやI/Oのために開放される。図7におい
て、000000,040000,A00000,FC0000はCPUのアドレス空間
内に配置された任意のメモリボードの先頭アドレスを、
03FFFF,07FFFF,A3FFFF,FFFFFFは最終アドレスを、それ
ぞれ16進数で示したものである(“F"は10進数の“15"
に相当する16進数、“A"は10進数の“10"に相当する16
進数)。 上記スイッチアレイ1a内の各スイッチSW1〜SW6の一方
の端子は、接地点に共通に接続され、他方の端子はそれ
ぞれプルアップ抵抗R1〜R6を介して電源電圧Vccに接続
されている。 各スイッチSW1〜SW6を導通状態にセットすると、対応
するイクスクルーシブORゲートG1〜G6の一方の入力端子
が“0"レベル(接地電位)に固定される。そのため、イ
クスクルーシブORゲートG1〜G6は、他方の入力端子に入
力されたアドレスA18〜A23をそのまま次段のNANDゲート
G11〜G15およびインバータG16に供給する。 一方、各スイッチSW1〜SW6を非導通状態にセットする
と、対応するイクスクルーシブORゲートG1〜G6の一方の
入力端子が“1"レベル(電源電圧Vcc)に固定される。
そのため、イクスクルーシブORゲートG1〜G6は、インバ
ータとして動作し、アドレス信号A18〜A23を反転してNA
NDゲートG11〜G15およびインバータG16に供給する。入
って来たアドレス信号のうちA18〜A23が、スイッチアレ
イ1aの設定状態に一致したときにすべてのイクスクルー
シブORゲートG1〜G6の出力がロウレベルになる。つま
り、ゲートG1〜G6は一種のアドレス比較回路を構成して
いる。 これによって、各メモリボードごとにスイッチアレイ
1aの設定状態を変えておくことにより、同一のアドレス
信号A18〜A23がCPUボードから各メモリボードに共通に
供給されても、各メモリボードに割り当てられたメモリ
空間がアクセスされた場合にのみ、そのボード上のデコ
ーダ回路DECが動作される。 例えば、スイッチSW1〜SW6をすべて導通状態に設定し
てやると、そのボードのアドレス空間は16進数で“0000
00"〜“03FFFF"の256kバイトにされる。また、上記スイ
ッチSW2〜SW6の5つを導通状態に設定してやると、その
ボードのアドレス空間は“040000"〜“07FFFF"にされ
る。表4に、スイッチSW6〜SW1の状態とアドレスA23〜A
18およびメモリ空間との関係を示す。 デコーダ回路DEC内には、1枚〜32枚の間で2(n
=0,1,‥‥6)枚のメモリボードによって記憶装置を構
成し、しかもいずれの場合にも上述したようなアドレス
割付け方式によるアクセスを可能にするため、ボード切
換手段2が設けられている。このボード切換手段2は、
ボードの最高枚数32に対応して5個のスイッチSW21〜SW
25からなるスイッチアレイ2aと、これに接続されたプル
アップ抵抗R21〜R25および各々5個ずつのNANDゲートG
11〜G15とORゲートG21〜G25とからなる。そして、スイ
ッチSW21〜SW25による設定信号が対応するゲートG11;G
21〜G15;G25の一方の入力端子に印加されている。 従って、例えば使用するボードが1枚の場合には、ス
イッチSW21〜SW25をすべて非導通状態に設定してやる。
すると、ORゲートG21〜G25の一方の入力端子はすべて
“1"レベルにされ、結局出力信号がすべて“1"レベルに
固定される。これによって、後述のアドレス変換部3か
らの信号がすべて無効にされる。しかして、このときス
イッチアレイ2aから供給される“1"レベルの信号によっ
てNANDゲートG11〜G15は、すべてインバータとして動作
される。その結果、NANDゲートG11〜G15が、アドレス比
較を行なう上記イクスクルーシブORゲートG1〜G5の出力
を反転して、次段の多入力NANDゲートG40に供給する。 使用ボードが1枚の場合、前述したように、ボード切
換手段2内のORゲートG21〜G25の出力はすべて“1"にさ
れる。また、デコーダ回路に入って来たアドレス信号の
うちA18〜A23が、アドレス設定手段1に設定されたアド
レスに一致した場合にのみ、イクスクルーシブORゲート
G1〜G6の出力がすべてロウレベルにされる。 その結果、このメモリボードに割り付けられたアドレ
ス空間をアクセスした場合にのみNANDゲートG40の入力
信号がすべてハイレベルにされて、出力がロウレベルに
変化し、このNANDゲートG40の出力によってLS154のよう
な4ビットのデコーダADがアクティブにされる。 このデコーダADには、ボード上のEEPROMの個数「16」
に対応してアドレス信号A1〜A23のうちA1〜A4の4ビッ
トが入力されている。そのため、ボードが1枚の場合に
は、アドレスA1〜A4のみに基づいて、ボード上のEEPROM
m1〜m16のうち一つを選択する選択信号CS1〜CS15がデ
コーダADにおいて形成されれて、後段のリード・ライト
コントロール回路CNT1〜CNT16に供給される。 一方、使用するボードが2枚の場合、スイッチレアイ
2a内の第1のスイッチSW21を導通させる。すると、その
スイッチSW21に接続されたNANDゲートG11とORゲートG21
の一方の入力端子が“0"レベルに固定される。 そのため、NANDゲートG11の出力はハイレベルに固定
され、前段のイクスクルーシブORゲートG1の出力信号を
無効にする。また、ORゲートG21は前段のアドレス変換
部3からの出力信号をそのまま多入力NANDゲートG40
伝えるようになる。 しかるに、アドレス変換部3は、スイッチSW31〜SW35
からなるスイッチアレイ3aと、これに接続されたプルア
ップ抵抗R31〜R35と、アドレス信号A1〜A23のうちA5〜A
9が接続された5つのイクスクルーシブORゲートG31〜G
35とにより構成されている。ゲートG31〜G35の数は、ゲ
ートG21〜G25と同様に、ボードの最高使用枚数「32」に
対応して決められている。 このアドレス変換部3内のスイッチアレイ3aは、上記
ボード切換手段2内のスイッチアレイ2aに対応したスイ
ッチが選択的に導通または非導通状態にされる。つま
り、アドレス設定手段1のスイッチアレイ1aが当該ボー
ドのCPU空間内での位置を示す機能を有するのに対し
て、アドレス変換部3のスイッチアレイ3aは、複数のメ
モリボードが使用される場合に入力されたアドレスA5〜
A9を変換する機能を有する。具体的には、アドレス変換
部3は、アドレス変換をしない場合には図6(A)のワ
ード16とワード17のようにアクセス対象が同一ボード上
のチップ(EEPROM)AS16からAS1へ移るような連続した
アドレスを、図6(B)のワード16とワード17のように
アクセス対象が異なるボード上のチップ(EEPROM)AS16
からAS17へ移るようなアドレスに変換する機能を有す
る。 ただし、アドレスA5〜A9のうちアドレス変換部3で変
換の対象となるビットはボード枚数に応じて異なるよう
にされる。例えば、ボード枚数が2枚の時はアドレスA5
が対象となり、ボード枚数が4の時はアドレスA5,A6、
ボード枚数が8枚の時はアドレスA5〜A7、ボード枚数が
16枚の時はアドレスA5〜A8、ボード枚数が32枚の時はア
ドレスA5〜A9が対象となる。アドレスA18〜A22がA1〜A2
3で示されるCPUのアドレス空間内での当該メモリボード
のアドレス範囲を示すコードであるのに対し、変換され
た後のアドレスA5〜A9は、全ボードのアドレス範囲(ボ
ード枚数によって大きさが異なる)内における各EEPROM
のいずれかを指定するためのコードとみなすことができ
る。 すなわち、ボード使用枚数が2枚の場合について説明
すると、スイッチアレイ2aで導通設定されたスイッチSW
21に対応して、スイッチアレイ3aでは2枚のボード上の
スイッチSW31のいずれか一方を導通状態に設定し、他方
は非導通のままにしておく。すると、非導通のスイッチ
SW31に接続されたイクスクルーシブORゲートG31は、他
方の入力端子に入って来たアドレスA5を反転して後段の
ORゲートG21に供給する。これに対し、他のボード上の
導通状態にされたスイッチSW31に接続されたイクスクル
ーシブORゲートG31は、入力信号A5をそのまま次段のOR
ゲートG21に供給する。 その結果、アドレス設定手段1によりアドレス範囲が
同一に設定されている2つのボードのアドレス空間がア
クセスされてボード切換手段2内のNANDゲートG12〜G15
の出力がハイレベルにされたとき、2つのボード上のNA
NDゲートG40は、上記イクスクルーシブORゲートG31の出
力信号によっていずれか一方、すなわち相補的にその出
力がロウレベルにされる。 なお、上記実施例では、多入力NANDゲートG40に、ゲ
ートG11〜G16およびG21〜G25の出力信号の他、制御信号
UDS,LDS,▲▼,▲▼が入力されてお
り、それらの信号がすべてハイレベルになったときに出
力がロウレベルになる。 これによって、2つのボード上の各デコーダADに同一
のアドレスA1〜A4が供給されていてもアドレスA5に応じ
ていずれか一方のボード上のデコーダのみがアクティブ
にされて、アクティブにされたボード上のEEPROMに対す
る選択信号CS1〜SC16のうちA1〜A4に対応する一つがロ
ウレベルにされ1つのEEPROMが選択される。デコーダが
アクティブにされないボードではEEPROMに対する選択信
号CS1〜CS16はすべて非選択レベルとされる。 ここで、アドレス設定手段1とボード切換手段2との
関係を説明する。使用ボードが2枚の場合、ボード切換
手段2では前述したように、スイッチアレイ2aではスイ
ッチSW21〜SW25のうちSW21のみ導通状態とされる。これ
によって、ボード切換手段2のNANDゲートG11はアドレ
ス設定手段1のアドレスA18に対応した信号をデコーダ
としてのNANDゲートG40まで伝達させないようになり、
アドレスA18とスイッチSW1の状態はデコーダに影響を与
えなくなる。この結果、デコーダ(G40)のデコード範
囲つまりボードのアドレス範囲は、例えば1枚の場合に
は000000〜03FFFFであるものが、2倍の大きさの000000
〜07FFFFとなる。 一方、アドレス変換部3側では、ボード切換手段2の
ORゲートG21〜G25のうちG21のみがスイッチSW21の導通
設定によってアドレス変換部3のゲートG31の信号をデ
コーダ(G40)に伝達するようになり、アドレスA5とス
イッチSW31の状態がデコーダに影響を与えるようにな
る。このときスイッチSW31が非導通(オフ)であればゲ
ートG31の一方の入力がハイレベルとなって他方の入力
であるアドレスA5を反転してデコーダに入力させる。ま
た、スイッチSW31が導通(オン)であればゲートG31の
一方の入力がロウレベルとなって他方の入力であるアド
レスA5をそのままデコーダに入力させる。つまり、2枚
のボード上のスイッチSW31の状態を導通と非導通に設定
しておくことで、同一のA5に対して一方は選択、他方は
非選択という条件を与えることができる。 なお、このときボード切換手段2のスイッチアレイ2a
のスイッチSW21〜SW25のうちSW22〜SW25が非導通状態と
されていることによって、ボード切換手段2のNANDゲー
トG22〜G25はアドレス変換部3側の信号をデコーダとし
てのNANDゲートG40まで伝達させないように設定される
ため、アドレスA6〜A9とスイッチSW32〜SW35の状態はデ
コーダに影響を与えなくなる。 その結果、2枚のボードのうちスイッチSW31が非導通
(オフ)であるボードのデコーダが働くのは、図8に右
上がりのハッチングで示す、 000000〜00001F, 000040〜00005F, 000080〜00009F, 0000C0〜0000DF, …… 07FF00〜07FF1F, 07FF40〜07FF5F, 07FF80〜07FF9F, 07FFC0〜07FFDF(“C"は10進数の“12",“D"は10進数の
“13"に相当)のような飛び飛びのアドレス範囲とな
る。 また、スイッチSW31が導通(オン)であるボードのデ
コーダが働くのは、図8に右下がりのハッチングで示
す、 000020〜00003F, 000060〜00007F, 0000A0〜0000BF, 0000E0〜0000FF, …… 07FF20〜07FF3F, 07FF60〜07FF7F, 07FFA0〜07FFBF, 07FFE0〜07FFFF(“B"は10進数の“11",“E"は10進数の
“14"に相当)のようなアドレス範囲となる。このよう
にして2枚のメモリボードは16ワード毎にアドレスが交
互に割付けられることになるので、これら2枚のメモリ
ボードのアドレス範囲内で連続したアドレスが入力され
ると、図6(B)のような順序に従って例えば一方のメ
モリボードに対してワード1〜16のデータ転送が終了す
ると続くワード17〜32は他方のメモリボードへ転送され
るようなアクセスが行なわれるようになる。 なお、使用するボードが4枚のときは、スイッチアレ
イ2aと3aの2つのスイッチSW21,SW22およびSW31,SW32を
使って同様の設定を行なう。さらに、ボード枚数が8枚
のときは、スイッチSW21〜SW23およびSW31〜SW33を使っ
て、また、ボード枚数が16枚のときは、スイッチSW21〜
SW24およびSW31〜SW34を使って設定を行えばよい。 一例として、ボードを4枚使い先頭アドレスを“A000
00"とした場合の各スイッチアレイの設定の仕方を第1
表〜第3表に示す(“A"は10進数の“10"に相当)。た
だし、ここで「○」は導通状態を示し、「×」は非導通
状態、「△」はいずれでもよいことを示す。また、表1
および表2は、各ボードに共通の設定状態を示す。表1
において、スイッチSW1,SW2に「△」がついているの
は、メモリボードを4枚使用した場合には、ボード切換
手段2においてスイッチSW21,SW22が導通状態とされて
ゲートG11,G12の一方の入力がロウレベルに固定される
ことによってアドレス設定手段1におけるスイッチSW1,
SW2に対応するアドレス信号A18,A19の比較結果としての
ゲートG1,G2の出力が無効とされるためである。つま
り、メモリボードを複数枚用いた場合には、各メモリボ
ードのアドレス設定手段1においてスイッチアレイ1a
(SW1〜SW6)に設定するアドレスを同一にすることがで
きる。また、設定するアドレスを同一にすることによっ
て複数のメモリボードのアドレス空間を同一にすること
ができ、同一アドレス空間内で各ボードのアドレス範囲
を16ワードずつ交互に分配するように設定される。 表2は、ボード切換手段2のスイッチアレイ2aのスイ
ッチSW21〜SW25のうちSW21とSW22を導通(オン)状態に
設定することを表わしている。この場合、ボード切換手
段2のNANDゲートG11,G12はアドレス設定手段1のアド
レスA18,A19に対応した信号をデコーダとしてのNANDゲ
ートG40まで伝達させないようになり、アドレスA18,A19
とスイッチSW1,SW2の状態はデコーダに影響を与えなく
なる。この結果、デコーダ(G40)のデコード範囲つま
りボードのアドレス範囲は、例えば1枚の場合にはA000
00〜A3FFFFであるものが、図9(A)に示すように4倍
の大きさのA00000〜AFFFFFとなる。 一方、アドレス変換部3側では、ボード切換手段2の
ORゲートG21〜G25のうちG21,G22がスイッチSW21,SW22の
導通設定によってアドレス変換部3のゲートG31,G32の
信号をデコーダ(G40)に伝達するようになり、アドレ
スA5,A6とスイッチSW31,SW32の状態がデコーダに影響を
与えるようになる。このときスイッチSW31,SW32が非導
通(オフ)であればゲートG31,G32の一方の入力がハイ
レベルとなって他方の入力であるアドレスA5,A6を反転
してデコーダに入力させる。また、スイッチSW31,SW32
が導通(オン)であればゲートG31,G32の一方の入力が
ロウレベルとなって他方の入力であるアドレスA5,A6を
そのままデコーダG40に入力させる。つまり、4枚のボ
ード上のスイッチSW31,SW32の状態を導通と非導通のい
ずれかに設定しておくことで、同一のA5,A6に対してい
ずれか一つのボードは選択、残りの3つのボードは非選
択という条件を与えることができる。 なお、このときボード切換手段2のスイッチアレイ2a
のスイッチSW21〜SW25のうちSW23〜SW25が非導通状態と
されていることによって、ボード切換手段2のNANDゲー
トG23〜G25はアドレス変換部3側の信号をデコーダとし
てのNANDゲートG40まで伝達させないように設定される
ため、アドレスA7〜A9とスイッチSW33〜SW35の状態はデ
コーダに影響を与えなくなる。従って、表3において
は、スイッチSW31〜SW35のうちSW33〜SW35はすべて非導
通(×)とされているが、導通/非導通のいずれであっ
ても良い。 その結果、4枚のボードは、スイッチSW31,SW32の設
定状態に応じて次の表5のようなアドレスが入力される
ことを条件として有効化されることとなる。 表5のようにスイッチSW31,SW32の設定がなされた場
合、ボード1はA5=0,A6=0のときに有効となり、その
アドレス範囲は、図9(B)に示すように、 A00000〜A0001F, A00080〜A0009F, A00100〜A0011F, A00180〜A0019F, …… AFFE00〜AFFE1F, AFFE80〜AFFE9F, AFFF00〜AFFF1F, AFFF80〜AFFF9Fのような飛び飛びの範囲となる。 また、ボード2はA5=1,A6=0のときに有効となり、
そのアドレス範囲は、 A00020〜A0003F, A000A0〜A000BF, A00120〜A0013F, A001A0〜A001BF, …… AFFE20〜AFFE3F, AFFEA0〜AFFEBF, AFFF20〜AFFF3F, AFFFA0〜AFFFBFのような範囲となる。 また、ボード3はA5=0,A6=1のときに有効となり、
そのアドレス範囲は、 A00040〜A0005F, A000C0〜A000DF, A00140〜A0015F, A001C0〜A001DF, …… AFFE40〜AFFE5F, AFFEC0〜AFFEDF, AFFF40〜AFFF5F, AFFFC0〜AFFFDFのような範囲となる。 また、ボード4はA5=1,A6=1のときに有効となり、
そのアドレス範囲は、 A00060〜A0007F, A000E0〜A000FF, A00160〜A0017F, A001E0〜A001FF, …… AFFE60〜AFFE7F, AFFEE0〜AFFEFF, AFFF60〜AFFF7F, AFFFE0〜AFFFFFのような範囲となる。 表1〜表3のように各スイッチアレイ1a〜3aを設定し
ておくと、各メモリボードに共通にアドレス信号A1〜A2
3が供給されたとき、デコーダ回路特にアドレス変換部
3およびボード切換部2の作用によって、第6図(B)
に示したのと同じようなアドレス割付け方式に従って自
動的に選択信号CS1〜CS16が形成されて各EEPROMm1〜m16
のアクセスが行なわれて行く。 その結果、最初のワード1をEEPROMm1に書き込みを始
めて10ms経過する前に、次のワード2,3,‥‥がEEPROMm
2,m3,‥‥に次々と書き込まれて行くようになり、使用
ボードが4枚の場合には全データの書込みに要する時間
が第5図に示す方式に比べて大幅(64分の1)に短縮さ
れる。 使用するメモリボードの枚数が8枚の場合には、ボー
ド切換手段2のスイッチSW21〜SW25のうちSW21,SW22,SW
23をオンに設定し、SW24とSW25はオフに設定する。これ
によって、NANDゲートG11,G12,G13の作用により、アド
レス設定手段1のスイッチSW1とアドレスA18、SW2とA1
9、SW3とA20はデコーダG40に影響を与えなくなる。その
結果、ボードのアドレス範囲は、例えば1枚の場合には
000000〜03FFFFであるものが、8倍の大きさの000000〜
1FFFFFとなる。 一方、アドレス変換部3側では、ボード切換手段2の
ORゲートG21〜G25のうちG21〜G23がスイッチSW21〜SW23
の導通設定によってアドレス変換部3のゲートG31〜G33
の信号をデコーダ(G40)に伝達するようになり、アド
レスA5〜A7とスイッチSW31〜SW33の状態がデコーダに影
響を与えるようになる。このときスイッチSW31,SW32,SW
33が非導通(オフ)であればゲートG31,G32,G33の一方
の入力がハイレベルとなって他方の入力であるアドレス
A5,A6,A7を反転してデコーダに入力させる。また、スイ
ッチSW31,SW32,SW33が導通(オン)であればゲートG31,
G32,G33の一方の入力がロウレベルとなって他方の入力
であるアドレスA5,A6,A7をそのままデコーダG40に入力
させる。つまり、8枚のボード上のスイッチSW31〜SW33
の状態を導通と非導通のいずれかに設定しておくこと
で、同一のA5〜A7に対していずれか一つのボードは選
択、残りの7つのボードは非選択という条件を与えるこ
とができる。 なお、このときボード切換手段2のスイッチアレイ2a
のスイッチSW21〜SW25のうちSW24,SW25が非導通状態と
されていることによって、ボード切換手段2のNANDゲー
トG24,G25はアドレス変換部3側の信号をデコーダとし
てのNANDゲートG40まで伝達させないように設定される
ため、アドレスA8,A9とスイッチSW34,SW35の状態はデコ
ーダに影響を与えなくなる。 その結果、8枚のボードは、スイッチSW31〜SW33の設
定状態に応じて次の表6のようなアドレスが入力される
ことを条件として有効化されることとなる。 使用するメモリボードの枚数が16枚の場合には、ボー
ド切換手段2のスイッチSW21〜SW25のうちSW21〜SW24を
オンに設定し、SW25はオフに設定する。これによって、
NANDゲートG11〜G14の作用により、アドレス設定手段1
のスイッチSW1とアドレスA18、SW2とA19、SW3とA20、SW
4とA21はデコーダG40に影響を与えなくなる。その結
果、ボードのアドレス範囲は、例えば1枚の場合には00
0000〜03FFFFであるものが、16倍の大きさの000000〜3F
FFFFとなる。 一方、アドレス変換部3側では、ボード切換手段2の
ORゲートG21〜G25のうちG21〜G24がスイッチSW21〜SW24
の導通設定によってアドレス変換部3のゲートG31〜G34
の信号をデコーダ(G40)に伝達するようになり、アド
レスA5〜A8とスイッチSW31〜SW34の状態がデコーダに影
響を与えるようになる。このときスイッチSW31,SW32,SW
33,SW34が非導通(オフ)であればゲートG31,G32,G33,G
34の一方の入力がハイレベルとなって他方の入力である
アドレスA5,A6,A7,A8を反転してデコーダに入力させ
る。また、スイッチSW31,SW32,SW33,SW34が導通(オ
ン)であればゲートG31,G32,G33,G34の一方の入力がロ
ウレベルとなって他方の入力であるアドレスA5,A6,A7,A
8をそのままデコーダG40に入力させる。つまり、16枚の
ボード上のスイッチSW31〜SW34の状態を導通と非導通の
いずれかに設定しておくことで、同一のA5〜A8に対して
いずれか一枚のボードは選択、残りの15枚のボードは非
選択という条件を与えることができる。 なお、このときボード切換手段2のスイッチアレイ2a
のスイッチSW21〜SW25のうちSW25が非導通状態とされて
いることによって、ボード切換手段2のNANDゲートG25
はアドレス変換部3側の信号をデコーダとしてのNANDゲ
ートG40まで伝達させないように設定されるため、アド
レスA9とスイッチSW35の状態はデコーダに影響を与えな
くなる。 その結果、16枚のボードは、スイッチSW31〜SW34の設
定状態に応じて次の表7のようなアドレスが入力される
ことを条件として有効化されることとなる。 使用するメモリボードの枚数が32枚の場合には、ボー
ド切換手段2のスイッチSW21〜SW25をすべてオンに設定
する。これによって、NANDゲートG11〜G15の作用によ
り、アドレス設定手段1のスイッチSW1とアドレスA18、
SW2とA19、SW3とA20、SW4とA21、SW5とA22はデコーダG4
0に影響を与えなくなる。その結果、ボードのアドレス
範囲は、例えば1枚の場合には000000〜03FFFFであるも
のが、32倍の大きさの000000〜7FFFFFとなる。 一方、アドレス変換部3側では、ボード切換手段2の
ORゲートG21〜G25のすべてがスイッチSW21〜SW25の導通
設定によってアドレス変換部3のゲートG31〜G35の信号
をデコーダ(G40)に伝達するようになり、アドレスA5
〜A9とスイッチSW31〜SW35の状態がデコーダに影響を与
えるようになる。このとき各スイッチSW31〜SW35が非導
通(オフ)であれば夫々対応するゲートG31〜G35の一方
の入力がハイレベルとなって他方の入力であるアドレス
A5〜A9を反転してデコーダに入力させる。また、各スイ
ッチSW31〜SW35が導通(オン)であればそれぞれゲート
G31〜G35の一方の入力がロウレベルとなって他方の入力
であるアドレスA5〜A9をそのままデコーダG40に入力さ
せる。つまり、32枚のボード上のスイッチSW31〜SW35の
状態を導通と非導通のいずれかに設定しておくことで、
同一のA5〜A9に対していずれか一枚のボードは選択、残
りの31枚のボードは非選択という条件を与えることがで
きる。スイッチSW31〜SW35の設定状態に応じて32枚のボ
ードが有効化されるアドレスについては16枚等の場合と
同様であるので省略する。 ここで、スイッチアレイ1a,2a,3aの相互関係を整理し
て説明する。第1に、上記ボード切換手段2のスイイッ
チアレイ2aの設定状態は、上記アドレス変換部3のアド
レスA5〜A9およびスイッチSW31〜SW35の設定状態の有効
/無効を制御する。第2に、ボード切換手段2のスイッ
チアレイ2aの設定状態は、アドレス設定手段1のアドレ
スA17〜A22およびスイッチSW1〜SW5の設定状態の有効/
無効も制御する。表8にスイッチアレイ1a,2a,3aの相互
関係を示す。表8において、スイッチアレイ2aの欄の
『1』は導通状態を、『0』は非導通状態を表わしてい
る。また、スイッチアレイ1aと3aの欄の『V』はスイッ
チとアドレスが有効であることを、『*』はスイッチと
アドレスが無効であることを表わしている。 表8より、アドレス設定手段1のアドレスA18〜A22お
よびスイッチSW1〜SW5の設定状態の有効/無効と、アド
レス変換部3のアドレスA5〜A9およびスイッチSW31〜SW
35の設定状態の有効/無効とは、上記ボード切換手段2
のスイッチアレイ2aの設定状態に応じて、逆の関係(一
方が有効のときは他方は無効)になっていることが分か
る。 また、上記ボード切換手段2のスイッチアレイ2aの設
定状態に応じて、実際にEEPROMm1〜m16の入力端子TA0〜
TA12に入力されるアドレス信号(供給アドレス)も表9
のように変更される。 次に、第3図には、上記デコーダ回路DECから供給さ
れる選択信号CSnおよびリード・ライト制御信号R/W等に
基づいて、各EEPROMmnに対する制御信号▲▼n,▲
▼n,▲▼nを形成するリード・ライトコントロー
ル回路CNTnの具体的な回路構成の一例が示されている。 このリード・ライトコントロール回路CNTnは、カウン
タCOUNTとラッチ回路LTHとを有している。カウンタCOUN
Tは、前記分周回路DVDから供給される625μsのような
クロック信号φcを計数することにより、約10msに1回
ずつワンショットのキャリー信号CRYを出力するように
構成されている。 カウンタCOUNTから出力されたキャリー信号CRYは、NO
RゲートG51を介して遅延型フリップフロップ等からなる
ラッチ回路LTHのセット端子に供給されている。 ラッチ回路LTHは、カウンタCOUNTからキャリーCRYが
入って来る度にセット状態にされる。そして、インバー
タG52を介してクロック端子に入力されている前記デコ
ーダ回路DECからの選択信号CSnの立下がりに同期して、
そのときデータ端子に入力されているリード・ライト制
御信号R/Wを取り込んで保持する。また、ラッチ回路LTH
の出力がロード信号として上記カウンタCOUNTに供給
されるようになっている。 従って、データ書込み時にリード・ライト制御信号R/
Wがハイレベルからロウレベルに変化され、続いて選択
信号CSnがハイレベルからロウレベルに変化されると、
選択信号CSnの立下がりに同期してリード・ライト制御
信号R/Wのロウレベルがラッチ回路LTHに取り込まれる。
すると、ラッチ回路LTHの出力Qがハイレベルからロウ
レベルに変化し、出力がロウレベルからハイレベルに
変化される。 この出力によって、上記カウンタCOUNTに「0」が
ロードされて計数を開始し、約10ms経過するとキャリー
信号CRYが出力される。このキャリー信号CRYによってラ
ッチ回路LTHがセットされて出力Qがハイレベルに変化
される。つまり、ラッチ回路LTHの出力Qは、約10ms間
ロウレベルに保持される。この実施例では、この出力Q
が、対応するEEPROMへライトイネーブル信号▲▼n
として供給され、10msの書込み所要時間を保持する。 また、ラッチ回路LTHの出力Qは、上記リード・ライ
ト制御信号R/Wとともに、NANDゲートG53に入力されてお
り、出力Qとリード・ライト制御信号R/Wがともにハイ
レベルのときにのみNANDゲートG53の出力がロウレベル
に変化される。このNANDゲートG53の出力が対応するEEP
ROMへアウトイネーブル信号▲▼nとして供給され
る。これによって、アウトイネーブル信号▲▼nは
データ書込み時にハイレベル、また読出し時にロウレベ
ルにされる。 一方、上記選択信号CSnは、そのまま対応するEEPROM
へチップイネーブル信号▲▼nとして供給される。
なお、上記ラッチ回路LTHのセット端子には、NORゲート
G51を介してパワーオンリセット回路PORからのリセット
信号RSが入力されており、電源投入時にセット状態にさ
れるようになっている。 以上本発明の一実施例について説明したが、デコーダ
回路DECやリード・ライトコントロール回路CNTは、実施
例の構成に限定されるものでなく種々の変形例が考えら
れる。 また、前記実施例のメモリボード上に、各EEPROM m1
〜m16が書込み中であるか否かを示すフラグを設けるよ
うにしてもよい。このフラグをCPUがEEPROMの書込みに
行く前に読み込むことにより書込み可能であるか否か知
ることができる。このようなフラグがないと、CPUが書
込みに行ったEEPROMが既に書込み中であった場合、CPU
が待たされる(最大10ms)ことがあるが、フラグを設け
ることにより、このようなCPUの期待状態を回避するこ
とができる。上記フラグは、例えばCPUボードから出力
される前記制御信号IOENを用いて読み出すようにすれば
よい。 さらに、上記メモリボードは、そのボード上にパリテ
ィ生成チェック回路を含むような構成にすることも可能
である。 [効果] (1)メモリボードを構成する半導体メモリとしてRAM
の代わりにEEPROMを使用するようにしたので、記憶した
データをバッテリによるバックアップを必要としないで
電源遮断後も保持できる。また、これによって記憶装置
の実装密度を向上させることができる。 (2)メモリボードを構成する半導体メモリとしてRAM
の代わりにEEPROMを使用するとともに、複数個のEEPROM
に対してバイト単位もしくはワード単位で連続してデー
タを順番に書き込んで行くようなアドレス割付け方式を
採用したので、一つのEEPROMに対する書込みを行なって
いる間に次のEEPROMへの書込みに移ることができるとい
う作用により、データの書込みに要する時間が短縮され
るという効果がある。 以上本発明者によってなされた発明を実施例に基づき
具体的に説明したが、本発明は上記実施例に限定される
ものではなく、その要旨を逸脱しない範囲で種々変更可
能であることはいうまでもない。例えば、上記実施例で
はメモリボードを構成するEEPROMとしてアドレス信号と
データ信号をラッチするラッチ回路を内蔵したものを使
用した場合について説明したが、アドレス信号やデータ
信号をラッチする回路を外付け回路で構成してやるよう
にすれば、そのようなラッチ回路を内蔵しないEEPROMを
使用することも可能である。 [利用分野] 以上の説明では主として本発明者によってなされた発
明をその背景となった利用分野であるマイクロコンピュ
ータ・システムを構成するメモリボードに適用したもの
について説明したが、この発明はそれに限定されるもの
でなく、電源遮断後に保管したいデータを有するシステ
ム一般に利用することができる。
DETAILED DESCRIPTION OF THE INVENTION [Technical field]   The present invention relates to a data storage technology or even a semiconductor memory.
Technology that is particularly effective when applied to
And configure, for example, a microcomputer system
Useful for address allocation method in memory board
About effective technology. [Background Art]   The main storage of a microcomputer system is an example
For example, RAM with short access time (random access memory)
Mori). However, RAM
Memory that can retain data when power is turned off.
I can't. Therefore, the data to be stored in RAM
To configure a system that can be maintained even after the power is turned off
Memory board backed up by a battery
(RAM board) has been proposed.   Battery-backed memory board
About Hitachi, Ltd. issued in September 1984
Catalog "16kbit Byte Battery Backup CMOS"
Memory Board H68CM1P-1 User's Manual "
It is listed.   However, battery-backed memory cards
In addition to RAM, battery and power supply voltage
Circuit to detect RAM degradation and prohibit access to RAM
Must be mounted on the board.
The mounting density of RAM on the memory will be reduced. In particular, 16
Microprocessors such as bit and 32-bit
Storage capacity increases as the address space increases.
It tends to be bigger. However, to increase storage capacity
As the number of RAMs used increases, the larger
Backup battery is required.
You.   Therefore, the present inventor has proposed a semiconductor device constituting a memory board.
As memory, backup by battery after power off
An electrically erasable EEPROM that does not require a
Recitalily erasable programmable leads
・ Only memory) was considered.   Here, EEPROM is for one cycle of data writing
For example, a relatively long time of about 10 ms is required. for that reason,
For example, the same address assignment as a memory board using RAM
Write data to one memory.
When it ends, it moves to the next memory
Write data to each EEPROM according to (See Fig. 5)
, On the other hand, a 10ms wait time for each data
Will be needed. As a result, extremely long write times
There is a disadvantage that it becomes. [Object of the invention]   It is an object of the present invention that a battery backup is required.
Data stored without need is retained even after power is turned off
To provide storage devices using such semiconductor memories
is there.   Another object of the present invention is to provide a storage device using a semiconductor memory.
The object is to improve the mounting density of the devices.   Still another object of the present invention is to write data.
Address allocation method that can reduce the
It is to be.   The above and other objects and novel features of the present invention
Is apparent from the description of the present specification and the accompanying drawings.
Will be. [Summary of the Invention]   Summary of typical inventions disclosed in this application
The point is as follows.   In other words, the semiconductor memory that constitutes the memory board
Using EEPROM instead of RAM,
Continuous to EPROM in byte units or word units
Address assignment to write data sequentially
Power off the stored data by adopting the method
Retain without battery backup
Memory and the amount of memory required
Package density can be increased and writing to one EEPROM
While writing to the next EEPROM.
To reduce the time required to write data.
This achieves the above object of shortening.   Hereinafter, the present invention will be specifically described with reference to the drawings. [Example]   Fig. 1 shows a 16-bit microprocessor of the 68000 series.
The present invention is applied to a memory board that constitutes a system using
One embodiment when applied is shown.   Although the memory board of this embodiment is not particularly limited,
16 or 16 sets of word accessible
EEPROM m1~ M16Equipped with 256k bytes (128k words)
Storage capacity. 8-bit commercially available
When using an EEPROM with a 64-kbit capacity of
As shown in FIG. 4, the EEPROM m
1~ M16May be configured.   In that case, one word in one of the two EEPROMs in the set
Lower 8 bits D of data0~ D7And on the other hand the top D8
~ D15And all other signals are applied in common
The connection may be made as follows.   EEPROM m above1~ M16Are the internal address buses A-BUS and
Address buffer via the internal data bus D-BUS
It is connected to the ABF and the data bus buffer DBF.
Address buffer ABF and data bus buffer on the board
The DBF is connected to the CPU (My Computer) via the system bus S-BUS.
Master board (hereinafter referred to as CPU)
Board, which complements the driving capability of the CPU.
You.   From the system bus S-BUS to the address buffer ABF
Captured address signal A1~ Atwenty threeA out ofFive~ A17Of 13
Is the EEPROM m1~ M16Supplied to By this
To read and write data in word units.
You.   Address signal A taken into address buffer ABF1
~ Atwenty threeOut of A1~ A9And A18~ Atwenty threeIs a selection circuit
Is supplied to the decoder circuit DEC. Decode this
By the above EEPROM m1~ M16Select one of
Select signal CS for1~ CS16Is formed. Especially restricted
However, it will be explained in detail later in the decoder circuit DEC.
As shown in the figure, the end of the address space given to this memory board
Address setting that can set the head address arbitrarily
A circuit is provided.   The decoder circuit DEC has access to the memory board
Output from the CPU board to the system bus S-BUS
And the upper data stream captured by the control signal buffer CBF.
The trobe signal UDS, lower data strobe signal LDS and
Control signals ▲ ▼ and ▲ ▼ are supplied. This
As a result, these control signals and the address signal A1~
A9And A18~ Atwenty threeAnd the above selection signal CS1~ CS16
Is formed.   The above control signal IACK is currently being output from the CPU
3-bit funk indicating mode and cycle type
Decoding the application code on the CPU board
Is a signal formed by Control signal ▲ ▼
Is access to memory or access to I / O
Address signal on the CPU board.
It is generated by decoding the signal.   In addition, the control signal buffer CBF additionally has a CPU board.
Like 16MHz output on the system bus S-BUS from
Captures clock signal CLK and read / write control signal R / W
It is being rare.   Clock signal CLK taken into control signal buffer CBF
Is supplied to the frequency dividing circuit DVD and divided, for example, 625 μs
A clock signal φc having a cycle as shown in FIG.   The selection signal CS formed in the decoder circuit DEC1
~ CS16Is the above EEPROM m1~ M16Provided for
Read / write control circuit CNT1~ CNT16Each
Supplied. Read / write control circuit CNT1~
CNT16From the selection signal CSn and the system bus S-BUS
Read / write control incorporated in control signal buffer CBF
Each EEPROM m based on the control signal R / W and the clock signal φc.1
~ M16Write enable signal ▲ ▼ n or chip
Enable signal ▲ ▼ n and output enable ▲
Form n and output. EEPROM m1~ M16Are these
Control signals ▲ ▼ n, ▲ ▼ n, ▲ ▼ n and address
Signal AFive~ A17Is accessed with the supply of Light
When the enable signal ▲ ▼ n is at the high level,
16-bit data stored at the address
Is supplied to the data bus buffer DBF and the system bus S
-Output on BUS. On the other hand, the write enable signal ▲
▼ When n is at the low level, the system bus S
− 16-bit data bus buffer DBF
Data is EEPROM m1~ M16Write to the corresponding address in
I will.   Thus, in this embodiment, each EEPROM m1~ M16Against
Address is assigned in the manner shown in FIG. 6 (A).
Have been killed.   That is, AS1~ AS16The above each EEPROM m1~ M16
Address space of EEPROM m1To the start address of
Is the first word 1 stored in EEPROM mTwoFirst ad
The second word 2 is stored in the address. Like this
And EEPROM m16When the 16th word 16 is stored in
The second word 17 is again EEPROM m1Return to EEPROM m1of
It is stored at the second address. After that, the first 16 words
In the same way as 1-16, the next 16 words 17-32 are EE
PROM m1~ M16Of addresses so that they are stored in order
Assignment has been made.   Moreover, in this embodiment, the EEPROM m1~ M16As an example
For example, an address like HN58064P-25 manufactured by Hitachi, Ltd.
And EEPROM with data latch function is used
I have.   In such an EEPROM with a latch function, each EEPROM m1
~ M16Address signal or data when
What is necessary is just to hold a signal for about 200 ns. However, one
The time required for writing data (8 bits) is 10 ms.   Therefore, each EEPROM m1~ M16Write one word data to
It takes about 10ms to insert. That is, the write enable signal
The signal ▲ ▼ needs to be held low for about 10 ms.
You. However, in the above embodiment, after 200 ns has elapsed,
Be moved to EEPROM access.   Therefore, EEPROM m1Start writing from mTwo, mThree, ‥
Proceed to ‥ and again EEPROM m1When you return to the first access
It suffices that 10 ms have passed since the time of.   As a result, in the above embodiment, the EEPROM m1~ M
16Write all data with a margin for all
Can be. As a result, the RAM button as shown in FIG.
Access according to the same address assignment method as
Compared to the method of writing data to EEPROM
In the embodiment, writing data at 16 times speed
And be able to.   The number of EEPROMs on the memory board is limited to 16
Not more than 17 (2nValue for each piece). Ma
Also, prepare multiple memory boards as described above, and
After writing to all EEPROMs on the board has completed one cycle,
If you move to the memory horde of
The time required for writing is shortened. FIG.
Shows the address assignment method when two memory boards are used.
You. Note that the memory board has a reset when the power is turned on.
A power-on reset circuit POR that generates a signal is provided.
ing. The reset signal RS generated here is
De-write control circuit CNT1~ CNT16Supplied to
The internal counter and latch circuit are reset.
Have been.   FIG. 2 shows the decoder circuit DEC in the above embodiment.
One configuration example is shown. Although not particularly limited, here
Uses up to 32 memory boards as in the above example
However, the same as the address allocation method shown in FIG.
Selection signal CS for accessing each EEPROM by allocation method1~ CS
16Is shown to be able to automatically form
You.   As shown in FIG. 7, the decoder circuit DEC of this embodiment has
8M words (16M bytes) corresponding to a 23-bit address
256k bytes in the CPU address space
Each memory board with a size of 128k words
Can be placed (assigned) at any position
Address setting means 1 is provided. This address
The setting means 1 sets the upper 6 bits of the address, that is, A18 to A
A switch consisting of six switches SW1 to SW6 corresponding to 23
Switch array 1a such as a pull-up switch and a pull-up resistor.
6 extras corresponding to anti-R1 to R6 and addresses A18 to A23
It is composed of exclusive OR gates G1 to G6. This
This allows each memory board in the CPU address space to be
Address area (memory space) can be set in units of 128k words
Position when using up to 32 memory boards.
Memory space occupied by all memory boards is 4M words
(8 Mbytes), 8 M words (16 Mbytes) of CPU space
Will account for half of the Remaining 4M words (8M bytes
G) is open for ROM and I / O. Figure 7
000000,040000, A00000, FC0000 are CPU address space
The start address of any memory board placed in
03FFFF, 07FFFF, A3FFFF, FFFFFF is the last address,
Each is shown in hexadecimal ("F" is decimal "15"
Hexadecimal equivalent to, "A" is 16 equivalent to decimal "10"
Hex).   Each switch SW in the switch array 1a1~ SW6One of
Terminal is commonly connected to the ground point, and the other terminal is
Each pull-up resistor R1~ R6Connected to power supply voltage Vcc
Have been.   Each switch SW1~ SW6Is set to the conductive state,
Exclusive OR Gate G1~ G6One input terminal of
Are fixed to the “0” level (ground potential). Therefore,
Crucial OR gate G1~ G6Is connected to the other input terminal.
Entered address A18~ Atwenty threeThe next stage NAND gate
G11~ G15And inverter G16To supply.   On the other hand, each switch SW1~ SW6Set to non-conducting state
And the corresponding exclusive OR gate G1~ G6One of
The input terminal is fixed at "1" level (power supply voltage Vcc).
Therefore, exclusive OR gate G1~ G6The inva
Address signal A18~ Atwenty threeFlip NA
ND gate G11~ G15And inverter G16To supply. Entering
A of the address signals18~ Atwenty threeBut switch array
All EXCLUSIVES when the settings match condition 1a
Shiv OR gate G1~ G6Becomes low level. Toes
Gate G1~ G6Constitutes a kind of address comparison circuit
I have.   This allows the switch array to be
By changing the setting of 1a, the same address
Signal A18~ Atwenty threeIs common to each memory board from the CPU board
Memory allocated to each memory board, even if supplied
Deco on the board only when space is accessed
The decoder circuit DEC is operated.   For example, if all the switches SW1 to SW6 are set to the conducting state,
The address space of the board is “0000” in hexadecimal.
The size is set to 256k bytes from 00 "to" 03FFFF ".
When the switches SW2 to SW6 are set to the conductive state,
The address space of the board is changed from "040000" to "07FFFF".
You. Table 4 shows the states of the switches SW6 to SW1 and the addresses A23 to A23.
18 and the relationship with the memory space.  Between 1 and 32 decoder circuits DECnAnd 2 (n
= 0,1, ‥‥ 6) memory boards.
And in each case the address as described above
To enable access using the assignment method,
Replacement means 2 is provided. This board switching means 2
5 switches for up to 32 boardstwenty one~ SW
twenty fiveSwitch array 2a consisting of
Up resistance Rtwenty one~ Rtwenty fiveAnd 5 NAND gates G each
11~ G15And OR gate Gtwenty one~ Gtwenty fiveConsists of And Sui
Switchtwenty one~ SWtwenty fiveGate G corresponding to setting signal by11; G
twenty one~ G15; Gtwenty fiveIs applied to one of the input terminals.   Therefore, for example, if only one board is used,
Switchtwenty one~ SWtwenty fiveAre all set to a non-conductive state.
Then, OR gate Gtwenty one~ Gtwenty fiveOne of the input terminals is
It is set to “1” level, and eventually all output signals are set to “1” level.
Fixed. As a result, the address conversion unit 3
All these signals are invalidated. Then, at this time
The signal of “1” level supplied from the switch array 2a
NAND gate G11~ G15All work as inverters
Is done. As a result, NAND gate G11~ G15Is the address ratio
Exclusive OR gate G for comparison1~ GFiveOutput
To the next stage, multi-input NAND gate G40To supply.   If only one board is used, cut the board as described above.
OR gate G in exchange means 2twenty one~ Gtwenty fiveOutput is set to “1”.
It is. Also, the address signal that has entered the decoder circuit is
A18~ Atwenty threeIs the address set in the address setting means 1.
Exclusive OR gate only if match
G1~ G6Are all set to low level.   As a result, the address assigned to this memory board
NAND gate G only when accessing the source space40Input
Signals are all high level, output is low level
Change, this NAND gate G40Like LS154 by the output of
The 4-bit decoder AD is activated.   This decoder AD has 16 EEPROMs on the board.
Address signal A corresponding to1~ Atwenty threeA out of1~ AFour4 bits
Is entered. Therefore, when there is only one board
Is the address A1~ AFourEEPROM on board only based on
 m1~ M16Selection signal CS for selecting one of1~ CS15But
Read-write formed at the coder AD
Control circuit CNT1~ CNT16Supplied to   On the other hand, if two boards are used,
1st switch SW in 2atwenty oneIs made conductive. Then,
Switch SWtwenty oneNAND gate G connected to11And OR gate Gtwenty one
Is fixed at the “0” level.   Therefore, NAND gate G11Output is fixed to high level
Exclusive OR gate G1Output signal
To disable. OR gate Gtwenty oneIs the address translation of the previous stage
Multi-input NAND gate G without changing output signal from unit 340To
To tell.   However, the address conversion unit 3 includes the switch SW31~ SW35
Switch array 3a consisting of
Top resistance R31~ R35And the address signal A1~ Atwenty threeA out ofFive~ A
95 exclusive OR gates G connected31~ G
35It is composed of Gate G31~ G35The number of
Gtwenty one~ Gtwenty fiveLike the maximum number of boards used, "32"
Determined accordingly.   The switch array 3a in the address translator 3
A switch corresponding to the switch array 2a in the board switching means 2
Switches are selectively rendered conductive or non-conductive. Toes
The switch array 1a of the address setting means 1
Has the function of indicating the position of the
Thus, the switch array 3a of the address conversion unit 3 has a plurality of
Address A5 ~ input when the memory board is used
It has a function to convert A9. Specifically, address translation
In the case where address conversion is not performed, the section 3 shown in FIG.
The access target is on the same board as in words 16 and 17
Chip (EEPROM) continuous from AS16 to AS1
Address as shown in word 16 and word 17 in FIG.
Chip (EEPROM) AS16 on board with different access target
It has a function to convert to an address that moves from to AS17
You.   However, the addresses A5 to A9 are changed by the address conversion unit 3.
Bits to be replaced may vary depending on the number of boards
To be. For example, if the number of boards is two, address A5
When the number of boards is 4, addresses A5 and A6,
When the number of boards is 8, addresses A5 to A7 and the number of boards
Address A5 to A8 for 16 boards, address for 32 boards
Dresses A5 to A9 are eligible. Address A18-A22 is A1-A2
The relevant memory board in the CPU address space indicated by 3
Is a code indicating the address range of
Addresses A5 to A9 after the
EEPROM varies in size)
Can be considered as a code for specifying any of
You.   That is, the case where the number of boards used is two is described.
Then, the switch SW set to be conductive in the switch array 2a
twenty oneIn response to the above, switch array 3a has two boards
Switch SW31One is set to the conductive state, and the other is set to the conductive state.
Are left non-conductive. Then, the non-conductive switch
SW31Exclusive OR gate G connected to31Is the other
Address A that has entered the other input terminalFiveAnd reverse
OR gate Gtwenty oneTo supply. On the other hand, on other boards
Switch SW rendered conductive31Ikusuru connected to
-OR gate G31Is the input signal AFiveTo the next OR
Gate Gtwenty oneTo supply.   As a result, the address range is
The address space of two boards set identically
Accessed NAND gate G in board switching means 212~ G15
When the output of the board is set to the high level, the NA on the two boards
ND gate G40Is the above exclusive OR gate G31Out of
One of them, that is, its output
The power is made low.   In the above embodiment, the multi-input NAND gate G40,
G11~ G16And Gtwenty one~ Gtwenty fiveControl signal in addition to the output signal of
UDS, LDS, ▲ ▼, ▲ ▼ are entered
Output when all these signals go high.
Power goes low.   This allows each decoder AD on the two boards to be identical
Even if addresses A1 to A4 are supplied, according to address A5
Only the decoder on one of the boards is active
To the EEPROM on the activated board
One of the selection signals CS1 to SC16 corresponding to A1 to A4
The level is set to one level and one EEPROM is selected. The decoder
Select signals to EEPROM on boards that are not activated
The signals CS1 to CS16 are all set to the non-selection level.   Here, the address setting means 1 and the board switching means 2
Explain the relationship. Board switching when two boards are used
As described above in the means 2, the switch array 2a
Of the switches SW21 to SW25, only the switch SW21 is turned on. this
As a result, the NAND gate G11 of the board switching means 2 is addressed.
A signal corresponding to the address A18 of the
Will not be transmitted to the NAND gate G40 as
The state of address A18 and switch SW1 affect the decoder
No longer. As a result, the decoding range of the decoder (G40)
Enclosure, ie, the address range of the board is, for example, one
Is 000000 to 03FFFF, but double the size of 000000
~ 07FFFF.   On the other hand, on the address conversion unit 3 side,
Only G21 of OR gates G21 to G25 conducts switch SW21.
According to the setting, the signal of the gate G31 of the address conversion unit 3 is decoded.
To the coder (G40).
The state of switch SW31 now affects the decoder.
You. At this time, if the switch SW31 is non-conductive (off),
G31 one input goes high and the other input
Is inverted and input to the decoder. Ma
If the switch SW31 is conducting (ON), the gate G31
One input goes low and the other input
Input to the decoder as it is. In other words, two
The state of switch SW31 on the board to conduction and non-conduction
By doing so, one is selected for the same A5, the other is
The condition of non-selection can be given.   At this time, the switch array 2a of the board switching means 2
Of the switches SW21 to SW25 are non-conductive.
That the board switching means 2
G22 to G25 use the signal of the address conversion unit 3 as a decoder.
Set not to transmit to all NAND gates G40
Therefore, the addresses A6 to A9 and the status of switches SW32 to SW35 are
No effect on the coder.   As a result, switch SW31 of two boards is non-conductive.
The (Off) board decoder works in the right of FIG.
Indicated by rising hatching, 000000〜00001F, 000040〜00005F, 000080 to 00009F, 0000C0 ~ 0000DF, ...... 07FF00-07FF1F, 07FF40 ~ 07FF5F, 07FF80 ~ 07FF9F, 07FFC0 to 07FFDF (“C” is a decimal “12”, “D” is a decimal
(Equivalent to “13”).
You.   In addition, the data of the board where the switch SW31 is conductive (ON)
The operation of the coder is indicated by the hatching in the lower right of Fig. 8.
You 000020〜00003F, 000060〜00007F, 0000A0-0000BF, 0000E0-0000FF, ...... 07FF20 ~ 07FF3F, 07FF60 ~ 07FF7F, 07FFA0 ~ 07FFBF, 07FFE0 to 07FFFF (“B” is a decimal “11”, “E” is a decimal
An address range like "14") is obtained. like this
Address of the two memory boards every 16 words
These two memories will be assigned to each other.
If a continuous address within the address range of the board is
Then, for example, one of the menus follows the order shown in FIG.
Data transfer of words 1 to 16 to the memory board is completed.
Then the following words 17 to 32 are transferred to the other memory board.
Such access is performed.   If four boards are used, switch
B.Switches 2a and 3a, SW21 and SW22 and SW31 and SW32
To make similar settings. In addition, the number of boards is eight
Use the switches SW21 to SW23 and SW31 to SW33
When the number of boards is 16, switch SW21 ~
The setting may be made using SW24 and SW31 to SW34.   As an example, use four boards and change the start address to "A000
The setting method of each switch array when “00” is set is the first.
The results are shown in Tables 3 to 3 ("A" corresponds to decimal "10"). Was
Here, “○” indicates a conductive state, and “×” indicates a non-conductive state.
The state, “△” indicates that any may be used. Table 1
Table 2 and Table 2 show settings common to each board. Table 1
In, the switches SW1 and SW2 are marked with “△”
Changes the board when four memory boards are used.
In the means 2, the switches SW21 and SW22 are turned on.
One input of gate G11, G12 is fixed to low level
As a result, the switches SW1,
As a comparison result of the address signals A18 and A19 corresponding to SW2,
This is because the outputs of the gates G1 and G2 are invalidated. Toes
If multiple memory boards are used,
The switch array 1a
(SW1 to SW6) can be set to the same address.
Wear. Also, by setting the same address,
To make the address space of multiple memory boards the same
Address range of each board within the same address space
Are set so that they are alternately distributed by 16 words.   Table 2 shows the switches of the switch array 2a of the board switching means 2.
Switches SW21 and SW22 of the switches SW21 to SW25 to the conducting (ON) state.
Indicates setting. In this case, the board switcher
The NAND gates G11 and G12 of the stage 2 are the addresses of the address setting means 1.
Signals corresponding to the A18 and A19
Not be transmitted to the port G40, and addresses A18, A19
And the state of switches SW1 and SW2 do not affect the decoder.
Become. As a result, the decoding range of the decoder (G40)
The address range of the board is, for example, A000 for one board
What is 00 to A3FFFF is quadrupled as shown in FIG.
Of A00000 to AFFFFF.   On the other hand, on the address conversion unit 3 side,
Of the OR gates G21 to G25, G21 and G22 are switches SW21 and SW22.
The gates G31 and G32 of the address conversion unit 3
The signal is transmitted to the decoder (G40).
A5, A6 and the state of switches SW31, SW32 affect the decoder.
To give. At this time, switches SW31 and SW32 are non-conductive.
If it is off (off), one of the inputs of gates G31 and G32 is high
Level and invert the other input address A5, A6
And input it to the decoder. Also, switches SW31 and SW32
Is on (on), one of the inputs of gates G31 and G32 is
When it goes low, the other inputs, addresses A5 and A6,
The data is directly input to the decoder G40. In other words, four buttons
The state of switches SW31 and SW32 on the circuit
By setting it to any position, the same A5, A6
One board is selected, the other three boards are not selected
The condition of choice can be given.   At this time, the switch array 2a of the board switching means 2
Of the switches SW21 to SW25 are turned off.
That the board switching means 2
G23 to G25 use the signal of the address conversion unit 3 as a decoder.
Set not to transmit to all NAND gates G40
Therefore, the addresses A7 to A9 and the status of switches SW33 to SW35 are
No effect on the coder. Therefore, in Table 3,
Indicates that all of the switches SW31 to SW35 are non-conductive.
(X), but either conductive or non-conductive
May be.   As a result, the four boards are set with switches SW31 and SW32.
An address as shown in Table 5 below is input according to the fixed state
It will be activated on condition that   When switches SW31 and SW32 are set as shown in Table 5,
In this case, board 1 is valid when A5 = 0 and A6 = 0.
The address range is as shown in FIG. A00000 to A0001F, A00080 ~ A0009F, A00100 ~ A0011F, A00180 ~ A0019F, ...... AFFE00 ~ AFFE1F, AFFE80 ~ AFFE9F, AFFF00-AFFF1F, It is a range of skipping like AFFF80-AFFF9F.   Board 2 is valid when A5 = 1 and A6 = 0,
The address range is A00020 ~ A0003F, A000A0 ~ A000BF, A00120 ~ A0013F, A001A0 ~ A001BF, ...... AFFE20 ~ AFFE3F, AFFEA0 ~ AFFEBF, AFFF20 ~ AFFF3F, The range is like AFFFA0 to AFFFBF.   Board 3 is valid when A5 = 0 and A6 = 1,
The address range is A00040 to A0005F, A000C0 ~ A000DF, A00140 ~ A0015F, A001C0 ~ A001DF, ...... AFFE40 ~ AFFE5F, AFFEC0 ~ AFFEDF, AFFF40 ~ AFFF5F, The range is like AFFFC0 to AFFFDF.   Board 4 is valid when A5 = 1 and A6 = 1,
The address range is A00060 ~ A0007F, A000E0-A000FF, A00160 ~ A0017F, A001E0 ~ A001FF, ...... AFFE60 ~ AFFE7F, AFFEE0-AFFEFF, AFFF60 ~ AFFF7F, The range is like AFFFE0 to AFFFFF.   Each switch array 1a to 3a is set as shown in Tables 1 to 3.
In advance, address signals A1 to A2
When 3 is supplied, the decoder circuit, especially the address converter
6 (B) by the action of the switch 3 and the board switching section 2.
According to the same address allocation scheme as shown in
The selection signals CS1 to CS16 are formed dynamically and each of the EEPROMs m1 to m16
Access is going on.   As a result, the first word 1 is written to EEPROMm1.
Before the first 10 ms has elapsed, the next word 2, 3,
2, m3, ‥‥ are written one after another and used
Time required to write all data when there are four boards
Is significantly (1/64) shorter than the method shown in Fig. 5.
It is.   If the number of memory boards to be used is 8,
Of the switches SW21 to SW25 of the switching means 2, SW21, SW22, SW
Set 23 to ON, and set SW24 and SW25 to OFF. this
By the action of NAND gates G11, G12, and G13.
SW1 and address A18 of the address setting means 1 and SW2 and A1
9, SW3 and A20 do not affect the decoder G40. That
As a result, if the address range of the board is, for example, one,
What is 000000 to 03FFFF is 8 times larger than 000000 to
It becomes 1FFFFF.   On the other hand, on the address conversion unit 3 side,
Of the OR gates G21 to G25, G21 to G23 are switches SW21 to SW23.
Gates G31 to G33 of the address conversion unit 3 depending on the conduction setting of
Signal is transmitted to the decoder (G40).
A5 to A7 and the status of switches SW31 to SW33 affect the decoder.
It will affect you. At this time, switches SW31, SW32, SW
If 33 is non-conductive (off), one of gates G31, G32, G33
Address becomes high level and the other input is the address
A5, A6, and A7 are inverted and input to the decoder. Also, Sui
If the switches SW31, SW32, and SW33 are conducting (ON), the gate G31,
One input of G32, G33 becomes low level and the other input
Addresses A5, A6, and A7 are directly input to the decoder G40.
Let it. That is, the switches SW31 to SW33 on the eight boards
The state of the continuity or non-conduction
Any one board is selected for the same A5 to A7.
Select, the remaining seven boards must give the condition of non-selection.
Can be.   At this time, the switch array 2a of the board switching means 2
Of the switches SW21 to SW25 are non-conductive.
That the board switching means 2
G24 and G25 use the signal of the address conversion unit 3 as a decoder.
Set not to transmit to all NAND gates G40
Therefore, the addresses A8 and A9 and the status of switches SW34 and SW35 are
No longer affect the order.   As a result, eight boards are set with switches SW31 to SW33.
An address as shown in the following Table 6 is input according to the steady state.
It will be activated on condition that  If the number of memory boards to be used is 16,
SW21-SW24 of the switches SW21-SW25 of the mode switching means 2
Set to ON and SW25 to OFF. by this,
Address setting means 1 by the operation of NAND gates G11-G14
Switch SW1 and address A18, SW2 and A19, SW3 and A20, SW
4 and A21 have no effect on decoder G40. The result
As a result, the address range of the board is, for example, 00 for one board.
What is 0000 to 03FFFF is 000000 to 3F which is 16 times larger
It becomes FFFF.   On the other hand, on the address conversion unit 3 side,
Of the OR gates G21 to G25, G21 to G24 are switches SW21 to SW24.
Gates G31 to G34 of the address conversion unit 3 depending on the continuity setting of
Signal is transmitted to the decoder (G40).
A5 to A8 and the status of switches SW31 to SW34 affect the decoder.
It will affect you. At this time, switches SW31, SW32, SW
Gates G31, G32, G33, G if 33, SW34 are non-conductive (off)
One input of 34 goes high and is the other input
Addresses A5, A6, A7, A8 are inverted and input to the decoder.
You. Also, the switches SW31, SW32, SW33, and SW34 are turned on (off).
), One of the gates G31, G32, G33, G34
Address A5, A6, A7, A
8 is directly input to the decoder G40. In other words, 16
The state of switches SW31 to SW34 on the board
By setting to either, for the same A5 ~ A8
One of the boards is selected, the remaining 15 boards are non-
The condition of selection can be given.   At this time, the switch array 2a of the board switching means 2
Of the switches SW21 to SW25 are turned off.
The NAND gate G25 of the board switching means 2
Is a NAND gate serving as a decoder for the signal on the address conversion unit 3 side.
Port G40.
And the state of switch A9 and switch SW35 do not affect the decoder.
It becomes.   As a result, 16 boards are set with switches SW31 to SW34.
An address as shown in the following Table 7 is input according to the steady state.
It will be activated on condition that  If the number of memory boards to be used is 32,
Set all switches SW21 to SW25 of the mode switching means 2 to ON
I do. This allows the NAND gates G11-G15 to function.
The switch SW1 of the address setting means 1 and the address A18,
SW2 and A19, SW3 and A20, SW4 and A21, SW5 and A22 are decoder G4
No effect on 0. As a result, the address of the board
The range is, for example, 000000 to 03FFFF for one sheet.
It becomes 3200000 times of 000000-7FFFFF.   On the other hand, on the address conversion unit 3 side,
All of the OR gates G21 to G25 conduct the switches SW21 to SW25
The signals of the gates G31 to G35 of the address conversion unit 3 depending on the setting
To the decoder (G40), and the address A5
~ A9 and the state of switches SW31 ~ SW35 affect the decoder
I can get it. At this time, switches SW31 to SW35 are not
One of the corresponding gates G31 to G35 if off (off)
Address becomes high level and the other input is the address
A5 to A9 are inverted and input to the decoder. In addition, each sui
If the switches SW31 to SW35 are conducting (ON),
One of G31 to G35 becomes low level and the other input
Addresses A5 to A9 are directly input to the decoder G40.
Let In other words, the switches SW31 to SW35 on the 32 boards
By setting the state to either conductive or non-conductive,
Select one board for the same A5 to A9,
The other 31 boards can give the condition of non-selection
Wear. 32 buttons depending on the setting of switches SW31 to SW35
The address where the code is activated is 16 or more.
The description is omitted because it is the same.   Here, the interrelationship between the switch arrays 1a, 2a, 3a is organized.
Will be explained. First, the switching of the board switching means 2 is performed.
The setting state of the master array 2a is determined by the address of the address
Of the settings of switches A5 to A9 and switches SW31 to SW35
/ Disable control. Second, the switch of the board switching means 2
The setting state of the master array 2a is determined by the address of the address setting means 1.
Of the setting status of switches A17 to A22 and switches SW1 to SW5
Also controls invalidation. Table 8 shows the mutual relationship between the switch arrays 1a, 2a, and 3a.
Show the relationship. In Table 8, the column of the switch array 2a
"1" indicates a conductive state and "0" indicates a non-conductive state.
You. The "V" in the column of the switch arrays 1a and 3a is the switch.
“*” Indicates that the switch and address are valid,
Indicates that the address is invalid.  From Table 8, it can be seen that the addresses A18 to A22 and
Enable / disable of the setting status of switches SW1 to SW5 and
A5 to A9 of the address conversion unit 3 and switches SW31 to SW
The validity / invalidity of the 35 setting states means that the board switching means 2
Depending on the setting state of the switch array 2a, the reverse relationship (one
Is better when the other is disabled)
You.   The switch array 2a of the board switching means 2 is provided.
Depending on the fixed state, the input terminals TA0 to TA0 of the EEPROMs m1 to m16 are actually
Table 9 also shows the address signal (supply address) input to TA12.
It is changed as follows.   Next, FIG. 3 shows the data supplied from the decoder circuit DEC.
Select signal CSn and read / write control signal R / W, etc.
Based on the control signals ▲ ▼ n, ▲ for each EEPROMmn
Read / write control to form ▼ n, ▲ ▼ n
2 shows an example of a specific circuit configuration of the circuit CNTn.   This read / write control circuit CNTn
And a latch circuit LTH. Counter coun
T is such as 625 μs supplied from the frequency dividing circuit DVD.
Once every 10ms by counting clock signal φc
Each time a one-shot carry signal CRY is output
It is configured.   Carry signal CRY output from counter COUNT is NO
R gate G51Through delay flip-flops etc.
It is supplied to the set terminal of the latch circuit LTH.   The latch circuit LTH outputs the carry CRY from the counter COUNT.
Each time it enters, it is set. And Invar
TA G52Deco input to the clock terminal via
In synchronization with the fall of the selection signal CSn from the
At this time, the read / write system input to the data terminal is
Captures and holds the control signal R / W. In addition, the latch circuit LTH
Output is supplied to the above counter COUNT as a load signal
It is supposed to be.   Therefore, the read / write control signal R /
W is changed from high level to low level, then selected
When the signal CSn is changed from high level to low level,
Read / write control synchronized with falling of select signal CSn
The low level of the signal R / W is taken into the latch circuit LTH.
Then, the output Q of the latch circuit LTH changes from high level to low.
Level, and the output changes from low to high
Be changed.   By this output, "0" is displayed in the counter COUNT.
It is loaded and starts counting.
The signal CRY is output. This carry signal CRY
Switch LTH is set and output Q changes to high level
Is done. That is, the output Q of the latch circuit LTH is maintained for about 10 ms.
It is kept at low level. In this embodiment, the output Q
Changes the write enable signal to the corresponding EEPROM.
And holds the required write time of 10 ms.   The output Q of the latch circuit LTH is
Together with the control signal R / W, the NAND gate G53Entered in
Output Q and read / write control signal R / W are both high.
NAND gate G only when level53Output is low level
Is changed to This NAND gate G53EEP corresponding to the output of
Supplied to ROM as out enable signal ▲ ▼ n
You. As a result, the out enable signal ▲ ▼ n becomes
High level when writing data, low level when reading
To be   On the other hand, the selection signal CSn is directly
Is supplied as a chip enable signal ▼ n.
The set terminal of the latch circuit LTH has a NOR gate
G51From power-on reset circuit POR via
The signal RS is being input, and the
It is supposed to be.   The embodiment of the present invention has been described above.
Circuit DEC and read / write control circuit CNT implemented
It is not limited to the configuration of the example, and various modifications may be considered.
It is.   Further, each EEPROM m is provided on the memory board of the embodiment.1
~ M16Has a flag to indicate whether or not
You may do it. This flag is used by the CPU to write to the EEPROM.
Read before going to see if you can write
Can be Without such a flag, the CPU would write
If the EEPROM that was
May be waited (up to 10 ms), but a flag is set
This avoids the expected state of the CPU.
Can be. The above flag is output from the CPU board, for example.
Read using the control signal IOEN
Good.   In addition, the memory board has a parity
Can be configured to include a memory generation check circuit
It is. [effect] (1) RAM as a semiconductor memory constituting a memory board
I used EEPROM instead of
Data does not require battery backup
It can be maintained even after the power is turned off. This also allows the storage device
Can be improved. (2) RAM as a semiconductor memory that constitutes a memory board
Instead of using EEPROM, multiple EEPROMs
Data in byte or word units
Address assignment method that writes data sequentially.
Since it was adopted, write to one EEPROM
It is possible to move on to writing to the next EEPROM while
Operation reduces the time required to write data.
There is an effect that.   The invention made by the inventor above is based on the embodiment.
Although described specifically, the present invention is limited to the above embodiment.
It can be changed variously without departing from the gist
It goes without saying that it is capable. For example, in the above embodiment,
Is the address signal as the EEPROM that constitutes the memory board
Use a device with a built-in latch circuit to latch data signals.
Although the description has been given of the case where the
Configure the circuit that latches the signal with an external circuit
, An EEPROM without such a built-in latch circuit
It is also possible to use. [Applications]   In the above description, the invention mainly made by the inventor has been described.
Microcomputer, which is the application field behind
Applied to the memory board that composes the data system
However, the present invention is not limited to this.
System that has data that you want to save after
Can be used in general.

【図面の簡単な説明】 第1図は、本発明をマイクロコンピュータ・システムを
構成するメモリボードに適用した場合の一実施例を示す
ブロック図、 第2図は、そのデコーダ回路の一例を示す回路構成図、 第3図は、そのリード・ライトコントロール回路の一例
を示す回路構成図、 第4図は、ワード単位でデータを記憶するEEPROMの具体
例を示す構成図、 第5図は、従来のメモリボードにおけるアドレス割付け
方式を示す説明図、 第6図(A)および(B)は、本発明に係るメモリボー
ドにおけるアドレス割付け方式の例を示す説明図であ
る。 第7図は、CPUのアドレス空間とアドレス設定手段によ
り位置が設定されるメモリボードのアドレス範囲との関
係を示すアドレス空間マップである。 第8図は、使用するメモリボードが2枚の場合における
CPUのアドレス空間と各メモリボードのアドレス範囲と
の関係を示すアドレス空間マップである。 第9図は、使用するメモリボードが4枚の場合における
CPUのアドレス空間とメモリボード全体のアドレス範囲
との関係および各メモリボードのアドレス範囲の詳細な
配置を示すアドレス空間マップである。 ABF……アドレスバッファ、CBF……制御信号バッファ、
DBF……データバスバッファ、DEC……デコーダ回路、CN
T1〜CNT16……リード・ライトコントロール回数、m1〜m
16……EEPROM、S−BUS……システムバス、A−BUS……
内部アドレスバス、D−BUS……内部データバス、1…
…アドレス設定手段、2……切換部(ボード切換手
段)、3……アドレス変換部、1a,2a,3a……メモリアレ
イ、DA……デコーダ、COUNT……カウンタ、LTH……ラッ
チ回路。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment when the present invention is applied to a memory board constituting a microcomputer system, and FIG. 2 is a circuit showing an example of a decoder circuit thereof. FIG. 3 is a circuit diagram showing an example of the read / write control circuit, FIG. 4 is a diagram showing a specific example of an EEPROM for storing data in word units, and FIG. FIG. 6A and FIG. 6B are explanatory diagrams showing an example of an address assignment system in a memory board according to the present invention. FIG. 7 is an address space map showing the relationship between the address space of the CPU and the address range of the memory board whose position is set by the address setting means. FIG. 8 shows a case where two memory boards are used.
4 is an address space map showing a relationship between a CPU address space and an address range of each memory board. FIG. 9 shows a case where four memory boards are used.
6 is an address space map showing a relationship between an address space of a CPU and an address range of the entire memory board and a detailed arrangement of an address range of each memory board. ABF: Address buffer, CBF: Control signal buffer,
DBF: Data bus buffer, DEC: Decoder circuit, CN
T 1 to CNT 16 ...... Read / write control times, m 1 to m
16 …… EEPROM, S-BUS …… System bus, A-BUS…
Internal address bus, D-BUS ... Internal data bus, 1 ...
... Address setting means, 2 ... Switching section (board switching means), 3 ... Address conversion section, 1a, 2a, 3a ... Memory array, DA ... Decoder, COUNT ... Counter, LTH ... Latch circuit.

Claims (1)

(57)【特許請求の範囲】 1.各々半導体チップ上に半導体集積回路として形成さ
れた2n個もしくは2n組(nは正の整数)の不揮発性半導
体メモリと、バスを介して供給されるアドレス信号に基
づいて上記複数の不揮発性半導体メモリのうち一つもし
くは一組を選択する信号を形成する選択回路と、上記複
数の不揮発性半導体メモリのそれぞれもしくは各組に対
応して設けられ不揮発性半導体メモリへ供給される書込
み制御用信号を形成するコントロール回路とがそれぞれ
搭載された2i枚(iは正の整数)のメモリボードからな
る不揮発性記憶装置であって、 上記コントロール回路は、 上記選択回路から供給される上記選択信号の変化に基づ
いてバスを介して供給されるリード・ライト制御信号を
取り込んで保持するラッチ回路と、 データの書込みの際にのみ上記選択信号の変化に基づい
て上記不揮発性記憶装置内の記憶素子にデータを書き込
むのに充分な時間を計時するタイマ手段と、 を備え、上記ラッチ回路に保持された信号を対応する不
揮発性半導体メモリに上記書込み制御用信号として供給
するとともに、 上記タイマ手段が上記記憶素子にデータを書き込むのに
充分な時間を計時した時点で上記ラッチ回路をリセット
するように構成され、 上記選択回路は、 バスを介して供給されるアドレス信号のうち下位側から
不揮発性半導体メモリの数もしくは組数(2n)に対応し
た数(n)のビットをデコードすることにより連続した
アドレスが供給されたときに上記複数個の不揮発性半導
体メモリを順番に選択する信号を逐次形成し出力するデ
コーダと、 メモリボードに割付けられたアドレス空間を設定するた
めのアドレス設定手段と、 バスを介して供給されたアドレス信号の上位数ビットと
上記アドレス設定手段に設定されているアドレスとを比
較するアドレス比較手段と、 供給されたアドレス信号のうち上記不揮発性メモリに供
給されるアドレスの下位側のiビットの信号が各メモリ
ボードごとに設定された状態と一致しかつ上記アドレス
比較手段が一致を検出したときに当該メモリボード上の
上記デコーダを有効化させるボード活性化手段と、 を備え、連続したアドレスが供給されたときに1つのメ
モリボード上の2n個もしくは2n組の不揮発性半導体メモ
リが一通りアクセスされた後に他のメモリボードへアク
セスの切換えが行なわれるように構成されてなる ことを特徴とする不揮発性記憶装置。
(57) [Claims] 2 n or 2 n (n is a positive integer) nonvolatile semiconductor memories each formed as a semiconductor integrated circuit on a semiconductor chip, and the plurality of nonvolatile semiconductor memories based on address signals supplied via a bus. A selection circuit for forming a signal for selecting one or a set of the semiconductor memories, and a write control signal provided for each or each of the plurality of nonvolatile semiconductor memories and supplied to the nonvolatile semiconductor memory And a control circuit for forming the control signal. The non-volatile storage device is composed of 2 i (i is a positive integer) memory boards each mounted with the control circuit. A latch circuit which captures and holds a read / write control signal supplied via a bus based on a change, and Timer means for measuring a time sufficient to write data to the storage element in the nonvolatile storage device based on the change of the above, and the signal held in the latch circuit is stored in the corresponding nonvolatile semiconductor memory in the corresponding nonvolatile semiconductor memory. The latch circuit is configured to be supplied as a write control signal and to reset the latch circuit when the timer measures a time sufficient to write data into the storage element. When a continuous address is supplied by decoding the number (n) of bits corresponding to the number or the number of sets (2 n ) of nonvolatile semiconductor memories from the lower side of the supplied address signal, A decoder for sequentially forming and outputting signals for sequentially selecting the nonvolatile semiconductor memory, and an address space allocated to the memory board are set. Setting means for comparing the upper few bits of the address signal supplied via the bus with the address set in the address setting means, and the non-volatility of the supplied address signal. When the i-bit signal on the lower side of the address supplied to the memory matches a state set for each memory board and the address comparison means detects a match, the decoder on the memory board is enabled. Board activation means, wherein when 2 n or 2 n sets of non-volatile semiconductor memories on one memory board are accessed once when continuous addresses are supplied, access to another memory board is performed. A non-volatile memory device configured to perform switching.
JP17412485A 1985-08-09 1985-08-09 Non-volatile storage device Expired - Lifetime JP3099046B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17412485A JP3099046B2 (en) 1985-08-09 1985-08-09 Non-volatile storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17412485A JP3099046B2 (en) 1985-08-09 1985-08-09 Non-volatile storage device

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP9360736A Division JPH10214493A (en) 1997-12-26 1997-12-26 Storage
JP9360737A Division JPH10232817A (en) 1997-12-26 1997-12-26 Nonvolatile storage device

Publications (2)

Publication Number Publication Date
JPS6236799A JPS6236799A (en) 1987-02-17
JP3099046B2 true JP3099046B2 (en) 2000-10-16

Family

ID=15973070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17412485A Expired - Lifetime JP3099046B2 (en) 1985-08-09 1985-08-09 Non-volatile storage device

Country Status (1)

Country Link
JP (1) JP3099046B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04268284A (en) * 1991-02-22 1992-09-24 Fuji Photo Film Co Ltd Memory card
US5263003A (en) * 1991-11-12 1993-11-16 Allen-Bradley Company, Inc. Flash memory circuit and method of operation
TW261687B (en) 1991-11-26 1995-11-01 Hitachi Seisakusyo Kk
US6347051B2 (en) 1991-11-26 2002-02-12 Hitachi, Ltd. Storage device employing a flash memory
US6549974B2 (en) 1992-06-22 2003-04-15 Hitachi, Ltd. Semiconductor storage apparatus including a controller for sending first and second write commands to different nonvolatile memories in a parallel or time overlapped manner
JP3328321B2 (en) 1992-06-22 2002-09-24 株式会社日立製作所 Semiconductor storage device
US6078520A (en) * 1993-04-08 2000-06-20 Hitachi, Ltd. Flash memory control method and information processing system therewith
KR970008188B1 (en) 1993-04-08 1997-05-21 가부시끼가이샤 히다찌세이사꾸쇼 Control method of flash memory and information processing apparatus using the same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5862752A (en) * 1981-10-08 1983-04-14 Nec Corp Memory controlling circuit for interleave
JPS6074578A (en) * 1983-09-30 1985-04-26 Toshiba Corp Nonvolatile semiconductor memory device

Also Published As

Publication number Publication date
JPS6236799A (en) 1987-02-17

Similar Documents

Publication Publication Date Title
KR910000958B1 (en) Computer memory system with memory identification apparatus
US6141249A (en) Organization of blocks within a nonvolatile memory unit to effectively decrease sector write operation time
US7433218B1 (en) Flash memory module
US7688643B2 (en) Device and method for controlling solid-state memory system
CA2050950C (en) Memory controller for direct or interleave memory accessing
US5684973A (en) Expandable memory system and method for interleaving addresses among memory banks of different speeds and sizes
EP0387644A1 (en) Multiprocessor system with global data replication and two levels of address translation units
GB2202350A (en) Data processing system with pluggable option cards
JPS6349319B2 (en)
JP3099046B2 (en) Non-volatile storage device
JPS607301B2 (en) computer system
EP0405071A2 (en) Chip organization for an extendable memory structure
US5432742A (en) System memory and a microcomputer comprising the same
JPH05503382A (en) Centralized lookup and change table for multiprocessor virtual memory systems
JP2784550B2 (en) Semiconductor storage device
US5265053A (en) Main memory DRAM interface
JPS5843832B2 (en) memory device
US7370810B2 (en) Semiconductor device and memory card having the same
US6519739B1 (en) Fault detector
US6735655B1 (en) Interrupt request controller
US7302532B2 (en) Central processing unit
JPH0562380B2 (en)
JPH10232817A (en) Nonvolatile storage device
JPH10214493A (en) Storage
JP2974071B2 (en) Memory IC

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term