JPH0296210A - Input/output circuit - Google Patents

Input/output circuit

Info

Publication number
JPH0296210A
JPH0296210A JP63247996A JP24799688A JPH0296210A JP H0296210 A JPH0296210 A JP H0296210A JP 63247996 A JP63247996 A JP 63247996A JP 24799688 A JP24799688 A JP 24799688A JP H0296210 A JPH0296210 A JP H0296210A
Authority
JP
Japan
Prior art keywords
input
output
data
data bus
terminal
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
JP63247996A
Other languages
Japanese (ja)
Other versions
JPH0727432B2 (en
Inventor
Takashi Kaneko
孝 金子
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 JP63247996A priority Critical patent/JPH0727432B2/en
Publication of JPH0296210A publication Critical patent/JPH0296210A/en
Publication of JPH0727432B2 publication Critical patent/JPH0727432B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To attain the data communication of the wired logic without using any special input/output circuit by connecting an output terminal to a data bus via an input terminal of an IC and a resistance. CONSTITUTION:When '1' is outputted to an output terminal 6 of an IC1, a resistance 7 is pulled up. That is, the data are transferred from the ICs except the IC1, the data on '1' is transferred from the IC1 or no data is transferred. Under such conditions, a data bus 8 is set at '0' as long as one of input/output terminals of the IC10 and 14 is equal to '0'. While the bus 8 is set at '0' via the resistance 7 regardless of the logic of the input/output terminals 9 and 18 of the IC10 and 14 as long as '0' is outputted to the terminal 6. Then the data on '0' is transferred from the IC1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は入出力回路に関し、特に複数のIC相互間でワ
イヤド論理のデータ転送を行う入出力回路に間する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input/output circuit, and particularly to an input/output circuit that transfers wired logic data between a plurality of ICs.

〔従来の技術〕[Conventional technology]

従来、この種の入出力回路は、第3図に示すように、3
個のICl00,109,114間てワイヤド論理のデ
ータ通信を行っている。
Conventionally, this type of input/output circuit has three
Wired logic data communication is performed between the ICl00, 109, and 114.

第3図において、ICl00,109,114の入出力
端子104.]、08,113を共通接続してデータバ
ス107とし、抵抗106を介して第1の電源ライン1
05にプルアップした構成となっている。それぞれのI
Cl00,109゜114の内部回路は、それぞれ入出
力端子1042108、ilBの論理を、内部の論理回
路101゜110.115の入力端子101..110
@1151に入力するための入力バッファ102111
.116と、内部の論理回路101,110.115の
出力端子101b 、110b 、115bの論理を各
入出力端子104.108 113へ出力するための出
力トランジスタ103112.117とを含んでそれぞ
れ構成される。
In FIG. 3, input/output terminals 104. of ICl00, 109, 114. ], 08, 113 are commonly connected to form a data bus 107, and the first power supply line 1 is connected via a resistor 106.
The configuration is pulled up to 05. each I
The internal circuits of Cl00, 109° 114 input the logic of the input/output terminals 1042108 and ilB, respectively, and the input terminals 101. .. 110
Input buffer 102111 for input to @1151
.. 116, and output transistors 103112.117 for outputting the logic of output terminals 101b, 110b, 115b of internal logic circuits 101, 110.115 to each input/output terminal 104.108 113, respectively.

第4図は第3図の入出力回路の動作を説明するためのデ
ータ転送方向と真理値との関係を示す図である。
FIG. 4 is a diagram showing the relationship between data transfer direction and truth value for explaining the operation of the input/output circuit of FIG. 3.

以下に、第4図を参照して第3図の入出力回路の動作に
ついて説明する。なお、第4図において、“1°′は電
源ライン105の電位を、0′′は各出力トランジスタ
103,112,117のソースの電位を示し、DAT
Aは所望のデータ値を示す、データの転送方向により、
状態は7種に分類され、第4図に示すようになる。
The operation of the input/output circuit shown in FIG. 3 will be explained below with reference to FIG. In FIG. 4, "1°" indicates the potential of the power supply line 105, 0'' indicates the source potential of each output transistor 103, 112, 117, and DAT
A indicates the desired data value, depending on the direction of data transfer,
The conditions are classified into seven types, as shown in Figure 4.

