JPH04268659A - Option board i/o address setting system - Google Patents

Option board i/o address setting system

Info

Publication number
JPH04268659A
JPH04268659A JP4871191A JP4871191A JPH04268659A JP H04268659 A JPH04268659 A JP H04268659A JP 4871191 A JP4871191 A JP 4871191A JP 4871191 A JP4871191 A JP 4871191A JP H04268659 A JPH04268659 A JP H04268659A
Authority
JP
Japan
Prior art keywords
address
circuit
option board
signal
option
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.)
Withdrawn
Application number
JP4871191A
Other languages
Japanese (ja)
Inventor
Atsuki Muramatsu
村松 篤樹
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4871191A priority Critical patent/JPH04268659A/en
Publication of JPH04268659A publication Critical patent/JPH04268659A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1113Address setting

Abstract

PURPOSE:To set an I/O address by software by providing an extended slot with an I/O address decoding circuit and latching the I/O address in a latching circuit on an option board at the time of combining plural option boards with a computer main body. CONSTITUTION:An I/O decoding circuit 1 receives an extended slot number from a register part 14 and decodes an I/O write command 3a and an I/O address 5b from the computer main body to output a decode signal 1a to an extended slot ES1. Then, data 4a to set the I/O address is latched in a data latch circuit 6 by the signal 1a. When an I/O controller 12 is accessed hereafter, the I/O address 5a and latched data 6a of the latch circuit 6 are compared with each other by a comparing circuit 8. When they coincide with each other, a compare address signal 8a is outputted, and the I/O controller 12 is accessed through an address decoding circuit 10.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はコンピュータに複数のオ
プションボードを接続できるコンピュータシステムに関
し、特に、オプションボードのI/Oアドレスの設定を
本体側からできるI/Oアドレス設定方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system in which a plurality of option boards can be connected to a computer, and more particularly to an I/O address setting method that allows setting of I/O addresses of option boards from the main body side.

【0002】0002

【従来の技術】この種のオプションボードのI/Oアド
レスの設定方式について、図2を参照して説明する。図
2において、I/Oアドレスを設定するためのディップ
スイッチ16と、コンピタュータ本体から供給されるI
/Oアドレス5eとディップスイッチ16による設定I
/Oアドレスとの比較を取るコンペア回路17と、I/
Oアドレス5eとディップスイッチ16による設定I/
Oアドレスとが等しい時に出力されるコンペアアドレス
信号17aをデコードするアドレスデコード回路18と
を備え、アドレスデコード回路18からはデコード結果
のチップセレクト信号18aがI/Oコントローラ19
に出力される。
2. Description of the Related Art An I/O address setting method for this type of option board will be explained with reference to FIG. In FIG. 2, a dip switch 16 for setting an I/O address and an I/O switch 16 for setting an I/O address are shown.
Setting I using /O address 5e and dip switch 16
A compare circuit 17 that compares with the /O address and an I/O address.
Setting I/by O address 5e and dip switch 16
The address decode circuit 18 decodes the compare address signal 17a that is output when the address is equal to the O address, and the chip select signal 18a as a decode result is sent from the address decode circuit 18 to the I/O controller 19.
is output to.

【0003】次に、動作について説明する。オプション
ボードB3のディップスイッチ16を、コンピュータ本
体がアクセスする時に使用するI/Oアドレスに設定し
た後拡張スロットES3に挿入する。コンピュータ本体
がオプションボードB3上のI/Oコントローラ19を
アクセスしに行く場合は、I/Oアドレス5eをオプシ
ョンボードB3に出力する。このI/Oアドレス5eは
コンペア回路17に入り、ディップスイッチ16にて設
定されている設定I/Oアドレスと比較が取られる。比
較が一致するとオプションボードB3がアクセスされた
と判断し、コンペア回路17はコンペアアドレス信号1
7aを出力する。アドレスデコード回路18はコンペア
アドレス信号17aをデコードしてチップセレクト信号
18aをI/Oコントローラ19に出力する。これによ
り、オプションボードはコンピュータ本体からアクセス
される。尚、ディップスイッチ16はストラップスイッ
チの場合もある。
Next, the operation will be explained. After setting the DIP switch 16 of the option board B3 to the I/O address used for access by the computer main body, insert it into the expansion slot ES3. When the computer main body goes to access the I/O controller 19 on the option board B3, it outputs the I/O address 5e to the option board B3. This I/O address 5e enters the compare circuit 17 and is compared with the set I/O address set by the dip switch 16. If the comparison matches, it is determined that the option board B3 has been accessed, and the compare circuit 17 outputs the compare address signal 1.
7a is output. Address decode circuit 18 decodes compare address signal 17a and outputs chip select signal 18a to I/O controller 19. This allows the option board to be accessed from the computer main body. Note that the dip switch 16 may be a strap switch.

