JPH03185546A - Information processor - Google Patents

Information processor

Info

Publication number
JPH03185546A
JPH03185546A JP1324656A JP32465689A JPH03185546A JP H03185546 A JPH03185546 A JP H03185546A JP 1324656 A JP1324656 A JP 1324656A JP 32465689 A JP32465689 A JP 32465689A JP H03185546 A JPH03185546 A JP H03185546A
Authority
JP
Japan
Prior art keywords
register
cpu
signal
output
turned
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
Application number
JP1324656A
Other languages
Japanese (ja)
Inventor
Masaru Kono
勝 河野
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP1324656A priority Critical patent/JPH03185546A/en
Publication of JPH03185546A publication Critical patent/JPH03185546A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Abstract

PURPOSE:To obtain a device reducing its I/O space and having no restriction to the number of substrates by mutually connecting a CPU, a memory part and an I/O part through a common bus line, connecting the bus line to a substrate whose connection can be switched and changing data read out in each time when a CPU identifies an ID register. CONSTITUTION:In the case of reading out the contents of the ID register 8 by a CPU 1, an EN signal 14 is turned to 'H', the output 30 of an inverter 29 is turned to 'L', the address of the ID register 8 is outputted to an address bus 24, the output signal 26 of an address decoder 25 is turned to 'L', a IORD signal 22 is turned to 'L' to turn the output 28 of a negative logical AND circuit 27 to 'L' and drive a buffer 23, and the contents of the ID register 8 are outputted to a data line 3. Consequently, only the minimum I/O space is used for identifying the substrate 5 and the substrate 5 can be easily extended without changing the original substrate.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は接続切り替え可能な基板、例えば複数の基板を
抜き差しして判別をする電子的情報処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic information processing device that connects and disconnects switchable boards, for example, connects and disconnects a plurality of boards to make a determination.

[従来の技術] 従来は、第5図のように接続基板をアイデンティファイ
するためのレジスタ(以下IDレジスタと略す)をI1
0空間上に多数個持っており、そのIDレジスタの数は
あらかじめ決められていた。
[Prior Art] Conventionally, as shown in FIG.
There are many ID registers in the 0 space, and the number of ID registers is predetermined.

第5図の例では、8ビツトの10レジスタを3M持って
おり、区別できる基板の数は最高(8×8×8)個であ
る。
In the example shown in FIG. 5, there are 3M of 10 8-bit registers, and the maximum number of boards that can be distinguished is (8x8x8).

ここで「アイデンティファイ」とは「同一かどうかを判
別する」の意として使用する。
"Identify" is used here to mean "determine whether or not they are the same."

[発明が解決しようとする課題] しかし、前述の従来の技術では、IDレジスタをI10
空間上に多数個必要としてしまうといった問題や、あら
かじめIDレジスタの数が決められているため、基板の
数の上限が制限され、最大数まで使った場合はもうそれ
以上基板を増やすことができないといった問題や、もし
無理やりに増やそうとすれば、最初の基板からやり直さ
なければならないといった問題があった。
[Problems to be Solved by the Invention] However, in the above-mentioned conventional technology, the ID register is
There are problems such as requiring a large number of ID registers in the space, and because the number of ID registers is determined in advance, there is a limit to the number of boards, and once the maximum number is used, it is impossible to increase the number of boards any more. There were problems, such as if you tried to force the increase, you would have to start over from the first board.

本発個の目的は、I10重量層できるだけ小さく、基板
の数を増やしたとしても基板の数に制限のない装置を提
供することにある。
The purpose of this invention is to provide a device in which the I10 weight layer is as small as possible and the number of substrates is not limited even if the number of substrates is increased.

[課題を解決するための手段] 本発明は、情報処理に必要な中央演算処理機構としての
少なくとも1個のCPU、前記CPUとデータのやりと
りをするメモリ部、前記データの入出力機構を構成する
110部、前記CPUと前記メモリ部と前記110部と
は共通のバスラインで接続されており、さらに前記バス
ラインは接続切り替え可能な基板に接続されており、前
記基板はそれぞれアイデンティファイ可能な少なくとも
1個のIDレジスタを備えており、前記IDレジスタを
前記CPUがアイデンティファイするごとに読みだすデ
ータを変更する手段が備えられていることを特徴とする
[Means for Solving the Problems] The present invention comprises at least one CPU as a central processing unit necessary for information processing, a memory unit that exchanges data with the CPU, and an input/output mechanism for the data. 110 part, the CPU, the memory part, and the 110 part are connected by a common bus line, and further, the bus line is connected to a board whose connection can be switched, and each of the boards can be identified. The present invention is characterized in that it includes at least one ID register, and includes means for changing data read each time the CPU identifies the ID register.

