JPS61226866A - Automatic discriminating system for substrate - Google Patents

Automatic discriminating system for substrate

Info

Publication number
JPS61226866A
JPS61226866A JP6730185A JP6730185A JPS61226866A JP S61226866 A JPS61226866 A JP S61226866A JP 6730185 A JP6730185 A JP 6730185A JP 6730185 A JP6730185 A JP 6730185A JP S61226866 A JPS61226866 A JP S61226866A
Authority
JP
Japan
Prior art keywords
identifier
board
information
function
processing unit
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.)
Granted
Application number
JP6730185A
Other languages
Japanese (ja)
Other versions
JPH0150938B2 (en
Inventor
Shosaku Furubayashi
古林 庄作
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.)
Usac Electronic Ind Co Ltd
Original Assignee
Usac Electronic Ind Co Ltd
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 Usac Electronic Ind Co Ltd filed Critical Usac Electronic Ind Co Ltd
Priority to JP6730185A priority Critical patent/JPS61226866A/en
Publication of JPS61226866A publication Critical patent/JPS61226866A/en
Publication of JPH0150938B2 publication Critical patent/JPH0150938B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To easily cope with a case even when a substrate in to which a discriminating function is not completely considered is mixed by providing an identifier output function and a means for renewing an identifier information at every time a read command for reading the identifier is issued. CONSTITUTION:A CPU 1 is connected to substrates 2-0, 2-1 through receiving side connectors 3-0, 3-1 and substrate connectors 4-0, 4-1. In this substrate, there is provided an identifier section having an identifier (ID) output function of a predetermined bit width constituted of a FF or the like, an initial value setting function of ID and a function for renewing an output value of the ID every time a program reads the ID. The identifier section designates an addrss assigned to the identifier by the CPU 1 to issue an ID reading command, and then a pulse is impressed to a clock terminal of the FF5 and a control terminal of 3 state gates 6-0 to 6-3, the ID information corresponding to the condition of the FF5 is outputted to bit lines DB0-DB3 of a data bus. Thereafter, a state of the FF5 is reversed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、基板の識別子部が当該識別子部を指定するリ
ード命令が発行される度に更新された識別子情報をデー
タ・バス上に出力するようになった基板の自動識別方式
に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention outputs updated identifier information onto a data bus each time an identifier section of a board issues a read command specifying the identifier section. The present invention relates to an automatic board identification method that has become popular.

〔概要〕〔overview〕

基板の識別子部に、識別子出力機能と、識別子を読み取
るためのリード命令が発行される度に識別子情報を更新
する機能を付加し、プログラムで識別子を読み取るため
のリード命令を複数回発行し得られた識別子情報列で基
板の種類を識別するようにした基板の自動識別方式であ
る。
Adding an identifier output function and a function to update the identifier information each time a read command to read the identifier is issued to the identifier section of the board allows the program to issue the read command multiple times to read the identifier. This is an automatic board identification method that identifies the type of board using an identifier information string.

〔従来技術と問題点〕[Prior art and problems]

従来は基板の固定のID(識別子)情報をプログラムが
読み取り、識別していたが、以下に示す欠点がある。
Conventionally, a program has read and identified fixed ID (identifier) information on a board, but it has the following drawbacks.

(1)  基板の識別可能な最大値はID情報のビット
幅で決まり、その値を越える識別が必要になっても対応
することはできない。よって、ビット幅にある程度余裕
を持たせることが必要であり、高価なものとなる。
(1) The maximum value that can be used to identify a board is determined by the bit width of the ID information, and even if identification exceeding that value is required, it cannot be handled. Therefore, it is necessary to have some margin in the bit width, which makes it expensive.

(2)上記ID情報を出力する機能の存在しない基板が
混在する場合にはそれらを識別することはできない。
(2) If there are boards that do not have the function of outputting the ID information, it is not possible to identify them.

〔発明の目的〕[Purpose of the invention]

本発明は上記の考察に基づくものであって、基板識別に
おいて識別数が増加したり、全く識別機能が考慮されて
いない基板が混在する場合であっても容易に対応でき、
且つ安価な基板の自動識別方式を提供することを目的と
している。
The present invention is based on the above consideration, and can easily handle cases where the number of boards identified increases or boards for which no identification function is taken into consideration are mixed.
Another object of the present invention is to provide an inexpensive automatic board identification method.

〔目的を達成するための手段〕[Means to achieve the purpose]