【0004】0004

【発明が解決しようとする課題】上述した従来のI/O
アドレス設定方式は、複数のオプションボードを実装す
る場合、各オプションボードのI/Oアドレスを確認し
てI/Oアドレス空間がぶっからないように、ディップ
スイッチを設定する必要がある。しかしながら、オプシ
ョンボードの数が増えるにつれて設定を間違える可能性
が高い。そして実際に設定を間違えてシステムを立ち上
げてしまった場合、一旦システムをパワーOFFして拡
張スロットより、オプションボードを外し、ディップス
イッチの修正をしなければならず時間がかかるという欠
点がある。以上のような問題点に鑑み、本発明の課題は
オプションボードのI/Oアドレスをソフトウェアにて
設定できるようなI/Oアドレス設定方式を提供するこ
とにある。
[Problem to be solved by the invention] The above-mentioned conventional I/O
Regarding the address setting method, when multiple option boards are mounted, it is necessary to check the I/O address of each option board and set the dip switches so that the I/O address space does not overlap. However, as the number of option boards increases, the possibility of making mistakes in settings increases. If you actually start up the system by making a mistake in the settings, you have to turn off the power to the system, remove the option board from the expansion slot, and correct the dip switches, which takes time. In view of the above-mentioned problems, an object of the present invention is to provide an I/O address setting method that allows the I/O address of an option board to be set by software.

【0005】[0005]

【課題を解決するための手段】本発明によるI/Oアド
レス設定方式は、I/Oライトコマンドと複数の拡張ス
ロットにあらかじめ割り付けられたI/Oアドレスとを
デコードしてデコード信号を作成するデコード部と、前
記複数の拡張スロットに接続される複数のオプションボ
ード上に前記デコード上に前記デコード信号によりデー
タをラッチするラッチ回路と、該ラッチ回路からのラッ
チ信号と前記コンピュータからのI/Oアドレスを比較
してその結果をI/Oアドレスデコード回路に出力する
コンペア回路を有する。
[Means for Solving the Problems] The I/O address setting method according to the present invention is a decoding method that creates a decoded signal by decoding an I/O write command and I/O addresses assigned in advance to a plurality of expansion slots. a latch circuit for latching data using the decode signal on the decode on a plurality of option boards connected to the plurality of expansion slots; a latch signal from the latch circuit and an I/O address from the computer; It has a compare circuit that compares the data and outputs the result to the I/O address decoding circuit.

【0006】[0006]

【作用】本発明によるI/Oアドレス設定方式は、拡張
スロット毎に与えられるI/Oライトコマンドと、各拡
張スロットにあらかじめ割り付けられたI/Oアドレス
とにより作成されるデコード信号により各オプションボ
ード上のラッチ回路にデータを書き込む事によりI/O
アドレスの設定を行ない、コンペア回路は、コンピュー
タシステムがオプションボードをアクセスする時のアド
レスとラッチ回路に書き込まれたデータとを比較する。
[Operation] The I/O address setting method according to the present invention allows each option board to use a decode signal created by an I/O write command given to each expansion slot and an I/O address assigned in advance to each expansion slot. I/O by writing data to the upper latch circuit
After setting the address, the compare circuit compares the address when the computer system accesses the option board with the data written in the latch circuit.

【0007】[0007]

