JPH0525406B2 - - Google Patents

Info

Publication number
JPH0525406B2
JPH0525406B2 JP15309885A JP15309885A JPH0525406B2 JP H0525406 B2 JPH0525406 B2 JP H0525406B2 JP 15309885 A JP15309885 A JP 15309885A JP 15309885 A JP15309885 A JP 15309885A JP H0525406 B2 JPH0525406 B2 JP H0525406B2
Authority
JP
Japan
Prior art keywords
circuit
pulse train
majority decision
down counter
serial pulse
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.)
Expired - Lifetime
Application number
JP15309885A
Other languages
Japanese (ja)
Other versions
JPS6213123A (en
Inventor
Tsutomu Hayase
Keisuke Tonegawa
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
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP15309885A priority Critical patent/JPS6213123A/en
Publication of JPS6213123A publication Critical patent/JPS6213123A/en
Publication of JPH0525406B2 publication Critical patent/JPH0525406B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Logic Circuits (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、直列パルス列のn(nは自然数)ビ
ツトを多数決判定する手段を有するデイジタル論
理回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a digital logic circuit having means for making a majority decision on n (n is a natural number) bits of a serial pulse train.

〔概要〕〔overview〕

本発明は、直列パルス列のnビツトを多数決判
定する手段を有するデイジタル論理回路におい
て、 回路を、直列パルス列を受信する遅延回路と、
この遅延回路の出力と直列パルス列を比較して所
定の制御信号を出力する制御回路と、この制御回
路からの制御信号によつて制御されるアツプダウ
ンカウンタと、このアツプダウンカウンタの出力
結果を判定する判定回路とから構成することによ
り、 多数決判定する直列パルス列のビツト数が増大
しても回路規模の増大が小さくてすむよう回路を
簡単化したものである。
The present invention provides a digital logic circuit having means for making a majority decision on n bits of a serial pulse train, comprising: a delay circuit for receiving a serial pulse train;
A control circuit that compares the output of this delay circuit with a series pulse train and outputs a predetermined control signal, an up-down counter that is controlled by the control signal from this control circuit, and determines the output result of this up-down counter. The circuit is simplified so that even if the number of bits of the serial pulse train for majority decision increases, the increase in circuit scale is small.

〔従来の技術〕[Conventional technology]

従来、この種のデイジタル論理回路は、第3図
に示すように、直列パルス列1を複数のデイジタ
ル信号9に変換する変換回路106と、変換回路
106から出力される複数のデイジタル信号9を
受信して多数決判定を行う、多数決判定回路10
2aから構成されていた。多数決判定回路102
aは、演算回路107および判定回路105aに
よつて構成される。また演算回路107は全加算
器と半加算器によつて構成される 〔発明が解決しようとする問題点〕 上述した従来のデイジタル論理回路は、直列パ
ルス列のビツト数が増すと回路規模が非常に大き
くなる欠点がある。
Conventionally, this type of digital logic circuit includes a conversion circuit 106 that converts a serial pulse train 1 into a plurality of digital signals 9, and a plurality of digital signals 9 outputted from the conversion circuit 106, as shown in FIG. A majority decision circuit 10 that makes a majority decision based on
It was composed of 2a. Majority decision circuit 102
a is composed of an arithmetic circuit 107 and a determination circuit 105a. In addition, the arithmetic circuit 107 is composed of a full adder and a half adder [a problem to be solved by the invention] In the conventional digital logic circuit described above, the circuit scale becomes extremely large as the number of bits of the serial pulse train increases. The disadvantage is that it gets bigger.

以下、第4図に示す具体例を用いて説明する。
第4図は、13ビツトの多数決判定手段を有するデ
イジタル論理回路の回路図である。第4図におい
て、変換回路106はD型フリツプフロツプ13個
を直列に並べて構成される。直列パルス列1が変
換回路106に入力され、クロツク信号4a入力
時の変換回路106内のD型フリツプフロツプ13
個の出力信号9が多数決判定回路102aに入力
され、13個の信号の論理「1」または論理「0」
の数の多数決判定が行われる判定結果出力6が出
力される。ここで、多数決判定回路102aは、
判定回路105aと全加算器30と半加算器40
の組合せからなる演算回路107によつて構成さ
れる。多数決判定回路102aは、13ビツトの直
列パルス列の論理「1」と論理「0」の数を多数
決判定を行つており、演算回路107は、全加算
器30が7個、半加算器40が14個で構成され、
回路規模が大きくなつている。これに対し、多数
決判定する直列パルス列が5ビツトの場合、演算
回路は全加算器30が1個、半加算器40が6個
となる。
This will be explained below using a specific example shown in FIG.
FIG. 4 is a circuit diagram of a digital logic circuit having a 13-bit majority decision means. In FIG. 4, the conversion circuit 106 is constructed by arranging 13 D-type flip-flops in series. The serial pulse train 1 is input to the conversion circuit 106, and the D-type flip-flop 13 in the conversion circuit 106 when the clock signal 4a is input.
The output signals 9 of 13 are input to the majority decision circuit 102a, and the 13 signals are determined to be logic "1" or logic "0".
A determination result output 6 is outputted from which a majority determination is made. Here, the majority decision circuit 102a:
Judgment circuit 105a, full adder 30, and half adder 40
It is configured by an arithmetic circuit 107 consisting of a combination of. The majority decision circuit 102a makes a majority decision on the number of logic "1" and logic "0" in the 13-bit serial pulse train, and the arithmetic circuit 107 has seven full adders 30 and 14 half adders 40. Consisting of
The circuit scale is increasing. On the other hand, when the serial pulse train for majority decision is 5 bits, the arithmetic circuit includes one full adder 30 and six half adders 40.

本発明の目的は、上記の欠点を除去することに
より、多数決判定する直列パルス列のビツト数が
増大しても回路規模の増大が小さくてすむ簡単な
回路構成の多数決判定手段を有するデイジタル論
理回路を提供することにある。
An object of the present invention is to provide a digital logic circuit having a majority decision means with a simple circuit configuration, which requires only a small increase in circuit scale even when the number of bits of a series pulse train to be decided by majority increases, by eliminating the above-mentioned drawbacks. It is about providing.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、直列パルス列のn(nは自然数)ビ
ツトを多数決判定する手段を有するデイジタル論
理回路において、上記直列パルス列を受信する遅
延回路101と、この遅延回路の出力と上記直列
パルス列とを比較し不一致の場合にカウント動作
を指令する制御信号を出力する制御回路103
と、上記制御信号に基づき上記直列パルス列の論
理によりカウントアツプまたはカウントダウンを
行うアツプダウンカウンタ104と、このアツプ
ダウンカウンタのカウント値と予め設定された所
定値と比較してその大小に応じた多数決判定結果
を出力する判定回路105とを含むことを特徴と
する。
The present invention provides a digital logic circuit having means for making a majority decision on n (n is a natural number) bits of a serial pulse train, which includes a delay circuit 101 that receives the serial pulse train, and compares the output of this delay circuit with the serial pulse train. A control circuit 103 that outputs a control signal that commands a counting operation in the case of a mismatch.
, an up-down counter 104 that counts up or down according to the logic of the series pulse train based on the control signal, and a majority decision based on the magnitude of the counted value of the up-down counter and a predetermined value that is compared with a predetermined value. It is characterized by including a determination circuit 105 that outputs a result.

〔作用〕[Effect]

本発明は、nビツト数の直列パルス列を遅延回
路によりnビツト遅延させた遅延回路の出力と入
力中の直列パルス列を制御回路で比較し、双方の
論理が不一致の場合のみアツプダウンカウンタを
動作させる制御信号を出力する。アツプダウンカ
ウンタはこの制御信号により動作し、例えば、直
列パルス列が論理「1」、遅延回路の出力が論理
「0」ならばカウントアツプ、直列パルス列が論
理「0」、遅延回路の出力が論理「1」ならばカ
ウントダウン、両者の論理が同じ場合はノーカウ
ントで、それぞれ出力を判定回路へ出力する。判
定回路はこの出力について多数決判定を行うこと
により結果が得られる。
In the present invention, a control circuit compares the output of a delay circuit in which a serial pulse train of n bits is delayed by n bits with the input serial pulse train, and operates an up-down counter only when the logics of both do not match. Outputs a control signal. The up-down counter operates according to this control signal. For example, if the serial pulse train is a logic "1" and the output of the delay circuit is a logic "0", the up-down counter will count up. 1", it counts down, and if both logics are the same, it is a no-count, and the respective outputs are output to the determination circuit. The decision circuit obtains a result by performing majority decision on this output.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して
説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロツク構成
図である。遅延回路101は、直列パルス列1を
受信し、クロツク信号4により出力信号2を出力
する。制御回路103は直列パルス列1と、遅延
回路の出力信号2を受信し、双方の信号の論理が
不一致の場合のみアツプダウンカウンタ104を
動作させる制御信号3を出力する。アツプダウン
カウンタ104は制御信号3により制御され、ク
ロツク信号4によりカウントする。判定回路10
5はアツプダウンカウンタ104の出力信号5を
受信し、多数決の判定を行い判定結果6を出力す
る。なお、第1図において、制御回路103、ア
ツプダウンカウンタ104、判定回路105は多
数決回路102を構成する。
FIG. 1 is a block diagram showing one embodiment of the present invention. Delay circuit 101 receives serial pulse train 1 and outputs output signal 2 in response to clock signal 4. The control circuit 103 receives the serial pulse train 1 and the output signal 2 of the delay circuit, and outputs a control signal 3 for operating the up-down counter 104 only when the logics of both signals do not match. Up-down counter 104 is controlled by control signal 3 and counts by clock signal 4. Judgment circuit 10
5 receives the output signal 5 of the up-down counter 104, makes a majority decision, and outputs the decision result 6. In FIG. 1, the control circuit 103, up/down counter 104, and determination circuit 105 constitute a majority circuit 102.

本発明の特徴は、第1図において、遅延回路1
01、制御回路103、アツプダウンカウンタ1
04および判定回路105を設けたことにある。
The feature of the present invention is that in FIG.
01, control circuit 103, up/down counter 1
04 and a determination circuit 105 are provided.

第2図は本発明の一実施例の具体例を示す回路
図であり、13ビツトの多数決判定手段を有する回
路である。遅延回路101はD型フリツプフロツ
プ14個で構成されている。ただし、遅延回路10
1およびアツプダウンカウンタ104はリセツト
信号7により、初期設定されているものとする。
直列パルス列1が遅延回路101に入力され、ク
ロツク信号4によつてD型フリツプフロツプをシ
フトして行く。このとき、クロツク信号4入力時
の遅延回路101の出力信号2と、直列パルス8
を制御回路103によつて比較して判定し、排他
的オア回路からなる制御回路103の出力3によ
つて、T型フリツプフロツプ204個とアンド回路
7個とオア回路3個からなる2進のアツプダウン
カウンタ104を制御する。このときアツプダウ
ンカウンタ104は、制御回路103からの制御
信号3により、直列パルス8が論理「1」で遅延
回路101の出力信号2が論理「0」ならば、カ
ウントアツプ、直列パルス8が論理「0」で遅延
回路101の出力2が論理「1」ならば、カウン
トダウン、直列パルス8と遅延回路101の出力
信号2の論理が一致していれば、カウントしな
い。そしてD型フリツプフロツプ10とアンド回
路1個、オア回路1個からなる判定回路105
は、アツプダウンカウンタ104の出力信号5を
受信して多数決判定を行う。
FIG. 2 is a circuit diagram showing a specific example of one embodiment of the present invention, and is a circuit having a 13-bit majority decision means. The delay circuit 101 is composed of 14 D-type flip-flops. However, the delay circuit 10
1 and the up-down counter 104 are assumed to have been initialized by the reset signal 7.
A serial pulse train 1 is input to a delay circuit 101, and a D-type flip-flop is shifted by a clock signal 4. At this time, the output signal 2 of the delay circuit 101 when the clock signal 4 is input, and the serial pulse 8
are compared and determined by the control circuit 103, and the output 3 of the control circuit 103, which consists of an exclusive OR circuit, outputs a binary up flip-flop consisting of 204 T-type flip-flops, 7 AND circuits, and 3 OR circuits. Controls down counter 104. At this time, according to the control signal 3 from the control circuit 103, the up-down counter 104 counts up if the serial pulse 8 is logic "1" and the output signal 2 of the delay circuit 101 is logic "0". If it is "0" and the output 2 of the delay circuit 101 is a logic "1", the count is down; if the logic of the serial pulse 8 and the output signal 2 of the delay circuit 101 match, the count is not counted. A determination circuit 105 consisting of a D-type flip-flop 10, one AND circuit, and one OR circuit
receives the output signal 5 of the up-down counter 104 and makes a majority decision.

この結果、遅延回路101に入力された直列パ
ルス列1の論理「1」の数が7以上になつた場
合、論理「1」の数が論理「0」の数より大とな
り、判定回路105からその判定結果出力6が出
力される。
As a result, if the number of logic "1"s in the serial pulse train 1 input to the delay circuit 101 becomes 7 or more, the number of logic "1"s becomes greater than the number of logic "0"s, and the determination circuit 105 A determination result output 6 is output.

本発明による第2図の回路と、従来例の第4図
の回路(ともに13ビツトのパルス列)の部品点数
を比較すると、第4図の演算回路に相当する部分
以外はほぼ同様であるが、演算回路部分は、従来
は全加算器7個、半加算器14個が必要であつたの
に対し、本発明の回路では、T型フリツプフロツ
プ4個、アンド回路7個、オア回路3個、排他的
オア回路1個の簡単な回路構成になつている。
Comparing the number of parts between the circuit of FIG. 2 according to the present invention and the conventional circuit of FIG. 4 (both 13-bit pulse train), they are almost the same except for the parts corresponding to the arithmetic circuit of FIG. 4. The arithmetic circuit section conventionally required 7 full adders and 14 half adders, but the circuit of the present invention requires 4 T-type flip-flops, 7 AND circuits, 3 OR circuits, and exclusive It has a simple circuit configuration with one target OR circuit.

なお、本実施例においては、13ビツト分の論理
「1」の数の判定を行う場合について説明したが、
論理「0」の場合および他のビツト数の場合にお
いても同様に実施できる。
In this embodiment, the case where the number of logical "1"s for 13 bits is determined is explained.
Similar implementations can be made for logic 0's and other numbers of bits.

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

以上説明したように、本発明は、多数決判定回
路に、制御回路、アツプダウンカウンタおよび判
定回路を用いることにより、演算回路に半加算
器、全加算器を用いた従来の回路に比べ、回路規
模を小さくできる効果がある。特に、多数決判定
する直列パルス列のビツト数が多い場合ほどその
効果は大となる。
As explained above, by using a control circuit, an up-down counter, and a decision circuit in the majority decision circuit, the present invention has a larger circuit size compared to the conventional circuit that uses a half adder and a full adder in the arithmetic circuit. This has the effect of making it smaller. In particular, the effect becomes greater when the number of bits in the serial pulse train subjected to majority decision is large.

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

第1図は本発明の一実施例を示すブロツク構成
図。第2図はその一具体例を示す回路図。第3図
は従来例を示すブロツク構成図。第4図はその一
具体例を示す回路図。 1…直列パルス列、2,5…出力信号、3…制
御信号、4,4a…クロツク信号、6…判定結果
出力、7…リセツト信号、8…直列パルス、9…
デイジタル信号、10…D型フリツプフロツプ、
20…T型フリツプフロツプ、30…全加算器、
40…半加算器、101…遅延回路、102,1
02a…多数決判定回路、103…制御回路、1
04…アツプダウンカウンタ、105,105a
…判定回路、106…変換回路、107…演算回
路。
FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a circuit diagram showing a specific example thereof. FIG. 3 is a block diagram showing a conventional example. FIG. 4 is a circuit diagram showing a specific example thereof. 1...Series pulse train, 2, 5...Output signal, 3...Control signal, 4, 4a...Clock signal, 6...Judgment result output, 7...Reset signal, 8...Series pulse, 9...
Digital signal, 10...D flip-flop,
20...T-type flip-flop, 30...full adder,
40...half adder, 101...delay circuit, 102,1
02a...Majority decision circuit, 103...Control circuit, 1
04...Up-down counter, 105, 105a
...judgment circuit, 106... conversion circuit, 107... arithmetic circuit.

Claims (1)

【特許請求の範囲】 1 直列パルス列のn(nは自然数)ビツトを多
数決判定する手段を有するデイジタル論理回路に
おいて、 上記直列パルス列を受信する遅延回路101
と、 この遅延回路の出力と上記直列パルス列とを比
較し不一致の場合にカウント動作を指令する制御
信号を出力する制御回路103と、 上記制御信号に基づき上記直列パルス列の論理
によりカウントアツプまたはカウントダウンを行
うアツプダウンカウンタ104と、 このアツプダウンカウンタのカウント値と予め
設定された所定値と比較してその大小に応じた多
数決判定結果を出力する判定回路105と を含むことを特徴とするデイジタル論理回路。
[Claims] 1. In a digital logic circuit having means for making a majority decision on n (n is a natural number) bits of a serial pulse train, a delay circuit 101 that receives the serial pulse train.
a control circuit 103 that compares the output of the delay circuit with the series pulse train and outputs a control signal for instructing a counting operation if they do not match; A digital logic circuit characterized in that it includes an up-down counter 104 that performs up-down operation, and a determination circuit 105 that compares the count value of this up-down counter with a predetermined value and outputs a majority decision result according to the magnitude thereof. .
JP15309885A 1985-07-10 1985-07-10 Digital logic circuit Granted JPS6213123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15309885A JPS6213123A (en) 1985-07-10 1985-07-10 Digital logic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15309885A JPS6213123A (en) 1985-07-10 1985-07-10 Digital logic circuit

Publications (2)

Publication Number Publication Date
JPS6213123A JPS6213123A (en) 1987-01-21
JPH0525406B2 true JPH0525406B2 (en) 1993-04-12

Family

ID=15554929

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15309885A Granted JPS6213123A (en) 1985-07-10 1985-07-10 Digital logic circuit

Country Status (1)

Country Link
JP (1) JPS6213123A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01101023A (en) * 1987-10-14 1989-04-19 Fujitsu Ltd Majority deciding circuit
JP2554268Y2 (en) * 1992-01-24 1997-11-17 ヤンマーディーゼル株式会社 Guide for stacking baskets for transporting live fish
EP0575000A1 (en) * 1992-06-19 1993-12-22 Koninklijke Philips Electronics N.V. Arrangement for estimating data from a noisy digital data signal and receiver comprising such an arrangement

Also Published As

Publication number Publication date
JPS6213123A (en) 1987-01-21

Similar Documents

Publication Publication Date Title
US5459855A (en) Frequency ratio detector for determining fixed frequency ratios in a computer system
EP0743757A3 (en) Programmable binary/interleave sequence counter
JPH0525406B2 (en)
EP0186866B1 (en) Majority circuit
JP2659186B2 (en) Digital variable frequency divider
JP2623889B2 (en) D flip-flop circuit
US5990813A (en) Method and apparatus for synchronizing external data to an internal timing signal
JPS6235709A (en) Digital circuit
JPH0683020B2 (en) Digital filter reset device
JP2553175B2 (en) Overflow detection circuit
JP2794950B2 (en) Integrator circuit
JPS5866445A (en) Signal collating circuit
JPS6128423Y2 (en)
JP2664755B2 (en) Asynchronous counter circuit
GB2176326A (en) Digital timer
JPS6135011A (en) Variable delay circuit
SU1003351A1 (en) Counter with parallel carrying
JPH01115213A (en) Noise eliminating circuit
JPH0685804A (en) Frame pulse generating circuit
SU980287A1 (en) 12-cycle reversible pulse distributor
JP2509464Y2 (en) D / A conversion circuit
JPS62110323A (en) Frequency-digital conversion circuit
JPH0271641A (en) Block synchronization detection circuit
JPS6247210A (en) Clock signal break detecting circuit
JPH0221177B2 (en)