JPH02302995A - Encoding circuit - Google Patents

Encoding circuit

Info

Publication number
JPH02302995A
JPH02302995A JP12313089A JP12313089A JPH02302995A JP H02302995 A JPH02302995 A JP H02302995A JP 12313089 A JP12313089 A JP 12313089A JP 12313089 A JP12313089 A JP 12313089A JP H02302995 A JPH02302995 A JP H02302995A
Authority
JP
Japan
Prior art keywords
output
input
transistor
signal
inverted
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
JP12313089A
Other languages
Japanese (ja)
Inventor
Masaaki Mihara
雅章 三原
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP12313089A priority Critical patent/JPH02302995A/en
Publication of JPH02302995A publication Critical patent/JPH02302995A/en
Pending legal-status Critical Current

Links

Landscapes

  • Logic Circuits (AREA)

Abstract

PURPOSE:To correctly transmit the information of an output inhibited input to a next stage inhibited output by permitting a third switch element and a sixth switch element to have conductive types to be mutually different and, simultaneously, connecting them in parallel between the output inhibited input and next stage inhibited output. CONSTITUTION:The source of a MOS transistor N3K to connect an inverted signal output OK to a gate and the source of a MOS transistor P3K to connect a connecting terminal QK to the gate are connected to an inverted output inhibited input the inverse of TIK, and the drain of the MOS transistor P3K, the drain of a MOS transistor N1K, the source of a MOS transistor N2K, and the drain of the MOS transistor N3K are connected to an inverted next stage inhibited output the inverse of TOK. In such a way, since the transistor N3K and P-channel MOS transistor P3K have the conductive types to be mutually different and they are connected in parallel between the inverted output inhibited input the inverse of TIK and inverted next stage inhibited output the inverse of TOK, the inverted next stage inhibited output the inverse of TOK is not made into a floating condition.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、連想メモリ(Content Addre
ssabjeMemory:CAM)等の複数の一致ア
トレス信号をある順番にエンコードしてゆき、バイナリ
−のアドレス出力を得るために使用する優先度付きアド
レスエンコータに関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an associative memory (Content Address
The present invention relates to a prioritized address encoder used to encode a plurality of matching address signals such as ssabjeMemory (CAM) in a certain order and obtain a binary address output.

〔従来の技術〕[Conventional technology]

CAMの基本機能は通常のメモリとは逆に参照データを
入力し、その参照データと一致したデータか記憶されて
いるワードのアドレスを出力するものであるか、複数の
ワードて一致が得られた場合に普通のエンコータでは正
しいエンコード出力か得られない。即ち、通常のバイナ
リ−エンコータに信号を印加する前に適当な順番をつけ
て、1つの信号だけかON電位になるようにクロック信
号で同期をとって順次切り替えて出力するようにしなけ
ればならない。
The basic function of CAM is to input reference data, contrary to normal memory, and output data that matches the reference data or the address of the stored word, or if a match is obtained for multiple words. In some cases, a normal encoder cannot provide the correct encoded output. That is, before applying signals to a normal binary encoder, it is necessary to set an appropriate order and synchronize with a clock signal so that only one signal is at an ON potential and sequentially switched and output.

以下に、優先度付きアドレスエンコータの持つべき機能
を説明する。ここでI = (1,、l、、 l+・・
・1、.1.)を入力信号ベクトル、0 = (0,1
,04、l+・・・貼、Oo)を出力信号ベクトル、A
=(八。、八□−1,・・・A+、Ao)、(n=2″
′”−])を出力アトレスとし、入力信号の優先度は1
.、>IJ(n≧K>j≧0)であるとする。一方、C
3はセラ1〜信号入力、C2はクロック信号人力である
。この機能は、まずセット信号人力C1に印加される信
号によって入力値りを取り込み、次にクロック信号人力
C2に印加されるクロック信号に同期して優先度の高い
順に順次ア1ヘレスか出力されるというものである。こ
こて入力信号ベクトルIから出力信号ムク1ヘルOへの
変換は、次に述へる規則に従って行なわれる。
The functions that the priority address encoder should have will be explained below. Here I = (1,, l,, l+...
・1,. 1. ) is the input signal vector, 0 = (0,1
, 04, l+... Paste, Oo) as the output signal vector, A
=(8., 8□-1,...A+, Ao), (n=2''
′”−]) is the output address, and the priority of the input signal is 1.
.. , >IJ (n≧K>j≧0). On the other hand, C
3 is a signal input from the cell 1, and C2 is a clock signal manually input. This function first captures the input value by the signal applied to the set signal C1, and then outputs the input values in order of priority in synchronization with the clock signal applied to the clock signal C2. That is what it is. Here, the conversion from the input signal vector I to the output signal MKU1HELO is performed according to the rules described below.

(I)入力信号ベクトルIの要素中に論理” 1 ”か
1箇所たけ存在するか、または存在しないとき、 0=I      (第1クロツク) 0−([1,0,・・・0.0)  C第2クロツク以
降)(II )入力信号へり1ヘルーの要素中に論理“
1゛。
(I) When a logic "1" exists or does not exist at one place in the element of the input signal vector I, 0=I (first clock) 0-([1,0,...0.0 ) From the second clock onwards) (II) Logic “
1゛.