【実施例】次に、本発明について図1を参照して説明す
る。図1おいて、I/Oデコード部D1はI/Oデコー
ド回路1と拡張スロットナンバー登録部14とから成る
。I/Oデコード回路1は、拡張スロットナンバー登録
部14からの拡張スロットナンバーを受けて、拡張スロ
ットES1に対してコンピュータ本体から与えられるI
/Oライトコマンド3aと拡張スロットES1に割り付
けられたI/Oアドレス5bとをデコードしてデコード
信号1aを出力する。デコード信号1aが出力された時
、データバス4aにはオプションボードB1のI/Oア
ドレスを設定するデータがあり、このデータはデコード
信号1aによりデータラッチ回路6にラッチされてラッ
チデータ6aになり、オプションボードB1のI/Oア
ドレスが設定される。同様に、拡張スロットES2のオ
プションボードB2に対しても上述の動作が行なわれる
。この時設定されるデータは、オプションボードB1の
データと違う値であり、I/Oアドレスがぶつからない
ようにされる。
EXAMPLE Next, the present invention will be explained with reference to FIG. In FIG. 1, the I/O decode section D1 consists of an I/O decode circuit 1 and an expansion slot number registration section 14. The I/O decoding circuit 1 receives the expansion slot number from the expansion slot number registration unit 14, and receives the I/O decoding circuit 1 from the computer body for the expansion slot ES1.
It decodes the /O write command 3a and the I/O address 5b allocated to the expansion slot ES1 and outputs a decoded signal 1a. When the decode signal 1a is output, there is data on the data bus 4a that sets the I/O address of the option board B1, and this data is latched by the data latch circuit 6 by the decode signal 1a and becomes latched data 6a. The I/O address of option board B1 is set. Similarly, the above operation is performed for the option board B2 of the expansion slot ES2. The data set at this time is a different value from the data of the option board B1, and I/O addresses are prevented from colliding.

【0008】次に、コンピュータ本体がオプションボー
ドB1上のI/Oコントローラ12をアクセスしに行く
場合は、I/Oアドレス5aがコンピュータ本体よりオ
プションボードB1に出力される。このI/Oアドレス
5aはコンペア回路8に入り、上述した動作により設定
したラッチデータ6aとの比較が取られる。コンペア回
路8は比較が一致すればオプションボードB1がアクセ
スされたと判断し、コンベアアドレス信号8aを出力す
る。アドレスデコード回路10はコンペアアドレス信号
8aをデコードしてチップセレクト信号10aをI/O
コントローラ12に出力する。これにより、オプション
ボードB1はコンピュータ本体からアクセスされる。オ
プションボードB2のI/Oコントローラ13も上述し
た動作と同様でコンピュータ本体からのアクセスが行な
われる。上記実施例は、拡張スロットが2スロットで、
オプションボードが2枚の場合であるが、拡張スロット
m個、オプションボードn個(但し、mはn以上の整数
)の場合でも上述した場合と同じである。
Next, when the computer main body goes to access the I/O controller 12 on the option board B1, the I/O address 5a is output from the computer main body to the option board B1. This I/O address 5a enters the compare circuit 8 and is compared with the latch data 6a set by the above-described operation. If the comparison results in a match, the compare circuit 8 determines that the option board B1 has been accessed, and outputs a conveyor address signal 8a. The address decode circuit 10 decodes the compare address signal 8a and converts the chip select signal 10a into an I/O
Output to the controller 12. As a result, option board B1 is accessed from the computer main body. The I/O controller 13 of the option board B2 also operates in the same way as described above and is accessed from the computer main body. In the above embodiment, there are two expansion slots,
Although this is the case where there are two option boards, the above case is the same even when there are m expansion slots and n option boards (where m is an integer greater than or equal to n).

【0009】[0009]

【発明の効果】以上説明したように本発明は、I/Oラ
イトコマンドと各拡張スロットにあらかじめ割り付けら
れたI/Oアドレスより作成されるデコード信号により
、オプションボード上のラッチ回路にラッチされるデー
タをI/Oアドレスとして設定し、コンピュータ本体か
らのI/Oアドレスとの比較を取る事により、オプショ
ンボードのI/Oアドレスをソフトウェアにて設定でき
るようになる。その結果、従来のようにディップスイッ
チ(ストラップスイッチ)でI/Oアドレスを設定する
時の確認作業と、間違えて設定した時にパワーOFFし
て、オプションボードを抜いて、修正するというような
タイムロスを削除できる効果がある。
As explained above, according to the present invention, data is latched into a latch circuit on an option board by a decode signal created from an I/O write command and an I/O address assigned in advance to each expansion slot. By setting data as an I/O address and comparing it with the I/O address from the computer main body, the I/O address of the option board can be set using software. As a result, you no longer have to check the I/O addresses when setting them using dip switches (strap switches) as in the past, and you no longer have to waste time by turning off the power, removing the option board, and making corrections if you make a mistake. There is an effect that can be deleted.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】従来例のブロック図である。FIG. 2 is a block diagram of a conventional example.

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