[実施例] そこで、以下に本発個の詳細を、図示した実施例に基づ
いて説明する。
[Example] The details of the present invention will be explained below based on the illustrated example.

第1図は、本発個の接続基板をアイデンティファイする
装置を実現する一実施例の図で、lはCPU、2.3は
一般には共通バスラインとしてのデータ線、4は電子機
器、5は着脱可能な接続基板、6.7は基板同士を接続
するコネクタ、8はIDレジスタである。第1図のよう
に、コネクタ6.7を接続することによりデータ線2と
3が接続され、CPUIでIDレジスタ8を読むことが
可能となる。
FIG. 1 is a diagram of an embodiment of a device for identifying each connection board of the present invention, in which l is a CPU, 2.3 is a data line generally used as a common bus line, 4 is an electronic device, 5 is a removable connection board, 6.7 is a connector for connecting the boards, and 8 is an ID register. As shown in FIG. 1, by connecting the connectors 6.7, the data lines 2 and 3 are connected, and the ID register 8 can be read by the CPUI.

第2図は、本発個の特徴をなす第1図のIDレジスタ8
の一実施例で、第3図は第2図を説明するタイミング図
である。第2図において、11〜13はフリップフロッ
プ回路(以下F/Fと略す)で、EN信号14が”L”
となることにより、F/Fllは”H”に、F/F 1
2と13は”L”に初期化される。F/Fil〜13の
出力は、それぞれ信号15〜17である。信号15〜1
7は、アンド回路18〜20によってアンドされ、さら
にオア回#i21でオアされてIDレジスタのデータの
7ビツト目になる。
FIG. 2 shows the ID register 8 of FIG. 1, which is a feature of this product.
In one embodiment, FIG. 3 is a timing diagram illustrating FIG. 2. In FIG. 2, 11 to 13 are flip-flop circuits (hereinafter abbreviated as F/F), and the EN signal 14 is "L".
As a result, F/Fll becomes “H” and F/F 1
2 and 13 are initialized to "L". The outputs of F/Fil-13 are signals 15-17, respectively. Signal 15-1
7 is ANDed by the AND circuits 18 to 20 and further ORed in the OR circuit #i21 to become the 7th bit of the data in the ID register.

実際には、アンド回路の18〜20、オア回路21が8
!lあって、IDレジスタの8ビツトを構成する。この
8ビツトは、バッファ23によって、データ線3に出力
される。CPUIがIDレジスタを読むときは、まずE
N信号14を”H”としてインバータ29の出力30を
”L”とし、続いてアドレスバス24にIDレジスタの
アドレスを出力して、その結果アドレスデコーダ25の
出力信号26を”L”とし、さらにl0RD信号22を
”L”とすることによって負論理アンド回路27の出力
28を”L”として、バッファ23をドライブし、デー
タ線3にIDレジスタの内容を出力することによって行
なう。
Actually, the AND circuit is 18 to 20, and the OR circuit 21 is 8.
! There are 8 bits of the ID register. These 8 bits are output to the data line 3 by the buffer 23. When the CPUI reads the ID register, it first reads E.
The N signal 14 is set to "H", the output 30 of the inverter 29 is set to "L", the address of the ID register is outputted to the address bus 24, and as a result, the output signal 26 of the address decoder 25 is set to "L", and then the output signal 26 of the address decoder 25 is set to "L". This is done by setting the l0RD signal 22 to "L", thereby setting the output 28 of the negative logic AND circuit 27 to "L", driving the buffer 23, and outputting the contents of the ID register to the data line 3.

