JPH02264344A - Address designating method for memory device - Google Patents
Address designating method for memory deviceInfo
- Publication number
- JPH02264344A JPH02264344A JP8477489A JP8477489A JPH02264344A JP H02264344 A JPH02264344 A JP H02264344A JP 8477489 A JP8477489 A JP 8477489A JP 8477489 A JP8477489 A JP 8477489A JP H02264344 A JPH02264344 A JP H02264344A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- address
- memory device
- rom
- latch
- 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
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、電子計算機等で用いるメモリ装置のアドレス
指定方法に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method of addressing a memory device used in an electronic computer or the like.
近年、電子計算機の高機能化は著しいものがあり、個々
の計算機システムにおいても、基本人出カシステムプロ
グラム等、基本プログラムの高機能化が必要となる場合
が多くなっている。通常これら基本プログラムは、計算
機のハードウェア中にROM (リードオンリメモリ)
として、実装されている場合が多く、これら基本プログ
ラムが高機能化を図るために長大化した場合には、計算
機に実装するROMの容量も増加させる必要がでてくる
。In recent years, the functionality of electronic computers has increased significantly, and even in individual computer systems, it is often necessary to improve the functionality of basic programs such as basic attendance system programs. These basic programs are usually stored in ROM (read-only memory) in the computer hardware.
In many cases, these basic programs are implemented as such, and when these basic programs become longer and longer in order to achieve higher functionality, it becomes necessary to increase the capacity of the ROM installed in the computer.
しかし、現実の計算機システムでは、従来機種との、ソ
フトウェア、ハードウェア面での互換性を保つために、
使用するCPUの種類や機器のバス構成をそれほど大き
く変更することはできないため、ROMプログラムの容
量が増加したからといって、計算機のメモリ空間をすぐ
に拡張することはできない。However, in actual computer systems, in order to maintain compatibility with previous models in terms of software and hardware,
Since the type of CPU used and the bus configuration of the equipment cannot be changed significantly, the memory space of the computer cannot be immediately expanded even if the capacity of the ROM program increases.
そうした場合、バンクメモリと呼ばれる方式で、同一の
メモリアドレスに、複数のROMをマツプすることによ
り、バスに接続し得るメモリを増やすことがよく行われ
る。In such cases, the number of memories that can be connected to the bus is often increased by mapping multiple ROMs to the same memory address using a method called bank memory.
このバンクメモリによる方式では、本来、第2図(a)
のように計算機のバスに接続されていたROMl0の容
量を拡張するためには、第2図(b)のように、データ
バス12およびアドレスバス14よりなる計算機のバス
の上に、新たに特定の入出カポ−ドアドレス(第2図(
b)の例でtよアドレスFOOO)のラッチ回路16及
びデコード回路18を外付けの回路として取り付けるこ
とが従来行われてきた。そのアドレスに特定のデータを
出力すると、そのデータがデコードされて選択信号を出
し、その選択信号により、同一アドレスにマツプされた
複数のメモリ(バンク)、図示の例では第1のROM(
バンク1)20および第2のROM (バンク2)22
のうちの一つを選択することができた。In this bank memory system, originally, as shown in Fig. 2(a)
In order to expand the capacity of ROM10 that was connected to the computer bus as shown in FIG. input/output address (Figure 2)
In the example of b), the latch circuit 16 and decode circuit 18 at address FOOO) have conventionally been attached as external circuits. When specific data is output to that address, that data is decoded and a selection signal is output, and the selection signal causes multiple memories (banks) mapped to the same address, in the example shown, the first ROM (
Bank 1) 20 and second ROM (Bank 2) 22
I was able to choose one of them.
しかしこうした従来からの方式で、メモリ容量を増やす
ためには、計算機のバスにラッチ回路およびデコード回
路を増設し、さらにそれからの選択信号をメモリに結線
しなければならず、これは、計算機ハードウェア設計に
かなりの変更を要することであった。However, in order to increase the memory capacity using these conventional methods, it is necessary to add a latch circuit and a decoding circuit to the computer bus, and then connect the selection signal from there to the memory, which requires the computer hardware to This required considerable changes to the 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 addressing method for a memory device of the present invention provides a memory device having a configuration in which a plurality of memory cells are mapped to the same memory address. The value is used to specify the selection of a memory cell to be connected when accessed using another individual memory address.
本発明のアドレス指定方法を適用するメモリ装置の一例
の構成を第1図に示す。これは第2図に示した構成のう
ちの、同一アドレスにマツプした複数のメモリセルと、
メモリセル選択のためのラッチおよびデコード回路とを
一つのメモリ装置100として、まとめたものに相当す
る。但し第1図では、ラッチ及びデコードのための回路
もメモリ装置100の中に組み込んでいる。そのためこ
の回路を入出カポ−ドアドレスではなく、メモリ装置1
00に包含されるメモリアドレスの一部(第1図では3
FFF番地)に割り当てである。そのためラッチ回路は
、そのメモリアドレスに対応するメモリセル(バンクl
)そのものとみなすことができる、7321回m2oo
は、メモリセル(バンク1)に書き込まれた値をデコー
ドして選択信号を形成する。FIG. 1 shows the configuration of an example of a memory device to which the addressing method of the present invention is applied. This includes multiple memory cells mapped to the same address in the configuration shown in Figure 2,
This corresponds to one memory device 100 that includes a latch for selecting memory cells and a decoding circuit. However, in FIG. 1, circuits for latching and decoding are also incorporated into the memory device 100. Therefore, this circuit is not used for input/output address, but for memory device 1.
Part of the memory address included in 00 (3 in Figure 1)
FFF address). Therefore, the latch circuit stores the memory cell (bank l) corresponding to the memory address.
) can be considered as itself, 7321 times m2oo
decodes the value written in the memory cell (bank 1) to form a selection signal.
このようなメモリ装置は、ROMとして構成して用いる
ことができる。そして、特定のアドレスである3FFF
番地をメモリバンクの切り替えに用いている。従って、
メモリ空間は、完全には連続ではなくなるが、ROMと
して固定のプログラムで使うには、特に問題はない。Such a memory device can be configured and used as a ROM. And 3FFF which is a specific address
Addresses are used to switch 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 expanding the capacity by rewriting a ROM program with the contents as shown in FIG. An OUT command for the input/output port is required for switching, indicating that an external circuit other than the ROM is required.
それに対し、第1図に示した、本発明の方式による構成
の仕方では、第3図(C)のようにメモリに対するWR
ITE命令が必要なだけで、これがROM自身に包含さ
れるアドレスに対するものであれば、ROM以外の外付
けのものの変更が必要ないことがわかる。On the other hand, in the configuration according to the method of the present invention shown in FIG. 1, as shown in FIG.
Only the ITE instruction is required, and 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の
差替えで、容易に高機能化をはかることができ、これも
大きな利点である。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.
本発明によるメモリ装置のアドレス指定方法は、上記の
ようなROMのほかに、RAM(ランダムアクセスメモ
リ)として構成して用いることも可能である。但し、特
定の番地はバンクの指定に使われているので、メモリの
空間が完全には連続とはならず、汎用的な使いかたをす
る、RAMとしては、使用上注意が必要である。In addition to the above-mentioned ROM, the addressing method for a memory device according to the present invention can also be configured and used as a RAM (random access memory). However, since specific addresses are used to specify banks, the memory space is not completely contiguous, and care must be taken when using RAM as it is used for general purposes.
(発明の効果〕
以上説明したように本発明によれば、計算機のハードウ
ェア設計に変更を要することな(メモリ容量を増やすこ
とが可能となる。(Effects of the Invention) As described above, according to the present invention, it is possible to increase the memory capacity without requiring changes to the hardware design of the computer.
第1図は本発明が適用されるメモリ装置の構成例を示す
ブロック図、
第2図は従来の方式でROMメモリ容量を拡張させる方
法を示したブロック図であり、(a)は拡張前、(b)
は拡張後を示す図、
第3図はROMに書かれているプログラムの構成を示し
、(a)はROM容量拡張前のもの、(b)は従来の方
式で拡張した場合のもの、(C)は本発明の方式で拡張
した場合のものを示す図である。
10、20.22・・・ROM
12・ ・ ・
14・ ・ ・
16・ ・ ・
18、 200
100 ・ ・
・データバス
・アドレスバス
・ラッチ回路
・デコード回路
・メモリ装置FIG. 1 is a block diagram showing a configuration example of a memory device to which the present invention is applied, and FIG. 2 is a block diagram showing a method of expanding ROM memory capacity using a conventional method. (b)
Figure 3 shows the configuration of the program written in the ROM, where (a) is before the ROM capacity is expanded, (b) is when expanded using the conventional method, (C ) is a diagram showing the case of expansion using the method of the present invention. 10, 20.22...ROM 12... 14... 16... 18, 200 100... Data bus, address bus, latch circuit, decoding circuit, memory device
Claims (1)
プした構成のメモリ装置において、前記メモリ装置が包
含するメモリアドレスのうちの特定のアドレスに対応す
るメモリセルに書き込まれた値を、他の個々のメモリア
ドレスでアクセスしたときに接続されるメモリセルの選
択の指定に用いることを特徴とするメモリ装置のアドレ
ス指定方法。(1) In a memory device having a configuration in which a plurality of memory cells are mapped to the same memory address, the value written in the memory cell corresponding to a specific address among the memory addresses included in the memory device is transferred to other individual memory devices. 1. A method for specifying addresses for a memory device, characterized in that the method is used to select a memory cell to be connected when the memory address is accessed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8477489A JPH02264344A (en) | 1989-04-05 | 1989-04-05 | Address designating method for memory device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8477489A JPH02264344A (en) | 1989-04-05 | 1989-04-05 | Address designating method for memory device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02264344A true JPH02264344A (en) | 1990-10-29 |
Family
ID=13840025
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8477489A Pending JPH02264344A (en) | 1989-04-05 | 1989-04-05 | Address designating method for memory device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02264344A (en) |
-
1989
- 1989-04-05 JP JP8477489A patent/JPH02264344A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4615006A (en) | Physical address developing unit | |
| US5751988A (en) | Microcomputer with memory bank configuration and register bank configuration | |
| US5127096A (en) | Information processor operative both in direct mapping and in bank mapping, and the method of switching the mapping schemes | |
| JPH02264344A (en) | Address designating method for memory device | |
| US7124261B2 (en) | Access to bit values within data words stored in a memory | |
| JPH03211641A (en) | Address designation method for memory device | |
| JPS62279598A (en) | Read only memory | |
| WO2000070466A1 (en) | Method of accessing i/o device and memory using virtual address and recorded medium having program for performing method of accessing i/o device and memory using virtual address | |
| JPS6148174B2 (en) | ||
| US5479632A (en) | Microcomputer having two-level memory to facilitate calculation of effective addresses | |
| JPH0259560B2 (en) | ||
| KR100377165B1 (en) | Ram access device for adjusting access time optionally | |
| JPH0241772B2 (en) | ||
| JPS6218946B2 (en) | ||
| JPS6027944A (en) | Memory address controller | |
| JPH04177439A (en) | Single chip microcomputer | |
| JPS59183449A (en) | Memory space extending system of microcomputer system | |
| JPH03110647A (en) | Memory capacity extending system for microcomputer system | |
| JPH08221322A (en) | Device and method for controlling memory | |
| JPH05127979A (en) | Memory address space extending device | |
| JPH02297672A (en) | Microcomputer | |
| JPH03282754A (en) | Memory multiplex access system | |
| JPH0449444A (en) | Address allocating system for memory space | |
| JPS6320631A (en) | Register selecting system | |
| JPH04195895A (en) | Ic memory |