JPS63171023A - Majority logic circuit - Google Patents

Majority logic circuit

Info

Publication number
JPS63171023A
JPS63171023A JP253587A JP253587A JPS63171023A JP S63171023 A JPS63171023 A JP S63171023A JP 253587 A JP253587 A JP 253587A JP 253587 A JP253587 A JP 253587A JP S63171023 A JPS63171023 A JP S63171023A
Authority
JP
Japan
Prior art keywords
current
constant current
input
majority
logic
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
JP253587A
Other languages
Japanese (ja)
Inventor
Haruo Amano
天野 治夫
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 JP253587A priority Critical patent/JPS63171023A/en
Publication of JPS63171023A publication Critical patent/JPS63171023A/en
Pending legal-status Critical Current

Links

Landscapes

  • Logic Circuits (AREA)

Abstract

PURPOSE:To quickly decide a majority logic by turning-on/off a constant current source corresponding to each input with a binary logic level to obtain the total sum of current outputs of constant current sources in a majority logic circuit of plural binary logic inputs. CONSTITUTION:In an example of a majority logic circuit for three-bit binary logical inputs, constant current sources 1 and 21-23 consist of bipolar transistors TRs and emitter resistances and current switches 31-33 consist of emitter-coupled logics ECLs. Current switches 31-33 are turned on or off according as input level of input terminals 61-63 are '1' or '0', and consequently, currents of current sources 21-23 are also turned on or off similarly. The current I1 of the constant current source 1 and the current I2 of each of current sources 21-23 are set to satisfy relations I1=3/2I2. At this time, the voltage of a resistance R, namely, the output of a comparator 5 having zero voltage as the reference is negative or positive according as two or more input levels out of three input levels are '0' or '1', and the input level is judged to be '0' or '1'.

Description

【発明の詳細な説明】 1里立1 本発明は多数決論理回路に関し、特にディジタル通信や
ディジタルコンピュータ、更にはデータ伝送等の分野に
おいて、受信側にてディジタルデータの符号誤り等の擾
乱に対して高速に多数決論理を判定するための多数決論
理回路に関する。
[Detailed Description of the Invention] 1. The present invention relates to majority logic circuits, particularly in the fields of digital communication, digital computers, and data transmission, which can be used to prevent disturbances such as code errors in digital data on the receiving side. This invention relates to a majority logic circuit for determining majority logic at high speed.

従来技術 かかる多数決論理回路においては、入力されたデータ符
号列をあるブロック長に夫々分割し、このブロック長を
単位としてそのブロック内に含まれるデータ符号のうち
同じ論理レベル(2値論理レベルの「1」及び「0」レ
ベルを指称する)を取るものの数がある一定値を超える
か否かにより多数決判定を行っている。
Prior art In such a majority logic circuit, an input data code string is divided into blocks of a certain length, and each block length is used as a unit to select data codes of the same logic level (binary logic level). A majority decision is made based on whether the number of items that take the level ``1'' and ``0'' exceeds a certain value.

例えば、多数決論理を2/3.315.4/7゜5/9
.・・・・・・の如く、一般にはj/nの如く表わし、
データ受信側の符号列のブロック長nに対し、その中に
含まれるデータのうち同じ論理レベルを取るものの数i
がi≧jであれば、受信データを全てその値であると判
定している。2准将号のデータ通信では、例えば論理「
1」の数iが予め定められた数jに対して、i≧jであ
れば、全データを論理「1」とし、逆にi<jであれば
全データを論理「0」と判定するものであり、一般には
j>i、j<iに対して夫々ある事象を想定したりする
ことに用いられる。
For example, majority logic is 2/3.315.4/7゜5/9
.. Generally expressed as j/n,
For the block length n of the code string on the data receiving side, the number i of data that has the same logic level among the data contained therein
If i≧j, all received data is determined to have that value. In the data communication of Brigadier General 2, for example, the logic "
If the number i of "1" is a predetermined number j, if i≧j, all data is determined to be logical "1", and conversely, if i<j, all data is determined to be logical "0". It is generally used to assume certain events for j>i and j<i.