そしてそのため、本発明の基板の自動識別方式は、中央
処理装置と、該中央処理装置に接続されたバスにコネク
タを介して着脱自在に接続されると共に識別子部を持つ
基板とを有する計算機システムにおける基板の自動識別
方式であって、上記識別子部は、上記中央処理装置が当
該基板を指定する初期化命令を発行した時や電源投入時
やシステム・リセット時に識別子情報を初期値に設定し
てこれを記憶し、上記中央処理装置が当該基板を指定し
た識別子リード命令を発行した時、記憶している識別子
情報をデータ・バス上に出力し、しかる後に識別子情報
を更新して記憶することを特徴とするものである。
Therefore, the automatic board identification method of the present invention is applicable to a computer system having a central processing unit and a board removably connected to a bus connected to the central processing unit via a connector and having an identifier section. This is an automatic board identification method, and the identifier section sets the identifier information to an initial value when the central processing unit issues an initialization command specifying the board, when the power is turned on, or when the system is reset. and when the central processing unit issues an identifier read command specifying the board, outputs the stored identifier information onto the data bus, and then updates and stores the identifier information. That is.

〔発明の実施例〕[Embodiments of the invention]

第1図は本発明が適用される計算機システムの1例を示
す図である。第1図において、1は中央処理装置、2−
Qと2−1は基板、3−0と3−1は受は側のコネクタ
、4−0と4−1は基板のコネクタをそれぞれ示してい
る。受は側のコネクタ3−0と3−1はバスに接続され
ており、これらには基板のコネクタが差し込まれる。受
は側コネクタ3−0をスロット0のコネクタ、受は側コ
ネクタ3−1をスロット1のコネクタという、基板2−
0と2−1の中には後述する識別子部が設けられている
。基板の下にはプリンタやモデム等のデバイスが接続さ
れる。なお、第1図には基板は2個しか存在しないが、
実際にはもっと多数の基板が設置されている。
FIG. 1 is a diagram showing an example of a computer system to which the present invention is applied. In FIG. 1, 1 is a central processing unit, 2-
Q and 2-1 indicate the board, 3-0 and 3-1 the receiver side connectors, and 4-0 and 4-1 the board connectors, respectively. Connectors 3-0 and 3-1 on the receiver side are connected to the bus, and the connectors of the board are inserted into these. The receiver is called the side connector 3-0 as the slot 0 connector, the receiver is the side connector 3-1 as the slot 1 connector, and the board 2-
An identifier portion to be described later is provided in 0 and 2-1. Devices such as printers and modems are connected below the board. Although there are only two boards in Figure 1,
In reality, many more boards are installed.

本発明においては、基板内に、F/F (フリップ・フ
ロップ)等で構成された所定ビット幅の■D出力機能、
IDの初期値設定機能及びプログラムがIDを読み取る
毎にIDの出力値を更新する機能を持つ識別子部を設け
る。識別子部の実施例が第2図及び第4図に示されてお
り、簡単な設計では特定のビットを順次反転させ、他の
ビットを同一の値に保持するものや、複数のビットをカ
ウンタとして更新させるもの等があり、識別個数の増加
に伴なってより安価な実現方法から採用して行けばよい
。第2図は識別子部の1実施例構成を示すものである。
In the present invention, a D output function of a predetermined bit width consisting of F/F (flip-flop) etc. is provided in the board;
An identifier section is provided that has an ID initial value setting function and a function of updating the ID output value every time the program reads the ID. Examples of the identifier part are shown in Figs. 2 and 4. A simple design is one in which specific bits are sequentially inverted and other bits are held at the same value, or multiple bits are used as a counter. There are methods to be updated, etc., and as the number of identification items increases, it is only necessary to adopt a cheaper implementation method. FIG. 2 shows one embodiment of the configuration of the identifier section.

第2図において、5はフリップ・フロップ、6−0ない
し6−3は3ステート・ゲートをそれぞれ示している。
In FIG. 2, 5 represents a flip-flop, and 6-0 to 6-3 represent three-state gates.

識別子部に対して。For the identifier part.

