JPH06131255A - Storage device - Google Patents

Storage device

Info

Publication number
JPH06131255A
JPH06131255A JP28338292A JP28338292A JPH06131255A JP H06131255 A JPH06131255 A JP H06131255A JP 28338292 A JP28338292 A JP 28338292A JP 28338292 A JP28338292 A JP 28338292A JP H06131255 A JPH06131255 A JP H06131255A
Authority
JP
Japan
Prior art keywords
memory
address
signal
level
attribute
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.)
Pending
Application number
JP28338292A
Other languages
Japanese (ja)
Inventor
Hidenobu Gochi
英伸 郷地
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP28338292A priority Critical patent/JPH06131255A/en
Publication of JPH06131255A publication Critical patent/JPH06131255A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To effectively utilize an unused address area as a common memory by coupling the unused address area of an attribute memory with the final address area of a common memory through software. CONSTITUTION:This storage device is equipped with the common memory 1, the attribute memory 2, and a decoder circuit 21A which selects those memories with a memory select signal 7 and a guard enable signal 8 inputted from outside and switches a memory for selection to the attribute memory 2 by inputting a signal 22 for memory selection switching control from outside while inputting a signal for common memory selection. Further, this device is equipped with an address inverting buffer 20 which outputs an inputted address signal to the internal address bus of the memories 1 and 2 when a signal for selecting the common memory 1 is inputted and inverts and outputs the inputted address signal to the internal address bus 15 of respective memories when a signal for selecting the attribute memory 2 is inputted.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は記憶装置に関し、特に
ICメモリカード内に内蔵された複数のメモリのアドレ
ス空間をソフトウェア的に結合しアドレス空間を拡張す
るようにした記憶装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device, and more particularly to a storage device in which address spaces of a plurality of memories incorporated in an IC memory card are combined by software to expand the address space.

【0002】[0002]

【従来の技術】図4は従来のICメモリカードにおける
記憶装置の構成を示すブロック図である。図において、
1は入出力データ及びアプリケーションプログラムを記
憶した第1のメモリとしてのコモンメモリであり、バー
CE端子にLレベルのコモンメモリ選択信号14aが入
力されるとアクティブ状態に、バーOE端子にLレベル
のアウトプットイネーブル信号16が入力されるとデー
タ端子D0〜D15より上位8ビットのデータが上位デ
ータバス16aへ、下位8ビットのデータが下位データ
バス16bへそれぞれ出力される状態に、バーWEにL
レベルのライトイネーブル信号18が入力されるとデー
タ端子D0〜D15よりデータが書込まれる状態にな
る。また、ADは内部アドレスバス15を介してアドレ
ス信号が入力されるアドレス端子である。
2. Description of the Related Art FIG. 4 is a block diagram showing a configuration of a storage device in a conventional IC memory card. In the figure,
Reference numeral 1 denotes a common memory serving as a first memory that stores input / output data and an application program. When a common memory selection signal 14a of L level is input to the bar CE terminal, the common memory 1 is activated and the bar OE terminal of L level is input. When the output enable signal 16 is input, the upper 8 bits of data are output from the data terminals D0 to D15 to the upper data bus 16a and the lower 8 bits of data are output to the lower data bus 16b.
When the level write enable signal 18 is input, data is written into the data terminals D0 to D15. AD is an address terminal to which an address signal is input via the internal address bus 15.

【0003】2はICメモリカードの物理的な仕様及び
コモンメモリ1に記憶されたデータのフォーマット情報
などカードの属性情報を記憶した第2のメモリとしての
アトリビュートメモリである。尚、各端子構成に関して
はコモンメモリ1と同様であるがデータは下位8ビット
構成でデータ端子D0〜D7を通して読み書きされる。
Reference numeral 2 is an attribute memory serving as a second memory for storing card attribute information such as physical specifications of the IC memory card and format information of the data stored in the common memory 1. The terminal configuration is the same as that of the common memory 1, but data is read and written through the data terminals D0 to D7 in the lower 8 bit configuration.

【0004】3はデコーダ回路であり、コモンメモリ1
或はアトリビュートメモリ2を選択するコモンメモリ選
択信号14a及びアトリビュートメモリ選択信号14b
を出力する。これら選択信号14a,14bの論理レベ
ルはデコーダ回路3のMS端子とバーCS端子にそれぞ
れ入力されるメモリ選択信号7とカードイネーブル信号
8の論理レベルの組み合わせによって決まる。またAO
端子はデータを8ビット構成で出力する場合の信号を入
力する端子である。
Denoted at 3 is a decoder circuit, which is a common memory 1.
Alternatively, the common memory selection signal 14a and the attribute memory selection signal 14b for selecting the attribute memory 2 are selected.
Is output. The logic levels of the selection signals 14a and 14b are determined by the combination of the logic levels of the memory selection signal 7 and the card enable signal 8 input to the MS terminal and the CS terminal of the decoder circuit 3, respectively. Also AO
The terminal is a terminal for inputting a signal when outputting data in 8-bit configuration.

