JPH04105146A - Automatic setting system for extension memory bank - Google Patents
Automatic setting system for extension memory bankInfo
- Publication number
- JPH04105146A JPH04105146A JP22301490A JP22301490A JPH04105146A JP H04105146 A JPH04105146 A JP H04105146A JP 22301490 A JP22301490 A JP 22301490A JP 22301490 A JP22301490 A JP 22301490A JP H04105146 A JPH04105146 A JP H04105146A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- board
- bank address
- signal
- boards
- 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 claims description 6
- 230000006870 function Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 230000010365 information processing Effects 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、情報処理装置のメモリ管理に関し、特に、複
数枚の増設メモリボードを接続するコンピュータ・シス
テムにおいて、そのメモリボードのバンクアドレスを設
定する方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to memory management of information processing devices, and in particular, to setting the bank address of a memory board in a computer system to which a plurality of additional memory boards are connected. Regarding the method of
パーソナル・コンピュータなどの情報処理装置では、コ
ンピュータ・システムの汎用性を高めるため、複数の入
出力拡張ボードおよび増設メモリボードを接続できるよ
うに設計されている。Information processing devices such as personal computers are designed to allow connection of multiple input/output expansion boards and additional memory boards in order to increase the versatility of the computer system.
これら接続される機能拡張用ボードのうち増設メモリボ
ードを接続する場合、増設メモリボードの、システムに
対するバンクアドレス(コンピュータ・システムのメモ
リ・マツプ上の定められたある一定の領域)を設定する
必要がある。When connecting an additional memory board among these function expansion boards, it is necessary to set the bank address (a fixed area on the computer system's memory map) of the additional memory board for the system. be.
従来、この種の設定は、増設するメモリボード上に、任
意に設定可能なスイッチを持たせ、このスイッチを人為
的に設定することにより各ボードが使用するアドレスを
決定する方式をとっている。Conventionally, this type of setting has been carried out by providing an arbitrarily settable switch on the memory board to be added, and by manually setting this switch, the address to be used by each board is determined.
上述したように従来のバンクアドレス設定方式では、増
設を行う際メモリボード上のスイッチを人の手で設定す
る必要があり、システムのユーザが設定を行うためのマ
ニュアル等の説明書が必要になるとともに、設定時の人
為的ミスにより誤った設定を行う可能性もあり、このこ
とによる誤動作、メモリやボードの破壊等を招くおそれ
があるという欠点がある。As mentioned above, with the conventional bank address setting method, it is necessary to manually set the switches on the memory board when expanding the memory board, and a manual or other instruction manual is required for the system user to make the settings. In addition, there is a possibility that incorrect settings may be made due to human error during setting, which may lead to malfunctions, damage to the memory or board, etc., which is a drawback.
本発明の増設メモリバンク自動設定方式は、コンピュー
タ・システムに使用する増設メモリボードにおいて、シ
ステムの初期化時に初期化され、ソフトウェアにより設
定可能な二つのレジスタを有し、二つのレジスタのうち
一方は、そのボードのメモリバンクアドレスを設定し、
その設定されたバンクアドレスとCPUの供給するアド
レスとを比較するコンパレータとにより、メモリアクセ
ス時にボード上のメモリが選択されたことを示す信号を
生成し、他の一方のレジスタは、他のメモリボードに対
するバンクアドレス設定許可信号を生成し、この設定許
可信号を用いて複数の増設メモリボードをカスケードに
接続する機能を備えている。The automatic expansion memory bank setting method of the present invention has two registers that are initialized at system initialization and can be set by software in an expansion memory board used in a computer system, and one of the two registers is , set the memory bank address for that board,
A comparator that compares the set bank address with the address supplied by the CPU generates a signal indicating that the memory on the board is selected when memory is accessed, and the other register It has a function of generating a bank address setting permission signal for a bank address and using this setting permission signal to connect a plurality of expansion memory boards in a cascade.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第図1は本発明の一実施例の増設メモリバンク自動設定
方式を説明するためのブロック図、第2図は本実施例の
メモリ・マツプの例を示す図、第3図は本実施例のメモ
リポートのカスケード接続例を示す図である。FIG. 1 is a block diagram for explaining an automatic expansion memory bank setting method according to an embodiment of the present invention, FIG. 2 is a diagram showing an example of a memory map according to this embodiment, and FIG. FIG. 3 is a diagram showing an example of cascade connection of memory ports.
第1図において、本実施例は、デコーダ1、ORゲート
2,3、ANDゲート4、NO,ルジスタ5、No、2
レジスタ6、コンパレータ7により構成されている。In FIG. 1, the present embodiment includes a decoder 1, OR gates 2, 3, AND gate 4, NO, Lujistor 5, No.
It is composed of a register 6 and a comparator 7.
デコーダ1は、No、ルジスタ5とNo、2レジスタ6
へのデータの書き込み許可信号■と■を、CPtJが供
給するアドレス■と、CPUが動作していることを示す
信号CPUENBO■とから生成する。また、No、2
レジスタ6の出力信号■(信号■)によりデコーダ1の
動作許可の制御を行っており、初期化時(信号■がパ0
”の時)にイネーブル、No、2レジスタ6に“1nが
書き込まれた時(信号■が01″の時)、ディスエーブ
ルとなる。Decoder 1 has No. 2 register 5 and No. 2 register 6.
Data write permission signals ■ and ■ are generated from the address ■ supplied by CPtJ and the signal CPUENBO ■ indicating that the CPU is operating. Also, No. 2
The operation permission of decoder 1 is controlled by the output signal ■ (signal ■) of register 6, and at the time of initialization (signal ■ is
”), and when “1n” is written to the No. 2 register 6 (when the signal ■ is 01”), it is disabled.
ORゲート2,3は、CPUから他の入出力装置(Il
o)に与えられる書き込み命令信号l0WO[相]を、
前述の書き込み許可信号■と■とでマスクし、デコーダ
により選択された時(書き込み許可信号■、■が“0”
となった時)のみ、No、ルジスタ5、No、2レジス
タ6にタロツク入力として供給する。OR gates 2 and 3 connect the CPU to other input/output devices (Il
o) Write command signal l0WO [phase] given to
Masked with the write permission signals ■ and ■ mentioned above, and when selected by the decoder (write permission signals ■ and ■ are “0”)
2) is supplied to the No. register 5 and the No. 2 register 6 as a tarok input.
ANDゲート4は、信号I■とリセット命令信号RES
ETO@よりNo、ルジスタ5、NO32レジスタ6の
リセット信号■を生成する。AND gate 4 outputs signal I■ and reset command signal RES.
Generate a reset signal (■) for the No, Lujistar 5, and NO32 registers 6 from ETO@.
No、ルジスタ5は、バンクアドレスを設定し、No、
2レジスタ6は、デコーダの動作イネーブルと次メモリ
ボードへの設定許可信号である信号■を生成する。No, Lujistar 5 sets the bank address, No,
2 register 6 generates a signal ■ which is a decoder operation enable signal and a setting permission signal for the next memory board.
コンパレータ7は、No、ルジスタ5に書き込まれた値
■と、CPUが供給するアドレス■のうちバンクアドレ
スを示す上位ビットとの比較を行い、ボード上のメモリ
が選択されたことを示すメモリセレクト信号■を生成す
る。The comparator 7 compares the value ■ written in the register 5 with the upper bits indicating the bank address of the address ■ supplied by the CPU, and sends a memory select signal indicating that the memory on the board has been selected. ■Generate.
入力信号工は、第3図のメモリボードのカスケード接続
例のように、他のボード(メモリ設定の順番からいうと
、前のボード)の出力信号Hがつながる。The input signal wire is connected to the output signal H of another board (the previous board in terms of memory setting order), as in the example of cascade connection of memory boards in FIG.
メモリボード以外のボードでは、これらの信号はスルー
でつながれる。On boards other than memory boards, these signals are connected through.
第3図では、No、1メモリボードの出力信号■が、メ
モリボード以外のボードでスルーにつながれ、NO12
メモリボードの入力信号■となっている。In Figure 3, the output signal ■ of the No. 1 memory board is connected through a board other than the memory board, and the No. 12
It is the input signal for the memory board.
次に、その動作について第2図、第3図を参照して説明
する。Next, its operation will be explained with reference to FIGS. 2 and 3.
第2図のようなメモリ・マツプのシステムにおいて、増
設メモリ分の100OOOH〜の領域を、メモリボード
1枚=IMBとしてバンクアドレスの設定を行うとする
(Hは16進数を表す)。In the memory map system shown in FIG. 2, assume that the bank address is set for an area of 100OOOH~ for the additional memory, with one memory board = IMB (H represents a hexadecimal number).
これらのメモリ領域は、第2図の下にあるようにアドレ
ス23〜20までを、1枚目は0001.2枚目は00
10とすることにより表される。These memory areas have addresses 23 to 20 as shown at the bottom of Figure 2, the first one is 0001, the second one is 00.
It is expressed by setting it to 10.
そこで、この回路の第一の動作として、ボード上のレジ
スタに対し、このデータをそれぞれアドレスに対応する
ように書き込む。1枚目のボードの場合、入力信号1は
本体システムから“1“固定の値で与えられ、ボード上
のレジスタへの設定はいつでも可能な状態となっている
。Therefore, the first operation of this circuit is to write this data into registers on the board so that they correspond to the respective addresses. In the case of the first board, input signal 1 is given as a fixed value of "1" from the main system, and can be set in the register on the board at any time.
レジスタに書き込まれた値は、メモリアクセスされた時
の上位アドレスとコンパレータ7によって比較され、ア
クセスされたアドレス範囲と一致した場合、メモリセレ
クト信号がアクティブとなり、ボード上のメモリアクセ
スが可能となる。The value written in the register is compared with the upper address at the time of memory access by the comparator 7, and if the value matches the accessed address range, the memory select signal becomes active and memory access on the board becomes possible.
第二の動作として、No、2レジスタ6に対してデータ
“1″をセットし、他のメモリボードに対する設定許可
信号(信号■)をアクティブにするとともに、デコーダ
への動作イネーブル信号をディセーブルとする。The second operation is to set data "1" to the No. 2 register 6, activate the setting permission signal (signal ■) for other memory boards, and disable the operation enable signal to the decoder. do.
これにより、同じ回路を持つメモリボードを複数枚同時
に実装する場合、同じI10ポートアドレス(デコーダ
回路が同じ)で設定を行うと、お互いの設定が重複して
しまうという障害を防ぐことになる。This prevents a problem in which when multiple memory boards with the same circuit are mounted at the same time and settings are made using the same I10 port address (same decoder circuit), their settings overlap.
このことにより、次メモリボードへのデータ設定を行っ
ても、自ボード上のレジスタの内容は変化しない。As a result, even if data is set to the next memory board, the contents of the registers on the own board do not change.
次に、この入力信号■と出力信号■を、第3図のメモリ
ボードのカスケード接続の例のように、カスケード(直
列つなぎ)し、増設されるメモリ領域のアドレスの低い
順に順次メモリボード上のレジスタへの書き込みを行う
ことにより、バンクアドレスを重複することなく設定す
ることになる。Next, these input signals ■ and output signals ■ are cascaded (connected in series) as shown in the example of cascade connection of memory boards in Fig. By writing to the register, bank addresses can be set without duplication.
以上説明したように本発明によれば、プログラムにより
設定が可能なレジスタを持つメモリバンクアドレス設定
回路と、I10デコード回路とを合わせ持ち、複数枚の
同一メモリボードをカスケードに接続することにより、
人の手作業なしに、複数枚のメモリボードのバンクアド
レスをソフトウェアにより自動的に設定することが可能
となり、設定のための人手が不必要になり、人為的ミス
を削減することができるという効果がある。As explained above, according to the present invention, by having both a memory bank address setting circuit having a register that can be set by a program and an I10 decoding circuit, and connecting a plurality of identical memory boards in a cascade,
It is now possible to automatically set the bank addresses of multiple memory boards using software without manual intervention, which eliminates the need for manual intervention and reduces human error. There is.
第図1は本発明の一実施例の増設メモリバンク自動設定
方式を説明するためのブロック図、第2図は本実施例の
メモリ・マツプの例を示す図、第3図は本実施例のメモ
リボードのカスケード接続例を示す図である。
1・・・デコーダ、2,3・・・ORゲート、4・・・
ANDゲート、5−No、ルジスタ、6−No、2レジ
スタ、7・・・コンパレータ。FIG. 1 is a block diagram for explaining an automatic expansion memory bank setting method according to an embodiment of the present invention, FIG. 2 is a diagram showing an example of a memory map according to this embodiment, and FIG. FIG. 3 is a diagram showing an example of cascade connection of memory boards. 1... Decoder, 2, 3... OR gate, 4...
AND gate, 5-No, Lujistor, 6-No, 2 register, 7... comparator.
Claims (1)
おいて、 システムの初期化時に初期化され、ソフトウェアにより
設定可能な二つのレジスタを有し、前記二つのレジスタ
のうち一方は、そのボードのメモリバンクアドレスを設
定し、その設定されたバンクアドレスとCPUの供給す
るアドレスとを比較するコンパレータとにより、メモリ
アクセス時にボード上のメモリが選択されたことを示す
信号を生成し、 他の一方のレジスタは、他のメモリボードに対するバン
クアドレス設定許可信号を生成し、この設定許可信号を
用いて複数の増設メモリボードをカスケードに接続する
機能を備えたことを特徴とする増設メモリバンク自動設
定方式。[Claims] An expansion memory board used in a computer system has two registers that are initialized when the system is initialized and can be set by software, and one of the two registers is the register of the board. A comparator that sets a memory bank address and compares the set bank address with the address supplied by the CPU generates a signal indicating that the memory on the board is selected during memory access, and selects the other one. An automatic expansion memory bank setting method characterized in that the register has a function of generating a bank address setting permission signal for other memory boards and using this setting permission signal to connect a plurality of expansion memory boards in a cascade.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22301490A JPH04105146A (en) | 1990-08-24 | 1990-08-24 | Automatic setting system for extension memory bank |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22301490A JPH04105146A (en) | 1990-08-24 | 1990-08-24 | Automatic setting system for extension memory bank |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04105146A true JPH04105146A (en) | 1992-04-07 |
Family
ID=16791485
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22301490A Pending JPH04105146A (en) | 1990-08-24 | 1990-08-24 | Automatic setting system for extension memory bank |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04105146A (en) |
-
1990
- 1990-08-24 JP JP22301490A patent/JPH04105146A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4237534A (en) | Bus arbiter | |
| JPH04358252A (en) | Workstation and consituting method thereof | |
| JP2000194551A (en) | Flash memory rewriting circuit | |
| JPH04105146A (en) | Automatic setting system for extension memory bank | |
| JPH1185724A (en) | Cpu mode switch circuit | |
| JPH02310786A (en) | Microcomputer | |
| US4388707A (en) | Memory selecting system | |
| US5748922A (en) | Method and apparatus for reading data from a write only port | |
| JP3182906B2 (en) | Microcomputer | |
| JPH02128266A (en) | Register with protective function | |
| JPS59116866A (en) | Storage device of computer system | |
| JP2680013B2 (en) | Programmable controller external input/output control circuit | |
| JPS63195748A (en) | Memory mapped control device for computer systems | |
| JPH11120024A (en) | Software Development Chip | |
| JPH04168545A (en) | Interface circuit | |
| JPS59208662A (en) | Circuit expanding number of addresses of read-only memory | |
| JPS6182253A (en) | Memory bank switching system | |
| JPS59180872A (en) | Memory bank system | |
| JPH01246647A (en) | Memory cycle selecting system | |
| JPH11282590A (en) | Multiple system bus control microcomputer | |
| JPH04199449A (en) | Device controller | |
| JPH0432949A (en) | I/o port address extension system | |
| JPH01204118A (en) | Information processor | |
| JPS644220B2 (en) | ||
| JPH04101256A (en) | I/o port address system |