JPH08286998A - Address setting method, board and data processing system - Google Patents

Address setting method, board and data processing system

Info

Publication number
JPH08286998A
JPH08286998A JP7088071A JP8807195A JPH08286998A JP H08286998 A JPH08286998 A JP H08286998A JP 7088071 A JP7088071 A JP 7088071A JP 8807195 A JP8807195 A JP 8807195A JP H08286998 A JPH08286998 A JP H08286998A
Authority
JP
Japan
Prior art keywords
address
board
bus
circuit
itself
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
JP7088071A
Other languages
Japanese (ja)
Inventor
Kenji Hara
憲二 原
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP7088071A priority Critical patent/JPH08286998A/en
Publication of JPH08286998A publication Critical patent/JPH08286998A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide a board in which no address setting by the use of a DIP switch is required. CONSTITUTION: The addresses directed to themselves of the boards 21, 22, 23 are '0'. It is assumed that the address '2' is outputted from a CPU 20. The board 21 judges this address not to be directed to itself because the address is not '0', and also, it subtracts '1', and delivers the address '1' to the board 22. The board 22 subtracts similarly '1' from the given address, and delivers the address '0' to the board 23. The board 23 judges the address to be directed to itself because the address is '0', and executes the transfer of prescribed data in conformity with an instruction. Similarly, on the assumption that the addresses '0', '1' are outputted from the CPU 20, the boards 21, 22 judge the address to be directed to itself respectively.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、アドレスバスを介して
CPUから与えられるアドレスが、自己宛のアドレスか
否か判断するメモリボードやI/Oボードに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory board or an I / O board for determining whether or not an address given from a CPU via an address bus is an address addressed to itself.

【0002】[0002]

【従来の技術】図3は、この種のボードの従来例を示す
ブロック図である。アドレス一致検出回路45は、アド
レスバス42に与えられるアドレスと、ディップスイッ
チ49によって予め設定されたアドレスが一致したと
き、アドレスバス42のアドレスは自己宛であると判断
する。自己宛であると判断されると、ゲート回路46,
48が命令RD,WRに従って、バッファ回路47を介
して、データバス44とのデータの授受を実行させる。
2. Description of the Related Art FIG. 3 is a block diagram showing a conventional example of this type of board. When the address given to the address bus 42 and the address preset by the DIP switch 49 match, the address match detection circuit 45 determines that the address of the address bus 42 is addressed to itself. When it is determined that the address is addressed to itself, the gate circuit 46,
In accordance with the instructions RD and WR, 48 causes the buffer circuit 47 to exchange data with the data bus 44.

【0003】[0003]

【発明が解決しようとする課題】上述の従来のボード
は、ディップスイッチで各ボードのアドレスを個別に設
定しているため、設定ミスや設定忘れが発生し易い。そ
こで本発明はディップスイッチ等は使用せずアドレス設
定不要のボードを提供することを目的とする。
In the above-mentioned conventional board, since the address of each board is individually set by the DIP switch, setting mistakes or forgetting of settings are likely to occur. Therefore, an object of the present invention is to provide a board that does not require address setting without using a DIP switch or the like.

【0004】[0004]