これから明らかなように、データを受信するICとデー
タ転送に関与しないICは、その内部の論理回路により
出力トランジスタを非導通状態としてデータバス107
を解放し、データ送信を行うICのみがその内部の論理
回路により出力トランジスタを導通状態又は非導通状態
とすることでデータの転送が実行される。
As is clear from this, the ICs that receive data and the ICs that are not involved in data transfer use their internal logic circuits to set their output transistors in a non-conducting state so that the data bus 107
, and only the IC that transmits data makes its output transistor conductive or non-conductive using its internal logic circuit, thereby executing data transfer.

即ち、データバス107の論理は、各入出力端子104
,108,113がいずれもハイインピーダンスの状態
で“1” いずれか1つでも′“0゛°を出力するとき
にO°°となるワイヤド・アンド論理である。なお、第
3図において、3個のICを仮定したが、ICの数は複
数であればよく、特に制限はない。
That is, the logic of the data bus 107 is
. Although the number of ICs is assumed to be several, there is no particular restriction on the number of ICs as long as they are plural.

〔発明が解決しようとする課題〕 上述した従来の入出力回路は、データの送受信において
、具体的には、特定の通信規約に基いてデータ転送を行
う必要があるため、これら複数のICのうちの1つの制
御機能を有する、例えば、マイクロプロセッサが用いら
れる。
[Problems to be Solved by the Invention] In the conventional input/output circuit described above, when transmitting and receiving data, it is necessary to specifically transfer data based on a specific communication protocol. For example, a microprocessor is used with one control function.

いま、第1のIC100がマイクロプロセッサであり、
データ通信の制御を行うとする。このとき、第1のIC
100、即ち、マイクロプロセッサは入力バッファ10
2と出力トランジスタ103により構成されるいわゆる
オーブントレインの入出力回路、又は、ハイインピーダ
ンス状態を有するいわゆる3ステートバツフアを有して
いなければならない。
Now, the first IC 100 is a microprocessor,
Suppose you want to control data communication. At this time, the first IC
100, i.e. the microprocessor has an input buffer 10
2 and an output transistor 103, or a so-called three-state buffer having a high impedance state.

しかしながら、マイクロプロセッサがこのようなワイヤ
ド論理の通信制御が可能であるように、専用に設計され
たものであれば何ら問題ないが、汎用のマイクロプロセ
ッサを使用する場合、オーブントレインタイプの入出力
回路は一般には希であり、又、本数の制限のある3ステ
ートタイプの入出力ボートを使用することは応用上の制
限を生じるという欠点がある。
However, there is no problem if the microprocessor is specially designed to be able to control communication of wired logic, but if a general-purpose microprocessor is used, an oven train type input/output circuit is required. This is generally rare, and the use of a limited number of three-state type input/output ports has the disadvantage of causing limitations in application.

本発明の目的は、オーブントレインタイプの特殊な入出
力回路もしくは、3ステートバツフアを用いることなく
、通常の入力端子及び出力端子のみでこの種のワイヤド
論理の通信を汎用のマイクロプロセッサで可能とする入
出力回路を提供することにある。
The purpose of the present invention is to enable a general-purpose microprocessor to perform this type of wired logic communication using only ordinary input and output terminals, without using special oven train type input/output circuits or three-state buffers. The objective is to provide input/output circuits that

〔課題を解決するための手段〕[Means to solve the problem]

本発明の入出力回路は、予め設定された通信規約に基づ
く制御機能を有する第1のICと、該第1のICの制御
により動作するそれぞれの入出力端子が共通のデータバ
スに接続される複数の第2のICとを備え、相互にデー
タの転送を行う入出力回路において、前記第1のICは
前記データバスに接続される入力端子と抵抗を介して前
記データバスに接続される出力端子とを有している。
The input/output circuit of the present invention includes a first IC having a control function based on a preset communication protocol, and respective input/output terminals operated under the control of the first IC connected to a common data bus. In an input/output circuit that includes a plurality of second ICs and mutually transfers data, the first IC has an input terminal connected to the data bus and an output connected to the data bus via a resistor. It has a terminal.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

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

第1図に示すように、第1の1.C1の入力端子5と第
2のIC10,14の入出力端子9,18とを共通接続
してデータバス8とし、更にICIの出力端子6を抵抗
7を介してデータバス8に接続した構成となっている。
As shown in FIG. The input terminal 5 of C1 and the input/output terminals 9, 18 of the second ICs 10, 14 are commonly connected to form a data bus 8, and the output terminal 6 of the ICI is further connected to the data bus 8 via a resistor 7. It has become.