【0005】4はアドレスバスバッファであり、外部ア
ドレスバス11を通して入力されたアドレス信号を内部
アドレスバス15を通してコモンメモリ1、アトリビュ
ートメモリ2のアドレス端子ADに入力する。5はコン
トロールバッファであり、OE端子にLレベルのアウト
制御信号12が、WE端子にHレベルのライト制御信号
13が入力されるとアウトプットイネーブル信号16は
Lレベルとなってコモンメモリ1とアトリビュートメモ
リ2のバーOE端子に入力され、各メモリを読み出し状
態とする。またOE端子にHレベルのアウト制御信号1
2が、WE端子にLレベルのライト制御信号13が入力
されるとライトイネーブル信号18はLレベルとなって
コモンメモリ1とアトリビュートメモリ2のバーWE端
子に入力さ、メモリを書き込み状態とする。
An address bus buffer 4 inputs the address signal input through the external address bus 11 to the address terminals AD of the common memory 1 and the attribute memory 2 through the internal address bus 15. Reference numeral 5 denotes a control buffer. When the L-level out control signal 12 is input to the OE terminal and the H-level write control signal 13 is input to the WE terminal, the output enable signal 16 becomes L-level and the common memory 1 and the attribute are set. It is input to the bar OE terminal of the memory 2 to put each memory into a read state. Also, H level out control signal 1 is applied to the OE terminal.
2, when the write control signal 13 of L level is input to the WE terminal, the write enable signal 18 becomes L level and is input to the bar WE terminals of the common memory 1 and the attribute memory 2 to put the memory in the write state.

【0006】6はデータバスバッファであり、バーOE
端子にLレベルのアウトプットイネーブル信号16が入
力されると上位データバス16a及び下位データバス1
6bに現れたデータを上位及び下位の外部データバス1
7a、17bに出力し、バーWE端子にLレベルのライ
トイネーブル信号18が入力されると外部データバス1
7a,17bに現れた16ビット構成のデータを上位及
び下位データバス16a、16bを通してコモンメモリ
1へ、また16ビットデータ中下位8ビットデータを下
位データバス16bを通してアトリビュートメモリ2へ
入力する。他の端子構成に関しては他のメモリ1、2等
と同様である。
A data bus buffer 6 has a bar OE.
When the L-level output enable signal 16 is input to the terminal, the upper data bus 16a and the lower data bus 1
The data appearing on 6b is transferred to the upper and lower external data buses 1
When the write enable signal 18 of L level is input to the bar WE terminal, the external data bus 1
The 16-bit data appearing at 7a and 17b are input to the common memory 1 through the upper and lower data buses 16a and 16b, and the lower 8-bit data of the 16-bit data is input to the attribute memory 2 through the lower data bus 16b. Other terminal configurations are the same as those of the other memories 1, 2 and the like.

【0007】次に、図4に示した従来のICカードメモ
リの動作について説明する。先ずコモンメモリ1を選択
しデータを外部データバス17a,17bに出力する場
合はデコーダ3に入力されるメモリ選択信号7をHレベ
ルに、カードイネーブル信号8をLレベルにし、コント
ロールバッファ5に入力されるアウト制御信号12をL
レベルそしてライト制御信号13をHレベルにする。こ
の結果コモンメモリ1に入力されるコモンメモリ選択信
号14aがLレベルとなり、アトリビュートメモリ選択
信号14bはHレベルと成るためコモンメモリ1のみが
選択され、またコモンメモリ1とアトリビュートメモリ
12に入力されるアウトプットイネーブル信号16はL
レベルになると共にライトイネーブル信号18はHレベ
ルとなり、コモンメモリ1が読み出し状態となる。
Next, the operation of the conventional IC card memory shown in FIG. 4 will be described. First, when the common memory 1 is selected and data is output to the external data buses 17a and 17b, the memory selection signal 7 input to the decoder 3 is set to H level, the card enable signal 8 is set to L level, and the data is input to the control buffer 5. Output control signal 12
The level and the write control signal 13 are set to the H level. As a result, the common memory selection signal 14a input to the common memory 1 becomes L level and the attribute memory selection signal 14b becomes H level, so that only the common memory 1 is selected, and the common memory 1 and the attribute memory 12 are input. Output enable signal 16 is L
As the level becomes high, the write enable signal 18 becomes high, and the common memory 1 becomes in the read state.

【0008】次にデータアクセス対象となるアドレス信
号を外部アドレスバス11よりアドレスバッファ4に入
力し、アドレスバッファ4より内部アドレスバス15を
介してコモンメモリ1とアトリビュートメモリ2のアド
レス端子AD端子に送る。それによりデータがコモンメ
モリ1より読み出されて上位、下位データバス16a,
16bにのせられデータバスバッファ6に送られる。デ
ータバスバッファ6はコモンメモリ1と同様にLレベル
のメモリ選択信号8とアウトプットイネーブル信号18
が入力されているため送り込まれたデータを外部データ
バス17a,17bに出力することになる。
Next, an address signal for data access is input to the address buffer 4 from the external address bus 11 and sent from the address buffer 4 to the address terminals AD terminals of the common memory 1 and the attribute memory 2 via the internal address bus 15. . As a result, the data is read from the common memory 1 and the upper and lower data buses 16a,
It is placed on 16b and sent to the data bus buffer 6. Like the common memory 1, the data bus buffer 6 has an L level memory selection signal 8 and an output enable signal 18.
Is input, the sent data is output to the external data buses 17a and 17b.

【0009】次にコモンメモリ1に外部よりデータを書
き込む場合は、デコーダ回路3に入力する各信号の論理
レベルはデータ読出し時と同様にし、コントロールバッ
ファ5に入力するアウトプットイネーブル信号12をH
レベル、ライトイネーブル信号13をLレベルにするこ
とでコモンメモリ1とデータバスバッファ6がデータ書
込み状態となる。この状態においてコモンメモリ1の内
部アドレスバス15にアドレス信号が送出されると、外
部データバス17a,17bよりデータバスバッファ6
を通して上位、下位データバス16a,16bに出力さ
れたデータはアドレス信号に従ってコモンメモリ1の所
定のアドレスに記憶される。
When externally writing data to the common memory 1, the logical level of each signal input to the decoder circuit 3 is the same as that at the time of data reading, and the output enable signal 12 input to the control buffer 5 is set to H level.
By setting the level and the write enable signal 13 to the L level, the common memory 1 and the data bus buffer 6 are in the data write state. When an address signal is sent to the internal address bus 15 of the common memory 1 in this state, the data bus buffer 6 is sent from the external data buses 17a and 17b.
The data output to the upper and lower data buses 16a and 16b through the are stored in a predetermined address of the common memory 1 according to the address signal.

