JPH03211641A - Address designation method for memory device - Google Patents
Address designation method for memory deviceInfo
- Publication number
- JPH03211641A JPH03211641A JP878690A JP878690A JPH03211641A JP H03211641 A JPH03211641 A JP H03211641A JP 878690 A JP878690 A JP 878690A JP 878690 A JP878690 A JP 878690A JP H03211641 A JPH03211641 A JP H03211641A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- address
- rom
- memory device
- addresses
- 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
Links
- 238000000034 method Methods 0.000 title claims description 15
- 230000015654 memory Effects 0.000 claims abstract description 33
- 238000010586 diagram Methods 0.000 description 4
- 238000007796 conventional method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、メモリ装置のアドレス指定方法、特に同一メ
モリアドレスに複数のメモリセルをマツプした構成のメ
モリ装置のアドレス指定方法に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method of addressing a memory device, and particularly to a method of addressing a memory device having a configuration in which a plurality of memory cells are mapped to the same memory address.
近年、電子計算機の高機能化は著しいものがあり、例え
ば、基本人出カシステム(B I O8)プログラム等
、基本プログラムの高機能化が必要となる場合が多くな
っている。通常これら基本プログラムは、計算機のハー
ドウェア中にROM (リードオンリーメモリ)として
、実装されている場合が多く、これら基本プログラムが
高機能化をはかるために長大化した場合には、計算機に
実装するROMの容量も増加させる必要がでてくる。In recent years, the functionality of electronic computers has increased significantly, and it is often necessary to improve the functionality of basic programs such as the basic attendance system (BIO8) program. Normally, these basic programs are often implemented as ROM (read-only memory) in the computer hardware, and when these basic programs become long to increase functionality, they must be implemented in the computer. It will also be necessary to increase the capacity of the ROM.
しかし、現実の計算機システムでは、従来機種との、ソ
フトウェア、ハードウェア面での互換性を保たせるため
に、使用するCPUの種類や機器のバス構成をそれほど
大きく変更することはできないので、ROMプログラム
の容量が増加したからといって、計算機のメモリ空間を
すぐに拡張することはできない。However, in actual computer systems, in order to maintain compatibility with previous models in terms of software and hardware, it is not possible to make major changes to the type of CPU used or the bus configuration of devices, so the ROM program Even if the capacity of the computer increases, it is not possible to immediately expand the computer's memory space.
そうした場合、バンクメモリと呼ばれる方法で、同一の
メモリアドレスに、複数のROMをマップすることによ
り、バスに接続し得るメモリを増やすことがよく行なわ
れる。例えば、第2図(a)のように計算機のバスに接
続されていたROM 10の容量を拡張するためには、
第2図(b)のように、データバス12およびアドレス
バス14よりなる計算機のバスの上に、バンクOとして
の第1のROM20とバンク1としての第2のROM2
2とを設けている。In such a case, the number of memories that can be connected to the bus is often increased by mapping a plurality of ROMs to the same memory address using a method called bank memory. For example, in order to expand the capacity of the ROM 10 connected to the computer bus as shown in Figure 2(a),
As shown in FIG. 2(b), a first ROM 20 as bank O and a second ROM 2 as bank 1 are connected to a computer bus consisting of a data bus 12 and an address bus 14.
2 are provided.
従来のこの種のメモリ装置のアドレス指定方法は、新た
に特定の入出カポ−ドアドレス(第2図の例ではFOO
O)のラッチ回路16及びデコード回路18をとりつけ
、そのアドレスに特定のデータを出力すると、そのデー
タがデコーダ18でデコードされて選択信号を出し、そ
の選択信号により、同一アドレスにマツプされていた複
数のメモリ(バンク)、図示の例では第1のROM20
および第2のROM22のうちの一つを選択するように
している。The conventional addressing method for this type of memory device requires a new specific input/output address (FOO in the example shown in Figure 2).
When the latch circuit 16 and decode circuit 18 of O) are installed and specific data is output to that address, that data is decoded by the decoder 18 and a selection signal is output, and the selection signal causes multiple maps mapped to the same address to be output. memory (bank), in the illustrated example the first ROM 20
and the second ROM 22.
上述した従来のメモリ装置のアドレス指定方法で、メモ
リの容量を増やすためには、計算機のバスにラッチ及び
デコード回路を増設し、さらにそれからの選択信号をメ
モリに結線しなければならず、これは、計算機のハード
ウェア設計にかなりの変更を要することであった。In order to increase the memory capacity using the conventional memory device addressing method described above, it is necessary to add a latch and decode circuit to the computer bus, and then connect the selection signal from that circuit to the memory. , which required considerable changes to the computer hardware design.
本発明の目的は、ハードウェア設計に変更を要すること
なく、メモリ容量を拡張することのできるメモリ装置の
アドレス指定方法を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a method for addressing a memory device that can expand memory capacity without requiring changes to hardware design.
本発明の方法は、同一メモリアドレスに複数のメモリセ
ルをマツプした構成のメモリ装置のアドレス指定方法に
おいて、前記メモリ装置が包含するメモリアドレスのう
ちの特定の複数のアドレスへのアクセス動作を、他の個
々のメモリアドレスでアクセスしたときに接続されるメ
モリセルの選択の指定に用いることを特徴としている。The method of the present invention provides an addressing method for a memory device having a configuration in which a plurality of memory cells are mapped to the same memory address. It is characterized in that it is used to specify the selection of memory cells to be connected when accessed using individual memory addresses.
本発明のメモリ装置の一実施例の構成を第1図に示す。 FIG. 1 shows the configuration of an embodiment of the memory device of the present invention.
これは第2図に示した構成のうちの、同一アドレスにマ
ツプした第1のROM20および第2のROM22と、
メモリ選択のためのラッチ回路16及びデコード回路1
8を一つのメモリ装置100として、まとめたものに相
当する。但し第1図では、ラッキ回路200及びデコー
ド回路160をメモリ装置のなかに組み込んでいる。そ
のためこの回路を入出カポ−ドアドレスではなく、メモ
リ装置100に包含されるメモリアドレスの一部(第1
図では3FFO〜3FFF番地)に割り当てである。This corresponds to the first ROM 20 and second ROM 22 mapped to the same address in the configuration shown in FIG.
Latch circuit 16 and decode circuit 1 for memory selection
8 are grouped together as one memory device 100. However, in FIG. 1, the lucky circuit 200 and the decode circuit 160 are incorporated into the memory device. Therefore, this circuit is not an input/output address, but a part of the memory address included in the memory device 100 (the first address).
In the figure, it is assigned to addresses 3FFO to 3FFF).
ラッチ回路160はデータバス12ではなく、アドレス
バス14の下位4ビツトに接続しである。The latch circuit 160 is connected not to the data bus 12 but to the lower four bits of the address bus 14.
上位12ビツトはデコードされ、それが3FFに相当す
る場合にラッチ回路160にデータ取り込みをさせる。The upper 12 bits are decoded, and if it corresponds to 3FF, the latch circuit 160 is caused to take in the data.
デコード回路200は、そこに書き込まれた値(この場
合は4ビツト)をデコードしてバンク選択信号を発生す
る。この例ではたとえば、アドレス3FFOのアクセス
はバンク番号Oの選択を、アドレス3FF1のアクセス
はバンク番号1の選択を引き起こす。Decode circuit 200 decodes the value written therein (4 bits in this case) and generates a bank selection signal. In this example, for example, access to address 3FFO causes selection of bank number O, and access to address 3FF1 causes selection of bank number 1.
このようなメモリ装置は、まず第1図のようにROMと
して構成して用いることができる。そして特定のアドレ
スである3FFO〜3FFF番地をメモリバンクの切り
替えに用いている。従って、メモリ空間は、完全には連
続ではなくなるが、ROMとして固定のプログラムで使
うには、特に問題はない。Such a memory device can first be configured and used as a ROM as shown in FIG. Then, specific addresses 3FFO to 3FFF are used for switching memory banks. Therefore, although the memory space is not completely contiguous, there is no particular problem when using it as a ROM for a fixed program.
第3図には、このROMに内容として書かれているプロ
グラムの構成を概念的に示した。もともと第3図(a)
のような内容のROMプログラムをバンク式のROMに
置き換えて容量を拡張する場合、第2図(b)のような
従来の構成のしかたでは、第3図(b)のようにメモリ
バンクの切り替えに入出力ボートに対するOUT命令が
必要となっており、ROM以外の外付けの回路が必要な
ことを示している。FIG. 3 conceptually shows the structure of the program written as contents in this ROM. Originally Figure 3(a)
When replacing a ROM program with contents like this with a bank-type ROM to expand its capacity, the conventional configuration shown in Figure 2(b) requires switching of memory banks as shown in Figure 3(b). An OUT command is required for the input/output board, indicating that an external circuit other than the ROM is required.
それに対し、第1図に示した、本発明の方式による構成
のしかたは、第3図(C)のように特定9〜
のそりアドレスに対するアクセス(READ命令でもW
RITE命令でもよく、読み書きされるデ−タも任意)
が必要なだけで、これがROM自身に包含されるアドレ
スに対するものであれば、ROM以外の外付けのものの
変更が必要ないことがわかる。On the other hand, the configuration according to the method of the present invention shown in FIG.
RITE command may be used, and the data to be read and written is also arbitrary)
If this is for an address included in the ROM itself, it can be seen that there is no need to change anything externally attached other than the ROM.
すなわち、本発明の方式でバンク式のROMを作れば、
それは、古い小容量のROMと単純に差替え可能となり
、計算機のバスの結線変更は必要ない。これは、計算機
の新機種を設計する場合に大きな利点となる。また、す
でに顧客で使用されている計算機に対しても、ROMの
差替えで、容易に高機能化をはかることができ、これも
大きな利点である。本発明の構成のROMはバンクの切
り替えをREAD命令のみで行なうことができるため、
もともとWRITE信号が結線されていないようなRO
M専用ソケットでも全く問題なく使用できる。That is, if a bank type ROM is made using the method of the present invention,
It can be simply replaced with an old small-capacity ROM, and there is no need to change the computer bus connection. This is a great advantage when designing a new model of computer. In addition, it is possible to easily improve the functionality of a computer already in use by a customer by replacing the ROM, which is also a great advantage. Since the ROM configured according to the present invention can switch banks only with a READ command,
An RO where the WRITE signal is not originally connected.
You can use the M-dedicated socket without any problems.
本発明のメモリ装置は、上記のようなROMのほかに、
RAMとして構成して用いることも可能である。但し、
特定の番地はバンクの指定で使われているので、メモリ
空間が完全には連続とはならず、汎用的な使いかたをす
る、RAMとしては、使用上注意が必要である。In addition to the above-mentioned ROM, the memory device of the present invention includes:
It is also possible to configure and use it as a RAM. however,
Since specific addresses are used to specify banks, the memory space is not completely contiguous, and care must be taken when using RAM, which is used for general purposes.
以上説明したように本発明によれば、計算機のハードウ
ェア設計に変更を要することなく、メモリ容量を増やす
ことが可能となる。As explained above, according to the present invention, it is possible to increase the memory capacity without changing the hardware design of the computer.
第1図は本発明のメモリ装置の構成例を示すブロック図
、第2図は従来の方法でROMメモリ容量を拡張させる
方法を示したブロック図であり、(a)は拡張前、(b
)は拡張後を示す図、第3図はROMに書かれているプ
ログラムの構成図であり、(a)はROM容量拡張前の
もの、(b)は従来の方法で拡張した場合のもの、(C
)は本発明の方法で拡張した場合のものである。
10・・・ROM120・・・第1のROM、22・・
・第2のROM、12・・・データバス、14・・・ア
ドレスバス、ie、ieo・・・ラッチ回路、18.2
00・・・デコード回路、150・・・アドレスデコー
ド回路、00・・・メモリ装置。FIG. 1 is a block diagram showing a configuration example of a memory device of the present invention, and FIG. 2 is a block diagram showing a conventional method for expanding ROM memory capacity, in which (a) is before expansion, (b)
) is a diagram showing the state after expansion, and FIG. 3 is a configuration diagram of the program written in the ROM, where (a) is before the ROM capacity is expanded, (b) is the state when expanded using the conventional method, (C
) is expanded using the method of the present invention. 10... ROM120... first ROM, 22...
・Second ROM, 12...Data bus, 14...Address bus, ie, ieo...Latch circuit, 18.2
00...Decode circuit, 150...Address decode circuit, 00...Memory device.
Claims (1)
成のメモリ装置のアドレス指定方法において、前記メモ
リ装置が包含するメモリアドレスのうちの特定の複数の
アドレスへのアクセス動作を、他の個々のメモリアドレ
スでアクセスしたときに接続されるメモリセルの選択の
指定に用いることを特徴とするメモリ装置のアドレス指
定方法。In an addressing method for a memory device having a configuration in which a plurality of memory cells are mapped to the same memory address, an access operation to a specific plurality of addresses among the memory addresses included in the memory device is performed using other individual memory addresses. 1. A method of addressing a memory device, the method being used to specify selection of a memory cell to be connected when accessed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP878690A JPH03211641A (en) | 1990-01-17 | 1990-01-17 | Address designation method for memory device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP878690A JPH03211641A (en) | 1990-01-17 | 1990-01-17 | Address designation method for memory device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03211641A true JPH03211641A (en) | 1991-09-17 |
Family
ID=11702551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP878690A Pending JPH03211641A (en) | 1990-01-17 | 1990-01-17 | Address designation method for memory device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03211641A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003104995A1 (en) * | 2002-06-11 | 2003-12-18 | 日本金銭機械株式会社 | Bank structure storage control device and paper matter authentication device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5696350A (en) * | 1979-12-28 | 1981-08-04 | Fujitsu Ltd | Memory extension system |
-
1990
- 1990-01-17 JP JP878690A patent/JPH03211641A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5696350A (en) * | 1979-12-28 | 1981-08-04 | Fujitsu Ltd | Memory extension system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003104995A1 (en) * | 2002-06-11 | 2003-12-18 | 日本金銭機械株式会社 | Bank structure storage control device and paper matter authentication device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5127096A (en) | Information processor operative both in direct mapping and in bank mapping, and the method of switching the mapping schemes | |
JPH0724029B2 (en) | Emulation device | |
JPH03211641A (en) | Address designation method for memory device | |
JPS62279598A (en) | Read only memory | |
US6029210A (en) | Memory initialization system selectively outputting a data between a normal data stored in the memory and a fixed value according to a registered access state | |
JPH02264344A (en) | Address designating method for memory device | |
JPH07334420A (en) | Extended memory control circuit | |
JP2967825B2 (en) | Microcomputer | |
JPH10293684A (en) | Computer system and rise control method therefor | |
JP3449749B2 (en) | Information processing device | |
KR930009061B1 (en) | Memory access unit | |
JP2954988B2 (en) | Information processing device | |
KR920003845B1 (en) | Rom region expansion system for users of pc | |
JPH0683765A (en) | Microcomputer | |
US5890194A (en) | Method for efficient use of DRAM data and parity areas | |
JP3006487B2 (en) | Emulation device | |
JPH04177697A (en) | Semiconductor memory | |
JP2002318779A (en) | Device, and access method for its register | |
JPH01318127A (en) | System for switching memory bank | |
JPS59183449A (en) | Memory space extending system of microcomputer system | |
JPH07325757A (en) | Storage management device | |
JPH0224748A (en) | Address switching circuit | |
JPH08221322A (en) | Device and method for controlling memory | |
JPH0632048B2 (en) | Single-chip micro computer | |
JPH03266159A (en) | Input/output controller |