第3図で、第2図の回路の動作を説明する。EN信号の
”l、 jfで、F/F 11〜13は初期化されてい
る。まず、EN信号14が”H”となり、インバータ2
9の出力30は”L”となる、また、アドレスはIDレ
ジスタのアドレスを示し、アドレスデコーダ25の出力
26はすでに”L″であるとする。最初にl0RD信号
22が”L”となったとき、信号15のみ”Hutで、
信号16.17は”L”のため、アンド回!!a19.
20の出力は91 L”となり、スイッチ31の状態が
オア回路21の出力となる。l0RD信号の立ち上がり
で、F/F 11〜13は0人力の状態をQへ出力し、
F/F l 1は入力が′”L”固定のため信号15は
”L”に、F/F 12はF/Fllの出力を人力する
ため信号16は”H”に、F/F 13はF/F12の
出力を入力するため信号17は”L”にそれぞれなる。
With reference to FIG. 3, the operation of the circuit of FIG. 2 will be explained. F/Fs 11 to 13 are initialized by the EN signal "l" and "jf". First, the EN signal 14 becomes "H" and the inverter 2
It is assumed that the output 30 of the address decoder 25 becomes "L", the address indicates the address of the ID register, and the output 26 of the address decoder 25 is already "L". When the l0RD signal 22 first becomes "L", only the signal 15 is "Hut",
Signals 16 and 17 are “L”, so AND times! ! a19.
The output of F/F 20 becomes 91 L", and the state of the switch 31 becomes the output of the OR circuit 21. At the rising edge of the l0RD signal, F/Fs 11 to 13 output the state of 0 manual power to Q,
Since the input of F/F l 1 is fixed at ``L'', the signal 15 goes to ``L''.For F/F 12, the output of F/Fll is manually input, so the signal 16 goes to ``H'', and for F/F 13, Since the output of the F/F 12 is input, the signal 17 becomes "L".

次にIO’RD信号が”L”となると、信号16のみが
”H”で、信号15.17は”L”のため、スイッチ3
2の状態がオア回路21の出力となる。
Next, when the IO'RD signal becomes "L", only signal 16 is "H" and signals 15.17 are "L", so switch 3
The state of 2 becomes the output of the OR circuit 21.

同様にして続< l0RD信号の立ち上がりでF/Fi
lの出力信号15は”L”に、F/F12の出力信号1
6は”L”に、F/F 13の出力信号17はpp H
”になる、このため、3回目の[)RDIN号のII 
Ll+のとき、信号17のみII HITのため、スイ
ッチ33の状態がオア回路21の出力となる。このよう
にして、同一アドレスのIDレジスタで、3つの違った
状態を連続して読み出すことができる。こうして、スイ
ッチ31〜33に基板のIDナンバーをセットしておけ
ば、CPU 1はそれを読むことができ、基板のアイデ
ンティファイが行なえる。
In the same way, continue < l0 At the rising edge of the RD signal, F/Fi
The output signal 15 of F/F12 is "L", and the output signal 1 of F/F12 is "L".
6 is “L”, and the output signal 17 of F/F 13 is pp H
“For this reason, the third [)RDIN No. II
When Ll+, only the signal 17 is II HIT, so the state of the switch 33 becomes the output of the OR circuit 21. In this way, three different states can be read out in succession with the ID register at the same address. In this way, by setting the ID number of the board in the switches 31 to 33, the CPU 1 can read it and identify the board.