【0010】更にアトリビュートメモリ2にデータをア
クセスする場合はメモリ選択信号7をLレベルに、カー
ドイネーブル信号8をLレベルにするとコモンメモリ選
択信号14aがHレベルになりアトリビュートメモリ選
択信号14bがLレベルになってアトリビュートメモリ
2が選択される。その後データを書込み、或は読出しす
る時はコモンメモリ1の場合と同様にデータアクセス内
容に応じてアウトプットイネーブル信号12、ライトイ
ネーブル13の論理レベル内容を変更すると共に、各メ
モリ1、2のバーOE,バ−WEにそれぞれ入力される
アウトプットイネーブル信号16、ライトイネーブル信
号18の論理レベルを変える。尚、アトリビュートメモ
リ2がアクセスされるデータ範囲は下位8ビットデータ
であり、下位データバス16b、データバッファ6及び
下位の外部データバス17bを介して外部とデータの授
受がなされる。
Further, when data is accessed to the attribute memory 2, when the memory selection signal 7 is set to L level and the card enable signal 8 is set to L level, the common memory selection signal 14a becomes H level and the attribute memory selection signal 14b becomes L level. Then, the attribute memory 2 is selected. When writing or reading data thereafter, the logic level contents of the output enable signal 12 and the write enable 13 are changed in accordance with the data access contents as in the case of the common memory 1, and the bars of the memories 1 and 2 are changed. The logic levels of the output enable signal 16 and the write enable signal 18 input to the OE and the bar WE are changed. The data range in which the attribute memory 2 is accessed is lower 8-bit data, and data is exchanged with the outside through the lower data bus 16b, the data buffer 6 and the lower external data bus 17b.

【0011】[0011]

【発明が解決しようとする課題】従来の記憶装置は以上
のように構成されているので、一度第1のメモリとして
コモンメモリを、第2のメモリとしてアトリビュートメ
モリを設定し各メモリ単位でデータアクセス動作を行う
と双方のメモリのアドレス領域を連続して使用すること
はできない。そのためアトリビュートメモリのアドレス
領域中使用する領域が少ない場合は残ったアドレス領域
はコモンメモリの連続するアドレス領域として使用され
ることはなく無駄になってしまうという問題点があっ
た。
Since the conventional storage device is configured as described above, once the common memory is set as the first memory and the attribute memory is set as the second memory, and the data access is performed in each memory unit. When the operation is performed, the address areas of both memories cannot be continuously used. Therefore, there is a problem that when the area used in the address area of the attribute memory is small, the remaining address area is not used as a continuous address area of the common memory and is wasted.

【0012】この発明は上記のような問題点を解決する
ためになされたもので、アトリビュートメモリの未使用
アドレス領域をコモンメモリ領域として使用することが
できる記憶装置を得ることを目的とする。
The present invention has been made to solve the above problems, and an object of the present invention is to obtain a storage device which can use an unused address area of an attribute memory as a common memory area.

【0013】[0013]

【課題を解決するための手段】この発明に係る記憶装置
は、主情報を記憶する第1のメモリと、この主情報に関
する従属情報を記憶する第2のメモリと、メモリ選択指
令信号に応答して前記第1のメモリ又は第2のメモリを
選択するメモリ選択手段と、前記メモリ選択指令信号に
同期して第1のアドレス信号とこの第1のアドレス信号
を反転した第2のアドレス信号を選択的に発するアドレ
ス発生手段とを備え、前記第1のアドレス信号に基づ
き、前記メモリ選択手段によりそれぞれ選択される前記
第1のメモリ及び第2のメモリに主情報を記憶させ、前
記第2のアドレス信号に基づいて上記第2のメモリに前
記従属情報を記憶させるようにしたたものである。
A storage device according to the present invention is responsive to a first memory for storing main information, a second memory for storing subordinate information relating to the main information, and a memory selection command signal. Selecting means for selecting the first memory or the second memory, and selecting a first address signal and a second address signal obtained by inverting the first address signal in synchronization with the memory selection command signal. Address generating means for selectively outputting the main information in the first memory and the second memory respectively selected by the memory selecting means based on the first address signal, and storing the second information. The subordinate information is stored in the second memory based on a signal.

【0014】[0014]

【作用】この発明における記憶装置は、第1のアドレス
信号を反転した第2のアドレス信号により第2のメモリ
をアクセスすると最終アドレスより若いアドレス番地順
にデータを書き込むことができるため、データが記憶さ
れ下位アドレス領域より上方の上位アドレス領域は未使
用領域となる。従ってこの未使用アドレス領域を第1の
メモリの最終アドレス領域にソフトウェア的に結合する
ことで未使用アドレス領域を第1のメモリとして有効利
用することができる。
In the memory device according to the present invention, when the second memory is accessed by the second address signal which is the inversion of the first address signal, the data can be written in the order of the address starting from the final address. The upper address area above the lower address area is an unused area. Therefore, the unused address area can be effectively used as the first memory by software-combining the unused address area with the final address area of the first memory.

【0015】[0015]

【実施例】【Example】