かかる従来の多数決論理回路の1例が第4図に示されて
おり、本例では2/3の多数決論理の場合を示している
。3つの論理入力41〜43のうち夫々2つの入力を2
人力とするアンドゲート44〜46と、これ等3つのア
ンドゲート44〜46の出力を3人力とするオアゲート
47とからなり、オアゲート47の出力4Bから多数決
判定出力を得るようにしたものである。
An example of such a conventional majority logic circuit is shown in FIG. 4, and this example shows a case of 2/3 majority logic. Out of the three logic inputs 41 to 43, two inputs are
It consists of AND gates 44 to 46 which are manually operated, and an OR gate 47 whose outputs from these three AND gates 44 to 46 are operated by three people, and a majority decision output is obtained from the output 4B of the OR gate 47.

第5図は第4図の回路の真理値表を示す図であり、図に
示す様に入力論理の多い方にその出力論理が決定される
ようになっている。2/3の多数決論理に限らず、一般
にj/nの多数決論理にも同様な回路構成にて実現でき
る。
FIG. 5 is a diagram showing a truth table of the circuit of FIG. 4, and as shown in the figure, the output logic is determined by the one with more input logic. Not only the 2/3 majority logic, but also the j/n majority logic in general can be realized with a similar circuit configuration.

しかしながら、2/3の多数決論理ではゲート回路の2
段構成で良いが、315.4/7.5/9、・・・・・
・と入力符号のブロック長が大となると、組合せ論理回
路が複雑化して、回路段数が多段となったり、階層的な
繰返し構造となって、いずれも多数の論理回路構成とな
るので、遅延時間が増大し、超高速の使用に対しては実
用的ではないという欠点がある。
However, in 2/3 majority logic, 2 of the gate circuits
The stage configuration is fine, but 315.4/7.5/9...
・When the block length of the input code becomes large, the combinational logic circuit becomes complicated, the number of circuit stages becomes multi-stage, and a hierarchical repeating structure is formed, resulting in a large number of logic circuit configurations, so the delay time increases. This has the disadvantage that it is impractical for ultra-high speed use.

発明の目的 本発明の目的は、超高速動作が可能な多数決論理回路を
提供することである。
OBJECTS OF THE INVENTION An object of the present invention is to provide a majority logic circuit capable of extremely high speed operation.

発明の構成 本発明によれば、夫々が2値論理レベルを有する複数の
入力信号の論理レベルの多数決を決定する多数決論理回
路であって、前記入力信号の各々に対応して設けられた
複数の定電流源と、前記入力信号の各々に対応して設け
られ対応する入力信号の2値論理レベルに応じて同じく
対応する前記定電流源の電流をオンオフ制御する複数の
スイッチング手段とを有し、前記スイッチング手段の各
々により制御された前記定電流源の出力電流値の総和に
より前記入力信号の論理レベルの多数決を判定するよう
にしたことを特徴とする多数決論理回路が得られる。
According to the present invention, there is provided a majority logic circuit for determining the logic level of a plurality of input signals each having a binary logic level, the majority logic circuit having a plurality of logic levels provided corresponding to each of the input signals. comprising a constant current source, and a plurality of switching means provided corresponding to each of the input signals and controlling on/off the current of the corresponding constant current source according to the binary logic level of the corresponding input signal, A majority logic circuit is obtained, characterized in that the majority decision of the logic level of the input signal is determined by the sum of the output current values of the constant current sources controlled by each of the switching means.

実施例 以下、図面を用いて本発明の詳細な説明する。Example Hereinafter, the present invention will be explained in detail using the drawings.

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