ICIの内部回路は入力端子5の論理を内部の論理回路
2の入力端子2aに与える入力バッファ3と内部の論理
回路2の出力端子2bの論理を出力端子6に出力する出
力バッファ4とを有している。
The internal circuit of the ICI has an input buffer 3 that provides the logic of the input terminal 5 to the input terminal 2a of the internal logic circuit 2, and an output buffer 4 that outputs the logic of the output terminal 2b of the internal logic circuit 2 to the output terminal 6. are doing.

ICl0,14はそれぞれ入出力端子9,18と入力バ
ッファ12.16と内部の論理回路1115と出力トラ
ンジスタ13.17とを含んで構成される。なお、IC
l0.14は前述した第3図のIC109,114と等
価の動作を行う。
ICl0, 14 are each configured to include input/output terminals 9, 18, input buffer 12.16, internal logic circuit 1115, and output transistor 13.17. In addition, IC
l0.14 performs an operation equivalent to the ICs 109 and 114 in FIG. 3 described above.

第2図は第1図の実施例の動作を説明するためのデータ
転送方向と真理値との関係を示す図である。以下に、第
2図を参照して第1図の実施例の動作について説明する
FIG. 2 is a diagram showing the relationship between the data transfer direction and the truth value for explaining the operation of the embodiment of FIG. 1. The operation of the embodiment shown in FIG. 1 will be explained below with reference to FIG.

第2図に示すように、前述した第4図の場合と同様にデ
ータの転送方向により7つの状態に分けられる。第2図
から明らかなように、各IC内の論理回路2..11.
15の出力端子2b、llb。
As shown in FIG. 2, as in the case of FIG. 4 described above, the state is divided into seven states depending on the data transfer direction. As is clear from FIG. 2, logic circuits 2. .. 11.
15 output terminals 2b, llb.

15bは、前述した第3図の入出力回路の内部論理回路
101,110,115の出力端子10 lb。
15b is the output terminal 10lb of the internal logic circuits 101, 110, 115 of the input/output circuit shown in FIG.

110b、115bとまったく同様に制御され、目的の
動作を行う。
It is controlled in exactly the same way as 110b and 115b, and performs the desired operation.

ここで、従来例との動作の相違は、内部の論理回路2の
出力端子2bの論理を出力バッファ4と抵抗7を介して
データバス8に与えている点にある。即ち、出力端子6
に°“1′′が出力されているときは、抵抗7は等測的
にプルアップの状態となり、IC1以外からのデータ転
送もしくはIC1からの1”′のデータ転送、あるいは
データ転送のない状態である。
Here, the difference in operation from the conventional example is that the logic of the output terminal 2b of the internal logic circuit 2 is applied to the data bus 8 via the output buffer 4 and the resistor 7. That is, output terminal 6
When "1" is output, the resistor 7 is isometrically in a pull-up state, and data transfer from other than IC1, data transfer of 1"' from IC1, or no data transfer is possible. It is.

この状態で、ICl0,14の入出力端子のうち1つで
も°“0″であるとデータバス8は“0″′となる。又
、出力端子6に“0°”が出力されているときは、IC
l0,14の入出力端子9,18の論理にかかわらず抵
抗7を介してデータバス8は“0゛′となり、ICIか
らの°“0パのデータ転送となる。即ち、第1図の実施
例は第3図の入出力回路と同様にワイヤド・アンド論理
のデータ転送が可能である。
In this state, if even one of the input/output terminals of ICl0, 14 is "0", the data bus 8 becomes "0". Also, when “0°” is output to the output terminal 6, the IC
Regardless of the logic of the input/output terminals 9 and 18 of l0 and 14, the data bus 8 becomes "0" through the resistor 7, resulting in data transfer of "0" from the ICI. That is, the embodiment shown in FIG. 1 is capable of wired AND logic data transfer similar to the input/output circuit shown in FIG.

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