実施例1.以下、この発明の一実施例をICメモリカー
ドに適用した場合を例にとり図ついて説明する。図1は
本実施例におけるICメモリカードの全体構成を示すブ
ロック図である。尚、図中図4と同一符号は同一又は相
当部分を示す。図において、21はメモリ選択手段とし
てのデコーダ回路であり、メモリ選択信号7をHレベ
ル、カードイネーブル信号をLレベルの状態にした時に
最上位アドレス信号22をLレベルにするとコモンメモ
リ選択信号14aがLレベルとなりアトリビュートメモ
リ選択信号14bはHレベルとなってコモンメモリ1が
選択される。
Example 1. Hereinafter, a case where one embodiment of the present invention is applied to an IC memory card will be described with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of an IC memory card according to this embodiment. In the figure, the same reference numerals as those in FIG. 4 indicate the same or corresponding parts. In the figure, reference numeral 21 is a decoder circuit as a memory selecting means, and when the memory selection signal 7 is at the H level and the card enable signal is at the L level, the most significant address signal 22 is at the L level, the common memory selection signal 14a becomes It becomes L level and the attribute memory selection signal 14b becomes H level and the common memory 1 is selected.

【0016】またメモリ選択信号7をHレベル、カード
イネーブル信号をLレベルの状態にした時に最上位アド
レス信号22をHレベルにするとコモンメモリ選択信号
14aがHレベルとなりアトリビュートメモリ選択信号
14bはLレベルとなってアトリビュートメモリ2が選
択される。すなわち最上位アドレス信号22により各選
択信号の論理レベルを維持したまま選択対象となるメモ
リを切り替えることが可能となる。20はアドレス発生
手段としてのアドレス信号を反転する機能を有するアド
レスバッファ回路であり、外部アドレスバス11を介し
て入力されるアドレス信号を内部アドレスバス15に出
力するバッファ21aとアドレス信号を構成するビット
のレベルを反転して内部アドレスバス15に出力する反
転バッファ21bとを並列接続して構成される。
When the memory select signal 7 is set to H level and the card enable signal is set to L level and the highest address signal 22 is set to H level, the common memory select signal 14a becomes H level and the attribute memory select signal 14b becomes L level. Then, the attribute memory 2 is selected. That is, the highest address signal 22 makes it possible to switch the memory to be selected while maintaining the logic level of each selection signal. Reference numeral 20 denotes an address buffer circuit having a function of inverting an address signal as an address generating means, and a bit forming an address signal with a buffer 21a for outputting an address signal input via the external address bus 11 to the internal address bus 15. Is inverted and output to the internal address bus 15 in an inversion buffer 21b connected in parallel.

【0017】また各バッファの切替え選択はバッファ2
1aのストローブ端子(図示しない)に印加されるメモ
リ選択信号7がHレベルになると外部アドレスバスにの
せられたアドレス信号を内部アドレスバス15に出力
し、反転バッファ21bのストローブ端子に印加される
メモリ選択信号7がLレベルになるとアドレス信号を反
転して出力する。尚、アドレスバッファ回路20は実際
メモリのアドレスの数分存在し各アドレス反転バッファ
20にはビット単位でアドレス信号が入力される。
Further, switching selection of each buffer is performed by the buffer 2
When the memory selection signal 7 applied to the strobe terminal (not shown) of 1a becomes H level, the address signal placed on the external address bus is output to the internal address bus 15 and the memory applied to the strobe terminal of the inversion buffer 21b. When the selection signal 7 becomes L level, the address signal is inverted and output. There are as many address buffer circuits 20 as there are addresses in the actual memory, and an address signal is input to each address inversion buffer 20 in bit units.

【0018】次に本実施例の動作について説明する。
尚、データの読み出し、書き込み制御に関しては従来技
術と同様である。先ず、デコーダ回路21に入力される
メモリ選択信号7とカードイネーブル信号8を共にLレ
ベルにすると、デコーダ回路21より出力されるコモン
メモリ選択信号14aはHレベルになりアトリビュート
メモリ選択信号14bはLレベルと成るためアトリビュ
ートメモリ2が選択されアクティブ状態となる。この時
アドレスバッファ回路20の反転バッファ20bのスト
ローブ端子に印加されるメモリ選択信号7はLレベルと
なっているため、反転バッファ20bは入力したアドレ
ス信号を反転して内部アドレスバス15に出力する。
Next, the operation of this embodiment will be described.
The data read / write control is the same as in the conventional technique. First, when both the memory selection signal 7 and the card enable signal 8 input to the decoder circuit 21 are set to L level, the common memory selection signal 14a output from the decoder circuit 21 is set to H level and the attribute memory selection signal 14b is set to L level. Therefore, the attribute memory 2 is selected and becomes active. At this time, since the memory selection signal 7 applied to the strobe terminal of the inversion buffer 20b of the address buffer circuit 20 is at L level, the inversion buffer 20b inverts the input address signal and outputs it to the internal address bus 15.

【0019】この結果アドレス信号を0の先頭番地から
所定番地例えばnまでに設定してアドレスバッファ回路
20に入力しても、アドレス信号はmの最終番地よりm
−1に反転した番地に対するものとなって内部アドレス
バス15に出力されるためアクテブ状態となっているア
トリビュートメモリ2はm番地よりmー1番地までにカ
ードの属性情報を書き込むことになる。またカードの属
性情報は200〜300バイト程度であるためアトリビ
ュートメモリ2のメモリ容量に比べ使用アドレス領域は
少なく0番地からm−2番地は図2の(B)に示すよう
に未使用アドレス領域となる。
As a result, even if the address signals are set from the first address of 0 to a predetermined address, for example, n, and are input to the address buffer circuit 20, the address signal is changed from the last address of m to m.
Since the address corresponding to the address inverted to -1 is output to the internal address bus 15, the attribute memory 2 in the active state writes the attribute information of the card from the address m to the address m-1. Further, since the attribute information of the card is about 200 to 300 bytes, the used address area is smaller than the memory capacity of the attribute memory 2, and the addresses 0 to m-2 are unused address areas as shown in FIG. 2B. Become.