定電流源1は定電流値■1を有し、その出力電流はノー
ドAへ導出される様になっている。このノードAとアー
スとの間には抵抗値Rを有する抵抗4が設けられており
、この抵抗4の両端電圧eAがレベルコンパレータ5の
1人力となっている。
The constant current source 1 has a constant current value 1, and its output current is led to the node A. A resistor 4 having a resistance value R is provided between the node A and the ground, and the voltage eA across the resistor 4 serves as the voltage of the level comparator 5.

一方、n個の2値入力信号61〜6nに夫々対応し・て
設けられた定電流源21〜2nはすべて定電流値I2を
有する。また、n個の入力信号61〜6nに夫々対応し
て設けられたカレントスイッチ31〜3nは対応する入
力信号によりオンオフ制御され、このオンオフ状態に応
じて対応する定電流源の電流出力のノードAへの供給が
オンオフ制御されるようになっている。このノードAの
電圧e八がレベルコンパレータ5により零レベル比較さ
れ、その比較量カフが多数決論理出力信号として導出さ
れるものである。
On the other hand, the constant current sources 21 to 2n provided corresponding to the n binary input signals 61 to 6n, respectively, have a constant current value I2. Further, the current switches 31 to 3n provided corresponding to the n input signals 61 to 6n are on/off controlled by the corresponding input signals, and the current output node A of the corresponding constant current source is controlled according to the on/off state. The supply to is controlled on and off. The voltage e8 of this node A is compared to zero level by the level comparator 5, and the comparison amount cuff is derived as a majority logic output signal.

かかる構成において、 I、−(1/2)n 12     ・”” (1)な
る関係に設定しておく。ここで、ノードAの電圧eAは
次式で表わされる。
In such a configuration, the following relationship is set: I, -(1/2)n 12 ·"" (1). Here, the voltage eA at node A is expressed by the following equation.

eA =R(11−7:/(12,) ” )−・−(
2)(2)式において、(1,)”はOまたはI2のい
ずれかをとるものである。
eA = R(11-7:/(12,) ” )−・−(
2) In formula (2), (1,)'' takes either O or I2.

n個の入力信号61〜6nは各々対応するn個のカレン
トスイッチ31〜3nを夫々オンオフ制御するもので、
例えば、入力信号として論理「1」が与えられると、カ
レントスイッチはアース側に切替り、論理rOJが与え
られると、カレントスイッチは定電流I2をノードAへ
導く様に切替わるものとする。よって、各カレントスイ
ッチ31〜3nは対応する入力信号61〜6nの論理値
に応じて切替え制御される。そのために、ノードAには
、定電流源1から電流■1が抵抗Rを通じてアース側へ
流入し、一方、電流源21〜2nからは抵抗Rを通じて
入力信号の論理「0」の数に対応する個数の電流分だけ
電流が引かれることになる。従って、(2)式で示した
eAがノードAに現われる。(1)式を用いて(2)式
を書き直すと、 ・・・・・・(3) となり、このeAの正負により多数決論理が判定可能と
なる。そこで、レベルコンパレータ5において、(3)
式のeAの正負を零レベルと比較して判定しているので
ある。
The n input signals 61 to 6n respectively turn on and off the corresponding n current switches 31 to 3n.
For example, it is assumed that when a logic "1" is applied as an input signal, the current switch switches to the ground side, and when a logic rOJ is applied, the current switch switches so as to lead the constant current I2 to the node A. Therefore, each current switch 31-3n is switched and controlled according to the logical value of the corresponding input signal 61-6n. For this purpose, current 1 from constant current source 1 flows into node A through resistor R to the ground side, and on the other hand, current from current sources 21 to 2n flows through resistor R to correspond to the number of logical "0"s in the input signal. A current equal to the number of currents will be drawn. Therefore, eA shown in equation (2) appears at node A. When formula (2) is rewritten using formula (1), it becomes (3), and majority logic can be determined based on the sign or minus of this eA. Therefore, in the level comparator 5, (3)
This is determined by comparing the sign of eA in the equation with the zero level.

