JPS6275741A - Parity check circuit - Google Patents

Parity check circuit

Info

Publication number
JPS6275741A
JPS6275741A JP60214880A JP21488085A JPS6275741A JP S6275741 A JPS6275741 A JP S6275741A JP 60214880 A JP60214880 A JP 60214880A JP 21488085 A JP21488085 A JP 21488085A JP S6275741 A JPS6275741 A JP S6275741A
Authority
JP
Japan
Prior art keywords
parity check
bit
transfer gate
output
gate
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
JP60214880A
Other languages
Japanese (ja)
Inventor
Haruhiko Yamazaki
春彦 山崎
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP60214880A priority Critical patent/JPS6275741A/en
Publication of JPS6275741A publication Critical patent/JPS6275741A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、改良されたパリティ検査回路に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an improved parity check circuit.

(従来の技術) 近年、先進技術において、種々のパリティ発生回路およ
び検査回路が提案されている。従来のパリティ検査回路
の回路構成を、第3図に示す従来のパリティ検査回路の
回路図を参照して説明する。
(Prior Art) In recent years, various parity generation circuits and check circuits have been proposed in advanced technology. The circuit configuration of a conventional parity check circuit will be described with reference to a circuit diagram of a conventional parity check circuit shown in FIG.

なお、第3図はEX−NOHによる回路例を示すが、回
路選択によっては、[EX−ORも利用可能である。
Although FIG. 3 shows an example of a circuit using EX-NOH, [EX-OR can also be used depending on the circuit selection.

第3図において、9個のオペランド・ビット人力(以下
ビット入力と省略する)Aユ〜A、のうち、ビットA1
とA2は第1の排他的論理和回路(以下EX−NORと
省略する)1に、ビット人力A3とA4は第2のEX−
NOR2ニ、ビット入力A、とA6は第3 ノEX−N
OR3に、ピント入力A7とA、lは第4のEX−NO
R4に入力される。ビットA1とA2がともに論理値′
°1″または論理値“°O″であれば、第1のEX−N
OR1の出力が論理値゛′1°゛となる。ビット入力A
、、A4と第2のEX−NOR2ノ出力、ビット人力A
5.A6と第3のEX−NOR3の出力、ビット人力A
、、A8と第4のEX−NOR4の出力との関係も同様
である。
In FIG. 3, bit A1 of nine operand bits (hereinafter abbreviated as bit input) A-A
and A2 are connected to the first exclusive OR circuit (hereinafter abbreviated as EX-NOR) 1, and bits A3 and A4 are connected to the second EX-NOR circuit.
NOR2, bit input A, and A6 are the third
OR3, focus input A7 and A, l is the 4th EX-NO
It is input to R4. Bits A1 and A2 are both logical values'
°1" or logical value "°O", the first EX-N
The output of OR1 becomes the logical value '1°'. Bit input A
,,A4 and second EX-NOR2 output, bit human power A
5. A6 and the output of the third EX-NOR3, bit human power A
,, The relationship between A8 and the output of the fourth EX-NOR4 is also similar.

次に、第1 ノEX−NOR1ト第2 (7)EX−N
OR2ノ出力を第5のEX−NOR5ニ、第3 (7)
 EX−NOR3と第4のEX−NOR4の出力を第6
のεX−NOR6に入力する。ビット入力へ〇〜A4の
うち、論理値“1′′のビット入力の数が偶数であると
、第5のEX−NOR5の出力は論理値” 1 ”にな
る。ビット入力A、〜A、と第6のIEX−NOR6の
出力との関係も同様である。さらに、第5のEX−NO
R5と第6 (7)EX−NOR6の出力を第7のEX
−NOR7に入力する。ビット入力へ〇〜A、のうち。
Next, 1st NO EX-NOR1 2nd (7) EX-N
OR2 output to 5th EX-NOR5, 3rd (7)
The output of EX-NOR3 and the fourth EX-NOR4 is
input to εX-NOR6. If the number of bit inputs with logical value “1'' among bit inputs 0 to A4 is an even number, the output of the fifth EX-NOR5 becomes logical value “1”.Bit inputs A, ~A, The relationship between the output of the sixth IEX-NOR6 and the output of the sixth IEX-NOR6 is also similar.
R5 and the 6th (7) EX-NOR6 output to the 7th EX
-Input to NOR7. Out of 〇~A to bit input.

論理値′°1”のビット入力の数が偶数であると、第7
のEX−NOR7の出力は論理値°′1”になる。
If the number of bit inputs with logical value '°1' is even, the seventh
The output of EX-NOR7 becomes the logical value '1'.

最後に、第7のEX−NOR7の出力とビット人力AS
を、第8のEX−NOR8に入力すると、ビット入力A
工〜A、のうち、論理値゛°1°′のビット入力の数が
偶数であれば、第8のEX−NOR8の出力Yは論理値
′1”になる。
Finally, the output of the 7th EX-NOR7 and the bit human power AS
is input to the eighth EX-NOR8, bit input A
If the number of bit inputs of the logical value "°1°" among the bits input from process to A is an even number, the output Y of the eighth EX-NOR 8 becomes the logical value "1".

(発明が解決しようとする問題点) 前記従来のパリティ検査回路の回路構成によれば、9個
のビット入力に対して、4段階のEX−NORを通過し
て検査結果を出力するため、96個のNチャネルトラン
ジスタおよびPチャネルトランジスタを必要として、チ
ップ面積が大きくなるという問題点があった。
(Problems to be Solved by the Invention) According to the circuit configuration of the conventional parity check circuit, 9 bit inputs pass through 4 stages of EX-NOR and output a check result. There is a problem in that the chip area becomes large because it requires two N-channel transistors and two P-channel transistors.

(問題点を解決するための手段) 本発明は、最小単位3個のビット人力の論理値”1パの
総数が、偶数であるが奇数であるかを判定するために、
第1のビット入力の真数値または補数値を、第1または
第2のトランスファゲートに入力し、かつ第2および第
3のビット入力の排他的論理和出力を、正相信号もしく
は逆相信号として、第1および第2のトランスファゲー
トに入力することにより、前記ビット入力の論理値゛°
1”の総数が偶数であるか奇数であるかを判定する構成
のパリティ検査回路を提供するものである。
(Means for Solving the Problems) The present invention provides the following methods for determining whether the total number of logical values "1" of the minimum unit of three bits is an even number or an odd number.
The true value or complement value of the first bit input is input to the first or second transfer gate, and the exclusive OR output of the second and third bit inputs is used as a positive phase signal or a negative phase signal. , the logical value of the bit input ゛°
The present invention provides a parity check circuit configured to determine whether the total number of 1'' is an even number or an odd number.

また、前記最小単位の回路を4個接続することにより、
72個のトランジスタで構成された2段階のEX−NO
Rと2段階のトランスファゲートを通過するだけで、8
ビツトのオペランド入力とパリティビット入力の合計9
ビツトの入力の論理値°′1°°の総数が、偶数である
か奇数であるかを判定することのできるパリティ検査回
路を提供するものである。
Also, by connecting four of the minimum unit circuits,
2-stage EX-NO consisting of 72 transistors
By simply passing through R and a two-stage transfer gate, 8
Total of bit operand input and parity bit input: 9
The object of the present invention is to provide a parity check circuit that can determine whether the total number of input logical values of bits is an even number or an odd number.

(作 用) 本発明によれば、3ビツトごとにビット人力の論理値”
′1“の総数が偶数であるか奇数であるかを判定する構
成により、パリティ検査回路を構成する1−ランジスタ
の数を減少させてチップ面積を減少させるとともに、出
力信号が通過するゲートの段階を最短で2段階とするこ
とにより、動作時間を速めることができる。
(Function) According to the present invention, for every 3 bits, the logical value of the bit
By using a configuration that determines whether the total number of '1's is an even number or an odd number, the number of 1-transistors constituting the parity check circuit can be reduced to reduce the chip area, and the gate stage through which the output signal passes can be reduced. By having at least two stages, the operation time can be shortened.

(実施例) 本発明のパリティ検査回路を、第1図および第2図を参
照して説明する。
(Embodiment) A parity check circuit of the present invention will be explained with reference to FIGS. 1 and 2.

第1図は1本発明の第1の実施例である3ビツトのパリ
ティ検査回路の回路図を示し、ビット人力A1〜A、の
うち、ビット入力A工は、インバータ9を通して第1の
トランスファゲート1oに入力されるとともに、直接筒
2のトランスファゲート11に入力される。また、ビッ
ト人力A2およびA、は。
FIG. 1 shows a circuit diagram of a 3-bit parity check circuit according to the first embodiment of the present invention. Among the bit inputs A1 to A, the bit input A is connected to the first transfer gate through an inverter 9. 1o and directly to the transfer gate 11 of the tube 2. Also, bit human power A2 and A are.

EX−NOR12に入力され、排他的論理和出方は、正
相信号が第1のトランスファゲート1oのNチャネルト
ランジスタのゲートおよび第2のトランスファゲート1
1のPチャネルトランジスタのゲートに入力されるとと
もに、逆相信号が第1のトランスファゲート10のPチ
ャネルトランジスタのゲートおよび第2のトランスファ
ゲート11のNチャネルトランジスタのゲートに入力さ
れて、第1および第2のトランスファゲート10.11
を制御している。
The positive phase signal is input to the EX-NOR 12, and the exclusive OR output is applied to the gate of the N channel transistor of the first transfer gate 1o and the gate of the N channel transistor of the second transfer gate 1o.
The reverse phase signal is input to the gate of the P channel transistor of the first transfer gate 10 and the gate of the N channel transistor of the second transfer gate 11. Second transfer gate 10.11
is under control.

すなわち、ビット人力A2とA3の一方の論理値が” 
1 ” テ他方の論理値が°’ o ” ノ場合は、E
X−NOR12による排他的論理和が論理値“°1パで
出力され。
In other words, the logical value of one of bits A2 and A3 is "
1 ” If the other logical value is °' o ” , E
The exclusive OR by the X-NOR 12 is output as a logical value of "°1".

第1のトランスファゲート10は” O’N ”の状態
に、第2のトランスファゲート11は’ OFF ”の
状態に制御されるので、ビット入力へ〇は、インバータ
9を通った補数値のみが、第1のトランスファゲート1
0を通って出力されることになり、ピント人力A、が論
理値” l ”であれば出力Yは論理値”°0”に、ビ
ット入力A□が論理値” o ”であれば人力Yは論理
値゛°1°゛になる。これとは逆に、ビット人力A7と
A3の論理値がともに°1゛もしくは”O”。
Since the first transfer gate 10 is controlled to be in the "O'N" state and the second transfer gate 11 is controlled to be in the "OFF" state, only the complementary value that has passed through the inverter 9 is input to the bit input. First transfer gate 1
If the pinto human power A is the logical value "l", the output Y will be the logical value "°0", and if the bit input A□ is the logical value "o", the human power Y will be output. becomes the logical value ゛°1°゛. On the contrary, the logical values of bits A7 and A3 are both °1゛ or "O".

の場合は、EX−NOR12による排他的論理和が論理
値パO“で出力されるので、ビット人力A、は、第2の
トランスファゲート11を通った真数値のみが出力され
て、ビット入力へ〇が論理値°°1′″であれば出力Y
は論理値” 1 ”に、ビット人力A1が論理値” o
 ”であれば出力Yは論理値” o ”になる。すなわ
ち、ビット入力A1〜A3のうち、論理値□°1′′の
総数が偶数であれば出力Yの論理値は″O”に。
In the case of , the exclusive OR by the EX-NOR 12 is output as the logical value "P", so the bit power A is outputted only as the true value that has passed through the second transfer gate 11 and sent to the bit input. If 〇 is a logical value °°1′″, output Y
is the logical value “1”, and bit human power A1 is the logical value “o”
”, the output Y becomes a logical value “o”. That is, if the total number of logical values □°1″ among the bit inputs A1 to A3 is an even number, the logical value of the output Y becomes “O”.

前記総数が奇数であれば出力Yの論理値は′1°゛にな
る。
If the total number is odd, the logical value of the output Y will be '1°'.

第2図は5本発明の第2の実施例である8ビツトのパリ
ティ検査回路の回路図を示し、第1図に示す3ビツトの
パリティ検査回路を4個接続して構成されている。第2
図において、ピノ1〜入カA1〜A□を第りのパリティ
検査回路13に、ビット入力A4〜A6を第2のパリテ
ィ検査回路14に、ビット入力A7〜A、を第3のパリ
ティ検査回路15に入力して第1次のパリティ検査を行
ない、第1次のパリティ検査の結果の出力Y□〜Y3を
第4のパリティ検査回路16に入力して、出力Y4.に
より第2次のパリティ検査を行なう。第1〜第3のパリ
ティ検査回路13〜15のうち、全部もしくは1個のパ
リティ検査回路のビット入力の論理値” 1 ”の数が
偶数であると、第1次のパリティ検査の出力Y、〜Y1
は、論理値が全部°°O”または、1個のみが0“で他
の2個は”1”となり、第2次のパリティ検査の出力Y
4の論理値は°°0゛′となり、第1〜第3のパリティ
検査回路13〜I5のうち、全部もしくは1個のパリテ
ィ検査回路のビット入力の論理値□′1”の数が奇数で
あると、第1次のパリティ検査の出力Y、〜Y1は、論
理値が全部″1”または、1個のみが”1゛°で他の2
個は°O゛となり、第2次のパリティ検査の出力Y4の
論理値は“′1°°となる。
FIG. 2 shows a circuit diagram of an 8-bit parity check circuit according to a second embodiment of the present invention, which is constructed by connecting four 3-bit parity check circuits shown in FIG. Second
In the figure, pin 1 to inputs A1 to A 15 to perform a first parity check, and outputs Y□ to Y3 as a result of the first parity check are input to a fourth parity check circuit 16, and outputs Y4. A second parity check is performed by. If the number of logical values "1" of the bit inputs of all or one of the first to third parity check circuits 13 to 15 is an even number, the output Y of the first parity check, ~Y1
The logic values are all °°O" or only one is 0 and the other two are 1, and the output of the second parity check is Y
The logic value of 4 is °°0゛', and the number of logic values □'1'' of the bit inputs of all or one parity check circuit among the first to third parity check circuits 13 to I5 is an odd number. If so, the outputs Y, ~Y1 of the first parity check will have all logic values "1", or only one logic value "1" and the other two
Then, the logical value of the output Y4 of the second parity check becomes "'1°".

すなわち、9個のビット人力A1〜A、のうち、論理値
°″1′′の総数が偶数であると、第2次のパリティ検
査の出力Y4の論理値は°°0”、論理値′°1″の総
数が奇数であれば、第2次のパリティ検査の出力Y4の
論理(直は″1パとなる。
That is, if the total number of logical values °''1'' among the nine bits A1 to A is an even number, the logical value of the output Y4 of the second parity check is °°0'', the logical value ' If the total number of degrees 1'' is an odd number, the logic (direct) of the output Y4 of the second parity check becomes 1 par.

(発明の効果) 本発明によれば、3ビット単位のパリティ検査回路を4
個使用することにより、標準的な8ビツトのパリティ検
査回路を構成し、回路構成のゲート素子数を減らすとと
もに、入力信号の通過するゲート段階数を最短2段階と
して、動作時間を速くすることができるという、優れた
パリティ検査回路が実現できる著しい効果がある。
(Effects of the Invention) According to the present invention, the parity check circuit in units of 3 bits can be
By using 8 bits, it is possible to configure a standard 8-bit parity check circuit, reduce the number of gate elements in the circuit configuration, reduce the number of gate stages through which the input signal passes to a minimum of 2, and speed up the operation time. There is a remarkable effect that an excellent parity check circuit can be realized.

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

第1図は、本発明の第1の実施例である3ビツトのパリ
ティ検査回路の回路図、第2図は、本発明の第2の実施
例である8ビツトのパリティ検査回路の回路図、第3図
は、従来のパリティ検査回路の回路図を示す。 1〜8.12−・・排他的論理和回路(EX−NOR)
、9 ・ インバータ、 IO,II・・ トランスフ
アゲ−h、13〜1G ・・第1.第2、第3、第4の
パリティ検査回路。 特許出願人 松下電器産業株式会社 第1図 第2図 第3図 1〜8 ゛・ EX−NOR
FIG. 1 is a circuit diagram of a 3-bit parity check circuit which is a first embodiment of the present invention, and FIG. 2 is a circuit diagram of an 8-bit parity check circuit which is a second embodiment of the present invention. FIG. 3 shows a circuit diagram of a conventional parity check circuit. 1~8.12-...Exclusive OR circuit (EX-NOR)
, 9 ・Inverter, IO, II... Transfer game h, 13~1G... 1st. second, third, and fourth parity check circuits; Patent applicant Matsushita Electric Industrial Co., Ltd. Figure 1 Figure 2 Figure 3 Figures 1-8゛・EX-NOR

Claims (1)

【特許請求の範囲】[Claims] 複数の2進数オペランド・ビット入力のうち、論理値“
1”の入力の合計数が偶数か奇数かを判定するパリテイ
検査回路において、最小単位3個のオペランド・ビット
入力のうち、第1のオペランド・ビット入力の真数値を
第1のトランスファゲートに、前記第1のオペランド・
ビット入力の補数値を第2のトランスファゲートにそれ
ぞれ接続し、第2および第3のオペランド・ビット入力
の排他的論理和の正相信号を、前記第1のトランスファ
ゲートのNチャネルトランジスタのゲートおよび前記第
2のトランスファゲートのPチャネルトランジスタのゲ
ートにそれぞれ接続し、前記第2および第3のオペラン
ド・ビット入力の排他的論理和の逆相信号を、前記第1
のトランジスタファゲートのPチャネルトランジスタの
ゲートおよび前記第2のトランスファゲートのNチャネ
ルトランジスタのゲートにそれぞれ接続し、さらに、前
記第1および第2のトランスファゲートの出力を並列に
接続したことを特徴とするパリテイ検査回路。
Among multiple binary operand bit inputs, the logical value “
In a parity check circuit that determines whether the total number of 1'' inputs is even or odd, the true value of the first operand bit input among the minimum unit of three operand bit inputs is sent to the first transfer gate, The first operand
The complementary values of the bit inputs are respectively connected to the second transfer gate, and the positive phase signal of the exclusive OR of the second and third operand bit inputs is connected to the gate of the N-channel transistor of the first transfer gate and are connected to the gates of the P-channel transistors of the second transfer gate, respectively, and the opposite-phase signals of the exclusive OR of the second and third operand bit inputs are connected to the gates of the P-channel transistors of the second transfer gate.
The transistor is connected to the gate of the P-channel transistor of the transistor transfer gate and the gate of the N-channel transistor of the second transfer gate, and further, the outputs of the first and second transfer gates are connected in parallel. parity check circuit.
JP60214880A 1985-09-30 1985-09-30 Parity check circuit Pending JPS6275741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60214880A JPS6275741A (en) 1985-09-30 1985-09-30 Parity check circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60214880A JPS6275741A (en) 1985-09-30 1985-09-30 Parity check circuit

Publications (1)

Publication Number Publication Date
JPS6275741A true JPS6275741A (en) 1987-04-07

Family

ID=16663096

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60214880A Pending JPS6275741A (en) 1985-09-30 1985-09-30 Parity check circuit

Country Status (1)

Country Link
JP (1) JPS6275741A (en)

Similar Documents

Publication Publication Date Title
US4523292A (en) Complementary FET ripple carry binary adder circuit
JPS63102510A (en) Combinational circuits forming exclusive OR gates and/or exclusive NOR gates
JPS60116034A (en) Adding circuit
US5129066A (en) Bit mask generator circuit using multiple logic units for generating a bit mask sequence
US5479112A (en) Logic gate with matched output rise and fall times and method of construction
JPH035095B2 (en)
JPH05303485A (en) Circuit for detecting position of endmost bit '1' of binary number
JP3396720B2 (en) Partial product generation circuit
JPS6224815B2 (en)
JPS6275741A (en) Parity check circuit
JPH0160856B2 (en)
JPH0440520A (en) Preceding one detection circuit device
JPS61110236A (en) Multi-bit digital adder
JPS62231333A (en) Modulo double adder
JPH01180626A (en) Priority analyzer
US4888499A (en) Three input exclusive OR-NOR gate circuit
JPH04178011A (en) Selector
CN1217484C (en) Pulse amplitude analyzer
JP3137629B2 (en) Adder cell for carry-save arithmetic mechanism.
JPH03228297A (en) Shift register circuit
JPS63222519A (en) B8zs/b6zs coding circuit
US3824589A (en) Complementary offset binary converter
JPH08212057A (en) Full adder
JPS61157936A (en) Data shifting circuit
JPS63151223A (en) Decoding circuit