第2図では汎用性をもたせるためスイッチ31〜33を
使用しているが、l! HIT  II L、′”が固
定されている場合は、アンド回路18〜2oは不要で、
II HITのときは信号15〜17をオア回路21へ
人力し、”L”の時はオア回路21の入力を+lLI+
固定、もしくは人力を削除すればよい。
In FIG. 2, switches 31 to 33 are used to provide versatility, but l! If HIT II L,''' is fixed, AND circuits 18 to 2o are not necessary.
II When HIT, input signals 15 to 17 to the OR circuit 21, and when “L” input the OR circuit 21 to +lLI+
It can be fixed or human power can be removed.

第2図、第3図とも、論理を反転してももちろん同様の
効果が得られる。
Of course, the same effect can be obtained even if the logic is reversed in both FIGS. 2 and 3.

第4図は第2図の回路によって実現するIDレジスタ空
間で、一つのIDレジスタで、 (8×8×8)個の基
板を区別できる。
FIG. 4 shows the ID register space realized by the circuit shown in FIG. 2, and one ID register can distinguish between (8×8×8) boards.

さらに、基板を増やしたい場合は、第2図のオア回路2
1を4人力、5人力とし、それぞれにスイッチとアント
回路、F/Fを設け、CPU 1から4回目のリード、
5回目のリードを行なえばよい。
Furthermore, if you want to increase the number of boards, use the OR circuit 2 in Figure 2.
1 is powered by 4 people and 5 people, each is equipped with a switch, ant circuit, and F/F, and the 4th read from CPU 1,
It is sufficient to perform the fifth lead.

また、この増設は、以前の基板のアイデンティファイに
影響を与えずに、新しく増設される基板のみて行なうこ
とができる。
Further, this addition can be performed only on the newly added board without affecting the identification of the previous board.

[発個の効果] 以上述べたように、本発明により、基板をアイデンティ
ファイするのに最低限のI10空間しか必要としない上
、基板の増設においても、以前の基板を変更することな
く容易に行なえることを可能とした。
[Implementation Effects] As described above, according to the present invention, only the minimum I10 space is required to identify a board, and additional boards can be easily added without changing the previous board. It made it possible to do this.

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

第1図は本発個の電子機器の全体を示す説明図、第2図
は第1図におけるIDレジスタの構成を示す一実施例の
説明図、第3図は第2図を説明するタイミング図、第4
図は本発明で実現するIDレジスタの説明図、第5図は
従来のIDレジスタの説明図である。 1 : CPU 2. 3: データ線(共通バスライン) 4: 電子機器 5: 接続基板 6. 7: コネクタ 8: IDレジスタ 以 上
Fig. 1 is an explanatory diagram showing the entire electronic device of this invention, Fig. 2 is an explanatory diagram of an embodiment showing the configuration of the ID register in Fig. 1, and Fig. 3 is a timing diagram explaining Fig. 2. , 4th
The figure is an explanatory diagram of an ID register realized by the present invention, and FIG. 5 is an explanatory diagram of a conventional ID register. 1: CPU 2. 3: Data line (common bus line) 4: Electronic equipment 5: Connection board 6. 7: Connector 8: ID register or higher

Claims (1)

【特許請求の範囲】[Claims] 情報処理に必要な中央演算処理機構としての少なくとも
1個のCPU、前記CPUとデータのやりとりをするメ
モリ部、前記データの入出力機構を構成するI/O部、
前記CPUと前記メモリ部と前記I/O部とは共通のバ
スラインで接続されており、さらに前記バスラインは接
続切り替え可能な基板に接続されており、前記基板はそ
れぞれアイデンティフアイ可能な少なくとも1個のID
レジスタを備えており、前記IDレジスタを前記CPU
がアイデンティファイするごとに読みだすデータを変更
する手段が備えられていることを特徴とする情報処理装
置。
at least one CPU as a central processing unit necessary for information processing; a memory unit that exchanges data with the CPU; an I/O unit that constitutes an input/output mechanism for the data;
The CPU, the memory section, and the I/O section are connected by a common bus line, and the bus line is further connected to a board whose connection can be switched, and each board has at least one part that can be identified. 1 ID
A register is provided, and the ID register is connected to the CPU.
1. An information processing device comprising means for changing data read each time the device is identified.
JP1324656A 1989-12-14 1989-12-14 Information processor Pending JPH03185546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1324656A JPH03185546A (en) 1989-12-14 1989-12-14 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1324656A JPH03185546A (en) 1989-12-14 1989-12-14 Information processor

Publications (1)

Publication Number Publication Date
JPH03185546A true JPH03185546A (en) 1991-08-13

Family

ID=18168265

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1324656A Pending JPH03185546A (en) 1989-12-14 1989-12-14 Information processor

Country Status (1)

Country Link
JP (1) JPH03185546A (en)

Similar Documents

Publication Publication Date Title
ATE125629T1 (en) BUS INTERFACE CIRCUIT FOR DIGITAL DATA PROCESSOR.
US4835684A (en) Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus
US4272829A (en) Reconfigurable register and logic circuitry device for selective connection to external buses
JPS6389961A (en) Semaphore circuit
JPH0342732A (en) Semiconductor integrated circuit
US5748982A (en) Apparatus for selecting a user programmable address for an I/O device
JPH03185546A (en) Information processor
JPH0365745A (en) Ic card
JPH0736826A (en) Semiconductor device
JPH073750B2 (en) Semiconductor integrated circuit
JPH05241698A (en) System for controlling input output port
JP2692469B2 (en) Data controller
JP2975638B2 (en) Semiconductor integrated circuit
JPH10124485A (en) Bank register circuit for mac
JPH04100150A (en) Register circuit
JPS62296637A (en) Data sink for serial data
JP2563807B2 (en) Direct memory access control circuit
JP3304107B2 (en) Data bus control method
JPS61292739A (en) Memory device
JPH0477810A (en) Information processor
KR960009050Y1 (en) Circuit for selecting floppy disk driver of computer
JPH06348378A (en) Register unused bit processing circuit
JP2000339063A (en) Communication equipment
JPS59100931A (en) Data transferring circuit
JPH04333954A (en) Information processor