具体例を示せば、2/3の多数決の場合、n=3.j=
2となり、I2−1mA、R−1にΩ、I 1= (1
/2)n 12 = (1/2)X3X1=1.5mA
とすれば、3ビット入力信号Bl 、B2 、B3に対
してノードAの電位eA及び論理用カフ(Y)は第2図
の真理値表の如くなる。
To give a concrete example, in the case of 2/3 majority vote, n=3. j=
2, I2-1mA, Ω in R-1, I1= (1
/2)n12 = (1/2)X3X1=1.5mA
Then, the potential eA of the node A and the logic cuff (Y) for the 3-bit input signals Bl, B2, and B3 become as shown in the truth table of FIG.

第3図は第1図の実施例において2/3の多数決論理を
行わせる場合の具体的回路図である。本例においては、
定電流源1及び21〜23をすべてバイポーラトランジ
スタとそのエミッタ抵抗とにより構成し、また各カレン
トスイッチ31〜33をエミッタ結合型のトランジスタ
電流スイッチ構成としたものである。
FIG. 3 is a specific circuit diagram when implementing 2/3 majority logic in the embodiment of FIG. 1. In this example,
The constant current sources 1 and 21 to 23 are all constructed from bipolar transistors and their emitter resistors, and each current switch 31 to 33 is configured as an emitter-coupled transistor current switch.

この様に高速スイッチング特性を有するエミッタ結合型
のいわゆるECLカレントスイッチにより、入力論理レ
ベルに応じて各定電流源をオンオフ制御し、そのときの
電流値の総和に応じて入力論理レベルの多数決を決定す
るものであるから、入力信号の数には何等関係なく常に
1段の回路(ECL回路)の遅延時間のみであり、この
遅延時間もECL回路により高速化できるので好都合で
ある。
In this way, the emitter-coupled so-called ECL current switch with high-speed switching characteristics controls each constant current source on and off according to the input logic level, and determines the majority vote of the input logic level according to the sum of the current values at that time. Therefore, regardless of the number of input signals, there is always only a delay time of one stage of circuit (ECL circuit), and this delay time can also be increased in speed by the ECL circuit, which is advantageous.

尚、第3図の回路例は単なる1例を示したものにすぎず
、バイポーラトランジスタの他にも電界効果トランジス
タ等の素子を用いても構成可能であり、種々の改変が可
能であることは明白である。
It should be noted that the circuit example shown in FIG. 3 is merely an example, and it is possible to construct the circuit using elements such as field effect transistors in addition to bipolar transistors, and various modifications are possible. It's obvious.

1胛立lj 叙上の如く、本発明によれば、高速動作可能なカレント
スイッチング回路を用いて電流モードにより入力論理レ
ベルの多数決論理を判定しているので、従来の如く入力
論理信号の数に全く無関係に高速な多数決論理の判定が
可能となるという効果がある。従って、特に超高速性が
要求される通信分野やデータ処理分野等において入力数
が多いときにも極めて好適となる1ものである。
1. As described above, according to the present invention, the majority logic of the input logic level is determined in the current mode using a current switching circuit that can operate at high speed. This has the effect of allowing high-speed majority logic decisions to be made regardless of any relationship. Therefore, it is extremely suitable even when the number of inputs is large, particularly in the communication field and data processing field, which require ultra-high speed.

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

第1図は本発明の実施例のブロック図、第2図は第1図
のブロックの動作を説明するための真理値表を示す図、
第3図は第1図のブロックの具体例の回路図、第4図は
従来の多数決論理回路の例を示す図、第5図は第4図の
回路の動作を説明するための真理値表を示す図である。 主要部分の符号の説明 1・・・・・・定電流源 4・・・・・・抵抗
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing a truth table for explaining the operation of the blocks in FIG. 1,
Figure 3 is a circuit diagram of a specific example of the block in Figure 1, Figure 4 is a diagram showing an example of a conventional majority logic circuit, and Figure 5 is a truth table for explaining the operation of the circuit in Figure 4. FIG. Explanation of symbols of main parts 1... Constant current source 4... Resistor