1a,2a    デコード信号 3            コマンド信号3a,3b 
   I/Oライトコマンド4           
 データ 4a,4b    データバス 5            アドレス 5a〜5e    I/Oアドレス 6a,7a    ラッチデータ
1a, 2a Decode signal 3 Command signal 3a, 3b
I/O write command 4
Data 4a, 4b Data bus 5 Addresses 5a to 5e I/O addresses 6a, 7a Latch data

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  コンピュータとこのコンピュータに接
続される複数の機能拡張用のオプションボードで構成さ
れるコンピュータシステムに於て、I/Oライトコマン
ドと複数の拡張スロットにあらかじめ割り付けられたI
/Oアドレスとをデコードしてデコード信号を作成する
デコード部と、前記複数の拡張スロットに接続される複
数のオプションボード上に前記デコード信号によりデー
タをラッチするラッチ回路と、該ラッチ回路からのラッ
チ信号と前記コンピュータからのI/Oアドレスを比較
してその結果をI/Oアドレスデコード回路に出力する
コンペア回路とを有するオプションボードI/Oアドレ
ス設定方式。
Claim 1: In a computer system consisting of a computer and a plurality of function expansion option boards connected to this computer, an I/O write command and an I/O write command pre-allocated to a plurality of expansion slots are used.
/O address to create a decoded signal; a latch circuit that latches data using the decoded signal on the plurality of option boards connected to the plurality of expansion slots; and a latch from the latch circuit. An option board I/O address setting method having a compare circuit that compares a signal with an I/O address from the computer and outputs the result to an I/O address decoding circuit.
【請求項2】  請求項1記載のオプションボードI/
Oアドレス設定方式において、前記デコード部は、拡張
スロットナンバー登録部を含むことを特徴とするオプシ
ョンボードI/Oアドレス設定方式。
[Claim 2] Option board I/ according to claim 1
Option board I/O address setting method, wherein the decoding section includes an expansion slot number registration section.
JP4871191A 1991-02-22 1991-02-22 Option board i/o address setting system Withdrawn JPH04268659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4871191A JPH04268659A (en) 1991-02-22 1991-02-22 Option board i/o address setting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4871191A JPH04268659A (en) 1991-02-22 1991-02-22 Option board i/o address setting system

Publications (1)

Publication Number Publication Date
JPH04268659A true JPH04268659A (en) 1992-09-24

Family

ID=12810896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4871191A Withdrawn JPH04268659A (en) 1991-02-22 1991-02-22 Option board i/o address setting system

Country Status (1)

Country Link
JP (1) JPH04268659A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06175962A (en) * 1992-12-07 1994-06-24 Yokogawa Electric Corp Building block type electronic apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06175962A (en) * 1992-12-07 1994-06-24 Yokogawa Electric Corp Building block type electronic apparatus

Similar Documents

Publication Publication Date Title
JPH04268659A (en) Option board i/o address setting system
JPS60176163A (en) Address selection system of input/output board
KR900008238Y1 (en) Memory capacity expansion circuit
JPH0562786B2 (en)
JPS63197251A (en) Information processor
KR930004901B1 (en) Memory control unit of computer system by using dynamic ram
JPH0528086A (en) I/o port address multiplexing system
JPH01319848A (en) Information processor
JPH05173875A (en) Automatic setting system for extended rom area
JPH0765586A (en) Access system for eeprom
JPS6045505B2 (en) associative memory device
JP3019627B2 (en) Data retrieval device
JPH06251168A (en) Address generation circuit for microcomputer incorporating eprom
JPH04225461A (en) Recognizing system for system constitution
JPH05165711A (en) Automatic setting system for address of extension memory bank
JP2002342105A (en) System for writing to flash memory
JPS60233751A (en) Address decoding circuit
JPS62229452A (en) Peripheral module access system
JPH05151076A (en) Memory address extension control system
JPS556679A (en) Check system of error control circuit
JPH04101256A (en) I/o port address system
JPS59198600A (en) Data processing system
JPS6040115B2 (en) Bubble memory bank switch method
JPS62124689A (en) Programmable chip select signal generating circuit
JPH05165710A (en) Automatic setting system for extension memory bank

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514