【課題を解決するための手段】本発明のアドレス設定方
法は、カスケードに接続されたアドレスの判別機能を有
するメモリもしくはI/Oボードで次のボードにアドレ
スを渡すときに、このアドレスに一定値による加算もし
くは減算を行うことにより、ボードの挿入箇所でアドレ
スを決定する。また、本発明のボードは、入力端が入力
側アドレスバスに、出力端が出力側アドレスバスにそれ
ぞれ接続され、入力側アドレスバスから入力したアドレ
スに所定値の加算または減算を行い、出力側アドレスバ
スに出力するアドレス演算回路と、前記入力側アドレス
バスから入力したアドレスが自己宛であるか否かを判断
するアドレス判断回路と、アドレス判断回路が前記アド
レスが自己宛てであると判断した場合には、データバス
とデータの授受を行うとともに、所定の処理を行う処理
回路とを有する。
According to the address setting method of the present invention, when passing an address to the next board in a memory or an I / O board having a function of discriminating an address connected in cascade, this address has a constant value. By adding or subtracting with, the address is determined at the insertion point of the board. In the board of the present invention, the input end is connected to the input side address bus and the output end is connected to the output side address bus, and a predetermined value is added to or subtracted from the address input from the input side address bus to output the output side address bus. An address calculation circuit for outputting to the bus, an address judgment circuit for judging whether or not the address input from the input side address bus is addressed to itself, and an address judgment circuit for judging that the address is addressed to itself Has a processing circuit for exchanging data with the data bus and for performing a predetermined process.

【0005】[0005]

【作用】各ボードの自己アドレスは同一であり、カスケ
ードに接続された場合に、先頭のボードが受けたアドレ
スは、各ボードで減算等の演算を受ける。アドレスが該
当するボードに到達したとき、そのアドレスは前記自己
アドレスとなっており、該当するボードはアクセスを受
け付ける。
The self-address of each board is the same, and when connected in cascade, the address received by the head board undergoes an operation such as subtraction in each board. When the address reaches the corresponding board, the address is the self-address and the corresponding board accepts the access.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は本発明のボードが3個カスケードに
接続されたデータ処理システムの一実施例を示すブロッ
ク図、図2はボードの内部回路を示すブロック図であ
る。接続バス31,32,33を介して、ボード21,
22,23はCPU20にカスケードに接続されてい
る。ボード21,22,23は、いずれも同じに構成さ
れているので、図2で示されるボード22を例としてボ
ードの内部回路の説明をする。フルアダー回路1は、入
力端が入力側アドレスバス2に、出力端が出力側アドレ
スバス3にそれぞれ接続され、入力側アドレスバス2を
介して与えられたアドレスから”1”を減算して、出力
側アドレスバス3に出力する。ボード22から出力され
たアドレスは、接続バス33を介して、ボード23の入
力側アドレスバスに与えられる。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a data processing system in which three boards of the present invention are connected in cascade, and FIG. 2 is a block diagram showing an internal circuit of the board. Via the connection buses 31, 32, 33, the board 21,
22 and 23 are connected to the CPU 20 in cascade. Since the boards 21, 22 and 23 have the same configuration, the board 22 shown in FIG. 2 will be taken as an example to explain the internal circuit of the board. The full adder circuit 1 has an input end connected to the input side address bus 2 and an output end connected to the output side address bus 3, respectively, and subtracts “1” from the address given via the input side address bus 2 to output Output to the side address bus 3. The address output from the board 22 is given to the input side address bus of the board 23 via the connection bus 33.

【0007】ゲート回路5は、入力側アドレスバス2に
与えられたアドレスが予め定められた値(本実施例で
は”0”であるので、以降この例にならって説明する)
になったとき、そのアドレスが自己宛であると判断
し、”0”を出力する。ゲート回路6は、アドレスにつ
いてゲート回路5が自己宛であると判断し、リード命令
RDを受けると、バッファ回路7をデータ取り込み状態
に切り替え、データバス4のデータをバッファ回路7を
介して第1の内部回路8(入力ポート)に取り込む。ゲ
ート回路9は、アドレスについてゲート回路5が自己宛
であると判断し、ライト命令WRを受けると、バッファ
回路7はデータ出力状態になるので、第2の内部回路1
0(出力ポート)のデータをバッファ回路7を介してデ
ータバス4に出力する。
In the gate circuit 5, the address given to the input side address bus 2 is a predetermined value (in this embodiment, it is "0", so that it will be explained according to this example).
When it becomes, it judges that the address is addressed to itself and outputs "0". When the gate circuit 6 determines that the gate circuit 5 is addressed to itself and receives the read command RD, the gate circuit 6 switches the buffer circuit 7 to the data fetching state and transfers the data on the data bus 4 to the first via the buffer circuit 7. It is taken into the internal circuit 8 (input port). When the gate circuit 9 judges that the gate circuit 5 is addressed to itself and receives the write command WR, the buffer circuit 7 enters the data output state, so that the second internal circuit 1
Data of 0 (output port) is output to the data bus 4 via the buffer circuit 7.