か2箇所以I−存在するとき、例えばり、IJ、1.の
3箇所か論理゛1″てあり、 i>j>kとすると、 1=(0,・・・、[1,1,、[1,・・・、I)、
1.[)、・・・、[]、1.,0.・・・、fl) 
 (入力信号ベクトル)i   j   k O=((]、・・・、0.I、[1,・・・、0,0.
[]、・・・、0,0,0.・・・、0)(第1クロツ
ク)】 0’=(0,・・・、O,fl、[]、・・・、[)、
1.[1,・・・、[1,0,0,・・・、0)(第2
クロ・ンク)n=(o、・・・、o、o、o、・・・、
0,0,0.・・・、0.I、(]、・・・、0)(第
3クロ・ンク)Q==(Q、・・・、[1,0,[+、
・・・、[)、0.[1,・・・、[1,[1,0,・
・・、0)(第4クロ・ンク以降)以上まとめると、出
力信号ベクトルOの要素として論理°“1パは1箇所に
存在するかあるいは全く存在しないかのいずれかてあり
2入力値号ヘクトルIの要素として論理” 1 ”か複
数箇所存在していても、クロック信号に従って優先度の
高い順に出力される。
or two or more I- locations, for example, IJ, 1. There is a logical ``1'' in three places, and if i>j>k, then 1=(0,..., [1,1,, [1,..., I),
1. [), ..., [], 1. ,0. ..., fl)
(Input signal vector) i j k O=((], ..., 0.I, [1, ..., 0,0.
[],...,0,0,0. ..., 0) (first clock)] 0' = (0, ..., O, fl, [], ..., [),
1. [1,..., [1,0,0,...,0) (second
clock) n = (o, ..., o, o, o, ...,
0, 0, 0. ..., 0. I, (], ..., 0) (3rd clock) Q = = (Q, ..., [1, 0, [+,
..., [), 0. [1,..., [1, [1,0,...
..., 0) (from the 4th clock on) To summarize the above, as an element of the output signal vector O, a logic "1" exists either in one place or does not exist at all, and there are two input value numbers. Even if logic "1" exists in multiple locations as an element of vector I, it is output in order of priority according to the clock signal.

以」二のようにして得られた出力信号ヘタ1−ルOかア
ドレスエンコータによりエンコー1へされる。
The output signal 1-0 obtained as described above is sent to encoder 1 by the address encoder.

このエンコータは通常のものて、0.か論理゛l ”で
あればiの2進化符号か出力アトレスAとして得られる
This encoder is a normal one. If it is logical ``l'', it is obtained as the binary code of i or the output address A.

第3図は、例えば公開特許公報昭60−5!1595号
に示された従来の優先度伺きアドレスエンコータのに番
目の回路要素を示ず回路図である。第3図において、■
、は信号入力、C1はセット信号入力、C2,C,はク
ロック信号入力、()、は信号出力、AはNへND回路
、Bはインバータ、S+に+S2に+S:+に+’+に
+85にはNチャンネル間08トランジスタから成るス
イッチ回路、5611はPチャンネルMO8+−ランシ
スタから成るスイッチ回路である。Tlkは反転出力禁
止入力で、より優先度の高いアドレス(この例てはkよ
り大きい番号を持つ回路要素)において、入力信号とし
て”l ”か1箇所以上印加され、アドレスとして出力
された場合に°゛0゛か印加される。Te3は反転次段
禁止出力である。82k。
FIG. 3 is a circuit diagram, without showing the second circuit element, of a conventional priority address encoder disclosed in, for example, Japanese Patent Publication No. 1595/1983. In Figure 3, ■
, is a signal input, C1 is a set signal input, C2, C, is a clock signal input, (), is a signal output, A is an ND circuit to N, B is an inverter, S+ is +S2 is +S:+ is +'+ +85 is a switch circuit consisting of an N-channel 08 transistor, and 5611 is a switch circuit consisting of a P-channel MO8+- transistor. Tlk is an inverted output prohibition input, and if "l" is applied as an input signal at one or more locations in an address with a higher priority (in this example, a circuit element with a number greater than k) and is output as an address. °゛0゛ is applied. Te3 is an inverted next stage inhibition output. 82k.

”:lk +”4にはリセット用のスイッチ回路であり
、入力信号1に−“1 ”てかつ反転出力禁止出力TI
k−゛1“て信号出力Ok= ” 1 ” 、即ちアド
レスとして出力されると、クロック信号人力C2,C,
に従って接続端子Q、か0“にリセットされる。一度リ
セットされると、スイッチS2hの出力保持機能のため
、スイッチS 1yによってセットされるまてリセッ1
〜状態を保持し統げろ。なおりロック信号人力C3はク
ロック信号人力C2の反転てあり、その様子を第4図に
示す。第4図において、(a)はセット信号人力C1を
、(b)、 (c)はクロック信号人力C2,C3を、
また、■、〜T4はクロック信号人力C2+03の1周
期の時間幅を示す。
":lk +" 4 is a reset switch circuit, which inputs - "1" to input signal 1 and outputs inverted output inhibition output TI.
When the signal output Ok = ``1'' is outputted as an address, the clock signal C2, C,
Accordingly, the connection terminal Q is reset to 0". Once reset, due to the output holding function of the switch S2h, the reset 1 is set by the switch S1y.
~ Maintain and control the state. Note that the lock signal C3 is the inverse of the clock signal C2, and its state is shown in FIG. In FIG. 4, (a) shows the set signal C1, (b) and (c) show the clock signals C2 and C3,
Moreover, .about.T4 indicates the time width of one cycle of the clock signal C2+03.

第3図の回路の動作は、入力信号に従って次のように分
類される。
The operation of the circuit of FIG. 3 is classified as follows according to the input signal.

(])反転出力禁止人力Tlk−’“1 ”で、かつス
イッチSIkにより接続端子Q、か°°lパにセラ1〜
されていて、スイッチS2□+ 81k + ” 4 
kによるリセッ1〜かまた行なわれていない場合、NA
ND回路Aへの入力は共にl ”であるのて、信55出
力Okは、Ok−“l゛である。
(]) Reverse output prohibition Manual power Tlk-'"1" and switch SIk connects connection terminal Q,
and switch S2□+81k+”4
Reset by k 1~ or if not done, NA
Since both inputs to the ND circuit A are l'', the output Ok of the signal 55 is Ok-'l''.

1よ 一方、スイッチS5.はON状態、スイッチS G k
OFF状態にあるので、反転次段禁止出力出力TOkは
、TOk = ” O”である。
1, on the other hand, switch S5. is ON state, switch S G k
Since it is in the OFF state, the inverted next stage inhibition output TOk is TOk = "O".

(2)反転出力禁止入力’l’l、 −’“1 ”で、
かつスイッチSIkにより接続端子Q、か“0′′にセ
ラ1〜されているか、あるいは、スイッチS2□+ 8
3 k + ” ’l kによるリセットか完了してい
る場合、NAND回路Aへの入力の一方か“′O°゛で
あるので、信号出力Okは、Ok−°“0”である。
(2) When the inverted output inhibition input 'l'l, -' is “1”,
And the connection terminal Q is set to "0'' by the switch SIk, or the switch S2□+8
When the reset by 3k+'''lk has been completed, one of the inputs to the NAND circuit A is "'O°", so the signal output Ok is Ok-°"0".

一方、スイッチ85にはOFF状態、スイッチ86には
ON状態にあるので、反転次段禁+1−出力“rOkは
、TOk =“0゛である。
On the other hand, since the switch 85 is in the OFF state and the switch 86 is in the ON state, the inverted next stage inhibit +1-output "rOk" is TOk="0".

(3)反転出力禁止入力TIk−“0°′て、かつスイ
ッチSlkにより接続端子Qbか“l ”にセラ1へさ
れていて、スイッチ82 k + ” 3 k + S
 、lkによるリセッ1−h)また行なわれていない場
合、NAND回路Aへの人力の一方か“0パであるのて
、信号出力Okは、し=゛0”である。
(3) Inversion output inhibit input TIk - "0°'" and switch Slk connects connecting terminal Qb to "l" to cell 1, and switch 82 k + "3 k + S
, lk (1-h) is not performed, one of the inputs to the NAND circuit A is "0", so the signal output Ok is "0".

一方、スイッチS、、にはON状態、スイッチ5ett
はOFF状態にあるのて、反転次段禁止出力]゛0.は
、TOk =“0“である。
On the other hand, switches S, , are in the ON state, and switch 5ett is in the ON state.
is in the OFF state, so the inverted next stage inhibition output] ゛0. is TOk="0".

(4)反転出力禁止入力Tlk=“0パて、かつスイッ
チSlkにより接続端子Qkが“0′′にセラ1へされ
ているか、あるいは、スイッチS2□+83に+84k
によるリセットが完了している場合、NAND回路Aへ
の入力は共に“′0“であるのて、信号出力0νは、O
k−“0゛である。
(4) Is the inverted output inhibit input Tlk = “0” and the connection terminal Qk is set to “0'' by the switch Slk, or is +84k set to the switch S2□+83?
When the reset by
k-“0゛.

一方、スイッチ85にはOFF状態、スイッチ86には
ON状態にあるのて、反転次段禁止出力TOkは、TO
k =“0″である。
On the other hand, since the switch 85 is in the OFF state and the switch 86 is in the ON state, the inverted next stage inhibition output TOk is
k = “0”.

以上の関係を入出力真理値表にしたものか表1である。Table 1 shows the above relationship as an input/output truth table.

表       1 次に、第5図に示す、従来の3ワード入力の符号化回路
について説明する。ここては、第3図と回し回路要素を
3個1列に配置し、2番1」の回路要素列の反転出力禁
止人力買I2に“l“′を入力し、さらに2番目の回路
要素の反転次段禁止出力T02な1番目の回路要素の反
転出力禁止式カ汀1に接続し、1番目の回路要素の反転
法・段禁止出力TO3を0番目の回路要素の反転出力禁
止入力h13゜に接続し、0番目の回路要素の反転次段
禁止出力TOoを開放する。ここで、I −(1,、、
!、、1.)を入力信号ベクトル、0−(02,0□、
0.、)を出力信号ヘクI〜ルとする。第5図での例で
は、優先度はl、、> 1.>Ioの順となっている。
Table 1 Next, a conventional 3-word input encoding circuit shown in FIG. 5 will be explained. Here, as shown in Fig. 3, three turning circuit elements are arranged in one row, and "l"' is input to the inverted output prohibition input I2 of the circuit element row 2 and 1, and then the second circuit element The inversion next stage inhibition output T02 is connected to the inversion output inhibition formula 1 of the 1st circuit element, and the inversion method/stage inhibition output TO3 of the 1st circuit element is connected to the inversion output inhibition input h13 of the 0th circuit element. The inverted next stage inhibit output TOo of the 0th circuit element is opened. Here, I − (1,,,
! ,,1. ) is the input signal vector, 0−(02,0□,
0. , ) is the output signal I~. In the example in FIG. 5, the priorities are l, , > 1. >Io.

今I = (+、1.1)として第4図のタイミング・
チャートに従って第5図の例の動作をまとめると表2の
ようになる。
Now, assuming I = (+, 1.1), the timing in Figure 4
Table 2 summarizes the operations of the example shown in FIG. 5 according to the chart.

表       2 (発明が解決しようとする課題) 以上のように、従来の優先度利きアドレスエンコータは
、第3図のような回路要素をワード数ふんたけ従属接続
して構成される。ところか第3図のような回路要素にお
いて、反転出力禁止人力Tlk= ’“0゛て、かつス
イッチ81kにより接続端子Qkか°′0゛にセットさ
れているか、あるいは、スイッチS 2k +S:lk
 +S4kによるリセッ1〜か完了している場合、Pチ
ャンネルMO3)ランシスタより成るスイッチ回路86
 kはON状態になるか、PチャンネルMOSトランジ
スタ86にのソースか“0パであることにより充分にO
Nせず、“0″となるへき反転次段禁止出力TOkはフ
ローテインク状態となってしまい、信号か正確に伝わら
ない可能性かあるという問題点かあった。
Table 2 (Problems to be Solved by the Invention) As described above, the conventional priority-based address encoder is constructed by cascading as many circuit elements as the number of words shown in FIG. 3. However, in the circuit element shown in FIG. 3, the inversion output inhibiting force Tlk = '0' and the connection terminal Qk is set to '0' by the switch 81k, or the switch S2k + S:lk
If the reset by +S4k has been completed, the P-channel MO3) switch circuit 86 consisting of a run transistor
k is turned on or the source of the P-channel MOS transistor 86 is set to "0", so that the voltage is sufficiently low.
There was a problem in that the next-stage inversion inhibition output TOk, which does not become N and becomes "0", becomes a floating state, and there is a possibility that the signal may not be transmitted accurately.

この発明は上記のような問題点を解消するためになされ
たものて、次段禁止出力かフローテインク状態になるこ
とを回避して、安定な符号化回路を得ることを目的とす
る。
The present invention was made to solve the above-mentioned problems, and it is an object of the present invention to obtain a stable encoding circuit by avoiding the next stage inhibited output or floating state.

(課題を解決するための手段) この発明に係る符号化回路は、一方の端が第1の電源に
接続され、他方の端が信号出力に接続された、信号入力
によって制御される第1の導゛1L型の第1のスイッチ
素子(例えは後述の第1図のトランジスタPlk 、あ
るいは第2[メ1の1〜ランシスタN4.)と、一方の
端が」二起筆1の電源に接続され、他方の端が上記信号
出力に接続された、出力禁止入力によって制御される第
1の導電甲の第2のスイッチ素子(例えば後述の第1図
の1ヘランシスタP2k 、あるいは第2図のトランジ
スタN5k)と、一方の端が上記出力禁止入力に接続さ
れ、他方の端が次段禁止出力に接続された、上記信号入
力によって制御される第1の導電型の第3のスイッチ素
子(例えば後述の第1図のトランジスタP3k、あるい
は第2図のトランジスタN6.)とニ一方の端が第2の
電源に接続され、他方の端が上記次段禁止出力に接続さ
れた、−1−記信号入力によって制御される第2の導電
型の第4のスイッチ素子(例えは後述の第1図のトラン
ジスタNlk 、あるいは第2図のトランジスタP4b
 )と: 一方の端が上記次段禁止出力に接続され、他
方の端が上記信号出力に接続された、l−記出力禁止入
力によって制御される第2の導電型の第5のスイッチ素
子(例えば後述の第1図のトランジスタN25、あるい
は第2図のトランジスタP5k )とニ一方の端が上記
出力禁止入力に接続され、他方の端がl−記次段禁止出
力に接続された、上記信号出力によって制御される第2
の導電型の第6のスイッチ素f(例えば後述の第1図の
トランジスタNak 、あるいは第2図のトランジスタ
1)1、□)と、を備えたものである。
(Means for Solving the Problems) An encoding circuit according to the present invention includes a first encoder circuit controlled by a signal input, one end of which is connected to a first power supply, and the other end of which is connected to a signal output. The first switch element of the conductor type 1L (for example, the transistor Plk in FIG. 1, which will be described later, or the second transistor N4. , the other end of which is connected to the above-mentioned signal output, and the second switch element of the first conductive layer controlled by the output inhibit input (for example, the one-heran transistor P2k in FIG. 1 described later, or the transistor N5k in FIG. 2) ), and a third switch element of the first conductivity type controlled by the signal input (for example, Transistor P3k in FIG. 1 or transistor N6 in FIG. A fourth switch element of the second conductivity type controlled by
) and: a fifth switch element of a second conductivity type controlled by the output prohibition input indicated by l-, whose one end is connected to the next stage prohibition output and the other end is connected to the signal output; For example, a transistor N25 in FIG. 1 (described later) or a transistor P5k in FIG. The second controlled by the output
A sixth switching element f (for example, the transistor Nak in FIG. 1, which will be described later, or the transistor 1 in FIG. 2) 1, □) of the conductivity type.

〔作用〕[Effect]

この発明における第3のスイッチ素子と第6のスイッチ
素子とは互いに異なる導電型を持ち、かつ出力禁止入力
と次段禁止出力との間て並列に接続されているため、出
力禁止入力の情報を正確に次段禁止出力へ伝達する。
In this invention, the third switch element and the sixth switch element have different conductivity types, and are connected in parallel between the output prohibition input and the next stage prohibition output, so that information on the output prohibition input is transmitted. Accurately transmit to the next stage inhibition output.

〔実施例〕〔Example〕

第1図は、この発明による符号化回路の一実施例におけ
るに番1コ1の回路要素の回路図である。第1図におい
て第3図と同一・符号のものは相当部分を示ず。Nl 
k + N2 k + N3 kはNチャンネルMOS
 l−ランジスタ、Pl k + 1)2 k + P
 :l kはPチャンネルMO8+−ランシスタてあり
、接続端子Q、をケー1−に接続したMO’、; )ラ
ンシスタPlkのソースと反転出力禁1F入力TIkを
ケー1へに接続したMOS トランジスタP 2 kの
ソースを電源V11に接続し、MOS 1〜ランシスタ
Plkのトレインと閘osトランジスタI)2.のトレ
インと反転出力禁止人力TIkをゲートに接続したMO
S )ランシスタN2にのトレインとを反転信号出力O
kに接続し、接続端子Q、をゲートに接続したMOS 
トランジスタNlkのソースを接地し、反転信号出力0
.をゲートに接続したMOS )−ランシスタN3にの
ソースと接続端子Q、をゲートに接続したMOS )ラ
ンシスタP3にのソースとを反転出力禁止入力TIkに
接続し、MOSトランジスタP3にのトレインとMOS
 )ランシスタNlkのトレインとMOS +−ランシ
スタ82にのソースとMOS )ランシスタN3にのト
レインとを反転次段禁止出力i−1に接続している。
FIG. 1 is a circuit diagram of the first circuit element in an embodiment of the encoding circuit according to the present invention. In FIG. 1, the same parts and symbols as those in FIG. 3 do not show corresponding parts. Nl
k + N2 k + N3 k is N-channel MOS
l-transistor, Pl k + 1) 2 k + P
:lk is a P-channel MO8+-Lancissistor, MO' with the connection terminal Q connected to K1-; Connect the source of k to the power supply V11, and connect the MOS 1 to the train of the transistor Plk and the lock os transistor I)2. MO with the train and reverse output prohibition human power TIk connected to the gate.
S) Output the inverted signal from the train to the run transistor N2.
MOS connected to k and connecting terminal Q to the gate
The source of the transistor Nlk is grounded, and the inverted signal output is 0.
.. ) - MOS whose gate is connected to the source of the MOS transistor N3 and connection terminal Q, MOS whose source of the MOS transistor P3 is connected to the inverted output inhibit input TIk, and the train of the MOS transistor P3 and the MOS
) The train of the run transistor Nlk and the source of the run transistor 82 and the train of the run transistor N3 are connected to the inverted next stage inhibition output i-1.

第1[図の回路の動作は、入力信号に従って次のように
分類される。
The operation of the circuit shown in FIG. 1 is classified as follows according to the input signal.

(1)反転出力禁止人力「k−“l ”て、かつスイッ
チS+kにより接続端子C1kか°°1゛にセラ1−さ
れていて、スイッチS2+1 +”3k +Lkによる
リセッ1〜がまた行なわれていない場合、Nチャンネル
MOS 1〜ランシスタN+b、N21(は共にON状
態にあるのて、信呼出力0□は、O2−“1″である。
(1) Reverse output is inhibited by human power "k-"l", and the connection terminal C1k is set to °°1" by the switch S+k, and the reset 1~ is performed again by the switch S2+1+"3k+Lk. If not, N-channel MOS 1 to run transistors N+b and N21 are both in the ON state, so the call output 0□ is O2-“1”.

一方、NチャンネルMOS )ランシスタN :l k
はOFF状態、PチャンネルMO8)ランシスタ1)1
にはOFF状態、NチャンネルMOSトランジスタNl
kはON状態にあるのて、反転次段禁止出力TOkは、
TOk−”0“′である。
On the other hand, N-channel MOS) run transistor N: l k
is OFF state, P channel MO8) Runsistor 1) 1
is in the OFF state, N-channel MOS transistor Nl
Since k is in the ON state, the inverted next stage inhibition output TOk is
TOk-"0"'.

(2)反転出力禁止入力Th−“l゛て、かつスイッチ
Slkにより接続端子Q、か“0′”にセ・ン1〜され
ているか、あるいは、スイッチ82 k+ ” :l 
k + ” 4 kによるリセットか完了している場合
、PチャンネルMO3)ランシスタ1)、にはON状態
にあるのて、信号出力0.ば、0.−“0゛である。
(2) Is the inverted output inhibit input Th-“L” and the connection terminal Q is set to “0’” by the switch Slk, or is the switch 82k+”:L
k + "4 When the reset by k is completed, the P channel MO3) run transistor 1) is in the ON state, so the signal output is 0., 0.-"0''.

一方、NチャンネルMOS )ランシスタN3にはON
状態、PチャンネルMO8)−ランシスタP 3 kは
ON状態、NチャンネルMOS 1〜ランシスタNlk
はOFF状態にあるので、反転次段禁止出力TOkは、
Tok−1゛である。
On the other hand, N-channel MOS) is ON for run transistor N3.
Status, P channel MO8) - Runsistor P3k is ON state, N channel MOS 1 - Runsistor Nlk
is in the OFF state, so the inverted next stage inhibition output TOk is
It is Tok-1゛.

(3)反転出力禁止入力T1.−“0゛て、かつスイッ
チSlkにより接続端子Q、か′1“′にセットされて
いて、スイッチS2h +S:+に、S、ntによるリ
セットかまた行なわれていない場合、PチャンネルMO
3)ランシスタP2には01Lt態にあるのて、信号出
力Okは、Ok=°“0゛である。
(3) Inversion output prohibition input T1. - "0" and is set to connection terminal Q, or '1' by switch Slk, and switch S2h +S:+ is reset by S, nt or not, P channel MO
3) Since the run transistor P2 is in the 01Lt state, the signal output Ok is Ok=°"0".

一方、NチャンネルMOS )ランシスタN3にはON
状態、PチャンネルMOSトランジスタP3にはOFF
状態、NチャンネルMOS トランジスタNlkはON
状態にあるのて、反転次段禁止出力TOhは、TOk 
−°゛0′′である。
On the other hand, N-channel MOS) is ON for run transistor N3.
state, P-channel MOS transistor P3 is OFF
Status, N-channel MOS transistor Nlk is ON
state, the inverted next stage inhibition output TOh is TOk.
-°゛0''.

(4)反転出力禁止入力TI、 =“0゛て、かつスイ
ッチSlkにより接続端子Qkか′0″にセットされて
いるか、あるいは、スイッチS2h +33k +84
kによるリセットか完了している場合、PチャンネルM
O8)ランシスタ’Ill+P2には共にON状態であ
るのて、信号出力0.は、o、=”o”である。
(4) Inversion output inhibit input TI, = “0” and connection terminal Qk is set to “0” by switch Slk, or switch S2h +33k +84
If the reset by k has been completed, the P channel M
O8) Since both run transistors 'Ill+P2 are in the ON state, the signal output is 0. is o,=“o”.

一方、NチャンネルMOS )ランシスタN3にはON
状態、PチャンネルMO3)ランシスタP3にはON状
態、NチャンネルMOS )−ランシスタNlkはOF
F状態にあるのて、反転次段禁止出力T(hは、TOk
 −” o ”である。
On the other hand, N-channel MOS) is ON for run transistor N3.
state, P channel MO3) Run transistor P3 is ON state, N channel MOS) - Run transistor Nlk is OF
Since it is in the F state, the inverted next stage inhibition output T (h is TOk
- “o”.

このように、この発明の実施例によればNチャンネルM
O8l−ランシスタNlkとPチ・VンネルMOSトラ
ンジスタP3にとは互いに異なる導電型を持ち、反転出
力禁止入力TI、と反転次段禁止出力TOkとの間で並
列に接続されているのて反転次段禁止出力TOkはフロ
ーテインク状態になることはない。
Thus, according to the embodiment of the present invention, N channels M
The O8l-run transistor Nlk and the P channel/V channel MOS transistor P3 have different conductivity types, and are connected in parallel between the inverted output inhibit input TI and the inverted next stage inhibited output TOk. The stage inhibit output TOk never becomes a floating state.

第2図は、この発明による符号化回路の他の実施例にお
けるに番目の回路要素の回路図である。
FIG. 2 is a circuit diagram of the second circuit element in another embodiment of the encoding circuit according to the present invention.

第2図において第1図と同一符号のものは相当部分を示
す。P4に、P’、に、PlikはPチャンネルMO3
)ランシスタ、N4k 、 N51L 、 N6にはN
チャンネルMOS )−ランシスタてあり、接続端子Q
kをケートに接続したMOS トランジスタN4にのソ
ースと出力禁止入力TI、をケートに接続したMOS 
l−ランシスタN、、ikのソースを接地し、MOS 
)−ランシスタ84にの1〜レインとMOS )ランシ
スタN5にのトレインと出力共1F入力Tlkをゲー1
−に接続したMOS 1〜ランシスタPThkの1−レ
インとを信号出力Okに接続し、接続端子Q、をゲート
に接続したMOS l−ランシスタ1〕。のソースを電
源VBに接続し、信号出力0.をケートに接続したMO
S )ランシスタP6にのソースと接続端子Q、をゲー
トに接続したMOS )ランシスタN6にのソースを出
力禁止入力TIhに接続し、MOSトランジスタN6に
のトレインとMOSトランジスタP4にのトレインとM
OS )ランシスタP5t、のソースとMOSトランジ
スタP6にのトレインとを次段禁止出力TOkに接続し
ている。
In FIG. 2, the same reference numerals as in FIG. 1 indicate corresponding parts. P4, P', Plik is P channel MO3
) Runsistor, N4k, N51L, N6 for N
Channel MOS) - Has a run transistor, connection terminal Q
MOS with k connected to the gate MOS with the source of transistor N4 and output inhibit input TI connected to the gate
l-ground the source of the transistor N,, ik, and connect the MOS
) - 1~rain and MOS to run transistor 84) 1F input Tlk to gate 1 for both train and output to run transistor N5
- MOS 1 connected to the MOS 1 to the 1-rain of the run transistor PThk are connected to the signal output Ok, and the connection terminal Q is connected to the gate of the MOS l-run transistor 1]. Connect the source of 0. to the power supply VB and output the signal 0. MO connected to the Kate
S) A MOS whose gate is connected to the source of the MOS transistor P6 and the connection terminal Q.) A MOS whose source is connected to the output inhibit input TIh, and a train to the MOS transistor N6, a train to the MOS transistor P4, and a MOS transistor connected to the gate of the MOS transistor P6.
OS) The source of the transistor P5t and the train of the MOS transistor P6 are connected to the next stage inhibit output TOk.

この実施例ては、NチャンネルMOS )−ランシスタ
N6にとPチャンネルMO8)ランシスタP6にとは互
いに異なる導電型を持ち、出力禁止入力TI、と次段禁
止出力TOkとの間て並列に接続されているのて次段禁
止出力TOkフローテインク状態になることはない。
In this embodiment, the N-channel MOS transistor N6) and the P-channel MOMOS transistor P6 have different conductivity types, and are connected in parallel between the output inhibit input TI and the next stage inhibit output TOk. Even if the next stage prohibition output TOk is in a floating state, it will not occur.

なお、この実施例の動作は第1図の実施例の動作と類似
しているのて、その説明は省略する。
Note that the operation of this embodiment is similar to that of the embodiment shown in FIG. 1, so a description thereof will be omitted.

(発明の効果) 以−ヒのように、この発明によれば、次段禁止出力かフ
ローテインク状態になることを回避して出力禁止入力の
情報を正確に次段禁止出力へ伝達することかできる、安
定な符号化回路を得られる効果がある。
(Effects of the Invention) As described above, according to the present invention, it is possible to avoid the next-stage inhibited output or the floating state and accurately transmit the information of the output inhibited input to the next-stage inhibited output. This has the effect of providing a stable encoding circuit.

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

第1図はこの発明の一実施例による符号化回路のに番目
の回路要素を示す回路図、第2図はこの発明の他の実施
例による符号化回路のに番[1の回路要素を示す回路図
、第3図は従来の符号化回路のに番目の回路要素を示す
回路図、第4図はセット信号及びクロック信号入力の波
形を示す図、第5図は従来の3ワー)〜人力の符号化回
路の回路し1である。 図において、■、は信号入力、TI、は出力禁止入力、
TOkは次段禁止出力、Okは信号出力、P l k 
+’2に+P3k又はN411+N5に+N6には第1
、第2、第3のスイッチ素子、Nik、N2に、Ns。 又はl)□、P、b、Pe、Rは第4、第5、第6のス
イッチ素子−である。 なお、図中同一符号は同−又は相当部分を示す。 代  理  人   大   岩   増   A1[
第2 図 Tlに
FIG. 1 is a circuit diagram showing the second circuit element of an encoding circuit according to an embodiment of the present invention, and FIG. 2 is a circuit diagram showing the second circuit element of an encoding circuit according to another embodiment of the present invention. 3 is a circuit diagram showing the second circuit element of a conventional encoding circuit, FIG. 4 is a diagram showing waveforms of set signal and clock signal input, and FIG. The circuit diagram of the encoding circuit is 1. In the figure, ■ is a signal input, TI is an output inhibit input,
TOk is the next stage inhibition output, Ok is the signal output, P l k
+'2 to +P3k or N411+N5 to +N6 to the first
, the second and third switch elements, Nik, N2, and Ns. or l) □, P, b, Pe, and R are the fourth, fifth, and sixth switch elements. Note that the same reference numerals in the figures indicate the same or equivalent parts. Agent Masu Oiwa A1 [
In Figure 2 Tl

Claims (1)

【特許請求の範囲】[Claims] (1)一方の端が第1の電源に接続され、他方の端が信
号出力に接続された、信号入力によって制御される第1
の導電型の第1のスイッチ素子と、一方の端が上記第1
の電源に接続され、他方の端が上記信号出力に接続され
た、出力禁止入力によって制御される第1の導電型の第
2のスイッチ素子と、 一方の端が上記出力禁止入力に接続され、他方の端が次
段禁止出力に接続された、上記信号入力によって制御さ
れる第1の導電型の第3のスイッチ素子と、 一方の端が第2の電源に接続され、他方の端が上記次段
禁止出力に接続された、上記信号入力によって制御され
る第2の導電型の第4のスイッチ素子と、 一方の端が上記次段禁止出力に接続され、他方の端が上
記信号出力に接続された、上記出力禁止入力によって制
御される第2の導電型の第5のスイッチ素子と、 一方の端が上記出力禁止入力に接続され、他方の端が上
記次段禁止出力に接続された、上記信号出力によって制
御される第2の導電型の第6のスイッチ素子と、 を備えた符号化回路。
(1) A first device controlled by a signal input, with one end connected to a first power source and the other end connected to a signal output.
a first switch element having a conductivity type of
a second switch element of a first conductivity type controlled by the output prohibition input, the second switch element being connected to the power supply of the device and having one end connected to the output prohibition input; a third switch element of the first conductivity type controlled by the signal input, the other end of which is connected to the next-stage inhibit output; one end of which is connected to the second power source, and the other end of which is a fourth switch element of a second conductivity type that is connected to the next-stage inhibition output and is controlled by the signal input; one end is connected to the next-stage inhibition output and the other end is connected to the signal output; a fifth switch element of a second conductivity type that is controlled by the output prohibition input, one end of which is connected to the output prohibition input, and the other end of which is connected to the next stage prohibition output; , and a sixth switch element of a second conductivity type controlled by the signal output.
JP12313089A 1989-05-16 1989-05-16 Encoding circuit Pending JPH02302995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12313089A JPH02302995A (en) 1989-05-16 1989-05-16 Encoding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12313089A JPH02302995A (en) 1989-05-16 1989-05-16 Encoding circuit

Publications (1)

Publication Number Publication Date
JPH02302995A true JPH02302995A (en) 1990-12-14

Family

ID=14852926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12313089A Pending JPH02302995A (en) 1989-05-16 1989-05-16 Encoding circuit

Country Status (1)

Country Link
JP (1) JPH02302995A (en)

Similar Documents

Publication Publication Date Title
US5777501A (en) Digital delay line for a reduced jitter digital delay lock loop
US4691122A (en) CMOS D-type flip-flop circuits
USRE37619E1 (en) Skewless differential switch and DAC employing the same
US4710650A (en) Dual domino CMOS logic circuit, including complementary vectorization and integration
JPS60114029A (en) Differential logic circuit
JPS61263313A (en) Latch circuit with selector
US6876352B1 (en) Scanning circuit
US4749886A (en) Reduced parallel EXCLUSIVE or and EXCLUSIVE NOR gate
US4733111A (en) Sequential-logic basic element in CMOS technology operating by a single clock signal
JPH0378718B2 (en)
US5936449A (en) Dynamic CMOS register with a self-tracking clock
US4387294A (en) Shift register-latch circuit driven by clocks with half cycle phase deviation and usable with a serial alu
EP0178419A2 (en) Dynamically selectable polarity latch
JPH02302995A (en) Encoding circuit
KR910008519B1 (en) Circuit for unity detection
US6300801B1 (en) Or gate circuit and state machine using the same
EP0209829B1 (en) Sequential-logic basic element and network in cmos technologyy
US5982198A (en) Free inverter circuit
JPS5920196B2 (en) bidirectional shift register
JPS61252715A (en) M bit binary counter
JPH0247038B2 (en)
KR0185407B1 (en) Record recognition circuit
JPH0352159B2 (en)
US4745306A (en) Half adder having a pair of precharged stages
JPS614979A (en) Semiconductor integrated circuit device