は固有のアドレスが割当てられている。なお、同一のス
ロットに差し込まれる基板の識別子部は同一のアドレス
を有している。中央処理装置は成る基板の識別子部の状
態を初期値に設定したい場合、その識別子部に割当てら
れたアドレスを指定してIDイニシャライズ命令(ライ
ト命令)を発行する。そうすると、フリップ・フロップ
5のクリア端子にクリア信号が印加される。また、電源
投入時やシステム・リセット時に無条件にクリア信号を
印加するようにすることも出来る。中央処理装置がその
識別子部に割当てられたアドレスを指定してID読出し
命令(リード命令)を発行すると、フリップ・フロップ
5のクロック端子及び3ステート・ゲート6−0ないし
6−3の制御端子にパルスが印加され、フリップ・フロ
ップ5の状態に対応する識別子情報がデータ・バスのビ
ット線DBOないしDB3に出力され、しかる後にフリ
ップ・フロップ5の状態は反転される。第3図は第2図
の識別子部におけるID読出し命令の発行回数とID情
報の関係を示すものであって、第1回目のID読出し命
令が発行されるとro 100JのID情報がデータ・
バス上に出力され、第2回目の゛ID続出し命令が発行
されるとrl O10JのID情報がデータ・バス上に
出力され、第3回目のID続出し命令が発行されるとr
o 100JのID情報がデータ・バス上に出力される
。以下、図示の通りである。
is assigned a unique address. Note that the identifier portions of boards inserted into the same slot have the same address. When the central processing unit wants to set the state of the identifier part of the board to an initial value, it issues an ID initialize command (write command) by specifying the address assigned to the identifier part. Then, a clear signal is applied to the clear terminal of flip-flop 5. It is also possible to apply a clear signal unconditionally at power-on or system reset. When the central processing unit specifies the address assigned to the identifier section and issues an ID read command (read command), the clock terminal of the flip-flop 5 and the control terminal of the three-state gates 6-0 to 6-3 are A pulse is applied and the identifier information corresponding to the state of flip-flop 5 is output on bit lines DBO to DB3 of the data bus, after which the state of flip-flop 5 is inverted. FIG. 3 shows the relationship between the number of ID read commands issued and the ID information in the identifier section of FIG. 2. When the first ID read command is issued, the ID information of ro 100J is transferred to the data
The ID information of O10J is output on the data bus, and when the second ID successive command is issued, rl.The ID information of O10J is output onto the data bus, and when the third ID successive command is issued,
o 100J ID information is output on the data bus. The following is as shown.

第4図は識別子部の他の実施例を示す図である。FIG. 4 is a diagram showing another embodiment of the identifier section.

第4図において、7はカウンタ、8−0ないし8−3は
3ステート・ゲートをそれぞれ示しいる。
In FIG. 4, 7 represents a counter, and 8-0 to 8-3 represent three-state gates.

中央処理装置は成る基板の識別子部の状態を初期値に設
定したい場合、その識別子部に割当てられたアドレスを
指定してIDイニシャライズ命令(ライト命令)を発行
する。そうすると、カウンタ7のクリア端子にクリア信
号が印加される。中央処理装置がその識別子部に割当て
られたアドレスを指定してID読出し命令(リード命令
)を発行すると、カウンタ7のクロック端子及び3ステ
ート・ゲート8−0ないし8−3の制御端子にパルスが
印加され、カランタフの状態に対応する識別子情報がデ
ータ・バスのビット線DBOないしDB3に出力され、
しかる後にカウンタ7の計数値は+1される。第5図は
第4図の識別子部におけるID続出し命令の発行回数と
ID情報の関係を示すものであって、第1回目のID続
出し命令が発行されるとro 000JのID情報がデ
ータ・バス上に出力され、第2回目のID読出し命令が
発行されるとrloooJのID情報がデータ・バス上
に出力され、第3回目のID読出し命令が発行されると
ro 010JのID情報がデータ・バス上に出力され
る。以下、図示のとおりである。
When the central processing unit wants to set the state of the identifier part of the board to an initial value, it issues an ID initialize command (write command) by specifying the address assigned to the identifier part. Then, a clear signal is applied to the clear terminal of the counter 7. When the central processing unit specifies the address assigned to the identifier section and issues an ID read command (read command), a pulse is generated at the clock terminal of the counter 7 and the control terminals of the three-state gates 8-0 to 8-3. is applied, and the identifier information corresponding to the state of the carantuff is output to the bit line DBO to DB3 of the data bus,
Thereafter, the count value of the counter 7 is incremented by +1. FIG. 5 shows the relationship between the number of ID successive commands issued and the ID information in the identifier section of FIG. 4. When the first ID successive command is issued, the ID information of ro 000J is - When the second ID read command is issued, the ID information of rloooJ is output onto the data bus, and when the third ID read command is issued, the ID information of ro010J is output to the data bus. Output on the data bus. The following is as shown in the figure.