【0020】次ぎにメモリ選択信号7をHレベル、カー
ドイネーブル信号8をLレベルにし最上位アドレス信号
22をLレベルとすると、コモンメモリ選択信号14a
がLレベルとなつてコモンメモリ1をアクティブ状態す
ると共にバッファ20aを選択する。そのため外部アド
レスバス11に入力されたアドレス信号は反転されずバ
ゥファ20aより内部アドレスバス15を通してコモン
メモリ1のアドレス端子ADに出力される。したがって
アドレス信号を0番地よりn番地まで設定すればコモン
メモリ1は図2(A)に示すようにアドレス0番地より
n番地に昇順にデータがアクセスされる。
Next, when the memory selection signal 7 is set to H level, the card enable signal 8 is set to L level, and the highest address signal 22 is set to L level, the common memory selection signal 14a.
Becomes the L level, the common memory 1 is activated, and the buffer 20a is selected. Therefore, the address signal input to the external address bus 11 is not inverted and is output from the buffer 20a to the address terminal AD of the common memory 1 through the internal address bus 15. Therefore, if the address signal is set from address 0 to address n, the common memory 1 is accessed in ascending order from address 0 to address n as shown in FIG.

【0021】更にアトリビュートメモリ2の未使用アド
レス領域をコモンメモリとして使用する場合はメモリ選
択信号7をHレベル、カードイネーブル信号8をLレベ
ルにし最上位アドレス信号22をHレベルとすると、ア
トリビュートメモリ選択信号4bがLレベルとなつてア
トリビュートメモリ2をアクティブ状態すると共にバッ
ファ20aを選択する。そのため外部アドレスバス11
に入力されたアドレス信号はバゥファ20aより内部ア
ドレスバス15を通してアトリビュートメモリ2のアド
レス端子ADに出力される。
Further, when the unused address area of the attribute memory 2 is used as a common memory, the memory selection signal 7 is set to H level, the card enable signal 8 is set to L level, and the highest address signal 22 is set to H level. When the signal 4b becomes L level, the attribute memory 2 is activated and the buffer 20a is selected. Therefore, the external address bus 11
The address signal input to the buffer is output from the buffer 20a to the address terminal AD of the attribute memory 2 through the internal address bus 15.

【0022】この時アトリビュートメモリ2に割り付け
られるアドレスは属性データを読み書きさせた場合のア
ドレスを反転したものであるため、アドレスには未使用
のアドレス領域の先頭アドレスが最初に割り当てられ
る。この結果図3に示すようにコモンメモリ1とアトリ
ビュートメモリの未使用アドレス領域をあたかも連続し
た絶対アドレスを付したメモリ空間としてソフトウェア
的に結合することができる。
At this time, since the address assigned to the attribute memory 2 is the inverted address when the attribute data is read and written, the start address of the unused address area is assigned first. As a result, as shown in FIG. 3, the unused address areas of the common memory 1 and the attribute memory can be combined by software as a memory space with continuous absolute addresses.

【0023】実施例2.尚、実施例1ではアトリビュー
トメモリ2の未使用アドレス領域を先頭アドレスより割
り付けるために、アトリビュートメモリ2へ出力される
アドレス信号をハードウェア的に反転させたが、ソフト
ウェア的にアドレス信号を反転させることも可能であ
る。
Example 2. In the first embodiment, in order to allocate the unused address area of the attribute memory 2 from the start address, the address signal output to the attribute memory 2 is inverted by hardware, but the address signal may be inverted by software. Is also possible.

【0024】[0024]

【発明の効果】以上のようにこの発明によれば、主情報
を記憶する第1のメモリと、この主情報に関する従属情
報を記憶する第2のメモリと、メモリ選択指令信号に応
答して前記第1のメモリ又は第2のメモリを選択するメ
モリ選択手段と、前記メモリ選択指令信号に同期して第
1のアドレス信号とこの第1のアドレス信号を反転した
第2のアドレス信号を選択的に発するアドレス発生手段
とを備え、前記第1のアドレス信号に基づき、前記メモ
リ選択手段によりそれぞれ選択される前記第1のメモリ
及び第2のメモリに主情報を記憶させ、前記第2のアド
レス信号に基づいて上記第2のメモリに前記従属情報を
記憶させるよにしたことで、第2のメモリの未使用アド
レス領域を第1のメモリの最終アドレス領域にソフトウ
ェア的に結合することができるため未使用アドレス領域
を第1のメモリとして有効利用することができるという
効果がある。
As described above, according to the present invention, the first memory for storing the main information, the second memory for storing the subordinate information related to the main information, and the memory in response to the memory selection command signal are used. Memory selecting means for selecting the first memory or the second memory, and a first address signal and a second address signal obtained by inverting the first address signal in synchronization with the memory selection command signal. Address generating means for transmitting the main information to the first memory and the second memory respectively selected by the memory selecting means based on the first address signal and storing the main information in the second address signal. By storing the dependent information in the second memory based on the above, the unused address area of the second memory is software-combined with the final address area of the first memory. There is an effect that an unused address space since it is bets can be effectively used as the first memory.

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

【図1】この発明による記憶装置の一実施例の全体構成
を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of an embodiment of a storage device according to the present invention.