以上説明したように本発明は、データバスに第1のIC
の入力端子及び抵抗を介して出力端子を接続することに
より、特殊なオープントレインタイプの入出力回路又は
3ステートの入出力回路を用いることなく、ワイヤド論
理のデータ通信を可能とする効果がある。
As explained above, the present invention provides the first IC on the data bus.
By connecting the input terminal and the output terminal through the resistor, wired logic data communication is possible without using a special open train type input/output circuit or three-state input/output circuit.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図の実施例の動作を説明するためのデータ転送方向と真
理値との関係を示す図、第3図は従来の入出力回路の一
例のブロック図、第4図は第3図の入出力回路の動作を
説明するためのデータ転送方向と真理値との関係を示す
図である。 1.10,14,100,109,114・・・IC1
2,11,15,101,110,115・・論理回路
、3.12.16,102,111゜116・・・入力
バッファ、4・・・出力バッファ、5・・・入力端子、
6・・・出力端子、9,18,104゜108.113
・・・入出力端子、7,106・・・抵抗、8,107
・・・データバス、13,17,103.112,11
7・・・出力トランジスタ、105・・・電源ライン。 代理人 弁理士  内 原  晋
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
3 is a block diagram of an example of a conventional input/output circuit, and FIG. 4 is the input/output circuit of FIG. 3. FIG. 2 is a diagram showing the relationship between data transfer direction and truth value for explaining the operation of FIG. 1.10,14,100,109,114...IC1
2,11,15,101,110,115...Logic circuit, 3.12.16,102,111゜116...Input buffer, 4...Output buffer, 5...Input terminal,
6...Output terminal, 9,18,104゜108.113
...Input/output terminal, 7,106...Resistor, 8,107
...Data bus, 13, 17, 103.112, 11
7... Output transistor, 105... Power supply line. Agent Patent Attorney Susumu Uchihara

Claims (1)

【特許請求の範囲】[Claims] 予め設定された通信規約に基づく制御機能を有する第1
のICと、該第1のICの制御により動作するそれぞれ
の入出力端子が共通のデータバスに接続される複数の第
2のICとを備え、相互にデータの転送を行う入出力回
路において、前記第1のICは前記データバスに接続さ
れる入力端子と抵抗を介して前記データバスに接続され
る出力端子とを有することを特徴とする入出力回路。
The first one has a control function based on preset communication rules.
and a plurality of second ICs whose respective input/output terminals are connected to a common data bus and which operate under the control of the first IC, and which mutually transfer data, An input/output circuit characterized in that the first IC has an input terminal connected to the data bus and an output terminal connected to the data bus via a resistor.
JP63247996A 1988-09-30 1988-09-30 I / O circuit Expired - Lifetime JPH0727432B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63247996A JPH0727432B2 (en) 1988-09-30 1988-09-30 I / O circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63247996A JPH0727432B2 (en) 1988-09-30 1988-09-30 I / O circuit

Publications (2)

Publication Number Publication Date
JPH0296210A true JPH0296210A (en) 1990-04-09
JPH0727432B2 JPH0727432B2 (en) 1995-03-29

Family

ID=17171638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63247996A Expired - Lifetime JPH0727432B2 (en) 1988-09-30 1988-09-30 I / O circuit

Country Status (1)

Country Link
JP (1) JPH0727432B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5286727A (en) * 1975-12-23 1977-07-19 Okura Denki Co Ltd System for forming bus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5286727A (en) * 1975-12-23 1977-07-19 Okura Denki Co Ltd System for forming bus

Also Published As

Publication number Publication date
JPH0727432B2 (en) 1995-03-29

Similar Documents

Publication Publication Date Title
JPH0219015A (en) Multifunctional flip-flop circuit
US4635250A (en) Full-duplex one-sided cross-point switch
JPH0461414A (en) Flip-flop circuit
US3381232A (en) Gated latch
EP0292943A2 (en) Digital input/output circuit capable of sending and receiving data in different modes
JPH0296210A (en) Input/output circuit
EP0445880B1 (en) Write-acknowledge circuit comprising a write detector and a bistable element for four-phase handshake signalling
JPS62266645A (en) Serial interface circuit
JPS60242724A (en) Integrated logic circuit
JPH07135449A (en) Flip-flop circuit
JPS61289448A (en) Buffer memory device
JPS62192085A (en) Bit processing circuit
JPS59229923A (en) Logical circuit for integrated circuit
JPH0422320B2 (en)
JPH02214328A (en) Output controller
JPH0274066A (en) Semiconductor integrated circuit element
JPS63156422A (en) Two-way input/output circuit
JPH04131908A (en) I/o unit
JPS6020633A (en) Synchronizing logical circuit
JPH0234040A (en) Parallel/serial conversion circuit
JPS62290211A (en) Semiconductor integrated circuit
JPS6336355A (en) Serial bus interface circuit
JPS63221449A (en) Bus interface circuit
JPS60233740A (en) Scan path controller
JPH09106385A (en) Data transfer control circuit