中央処理装置のプログラムでは前記ID情報を所定の回
数だけ読み取り、メモリ上に記憶させ、基板識別テーブ
ルを検索することによって基板の種類を識別する。第6
図は中央処理装置の持つ基板識別テーブルの構成例を示
すものであって、IDTは基板識別テーブルを示しいる
。例えば、基板#lのID情報列は、XIl+ x、□
、・・・Ixtttというものである。更に識別のため
のID出力機能の存在しない基板が混在する場合に限っ
て、読み取ったID情報列が基板識別テーブルIDT上
に定義されていない場合には、前記ID出力機能の存在
しない基板であると識別することも出来る。
A program in the central processing unit reads the ID information a predetermined number of times, stores it in memory, and identifies the type of board by searching a board identification table. 6th
The figure shows an example of the configuration of a board identification table held by the central processing unit, and IDT indicates the board identification table. For example, the ID information string for board #l is XIl+x, □
, . . . Ixttt. Further, only when there are boards that do not have an ID output function for identification, if the read ID information string is not defined on the board identification table IDT, it is a board that does not have the ID output function. It can also be identified.

一般的に、1個のID情報ののビット幅をN1プログラ
ムの読み取り回数をnとすれば(2’ ”)”−2N″
1の種類の基板まで識別可能である。
Generally, if the bit width of one piece of ID information is N1 and the number of times a program reads is n, then it is (2'”)"-2N"
It is possible to identify up to one type of substrate.

第7図は識別処理を説明するための図である。FIG. 7 is a diagram for explaining the identification process.

中央処理装置は、成るスロットに差し込まれている基板
の種類を知りたい場合、その基板の識別子部のアドレス
を指定して所定の回数だけID読出し命令を発行し、読
出したID情報をメモリに格納する。読出しを行った後
、読出したID情報列と基板識別テーブルIDTの内容
とを比較し、その基板の種類の認識を行う。
When the central processing unit wants to know the type of board inserted into a slot, it specifies the address of the identifier section of the board, issues an ID read command a predetermined number of times, and stores the read ID information in memory. do. After reading, the read ID information string is compared with the contents of the board identification table IDT to recognize the type of board.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明によれば以下の
効果が得られる。
As is clear from the above description, the following effects can be obtained according to the present invention.

(a)  従来は2 Nun通り識別するには(N+n
)ビット幅の識別子部が必要であるが、Xビット幅で済
むため、より安価なハードウェアで実現できる。
(a) Conventionally, to identify 2 Nun ways (N+n
) A bit-width identifier part is required, but since it is sufficient to have a width of X bits, it can be realized with cheaper hardware.

(b)  プログラムの読み取り回数(−n)を増すこ
とによって識別可能数が増加するため基板の種類が多く
なっても容易に対応することが出来る。
(b) By increasing the number of times the program is read (-n), the number of distinguishable boards increases, so even if the number of types of boards increases, it can be easily handled.

(C)  中央処理装置のプログラムによって読み出さ
れるID情報が規則的に更新されるため、読み取り回数
を増加させることによって、ID出力機能の全く無い基
板が混在しても、それらを識別することが出来る。
(C) Since the ID information read by the program of the central processing unit is regularly updated, by increasing the number of readings, it is possible to identify them even if there are boards with no ID output function at all. .

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

第1図は本発明が適用される計算機システムの1例を示
す図、第2図は識別子部の1実施例構成を示す図、第3
図は第2図の識別子部におけるID続出し命令の発行回
数とID情報の関係を示す図、第4図は識別子部の他の
実施例を示す図、第5図は第4図の識別子部におけるI
D続出し命令の発行回数とID情報の関係を示す図、第
6図は中央処理装置の持つ基板識別テーブルの構成例を
示す図、第7図は識別処理を説明するための図である。 1・・・中央処理装置、2−0と2−1・・・基板、3
−0と3−1・・・受は側のコネクタ、4−0と4−1
・・・基板のコネクタ、5・・・フリップ・フロップ、
6−0ないし6−3・・・3ステート・ゲート、7・・
・カウンタ、8−Qないし8−3・・・3ステート・ゲ
ート、IDT・・・基板識別テーブル。 悌1図 鴇Z酉 第3図 都4図 第6図
FIG. 1 is a diagram showing an example of a computer system to which the present invention is applied, FIG. 2 is a diagram showing an example configuration of an identifier section, and FIG.
The figure shows the relationship between the number of ID successive commands and ID information in the identifier section of FIG. 2, FIG. 4 shows another embodiment of the identifier section, and FIG. 5 shows the identifier section of FIG. 4. I in
FIG. 6 is a diagram showing the relationship between the number of times a D-succession command is issued and ID information, FIG. 6 is a diagram showing an example of the configuration of a board identification table held by the central processing unit, and FIG. 7 is a diagram for explaining the identification process. 1... Central processing unit, 2-0 and 2-1... Board, 3
-0 and 3-1...The receiver is the connector on the side, 4-0 and 4-1
... Board connector, 5... Flip-flop,
6-0 or 6-3...3 state gate, 7...
- Counter, 8-Q or 8-3... 3-state gate, IDT... board identification table.悌1 figure 錇Z rooster 3rd figure capital 4 figure 6

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置と、該中央処理装置に接続されたバスにコ
ネクタを介して着脱自在に接続されると共に識別子部を
持つ基板とを有する計算機システムにおける基板の自動
識別方式であって、上記識別子部は、上記中央処理装置
が当該基板を指定する初期化命令を発行した時や電源投
入時やシステム・リセット時に識別子情報を初期値に設
定してこれを記憶し、上記中央処理装置が当該基板を指
定した識別子リード命令を発行した時、記憶している識
別子情報をデータ・バス上に出力し、しかる後に識別子
情報を更新して記憶することを特徴とする基板の自動識
別方式。
An automatic board identification method in a computer system having a central processing unit and a board removably connected to a bus connected to the central processing unit via a connector and having an identifier part, the identifier part being , when the central processing unit issues an initialization command that specifies the board, or when the power is turned on or the system is reset, the identifier information is set to an initial value and stored, and the central processing unit specifies the board. An automatic board identification method characterized in that when an identifier read command is issued, stored identifier information is output onto a data bus, and thereafter the identifier information is updated and stored.
JP6730185A 1985-03-30 1985-03-30 Automatic discriminating system for substrate Granted JPS61226866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6730185A JPS61226866A (en) 1985-03-30 1985-03-30 Automatic discriminating system for substrate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6730185A JPS61226866A (en) 1985-03-30 1985-03-30 Automatic discriminating system for substrate

Publications (2)

Publication Number Publication Date
JPS61226866A true JPS61226866A (en) 1986-10-08
JPH0150938B2 JPH0150938B2 (en) 1989-11-01

Family

ID=13341040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6730185A Granted JPS61226866A (en) 1985-03-30 1985-03-30 Automatic discriminating system for substrate

Country Status (1)

Country Link
JP (1) JPS61226866A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01125889A (en) * 1987-09-17 1989-05-18 Yokogawa Hewlett Packard Ltd Electronic device provided with printed circuit assembly
JPH0241502A (en) * 1988-07-25 1990-02-09 Allen Bradley Co Inc Programmable controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01125889A (en) * 1987-09-17 1989-05-18 Yokogawa Hewlett Packard Ltd Electronic device provided with printed circuit assembly
JPH0241502A (en) * 1988-07-25 1990-02-09 Allen Bradley Co Inc Programmable controller

Also Published As

Publication number Publication date
JPH0150938B2 (en) 1989-11-01

Similar Documents

Publication Publication Date Title
AU615688B2 (en) State machine checker
MX162024A (en) DISTRIBUTION BAR INTERFACE CIRCUIT IMPROVEMENTS
US7318146B2 (en) Peripheral device with hardware linked list
US5568647A (en) Serial control apparatus with a single chip select signal
JPS61226866A (en) Automatic discriminating system for substrate
JPS5875239A (en) Electronic equipment
EP0945806A1 (en) Supervisory circuit for semiconductor integrated circuit
KR910006852A (en) Memory control system and method
US5557233A (en) Filter for computer bus signals
KR900003621Y1 (en) Data exchange apparatus among different processors
KR950003057Y1 (en) Circuit for exchanging command and state information
KR940007479Y1 (en) Data transmission circuit between processors
JPH01236389A (en) Memory card
JPS63211053A (en) Connecting circuit
JPS61123952A (en) Identifiable number detecting device for cassette
JPH0374732A (en) Computer system
JPH02299051A (en) Address setting device
JPS6336463A (en) Bus control system
JPH0369224A (en) Communicating system for data between cpus
JPH02151948A (en) Circuit for shortening memory reading processing time
JPH01142848A (en) Address trapping circuit
JPH0375908B2 (en)
JPS57187753A (en) Status recording system for information processing device
JPH02306725A (en) Method and apparatus for code conversion
JPH0290219A (en) Circuit for protecting mismounting of card