【0008】なお、ボード22の入力端側においては、
入力側アドレスバス2、データバス4、リード命令およ
びライト命令が与えられる制御ラインは、接続バス32
に接続され、ボード22の出力端側においては、出力側
アドレスバス3、データバス4、リード命令およびライ
ト命令が与えられる制御ラインは、接続バス33に接続
されている。次に、図1の実施例の動作について説明す
る。CPU20からアドレス”2”が出力されたとす
る。ボード21は、アドレスが”0”でないので、この
アドレスは自己宛でないと判断するとともに、フルアダ
ー1により”1”を減算して、アドレス”1”をボード
22に渡す。ボード22も同様に与えられたアドレスか
ら”1”を減算して、アドレス”0”をボード23に渡
す。ボード23は、与えられたアドレスが”0”なの
で、アドレスが自己宛であると判断し、命令に従って、
データバス4を介して所定のデータの授受を行う。
On the input end side of the board 22,
The input side address bus 2, the data bus 4, and the control lines to which the read instruction and the write instruction are given are the connection bus 32.
On the output end side of the board 22, the output side address bus 3, the data bus 4, and the control line to which the read command and the write command are given are connected to the connection bus 33. Next, the operation of the embodiment shown in FIG. 1 will be described. It is assumed that the address “2” is output from the CPU 20. Since the address is not "0", the board 21 determines that this address is not addressed to itself, subtracts "1" by the full adder 1, and passes the address "1" to the board 22. Similarly, the board 22 subtracts "1" from the given address and passes the address "0" to the board 23. Since the given address is "0", the board 23 determines that the address is addressed to itself and according to the instruction,
Exchange of predetermined data is performed via the data bus 4.

【0009】[0009]

【発明の効果】以上説明したように本発明は、カスケー
ドに接続された複数のボードに、個別のアドレスをディ
ップスイッチなどで設定する必要がなく設定ミスがなく
なる。また、ボードは同じものでよいので、メンテナン
ス時には単に他のボードと交換するだけでよく、メンテ
ナンスが短時間に行えるとともに、メンテナンスの信頼
性が向上する。
As described above, according to the present invention, it is not necessary to set individual addresses for a plurality of boards connected in a cascade with a dip switch or the like, and a setting error is eliminated. Further, since the same board may be used, it is only necessary to replace it with another board at the time of maintenance, and the maintenance can be performed in a short time and the reliability of the maintenance is improved.

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

【図1】本発明のボードが3個カスケードに接続された
データ処理システムの一実施例を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of a data processing system in which three boards of the present invention are connected in a cascade.

【図2】図1の実施例のボードの内部回路を示すブロッ
ク図である。
FIG. 2 is a block diagram showing an internal circuit of the board of the embodiment of FIG.

【図3】従来例を示すブロック図である。FIG. 3 is a block diagram showing a conventional example.

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