【図2】本実施例におけるコモンメモリとアトリビュー
トメモリのアドレス領域を説明する図である。
FIG. 2 is a diagram illustrating address areas of a common memory and an attribute memory according to this embodiment.

【図3】本実施例におけるアトリビュートメモリの未使
用アドレス領域をコモンメモリとして使用した場合にメ
モリアドレス領域を説明する図である
FIG. 3 is a diagram illustrating a memory address area when an unused address area of an attribute memory in this embodiment is used as a common memory.

【図4】従来の記憶装置の全体構成を示すブロック図で
ある。
FIG. 4 is a block diagram showing an overall configuration of a conventional storage device.

【符号の説明】[Explanation of symbols]

1 コモンメモリ 7 メモリ選択信号 8 カードイネーブル信号 2 アトリビュートメモリ 20 アドレスバッファ回路 21A デコーダ回路 22 最上位アドレス信号 1 common memory 7 memory selection signal 8 card enable signal 2 attribute memory 20 address buffer circuit 21A decoder circuit 22 highest address signal

【手続補正書】[Procedure amendment]

【提出日】平成5年10月22日[Submission date] October 22, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0007[Correction target item name] 0007

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0007】次に、図4に示した従来のICメモリカー
の動作について説明する。先ずコモンメモリ1を選択
しデータを外部データバス17a,17bに出力する場
合はデコーダ3に入力されるメモリ選択信号7をHレベ
ルに、カードイネーブル信号8をLレベルにし、コント
ロールバッファ5に入力されるアウト制御信号12をL
レベルそしてライト制御信号13をHレベルにする。こ
の結果コモンメモリ1に入力されるコモンメモリ選択信
号14aがLレベルとなり、アトリビュートメモリ選択
信号14bはHレベルと成るためコモンメモリ1のみが
選択され、またコモンメモリ1とアトリビュートメモリ
12に入力されるアウトプットイネーブル信号16はL
レベルになると共にライトイネーブル信号18はHレベ
ルとなり、コモンメモリ1が読み出し状態となる。
Next, the conventional IC memory car shown in FIG.
The operation of the de described. First, when the common memory 1 is selected and data is output to the external data buses 17a and 17b, the memory selection signal 7 input to the decoder 3 is set to H level, the card enable signal 8 is set to L level, and the data is input to the control buffer 5. Output control signal 12
The level and the write control signal 13 are set to the H level. As a result, the common memory selection signal 14a input to the common memory 1 becomes L level and the attribute memory selection signal 14b becomes H level, so that only the common memory 1 is selected, and the common memory 1 and the attribute memory 12 are input. Output enable signal 16 is L
As the level becomes high, the write enable signal 18 becomes high, and the common memory 1 becomes in the read state.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0010[Correction target item name] 0010

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0010】更にアトリビュートメモリ2にデータをア
クセスする場合はメモリ選択信号7をLレベルに、カー
ドイネーブル信号8をLレベルにするとコモンメモリ選
択信号14aがHレベルになりアトリビュートメモリ選
択信号14bがLレベルになってアトリビュートメモリ
2が選択される。その後データを書込み、或は読出しす
る時はコモンメモリ1の場合と同様にデータアクセス内
容に応じてアウトプットイネーブル信号12、ライトイ
ネーブル信号13の論理レベル内容を変更すると共に、
各メモリ1、2のバーOE,バ−WEにそれぞれ入力さ
れるアウトプットイネーブル信号16、ライトイネーブ
ル信号18の論理レベルを変える。尚、アトリビュート
メモリ2がアクセスされるデータ範囲は下位8ビットデ
ータであり、下位データバス16b、データバッファ6
及び下位の外部データバス17bを介して外部とデータ
の授受がなされる。
Further, when data is accessed to the attribute memory 2, when the memory selection signal 7 is set to L level and the card enable signal 8 is set to L level, the common memory selection signal 14a becomes H level and the attribute memory selection signal 14b becomes L level. Then, the attribute memory 2 is selected. When writing or reading data thereafter, the logical level contents of the output enable signal 12 and the write enable signal 13 are changed in accordance with the data access contents as in the case of the common memory 1.
The logic levels of the output enable signal 16 and the write enable signal 18 input to the bars OE and WE of the memories 1 and 2 are changed. The data range in which the attribute memory 2 is accessed is lower 8-bit data, and the lower data bus 16b and the data buffer 6 are
And data is exchanged with the outside through the lower external data bus 17b.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0013[Correction target item name] 0013

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0013】[0013]

【課題を解決するための手段】この発明に係る記憶装置
は、主情報を記憶する第1のメモリと、この主情報に関
する従属情報を記憶する第2のメモリと、メモリ選択指
令信号に応答して前記第1のメモリ又は第2のメモリを
選択するメモリ選択手段と、前記メモリ選択指令信号に
同期して第1のアドレス信号とこの第1のアドレス信号
を反転した第2のアドレス信号を選択的に発するアドレ
ス発生手段とを備え、前記第1のアドレス信号に基づ
き、前記メモリ選択手段によりそれぞれ選択される前記
第1のメモリ及び第2のメモリに主情報を記憶させ、前
記第2のアドレス信号に基づいて上記第2のメモリに前
記従属情報を記憶させるようにしたものである。
A storage device according to the present invention is responsive to a first memory for storing main information, a second memory for storing subordinate information relating to the main information, and a memory selection command signal. Selecting means for selecting the first memory or the second memory, and selecting a first address signal and a second address signal obtained by inverting the first address signal in synchronization with the memory selection command signal. Address generating means for selectively outputting the main information in the first memory and the second memory respectively selected by the memory selecting means based on the first address signal, and storing the second information. it is the ash so as to store the dependent information in the second memory based on the signal.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0015[Name of item to be corrected] 0015

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0015】[0015]