Claims (1)

【特許請求の範囲】[Claims] 夫々が2値論理レベルを有する複数の入力信号の論理レ
ベルの多数決を決定する多数決論理回路であって、前記
入力信号の各々に対応して設けられた複数の定電流源と
、前記入力信号の各々に対応して設けられ対応する入力
信号の2値論理レベルに応じて同じく対応する前記定電
流源の電流をオンオフ制御する複数のスイッチング手段
とを有し、前記スイッチング手段の各々により制御され
た前記定電流源の出力電流値の総和により前記入力信号
の論理レベルの多数決を判定するようにしたことを特徴
とする多数決論理回路。
A majority logic circuit that determines the logic level of a plurality of input signals, each having a binary logic level, comprising a plurality of constant current sources provided corresponding to each of the input signals, and a plurality of constant current sources provided corresponding to each of the input signals; a plurality of switching means provided corresponding to each one and controlling on/off the current of the corresponding constant current source according to the binary logic level of the corresponding input signal, and controlled by each of the switching means. A majority logic circuit, characterized in that the majority decision of the logic level of the input signal is determined based on the sum of output current values of the constant current sources.
JP253587A 1987-01-08 1987-01-08 Majority logic circuit Pending JPS63171023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP253587A JPS63171023A (en) 1987-01-08 1987-01-08 Majority logic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP253587A JPS63171023A (en) 1987-01-08 1987-01-08 Majority logic circuit

Publications (1)

Publication Number Publication Date
JPS63171023A true JPS63171023A (en) 1988-07-14

Family

ID=11532075

Family Applications (1)

Application Number Title Priority Date Filing Date
JP253587A Pending JPS63171023A (en) 1987-01-08 1987-01-08 Majority logic circuit

Country Status (1)

Country Link
JP (1) JPS63171023A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02276310A (en) * 1989-04-18 1990-11-13 Res Dev Corp Of Japan Logic circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02276310A (en) * 1989-04-18 1990-11-13 Res Dev Corp Of Japan Logic circuit
JP2824780B2 (en) * 1989-04-18 1998-11-18 科学技術振興事業団 Logic circuit

Similar Documents

Publication Publication Date Title
US4468607A (en) Ladder-type signal attenuator
US4323982A (en) Logic circuit arrangement in the integrated MOS-circuitry technique
US4041326A (en) High speed complementary output exclusive OR/NOR circuit
JPH05243867A (en) Comparator
AU592335B2 (en) Source follower current mode logic cells
US7109904B2 (en) High speed differential resistive voltage digital-to-analog converter
JPH07142985A (en) Output circuit
KR910005586A (en) Digital / Analog Converters with Ladder Type Resistor Circuits
US4486880A (en) Output multiplexer having one gate delay
JP3550868B2 (en) Variable delay circuit
JP3636232B2 (en) Integrated circuit capable of selecting function and method for selecting function
JPS63171023A (en) Majority logic circuit
EP0183464A2 (en) Emitter-coupled logic (ECL) circuits
JPH04186923A (en) Logic circuit
US5534794A (en) Selectable logic output stage
US3277289A (en) Logic circuits utilizing a cross-connection between complementary outputs
JPS6387809A (en) Operational amplifier
US3855481A (en) N-state logic circuit
JPH01221917A (en) Majority logic circuit
US4007384A (en) Noninverting current-mode logic gate
US5657018A (en) Bar graph decoder outputting thermometer code
EP1137185A1 (en) Hybrid circuit having a current source controlled by a comparator
JPH07202699A (en) Converting circuit to digital from analogue
JP3128477B2 (en) Voltage divider circuit
US6411243B1 (en) Mode control circuit