1 フルアダー 2 入力側アドレスバス 3 出力側アドレスバス 4 データバス 5,6,9 ゲート回路 7 バッファ回路 8 第1の内部回路 10 第2のバッファ回路 20 CPU 21,22,23 ボード 31,32,33 接続バス 1 Full Adder 2 Input Address Bus 3 Output Address Bus 4 Data Bus 5, 6, 9 Gate Circuit 7 Buffer Circuit 8 First Internal Circuit 10 Second Buffer Circuit 20 CPU 21, 22, 23 Board 31, 32, 33 Connection bus

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 カスケードに接続されたアドレスの判別
機能を有するメモリもしくはI/Oボードで次のボード
にアドレスを渡すときに、このアドレスに一定値による
加算もしくは減算を行うことを特徴とするボードの挿入
箇所でアドレスを決定するアドレス設定方法。
1. A board characterized in that when an address or a memory I / O board having a function of discriminating an address connected in cascade is passed to the next board, addition or subtraction by a constant value is performed on this address. Address setting method that determines the address at the insertion point.
【請求項2】 入力端が入力側アドレスバスに、出力端
が出力側アドレスバスにそれぞれ接続され、入力側アド
レスバスから入力したアドレスに所定値の加算または減
算を行い、出力側アドレスバスに出力するアドレス演算
回路と、 前記入力側アドレスバスから入力したアドレスが自己宛
であるか否かを判断するアドレス判断回路と、 アドレス判断回路が前記アドレスが自己宛てであると判
断した場合には、データバスとデータの授受を行うとと
もに、所定の処理を行う処理回路とを有するボード。
2. The input end is connected to the input side address bus, and the output end is connected to the output side address bus. The address input from the input side address bus is added or subtracted by a predetermined value and output to the output side address bus. Address calculation circuit for determining whether the address input from the input side address bus is addressed to itself, and the address determination circuit determines that the address is addressed to itself. A board having a processing circuit for exchanging data with the bus and performing a predetermined process.
【請求項3】 前記処理回路はメモリ回路またはI/O
回路である請求項2記載のボード。
3. The processing circuit is a memory circuit or an I / O.
The board according to claim 2, which is a circuit.
【請求項4】 請求項2または3記載のボードの複数個
がカスケードに接続されたデータ処理システム。
4. A data processing system in which a plurality of the boards according to claim 2 or 3 are connected in cascade.
JP7088071A 1995-04-13 1995-04-13 Address setting method, board and data processing system Pending JPH08286998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7088071A JPH08286998A (en) 1995-04-13 1995-04-13 Address setting method, board and data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7088071A JPH08286998A (en) 1995-04-13 1995-04-13 Address setting method, board and data processing system

Publications (1)

Publication Number Publication Date
JPH08286998A true JPH08286998A (en) 1996-11-01

Family

ID=13932630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7088071A Pending JPH08286998A (en) 1995-04-13 1995-04-13 Address setting method, board and data processing system

Country Status (1)

Country Link
JP (1) JPH08286998A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009194731A (en) * 2008-02-15 2009-08-27 Fujitsu Ltd Slave device, and system and method for data transmission

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009194731A (en) * 2008-02-15 2009-08-27 Fujitsu Ltd Slave device, and system and method for data transmission

Similar Documents

Publication Publication Date Title
JPH02105205A (en) Programmable controller
JPH08286998A (en) Address setting method, board and data processing system
US5278965A (en) Direct memory access controller
JPH0612107A (en) Sequence arithmetic processor and sequence arithmetic processing unit
JPH0652067A (en) Multiport ram check control method
JP2990800B2 (en) Interrupt processing device
JPS62135038A (en) Data communications system for slave processor
JPH0226259B2 (en)
JPS63268053A (en) Bus controller
JPH0612270A (en) Test circuit
JPH05225114A (en) Io controller
JPH064469A (en) Input/output device control system
JPH05128279A (en) One-chip microcomputer
JPS6140658A (en) Data processor
JPH0353370A (en) Parallel processor for information processor
JPS62229452A (en) Peripheral module access system
JPH06223046A (en) Bus tracing execution method
JPS6373352A (en) Circuit board packaging detection system
JPS5911425A (en) Bus control circuit for system applying microcomputer
JPS63146143A (en) Transfer control system for storage device
JPH02161684A (en) Method for judging package of read only memory
JPH0512387A (en) Image processor
JPH05241900A (en) Program operation confirmation system of computer
JP2000020446A (en) Bus adapter circuit
JPS63174134A (en) Interruption controller