【実施例】 実施例1.以下、この発明の一実施例をICメモリカー
ドに適用した場合を例にとり図ついて説明する。図1
は本実施例におけるICメモリカードの全体構成を示す
ブロック図である。尚、図中図4と同一符号は同一又は
相当部分を示す。図において、21はメモリ選択手段と
してのデコーダ回路であり、メモリ選択信号7をHレベ
ル、カードイネーブル信号をLレベルの状態にした時に
最上位アドレス信号22をLレベルにするとコモンメモ
リ選択信号14aがLレベルとなりアトリビュートメモ
リ選択信号14bはHレベルとなってコモンメモリ1が
選択される。
EXAMPLES Example 1. Hereinafter, a description will be given of the case of applying an embodiment of the invention the IC memory card to take diagram as an example. Figure 1
FIG. 3 is a block diagram showing the overall configuration of an IC memory card in this embodiment. In the figure, the same reference numerals as those in FIG. 4 indicate the same or corresponding parts. In the figure, reference numeral 21 is a decoder circuit as a memory selecting means, and when the memory selection signal 7 is at the H level and the card enable signal is at the L level, the most significant address signal 22 is at the L level, the common memory selection signal 14a becomes It becomes L level and the attribute memory selection signal 14b becomes H level and the common memory 1 is selected.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0017[Correction target item name] 0017

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0017】また各バッファの切替え選択はバッファ2
1aのストローブ端子(図示しない)に印加されるメモ
リ選択信号7がHレベルになると外部アドレスバスにの
せられたアドレス信号を内部アドレスバス15に出力
し、反転バッファ21bのストローブ端子に印加される
メモリ選択信号7がLレベルになるとアドレス信号を反
転して出力する。尚、アドレスバッファ回路20は実際
メモリのアドレスの数分存在し各アドレス反転バッフ
ァ20にはビット単位でアドレス信号が入力される。
Further, switching selection of each buffer is performed by the buffer 2
When the memory selection signal 7 applied to the strobe terminal (not shown) of 1a becomes H level, the address signal placed on the external address bus is output to the internal address bus 15 and the memory applied to the strobe terminal of the inversion buffer 21b. When the selection signal 7 becomes L level, the address signal is inverted and output. The address buffer circuit 20 is address signal in bits is input to the fact was separated presence of the number of addresses in the memory each address inverting buffer 20.

【手続補正6】[Procedure correction 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0019[Correction target item name] 0019

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0019】この結果アドレス信号を0の先頭番地から
所定番地例えばnまでに設定してアドレスバッファ回路
20に入力しても、アドレス信号はmの最終番地よりm
−1に反転した番地に対するものとなって内部アドレス
バス15に出力されるためアクテブ状態となっている
アトリビュートメモリ2はm番地よりm−1番地までに
カードの属性情報を書き込むことになる。またカードの
属性情報は200〜300バイト程度であるためアトリ
ビュートメモリ2のメモリ容量に比べ使用アドレス領域
は少なく0番地からm−2番地は図2の(B)に示すよ
うに未使用アドレス領域となる。
As a result, even if the address signals are set from the first address of 0 to a predetermined address, for example, n, and are input to the address buffer circuit 20, the address signal is changed from the last address of m to m.
Attribute memory 2 which is the Akti I blanking state to be outputted to the internal address bus 15 so as for the address was inverted to -1 will be written card attribute information of up to m-1 address from address m . Further, since the attribute information of the card is about 200 to 300 bytes, the used address area is smaller than the memory capacity of the attribute memory 2, and the addresses 0 to m-2 are unused address areas as shown in FIG. 2B. Become.

【手続補正7】[Procedure Amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0020[Correction target item name] 0020

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0020】次にメモリ選択信号7をHレベル、カード
イネーブル信号8をLレベルにし最上位アドレス信号2
2をLレベルとすると、コモンメモリ選択信号14aが
Lレベルとなつてコモンメモリ1をアクティブ状態する
と共にバッファ20aを選択する。そのため外部アドレ
スバス11に入力されたアドレス信号は反転されずバ
ファ20aより内部アドレスバス15を通してコモンメ
モリ1のアドレス端子ADに出力される。したがってア
ドレス信号を0番地よりn番地まで設定すればコモンメ
モリ1は図2(A)に示すようにアドレス0番地よりn
番地に昇順にデータがアクセスされる。
Next, the memory select signal 7 is set to H level, the card enable signal 8 is set to L level, and the highest address signal 2 is set.
When 2 is set to L level, the common memory selection signal 14a becomes L level to activate the common memory 1 and select the buffer 20a. Therefore address signal input to the external address bus 11 is outputted through the internal address bus 15 from bus Tsu <br/> fan 20a is not inverted to the address terminal AD of the common memory 1. Therefore, if the address signal is set from address 0 to address n, the common memory 1 can be read from address 0 to address n as shown in FIG.
The data is accessed in ascending order at the address.

【手続補正8】[Procedure Amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0021[Correction target item name] 0021

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0021】更にアトリビュートメモリ2の未使用アド
レス領域をコモンメモリとして使用する場合はメモリ選
択信号7をHレベル、カードイネーブル信号8をLレベ
ルにし最上位アドレス信号22をHレベルとすると、ア
トリビュートメモリ選択信号4bがLレベルとなつてア
トリビュートメモリ2をアクティブ状態にすると共にバ
ッファ20aを選択する。そのため外部アドレスバス1
1に入力されたアドレス信号はバッファ20aより内部
アドレスバス15を通してアトリビュートメモリ2のア
ドレス端子ADに出力される。
Further, when the unused address area of the attribute memory 2 is used as a common memory, the memory selection signal 7 is set to H level, the card enable signal 8 is set to L level, and the highest address signal 22 is set to H level. When the signal 4b becomes L level, the attribute memory 2 is activated and the buffer 20a is selected. Therefore, the external address bus 1
The address signal input to 1 is output from the buffer 20a to the address terminal AD of the attribute memory 2 through the internal address bus 15.

【手続補正9】[Procedure Amendment 9]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0024[Name of item to be corrected] 0024

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0024】[0024]

【発明の効果】以上のようにこの発明によれば、主情報
を記憶する第1のメモリと、この主情報に関する従属情
報を記憶する第2のメモリと、メモリ選択指令信号に応
答して前記第1のメモリ又は第2のメモリを選択するメ
モリ選択手段と、前記メモリ選択指令信号に同期して第
1のアドレス信号とこの第1のアドレス信号を反転した
第2のアドレス信号を選択的に発するアドレス発生手段
とを備え、前記第1のアドレス信号に基づき、前記メモ
リ選択手段によりそれぞれ選択される前記第1のメモリ
及び第2のメモリに主情報を記憶させ、前記第2のアド
レス信号に基づいて上記第2のメモリに前記従属情報を
記憶させるよにしたことで、第2のメモリの未使用ア
ドレス領域を第1のメモリの最終アドレス領域にソフト
ウェア的に結合することができるため未使用アドレス領
域を第1のメモリとして有効利用することができるとい
う効果がある。
As described above, according to the present invention, the first memory for storing the main information, the second memory for storing the subordinate information related to the main information, and the memory in response to the memory selection command signal are used. Memory selecting means for selecting the first memory or the second memory, and a first address signal and a second address signal obtained by inverting the first address signal in synchronization with the memory selection command signal. Address generating means for transmitting the main information to the first memory and the second memory respectively selected by the memory selecting means based on the first address signal and storing the main information in the second address signal. based on the fact that the power sale by storing the said dependent information in the second memory, the software binds to an unused address space of the second memory the last address region of the first memory It is effective that can be effectively used as the first memory an unused address space because it is.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 主情報を記憶する第1のメモリと、この
主情報に関する従属情報を記憶する第2のメモリと、メ
モリ選択指令信号に応答して前記第1のメモリ又は第2
のメモリを選択するメモリ選択手段と、前記メモリ選択
指令信号に同期して第1のアドレス信号とこの第1のア
ドレス信号を反転した第2のアドレス信号を選択的に発
するアドレス発生手段とを備え、前記第1のアドレス信
号に基づき、前記メモリ選択手段によりそれぞれ選択さ
れる前記第1のメモリ及び第2のメモリに主情報を記憶
させ、前記第2のアドレス信号に基づいて上記第2のメ
モリに前記従属情報を記憶させるようにしたことを特徴
とする記憶装置。
1. A first memory for storing main information, a second memory for storing subordinate information relating to the main information, and the first memory or the second memory in response to a memory selection command signal.
Memory selecting means for selecting one of the memories, and address generating means for selectively issuing a first address signal and a second address signal obtained by inverting the first address signal in synchronization with the memory selection command signal. , Main information is stored in the first memory and the second memory that are respectively selected by the memory selecting means based on the first address signal, and the second memory is stored based on the second address signal. A storage device, wherein the subordinate information is stored in the storage device.
JP28338292A 1992-10-22 1992-10-22 Storage device Pending JPH06131255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28338292A JPH06131255A (en) 1992-10-22 1992-10-22 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28338292A JPH06131255A (en) 1992-10-22 1992-10-22 Storage device

Publications (1)

Publication Number Publication Date
JPH06131255A true JPH06131255A (en) 1994-05-13

Family

ID=17664792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28338292A Pending JPH06131255A (en) 1992-10-22 1992-10-22 Storage device

Country Status (1)

Country Link
JP (1) JPH06131255A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0769746A1 (en) * 1995-10-20 1997-04-23 Symbios Logic Inc. Storage device and method accessing it

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0769746A1 (en) * 1995-10-20 1997-04-23 Symbios Logic Inc. Storage device and method accessing it

Similar Documents

Publication Publication Date Title
JPS60200287A (en) Memory unit
KR920008598A (en) Memory controller for accessing memory in direct or interleaved mode and data processing system having same
JPH11134243A (en) Controller for storage device and control method for storage device in data processing system
JP2539012B2 (en) Memory card
US5339402A (en) System for connecting an IC memory card to a central processing unit of a computer
JP4175694B2 (en) Flash memory and system equipped with flash memory
JPH06131255A (en) Storage device
JPH0353363A (en) Bus architecture converting circuit
JPH11297066A (en) Semiconductor device
JPS6232818B2 (en)
JP3131918B2 (en) Memory device
JPH0757459A (en) Semiconductor memory
JPH0512104A (en) Data storage controller
JP2833902B2 (en) Display attribute control circuit of bitmap display device
JPH0865497A (en) Image processing system
JPH10161928A (en) Storage device
JPH0934776A (en) Device and method for processing information
JPH07334353A (en) Microcomputer system
JPH03116194A (en) Display controller
JPH0232440A (en) Storage device
JPS63144496A (en) Write control system for storage device
JPH11353153A (en) Register setting circuit
JPH03121545A (en) Ic memory card
JPH02273844A (en) Memory access circuit
JPH06214878A (en) Memory access controller