JP3850139B2 - Logic circuit - Google Patents

Logic circuit Download PDF

Info

Publication number
JP3850139B2
JP3850139B2 JP12551998A JP12551998A JP3850139B2 JP 3850139 B2 JP3850139 B2 JP 3850139B2 JP 12551998 A JP12551998 A JP 12551998A JP 12551998 A JP12551998 A JP 12551998A JP 3850139 B2 JP3850139 B2 JP 3850139B2
Authority
JP
Japan
Prior art keywords
input
circuit
signal
negation
logic circuit
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 - Fee Related
Application number
JP12551998A
Other languages
Japanese (ja)
Other versions
JPH11330950A (en
Inventor
洋二 蟹江
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP12551998A priority Critical patent/JP3850139B2/en
Publication of JPH11330950A publication Critical patent/JPH11330950A/en
Application granted granted Critical
Publication of JP3850139B2 publication Critical patent/JP3850139B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Logic Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明はデジタル信号処理に用いられる論理回路に関する。
【0002】
【従来の技術】
図26は従来の2入力の論理積の否定回路の回路図である。入力端子71、72より2信号が論理積の否定回路に入力される。入力端子71はPチャネルトランジスタ73のゲート及びNチャネルトランジスタ75のゲートに接続されている。一方、入力端子72はPチャネルトランジスタ74のゲート及びNチャネルトランジスタ76のゲートに接続されている。トランジスタ73のソースは電源電圧77に接続されドレインは出力端子79に接続されている。トランジスタ74のソースは電源電圧77に接続されドレインは出力端子79に接続されている。トランジスタ75のドレインは出力端子79に接続されソースはトランジスタ76のドレインに接続されている。そして、トランジスタ76のソースはグランドレベル78に接続されている。
【0003】
これにより、入力端子71、72より入力される信号がともにハイレベル(以下「1」という)であるときにはトランジスタ73、74はともにオフし、トランジスタ75、76はともにオンするので出力端子79の状態はローレベル(以下「0」という)となる。これに対して、入力端子71、72より入力される信号が上記条件の1となるとき以外ではトランジスタ73、74の少なくとも一方がオンし、トランジスタ75、76の少なくとも一方がオフするので出力端子79の状態は1となる。
【0004】
図27は従来の3入力以上の多入力の論理積の否定回路の回路図である。入力端子81、82・・・83より3以上の多信号が論路積の否定回路に入力される。入力端子81はPチャネルトランジスタ84のゲート及びNチャネルトランジスタ87のゲートに接続されている。入力端子82はPチャネルトランジスタ85のゲート及びNチャネルトランジスタ88のゲートに接続されている。各入力ごとに同様の構成をとり、最後に入力端子83はPチャネルトランジスタ86のゲート及びNチャネルトランジスタ89のゲートに接続されている。
【0005】
トランジスタ84のソースは電源電圧90に接続されドレインは出力端子92に接続されている。トランジスタ85のソースは電源電圧90に接続されドレインは出力端子92に接続されている。同様に、各入力について設けられているPチャネルトランジスタのソースは電源電圧90に接続されドレインは出力端子92に接続されている。そして、トランジスタ86のソースは電源電圧90に接続されドレインは出力端子92に接続されている。
【0006】
トランジスタ87のドレインは出力端子92に接続されソースはトランジスタ88のソースに接続されている。同様に、各入力に設けられているNチャネルトランジスタは直列となるように接続されている。そして、トランジスタ89のソースはグランドレベル91に接続されている。
【0007】
これにより、入力端子81、82・・・83より入力される信号がすべて1であるときにはトランジスタ84、85・・・86はすべてオフし、トランジスタ87、88・・・89はすべてオンするので出力端子92の状態は0となる。これに対して、入力端子81、82・・・83より入力される信号が上記条件のようにすべて1となるとき以外ではトランジスタ84、85・・・86の少なくとも1つがオンし、トランジスタ87、88・・・89の少なくとも1つがオフするので出力端子92の状態は1となる。
【0008】
図28は従来の2入力の論理和の否定回路の回路図である。入力端子101、102より2信号が論理和の否定回路に入力される。入力端子101はPチャネルトランジスタ103のゲート及びNチャネルトランジスタ105のゲートに接続されている。一方、入力端子102はPチャネルトランジスタ104のゲート及びNチャネルトランジスタ106のゲートに接続されている。トランジスタ104のソースは電源電圧107に接続され、ドレインはトランジスタ103のソースにグランドレベル108に接続されている。トランジスタ103のドレインは出力端子109に接続されている。トランジスタ105のドレインは出力端子109に接続されソースはグランドレベル108に接続されている。一方、トランジスタ106のドレインは出力端子109に接続されソースはグランドレベル108に接続されている。
【0009】
これにより、入力端子101、102より入力される信号がともに0であるときにトランジスタ103、104がともにオンし、トランジスタ105、106がともにオフするので出力端子109の状態は1となる。これに対して入力端子101、102より入力される信号が上述のようにともに1となるとき以外ではトランジスタ103、104の少なくとも一方がオフし、トランジスタ105、106の少なくとも一方がオンするので出力端子109の状態は0となる。
【0010】
図29は従来の3入力以上の多入力の論理和の否定回路の回路図である。入力端子111、112・・・113より3以上の多信号が論理和の否定回路に入力される。入力端子111はPチャネルトランジスタ114のゲート及びNチャネルトランジスタ117のゲートに接続されている。入力端子112はPチャネルトランジスタ115のゲート及びNチャネルトランジスタ118のゲートに接続されている。同様に、各入力ごとに同様の構成をとり最後に、入力端子113はPチャネルトランジスタ116のゲート及びNチャネルトランジスタ119のゲートに接続されている。
【0011】
トランジスタ116のソースは電源電圧120に接続されドレインは次段のPチャネルトランジスタのソースに接続されている。同様に各入力に設けられているPチャネルトランジスタは直列となるように接続され、トランジスタ115のドレインはトランジスタ114のソースに接続されている。トランジスタ114のドレインは出力端子122に接続されている。トランジスタ117のドレインは出力端子122に接続されソースはグランドレベル111に接続されている。トランジスタ118のドレインは出力端子122に接続されソースはグランドレベル111に接続されている。同様に、各入力について設けられているNチャネルトランジスタのドレインは出力端子122に接続されソースはグランドレベル111に接続され、最後にトランジスタ119の出力端子122にグランドレベル111に接続されている。
【0012】
これにより、入力端子111、112・・・113より入力される信号がすべて0であるときにトランジスタ114、115・・・116がすべてオンし、トランジスタ117、118・・・119がすべてオフするので出力端子122の状態は1となる。これに対して、入力端子111、112・・・113より入力される信号が上記条件のようにすべて0となるとき以外ではトランジスタ114、115・・・116の少なくとも1つがオフし、トランジスタ117、118・・・119の少なくとも1つがオンするので出力端子122の状態は0となる。
【0013】
以上図26〜図29に示す論理回路では、例えば図26に示す論理積の否定回路では入力端子71が2つのトランジスタ73、75の各ゲートに接続されているように、いずれの回路においても1つの入力端子は2つのトランジスタの各ゲートに接続されている構成となっている。
【0014】
【発明が解決しようとする課題】
ところが、実際の論理回路では、例えば図26に示す論理積の否定回路では入力端子71、72の信号入力が平均的に1と0に変化するものでなく、例えば一方の入力端子71に入力される信号に1が多く、他方の入力端子72に入力される信号が短周期で多数振動する場合がある。この場合、各入力端子71、72は2個のトランジスタのゲートに接続されているので各信号の1と0の切り替わり時に各ゲートの容量に充放電電流が流れるため、消費電流が多く流れるという問題があった。
【0015】
本発明は上記課題を解決するもので、上述のように例えば入力信号の一方が1又は0の状態が比較的長期間に及び、もう一方が短周期で多数振動する場合に、充放電電流が少なくて済む論理回路を提供することを目的とする。
【0016】
【課題を解決するための手段】
上記目的を達成するために、本発明の第1の構成では、第1の入力端子と、第2の入力端子と、前記第2の入力端子に入力される信号とは否定関係のある信号が入力される第3の入力端子と、ソースが前記第1の入力端子に接続されゲートが前記第2の入力端子に接続されドレインがノードに接続されている第1のNチャネルトランジスタと、ソースが第1の電圧に接続されゲートが前記第3の入力端子に接続されドレインが前記ノードに接続されている第2のNチャネルトランジスタと、前記ノードの信号状態の否定を出力する否定回路と、ソースが第2の電圧に接続されゲートが前記否定回路の出力に接続されドレインが前記ノードに接続されているPチャネルトランジスタと、前記否定回路の出力を導き出すための第1の出力端子と、前記ノードの信号状態を導き出すための第2の出力端子とを備えるようにしている。
【0017】
このような構成によると、論理回路では第2の入力端子と第3の入力端子に互いに否定関係のある信号が入力される。例えば、第1の電圧はグランドレベルであり、第2の電圧は電源電圧である。第2の入力端子では0(グランドレベル)、すなわち第3の入力端子では1(電源電圧)が入力されるときには第1のNチャネルトランジスタはオフし、第2のNチャネルトランジスタはオンする。そのため、ノードの状態はグランドレベルに固定されるので、第1の入力端子に入力される信号の状態に関係なく前記否定回路を介して第1の出力端子より1が出力され、一方、第2の出力端子ではノードから直接に0が出力される。一方、第2の入力端子では1すなわち第3の入力端子では0が入力されるときには第1のNチャネルトランジスタがオンし、第2のNチャネルトランジスタがオフするので、第1の入力端子より入力される信号が前記第1のNチャネルトランジスタを介して前記ノードに送られ、ノードの状態に応じた信号が出力端子1、出力端子2より出力される。したがって、第2の入力端子が0すなわち第3の入力端子が1となるときには、入力端子1より入力される信号が、短周期で多数振動するときにも第1のトランジスタのソースでの容量による充放電電流が流れるだけとなるので、このような条件での信号入力が比較的多い場合には論理回路は低消費電力となる。
【0018】
また、本発明の第2の構成では、第1の入力端子と、第2の入力端子と、前記第2の入力端子に入力される信号とは否定関係のある信号が入力される第3の入力端子と、ソースが前記第1の入力端子に接続されゲートが前記第2の入力端子に接続されドレインがノードに接続されている第1のPチャネルトランジスタと、ソースが第1の電圧に接続されゲートが前記第3の入力端子に接続されドレインが前記ノードに接続されている第2のPチャネルトランジスタと、前記ノードの信号状態の否定を出力する否定回路と、ソースが第2の電圧に接続されゲートが前記否定回路の出力に接続されドレインが前記ノードに接続されているNチャネルトランジスタと、前記否定回路の出力を導き出すための第1の出力端子と、前記ノードの信号状態を導き出すための第2の出力端子とを備えるようにしている。
【0019】
このような構成によると、例えば第1の電圧は電源電圧で第2の電圧はグランドレベルであり、上記構成とは逆に、第2の入力端子では1、すなわち第3の入力端子では0が入力されるとき、第1のPチャネルトランジスタはオフし、第2のPチャネルトランジスタはオンする。そのため、ノードの状態は電源電圧によって1となり、否定回路を介して第1の出力端子より0が出力され、一方、第2の出力端子ではノードから直接1が出力される。
【0020】
また、本発明の第3の構成では、上記第1の構成又は上記第2の構成において、第1の入力信号は前記第1の入力端子に直接入力され、第2の入力信号は前記第2の入力端子に直接入力されるとともに否定回路を介して前記第3の入力端子に入力されるようにしている。
【0021】
このような構成によると、論理回路は2信号が入力されるようになっており、上記第1の構成の場合では、第1の入力信号は第1の入力端子に、第2の入力信号は直接第2の入力端子に、また第2の入力信号は否定回路を介して第3の入力端子に入力される。これにより、第1の出力端子では前記第1、第2の入力信号の論理積の否定が出力され、第2の出力端子では前記第1、第2の入力端子の論理積が出力される。一方、上記第2の構成では第1の出力端子より第1、第2の入力信号の論理和の否定が出力され、第2の出力端子より第1、第2の入力信号の論理和が出力される。
【0022】
また、本発明の第4の構成では、上記第1の構成又は上記第2の構成において、さらに、第1の入力信号は前記第1の入力端子に直接入力され、第2の入力信号は否定回路を介して前記第2の入力端子に入力されるとともに第3の入力端子には直接入力されるようにしている。
【0023】
このような構成によると、論理回路は第2、第3の入力端子に入力される信号が上記第3の構成とは、否定関係のある信号が入力されるようになっており、第2の信号の否定したものについて上記第3の構成と同様に動作する。
【0024】
【発明の実施の形態】
<第1の実施形態>
以下、本発明の実施形態について説明する。図1は本発明の第1の実施形態を示す論理回路の回路図である。この論理回路は2つの入力信号A、Bの論理積回路及び論理積の否定回路を実現した回路図である。
【0025】
入力端子1より信号Aが入力され、入力端子2より信号Bが入力される。入力端子1はNチャネルトランジスタ4のソースに接続されている。一方、入力端子2はトランジスタ4のゲートに接続されるとともに、入力端子2はさらに否定回路13を介してNチャネルトランジスタ5のゲートに接続されている。トランジスタ4のドレインはノード15に接続されている。また、トランジスタ5のドレインはノード15に接続されソースはグランドレベル9に接続されている。
【0026】
否定回路6はノード15の信号状態を入力してその否定を出力する。Pチャネルトランジスタ7のソースは電源電圧8に接続されゲートは否定回路6の出力に接続されドレインはノード15に接続されている。そして、否定回路6の出力を導き出すための出力端子10と、ノード15の状態を導き出すための出力端子11が設けられている。
【0027】
これにより、信号Bが0である場合には、トランジスタ4はオフし、トランジスタ5はオンする。そのため、ノード15は信号Aの状態に関係なくグランドレベル9となる。したがって、出力端子10より1が出力され、出力端子11より0が出力される。このとき、トランジスタ7はオフしている。
【0028】
一方、信号Bが1である場合には、トランジスタ4はオンし、トランジスタ5はオフする。そのため、トランジスタ4を介してと信号Aがノード15に送られる。例えば、信号Aが0であるときには、出力端子10より1が出力され、出力端子11より0が出力される。このとき、トランジスタ7はオフしている。また、信号Aが1であるときには、出力端子10より0が出力され、出力端子11より1が出力される。このとき、トランジスタ7はオンし、ノード15を電源電圧8により1の状態に安定に保つようにしている。
【0029】
以上のように本実施形態の論理回路によって、信号A、Bの入力により出力端子10より信号Aと信号Bの論理積の否定が得られ、出力端子11より信号Aと信号Bの論理積が得られる。さらに、信号Bが0である場合にはトランジスタ4はオフしているので信号Aの状態が短周期で多数振動してもトランジスタ4のソース容量での充放電電流となるので、このような状態となる期間が比較的長い場合には論理回路は低消費電力となる。
【0030】
次に、本実施形態の論理回路と図26に示す上記従来の論理積の否定回路との消費電流の比較を行う。ここでは、簡単のために各トランジスタのソース容量、ゲート容量、ドレイン容量を同一として、それぞれの容量を基準の1とする。また、否定回路6、13はそれぞれ図21に示す回路を仮定して評価する。
【0031】
すなわち、図21において、否定回路の入力端子61はPチャネルトランジスタ62のゲートと、Nチャネルトランジスタ63のゲートに接続されている。トランジスタ62のソースは電源電圧64に接続されドレインは出力端子66に接続されている。トランジスタ63のドレインは出力端子66に接続されソースはグランドレベル65に接続されている。これにより、否定回路は入力端子61に入力された信号の否定を出力端子66より出力する。
【0032】
図1の論理回路において、入力端子1の負荷容量を上記基準に準じて計算すると、信号Bが0であるときトランジスタ4がオフしているのでトランジスタ4のソース容量だけとなるため1となる。一方、信号Bが1であるときトランジスタ4は1でトランジスタ5はオフするので負荷容量はトランジスタ4のソース容量と、トランジスタ4のドレイン容量と、トランジスタ5のドレイン容量と、否定回路6を構成する2つのトランジスタ62、63(図21参照)の各ゲート容量と、トランジスタ7のドレイン容量であるので合計6となる。また、入力端子2の負荷容量はトランジスタ4のゲート容量、否定回路13を構成する2つのトランジスタ62、63(図21参照)の各ゲート容量なので合計3となる。
【0033】
図26に示す上記従来の論理積の否定回路でも、同様に、負荷容量を計算すると、入力端子71の負荷容量はトランジスタ73のゲート容量と、トランジスタ75のゲート容量となるので合計2となる。一方、入力端子72の負荷容量はトランジスタ74のゲート容量と、トランジスタ76のゲート容量なので合計2となる。以上の結果を図22にまとめている。ただし、第1入力、第2入力とは信号A、信号Bをいい、上記従来の論理積の否定回路(図26)ではそれぞれ入力端子71、72に入力される信号をいう。
【0034】
これらの両者の回路に図23に示すような波形の信号を入力した場合の入力端子での充放電電流の合計を比較する。第1の入力は100回振動する波形の信号であり、第2の入力は第1の入力の振動している100回のうちn回分だけ1となっていてその他のときは0である信号である。例えば、第1入力はクロック入力である。
【0035】
このとき、図1に示す本実施形態の論理回路における入力端子での充放電電流の合計を比較する。図1に示す本実施形態の論理回路での入力端子1、2での充放電電流は、1容量で1回充放電したときの電流を基準値の1として次式で表される。
(第2の入力が0のときの第1の入力の負荷容量)×(第2の入力が0のときの第1の入力の振動回数)+(第2の入力が1のときの第1の入力の負荷容量)×(第2の入力が1のときの第1の入力の振動回数)+(第2の入力の負荷容量)×(第2の入力の振動回数)=1・(100−n)+6・n+3・1=5n+103
【0036】
また、上記従来の論理積の否定回路(図26)における入力端子71、72での充放電電流は、次式で計算される。
(第1の入力の負荷容量)×(第1の入力の振動回数)+(第2の入力の負荷容量)×(第2の入力の振動回数)=2・100+2・1=202
【0037】
図24は各nの値における上述の式の値を比較したものである。図24に示すように、上記従来の論理積の否定回路(図26)では、nの値に関係なく充放電電流は一定であるが、本実施形態の論理回路(図1)では、充放電電流はnの値が小さくなるほど小さくなる。nが19以下では上記従来の論理積の否定回路(図26)よりも本実施形態の論理回路(図1)のほうが充放電電流が小さくなっている。そして、nが20のところで両者の充放電電流がほぼ一致し、それよりもnが大きいところでは回路の充放電電流は上記従来の論理積の否定回路(図26)よりも大きくなっている。ただし、トランジスタのソース容量、ゲート容量、ドレイン容量の一致等を仮定しているのでこれらの容量が変化する場合には両者の充放電電流は変化する。
【0038】
したがって、本実施形態の論理回路(図1)では、第1の信号が短周期で多数振動しており、かつ第2の信号が0となっている期間が比較的長期間に及ぶ条件では、本実施形態の論理回路(図1)は上記従来の論理積の否定回路(図26)よりも充放電電流が小さくなり低消費電力となる。つまり、本実施形態の論理積及び論理積の否定回路は第2の信号が0であることが多く、第1の入力の振動回数が多いときに低消費電力で動作する。なお、この低消費電力の効果は、第2の信号が0であるときに第1の信号の負荷容量が小さいことによるものである。
【0039】
<第2の実施形態>
次に、本発明の第2の実施形態について説明する。図2は本発明の第2の実施形態を示す論理回路の回路図である。なお、図2において図1と同一部分については同一符号を付して説明を省略する。ただし、否定回路13の挿入位置が上記第1の実施形態の論理回路(図1)とは異なっており、入力端子2とトランジスタ5のゲートとは直接に接続され、また、入力端子2とトランジスタ4のゲートは否定回路13を介して接続されている。そして、入力端子2より信号Bバーが入力されるものとする。
【0040】
そのため、入力端子2に入力される信号Bバーは本実施形態の論理回路では上記第1の実施形態の論理回路(図1)の信号Bの否定として処理される。したがって、信号Bバーの否定を信号Bとすると本実施形態の論理回路では、出力端子10より入力端子1より入力される信号Aと信号Bの論理積の否定が出力され、出力端子11より信号Aと信号Bの論理積が出力される。この回路においても上述の第1の実施形態と同様に、入力端子2から入力される信号Bバーが1である期間が比較的長期間に及ぶ場合にはトランジスタ4がオフし、トランジスタ5がオンするので、入力端子1より入力される信号Aが短周期で多数振動する場合には充放電電流が小さくなる効果がある。
【0041】
<第3の実施形態>
次に、本発明の第3の実施形態について説明する。図3は本発明の第3の実施形態を示す論理回路の回路図である。なお、図3において図1と同一部分については同一符号を付してある。本実施形態では、3つの入力端子1、2、3が設けられてあり、入力端子1より信号Aが入力される。次に入力端子2より信号Bが入力される。入力端子3より信号Bとは否定関係のある信号Bバーが入力される。そして、入力端子2はNチャネルトランジスタ4のゲートに接続され、入力端子3はNチャネルトランジスタ5のゲートに接続される。
【0042】
これにより、上記第1の実施形態(図1)や上記第2の実施形態(図2)における論理回路と同様の動作をし、出力端子10より信号Aと信号Bの論理積の否定が出力され、出力端子11より信号Aと信号Bの論理積が出力される。そのため、上記第1の実施形態と同様に、信号Bが0である期間が比較的長期間に及び信号Aが短周期で多数振動する場合には低消費電力となる効果がある。
【0043】
本実施形態では、入力信号Aが入力端子1に直接入力され、第2の入力信号Bは入力端子2に直接入力されるとともに入力信号Bは否定回路を介して入力端子3に入力されるようにすることにより上記第1の実施形態(図1)を実現できる。また、第1の入力信号Aが入力端子1に直接入力され、第2の入力信号Bバーは否定回路を介して入力端子2に入力されるとともに、第2の入力信号Bバーが直接入力端子3に入力されるようにすることにより上記第2の実施形態(図2)を実現できる。
【0044】
<第4の実施形態>
次に、本発明の第4の実施形態について説明する。図4は図1に示す上記第1の実施形態の論理回路20を用いて3入力の論理積の否定を得るための論理回路の回路図である。本実施形態では論理回路20に3入力のうち2信号が入力され、論理回路20において図1における出力端子11より出力される信号が次段の論理積の否定回路21の一方に入力される。また、論理積の否定回路21のもう一方には3入力のうちの残りの1つの信号が入力される。
【0045】
これにより、3入力の論理積の否定が論理積の否定回路21より出力される。本実施形態では、論理回路20の一方の入力が短周期で多数振動する信号であって、他方がその振動に比べて十分に0となっている期間が長い信号である場合には、図27に示すような上記従来の多入力の論理積の否定回路を利用した場合に比べて充放電電流が小さくなり、低消費電力となる。
【0046】
<第5の実施形態>
次に、本発明の第5の実施形態について説明する。図5は図1に示す上記第1の実施形態の論理回路20を用いた3入力の論理積回路の回路図である。本実施形態では3入力のうちの2信号が入力される論理回路20において出力端子11より出力される信号が次段の論理積回路22の一方に入力される。また、論理積回路22のもう一方には3入力のうちの残りの1つの信号が入力される。これにより、3入力の論理積が論理積回路22より出力される。信号Aが短周期で多数振動する場合には充放電電流が小さくなる効果がある。
【0047】
<第6の実施形態>
次に、本発明の第6の実施形態について説明する。図6は図1に示す上記第1の実施形態の論理回路20を用いた多入力の論理積及び論理積の否定回路の回路図である。本実施形態では多入力の論理積回路23は図27に示す上記従来の多入力論理積回路を利用する。論理積回路23は上記従来の多入力の論理積の否定回路(図27)の出力段にさらに否定回路(図21)を付け加えることにより実現することができる。
【0048】
そして、論理積回路23より出力される信号が論理回路20の一方に入力される。論理回路20のもう一方には残りの1つの入力信号が入力される。そして、論理回路20より論理積と論理積の否定の出力が得られるので、図6に示す回路全体として、多入力の論理積と論理積の否定の出力が得られる。特に、論理回路20に入力される信号がクロックのように短周期で多数振動し、論理積回路23より出力される信号が0である期間が比較的長期間に及ぶ場合には論理回路によって低消費電力となる効果がある。
【0049】
<第7の実施形態>
次に、本発明の第7の実施形態について説明する。図7は図1に示す上記第1の実施形態の論理回路20を用いた3入力の論理積の否定を得るための論理回路の回路図である。本実施形態では論理回路20において図1に示す出力端子10より出力される信号が否定回路を介して論理積の否定回路24に入力される。また、論理積の否定回路24のもう一方の入力は残りの1信号が入力される。これにより、3入力の論理積の否定が論理積の否定回路24より出力される。このとき、論理回路20の一方の入力が短周期で多数振動する信号であって、他方の入力が比較的0となっている期間が比較的長い信号である場合には低消費電力となる。
【0050】
<第8の実施形態>
次に、本発明の第8の実施形態について説明する。図8は図1に示す上記第1の実施形態の論理回路20を用いて3入力の論理積を得るための論理回路の回路図である。3入力のうち2信号が論理回路20に入力され、論理回路20の出力端子10(図1参照)より出力される信号が否定回路を介して次段の論理積回路24に入力される。そして、論理積回路24の他方の入力には残りの一方の信号が入力される。これにより、3入力の論理積が出力される。
【0051】
<第9の実施形態>
次に、本発明の第9の実施形態について説明する。図9は図2に示す上記第2の実施形態の論理回路26を用いて多入力の論理積及び論理積の否定回路を実現している。まず、多入力のうち1つを除いて、図27に示す上記従来の多入力論理積の否定回路25に入力される。そして、論理積の否定回路25の出力が論理回路26の入力端子2(図2参照)に入力される。論理回路26の他方の入力端子1(図2参照)には多入力の残りの1信号が入力される。論理回路26より論理積と論理積の否定がそれぞれ出力されるので、本実施形態の論理回路は多入力の論理積と論理積の否定を出力することができる。
【0052】
<第10の実施形態>
次に、本発明の第10の実施形態について説明する。図10は図3に示す上記第3の実施形態の論理回路27を用いて多入力の論理積及び論理積の否定回路を実現している。まず、多入力の論理積及び論理積の否定回路25に入力され、論理回路25より出力される互いに否定関係のある信号が論理回路27の入力端子2と入力端子3(図3参照)に入力される。そして、多入力の残りの1つの信号が論理回路27の入力端子1(図3参照)に入力される。これにより、論理回路27より論理積及び論理積の否定が出力される。本実施形態に用いられている論理回路27は論理回路20、26(図1及び図9参照)に比べると、図3にも示すように否定回路が1つ少なくなっている。
【0053】
<第11の実施形態>
次に、本発明の第11の実施形態について説明する。図11は本発明の第11の実施形態を示す論理回路の回路図である。この論理回路は2つの入力信号A、Bの論理和及び論理和の否定回路を実現した論理回路の回路図である。
【0054】
入力端子31より信号Aが入力され、入力端子32より信号Bが入力される。入力端子31はPチャネルトランジスタ34のソースに接続されている。入力端子32はトランジスタ34のゲートに接続されるとともに、入力端子2はさらに否定回路43を介してPチャネルトランジスタ35のゲートに接続されている。トランジスタ34のドレインはノード45に接続されている。トランジスタ35のソースは電源電圧38に接続され、ドレインはノード45に接続されている。また、否定回路36はノード45の信号状態を入力してその否定を出力する。Pチャネルトランジスタ37のドレインはグランドレベル39に接続されゲートは否定回路36の出力に接続されドレインはノード45に接続されている。そして、否定回路36の出力を導き出すための出力端子40と、ノード45の信号状態を導き出すための出力端子41が設けられている。
【0055】
これにより、信号Bが1である場合には、トランジスタ34はオフし、トランジスタ35はオンする。そのため、ノード45は信号Aの状態に関係なく電源電圧38が導かれて1となる。したがって、出力端子40より0が出力され、出力端子41より1が出力される。このとき、トランジスタ37はオフしている。
【0056】
信号Bが0である場合には、トランジスタ34はオンし、トランジスタ35はオフする。そのため、トランジスタ34を介して信号Aがノード45に送られる。例えば、信号Aが1であるときには、出力端子40より0が出力され、出力端子41より1が出力される。このとき、トランジスタ37はオフしている。また、信号Aが0であるときには、出力端子40より1が出力され、出力端子41より0が出力される。このとき、トランジスタ37はオンし、ノード45をグランドレベル39により0の状態に安定に保つようにしている。
【0057】
以上のように本実施形態の論理回路によって、信号A、Bの入力により出力端子40より信号Aと信号Bの論理和の否定が得られ、出力端子41より信号Aと信号Bの論理和が得られる。さらに、信号Bが1である場合にはトランジスタ7はオフしているので信号Aの状態が短周期で多数振動する動作をしてもトランジスタ37のソース容量での充放電電流となるので、このような状態となる期間が比較的長い場合には論理回路は低消費電力となる。
【0058】
次に、本実施形態の論理回路と図28に示す上記従来の論理和の否定回路との消費電流の比較を行う。ここでも、上記第1の実施形態と同様の仮定及び基準を用い評価する。すなわち、各トランジスタのソース容量、ゲート容量、ドレイン容量を同一として、それぞれの容量を基準の1とする。また、否定回路6、13はそれぞれ図21に示す回路を仮定して評価する。
【0059】
図11に示す入力端子31の負荷容量を上述した基準に準じて計算すると、信号Bが0であるとき、トランジスタ34がオンし、トランジスタ35がオフしており、トランジスタ34のソース容量と、トランジスタ34のドレイン容量と、トランジスタ35のドレイン容量と、否定回路36を構成する2つのトランジスタ62、63(図21参照)のゲート容量と、トランジスタ37のドレイン容量であるので合計6となる。
【0060】
また、信号Bが1であるときトランジスタ34がオフしており、トランジスタ34のソース容量だけなので1となる。また、入力端子32の負荷容量はトランジスタ34のゲート容量、否定回路43を構成する2つのトランジスタ62、63(図21参照)のゲート容量であるので合計3となる。
【0061】
図28に示す上記従来の論理和の否定回路でも、同様に、負荷容量を計算すると、入力端子101の負荷容量はトランジスタ103のゲート容量と、トランジスタ105のゲート容量となるので合計2となる。一方、入力端子102の負荷容量はトランジスタ104のゲート容量と、トランジスタ106のゲート容量となるので合計2となる。以上の結果を図22にまとめている。ただし、第1入力、第2入力とは信号A、信号Bをいい、上記従来の論理和の否定回路(図26)ではそれぞれ入力端子101、102に入力される信号をいう。
【0062】
これらの両者の回路に図23に示すような波形の信号を入力した場合の各入力端子での充放電電流の合計を比較する。すでに説明したように第1の入力は100回振動する波形の信号であり、第2の入力は第1の入力の振動している100回のうちn回分だけ1となっていてその他のときは0である信号として評価する。
【0063】
このとき、図11に示す本実施形態の論理回路における入力端子31、32での充放電電流の合計を比較する。図11に示す本実施形態の論理回路での入力端子1、2での充放電電流は、1容量で1回充電又は放電したときの電流を基準値の1として次式で表される。
(第2の入力が0のときの第1の入力の負荷容量)×(第2の入力が0のときの第1の入力の振動回数)+(第2の入力が1のときの第1の入力の負荷容量)×(第2の入力が1のときの第1の入力の振動回数)+(第2の入力の負荷容量)×(第2の入力の振動回数)=6・(100−n)+1・n+3・1=−5n+603
【0064】
また、上記従来の論理和の否定回路(図26)における入力端子71、72での充放電電流は、次式で計算される。
(第1の入力の負荷容量)×(第1の入力の振動回数)+(第2の入力の負荷容量)×(第2の入力の振動回数)=2・100+2・1=202
【0065】
図25は各nの値における上述の式の値を比較したものである。上記従来の論理和の否定回路(図28)では、充放電電流はnの値が大きくなるほど小さくなる。nが80以下では上記従来の論理和の否定回路(図28)よりも充放電電流が大きくなっている。nが80のところで両者の充放電電流はほぼ一致し、それよりもnが大きなところでは本実施形態の論理回路の充放電電流は上記従来の論理和の否定回路(図28)よりも小さくなっている。ただし、トランジスタのソース容量、ゲート容量、ドレイン容量等によって両者の充放電電流は変化する。
【0066】
したがって、本実施形態の論理回路(図1)では、第1の信号が短周期で多数振動しており、一方の第2の信号が1となっている期間が長くなっている条件では、本実施形態の論理回路(図11)は上記従来の論理和の否定回路(図28)よりも消費電流が小さくなり低消費電力となる。つまり、本実施形態の論理和及び論理和の否定回路は第2の信号が1であることが多く、第2の入力の振動回数が多いときに低消費電力で動作する。なお、この低消費電流の効果は、第2の信号Bが1であるときに第1の信号Aの負荷容量が小さいことによるものである。
【0067】
<第12の実施形態>
次に、本発明の第12の実施形態について説明する。図12は本発明の第12の実施形態を示す論理回路の回路図である。なお、図12において図11と同一部分については同一符号を付して説明を省略する。ただし、否定回路43の挿入位置が上記第11の実施形態の論理回路(図11)とは異なっており、本実施形態では入力端子32とトランジスタ35のゲートとは直接に接続されており、また、入力端子32とトランジスタ34のゲートは否定回路34を介して接続されている。
【0068】
そのため、入力端子32に入力される信号Bバーは本実施形態の論理回路では上記第1の実施形態の論理回路(図1)の信号Bの否定として処理される。したがって、信号Bバーの否定を信号Bとすると本実施形態の論理回路では、出力端子40より信号Aと信号Bの論理和の否定が出力され、出力端子41より信号Aと信号Bの論理和が出力される。この回路においても上述の第1の実施形態と同様に、入力端子32から入力される信号Bバーが1である期間が比較的長期間に及びトランジスタ34がオフし、トランジスタ35がオンするので、入力端子31より入力される信号Aが短周期で多数振動する場合には充放電電流が小さくなる効果がある。
【0069】
<第13の実施形態>
次に、本発明の第13の実施形態について説明する。図13は本発明の第13の実施形態を示す論理回路の回路図である。なお、図13において図11と同一部分については同一符号を付してある。本実施形態では、3つの入力端子31、32、33が設けられてあり、入力端子31より信号Aが入力される。次に入力端子32より信号Bが入力される。入力端子33より信号Bとは否定関係のある信号Bバーが入力される。そして、入力端子32はNチャネルトランジスタ34のゲートに接続され、入力端子33はNチャネルトランジスタ35のゲートに接続される。
【0070】
これにより、上記第1の実施形態(図1)や上記第2の実施形態(図2)における論理回路と同様の動作をし、出力端子30より信号Aと信号Bの論理和の否定が出力され、出力端子41より信号Aと信号Bの論理和が出力される。そのため、上記第1の実施形態と同様に、信号Bが0である期間が比較的長期間に及び信号Aが短周期で多数振動する場合には低消費電力となる効果がある。
【0071】
本実施形態では、入力信号Aが入力端子31に直接入力され、第2の入力信号Bは入力端子32に直接入力されるとともに入力信号Bは否定回路を介して入力端子33に入力されるようにすることにより上記第1の実施形態(図1)を実現できる。また、第1の入力信号Aが入力端子41に直接入力され、第2の入力信号Bバーは否定回路を介して入力端子42に入力されるとともに、第2の入力信号Bバーが直接第3の入力信号に入力されるようにすることにより上記第2の実施形態(図2)を実現できる。
【0072】
<第14の実施形態>
次に、本発明の第14の実施形態について説明する。図14は図11に示す上記第1の実施形態の論理回路50を用いて3入力の論理和の否定を得るための論理回路の回路図である。本実施形態では論理回路50に3入力のうち2信号が入力され、論理回路50において図1における出力端子41より出力される信号が次段の論理和の否定回路51の一方に入力される。また、論理和の否定回路51のもう一方には3入力のうちの残りの1つの信号が入力される。
【0073】
これにより、3入力の論理和の否定が論理和の否定回路51より出力される。本実施形態では、論理回路50の一方の入力が短周期で多数振動する信号であって、他方がその振動に比べて十分に0となっている期間が長い信号である場合には、図27に示すような上記従来の多入力の論理和の否定回路を利用した場合に比べて充放電電流が小さくなり、低消費電力となる。
【0074】
<第15の実施形態>
次に、本発明の第15の実施形態について説明する。図15は図11に示す上記第1の実施形態の論理回路50を用いた3入力の論理和回路の回路図である。本実施形態では3入力のうちの2信号が入力される論理回路50において出力端子41より出力される論理和の信号が次段の論理和回路52の一方に入力される。また、論理和回路52のもう一方には3入力のうちの残りの1つの信号が入力される。これにより、3入力の論理和が論理和回路52より出力される。信号Aが短周期で多数振動する場合には充放電電流が小さくなる効果がある。
【0075】
<第16の実施形態>
次に、本発明の第16の実施形態について説明する。図16は図11に示す上記第1の実施形態の論理回路50を用いた多入力の論理和及び論理和の否定回路の回路図である。本実施形態では多入力の論理和回路53は図27に示す上記従来の多入力論理和回路を利用する。論理和回路53は上記従来の多入力の論理和の否定回路(図27)の出力段にさらに否定回路(図21)を付け加えることにより実現することができる。
【0076】
そして、論理和回路53より出力される信号が論理回路50の一方に入力される。論理回路52のもう一方には1つの入力信号が入力される。そして、論理回路50より論理和と論理和の否定の出力が得られるので、図16に示す回路全体として、多入力の論理和と論理和の否定の出力が得られる。特に、論理回路50に入力される信号がクロックのように短周期で多数振動し、論理和回路53より出力される信号が0である期間が比較的長期間に及ぶ場合には論理回路によって低消費電力となる効果がある。
【0077】
<第17の実施形態>
次に、本発明の第17の実施形態について説明する。図17は図1に示す上記第11の実施形態の論理回路50を用いた3入力の論理和の否定を得るための論理回路の回路図である。本実施形態では論理回路50において図1に示す出力端子40より出力される信号が否定回路を介して論理和の否定回路54に入力される。また、論理和の否定回路54のもう一方の入力は残りの1信号が入力される。これにより、3入力の論理和の否定が論理和の否定回路54より出力される。このとき、論理回路50の一方の入力が短周期で多数振動する信号であって、他方の入力が比較的0となっている期間が比較的長い信号である場合には低消費電力となる。
【0078】
<第18の実施形態>
次に、本発明の第18の実施形態について説明する。図18は図11に示す上記第11の実施形態の論理回路50を用いて3入力の論理和を得るための論理回路の回路図である。3入力のうち2信号が論理回路50に入力され、論理回路50の出力端子40(図11参照)より出力される信号の否定が次段の論理和回路54に入力される。そして、論理和回路54の他方の入力には残りの一方の信号が入力される。これにより、3入力の論理和が出力される。
【0079】
<第19の実施形態>
次に、本発明の第19の実施形態について説明する。図19は図12に示す上記第2の実施形態の論理回路56を用いて多入力の論理和及び論理和の否定回路を実現している。まず、多入力のうち1つを除いて、図27に示す上記従来の多入力論理和の否定回路55に入力される。そして、論理和の否定回路55の出力が論理回路56の入力端子2(図12参照)に入力される。論理回路56の他方の入力端子1(図12参照)には多入力の残りの1信号が入力される。論理回路56より論理和と論理和の否定がそれぞれ出力されるので、本実施形態の論理回路は多入力の論理和と論理和の否定を出力することができる。
【0080】
<第20の実施形態>
次に、本発明の第20の実施形態について説明する。図20は図3に示す上記第3の実施形態の論理回路57を用いて多入力の論理和及び論理和の否定回路を実現している。まず、多入力の論理和及び論理和の否定回路55に入力され、論理回路55より出力される互いに否定関係のある信号が論理回路57の入力端子22と入力端子33(図13参照)に入力される。そして、多入力の残りの1つの信号が論理回路57の入力端子1(図13参照)に入力される。これにより、論理回路57より論理和及び論理和の否定が出力される。本実施形態に用いられている論理回路57は論理回路50、56(図11及び図12参照)に比べると、図3にも示すように否定回路が1つ少なくなっている。
【0081】
【発明の効果】
以上説明したように、請求項1に記載の論理回路では、第2の入力端子の入力状態が0、すなわち第3の入力端子の入力状態が1となるときには第1のNチャネルトランジスタがオフし、第2のNチャネルトランジスタがオンするのでノードの状態が第1の電圧となるので、第1の入力端子では短周期で頻繁に繰り返すような信号入力がある場合でも第1のNチャネルトランジスタのソースでの充放電電流だけとなるので、このような条件での信号入力が比較的多い場合には論理回路は低消費電力となる。
【0082】
また、請求項2に記載の論理回路では、上記条件とは逆に、第2の入力端子の信号状態が0、すなわち第3の入力端子の信号状態が0となるときには第1のPチャネルトランジスタがオフし、第2のPチャネルトランジスタがオンするのでノードの状態が第1の電圧となるので、第1の入力端子では短周期で多数振動する場合でも第1のPチャネルトランジスタのソースでの充放電電流だけとなるので、このような条件での信号入力が比較的多い場合には論理回路は低消費電力となる。
【0083】
また、請求項3に記載の論理回路によれば、第1及び第2の入力信号で、請求項1に記載の論理回路の構成では、第1の出力端子より第1の入力信号と第2の入力信号の論理積の否定が出力され、また、第2の出力端子より第1の入力信号と第2の入力信号の論理積が出力される。請求項2に記載の論理回路の構成では第1の出力端子より第1及び第2の論理和の否定が出力され、第2の出力端子より第1及び第2の入力信号の論理和が出力される。
【0084】
また、請求項4に記載の論理回路によれば、第1の入力信号が入力端子に入力され、そして、第2の入力信号が否定回路を介して第2の入力端子に入力され、第2の入力信号は直接第3の入力信号に入力されるので、上述の請求項3に記載の論理回路とは第2の入力信号とは否定関係のある信号として処理される。
【図面の簡単な説明】
【図1】 本発明の第1の実施形態の論理回路の回路図である。
【図2】 本発明の第2の実施形態の論理回路の回路図である。
【図3】 本発明の第3の実施形態の論理回路の回路図である。
【図4】 本発明の第4の実施形態の論理回路の回路図である。
【図5】 本発明の第5の実施形態の論理回路の回路図である。
【図6】 本発明の第6の実施形態の論理回路の回路図である。
【図7】 本発明の第7の実施形態の論理回路の回路図である。
【図8】 本発明の第8の実施形態の論理回路の回路図である。
【図9】 本発明の第9の実施形態の論理回路の回路図である。
【図10】 本発明の第10の実施形態の論理回路の回路図である。
【図11】 本発明の第11の実施形態の論理回路の回路図である。
【図12】 本発明の第12の実施形態の論理回路の回路図である。
【図13】 本発明の第13の実施形態の論理回路の回路図である。
【図14】 本発明の第14の実施形態の論理回路の回路図である。
【図15】 本発明の第15の実施形態の論理回路の回路図である。
【図16】 本発明の第16の実施形態の論理回路の回路図である。
【図17】 本発明の第17の実施形態の論理回路の回路図である。
【図18】 本発明の第18の実施形態の論理回路の回路図である。
【図19】 本発明の第19の実施形態の論理回路の回路図である。
【図20】 本発明の第20の実施形態の論理回路の回路図である。
【図21】 その論理回路の否定回路の回路図である。
【図22】 各回路の負荷容量をまとめた表である。
【図23】 各回路への入力波形である。
【図24】 論理積否定回路の充放電電流を比較したグラフである。
【図25】 論理和の否定回路の充放電電流を比較したグラフである。
【図26】 従来の論理積の否定回路の回路図である。
【図27】 従来の多入力の論理積の否定回路の回路図である。
【図28】 従来の論理和の否定回路の回路図である。
【図29】 従来の多入力の論理和の否定回路の回路図である。
【符号の説明】
1 入力端子
2 入力端子
3 入力端子
4 Nチャネルトランジスタ
5 Nチャネルトランジスタ
6 否定回路
7 Pチャネルトランジスタ
8 電源電圧
9 グランドレベル
10 出力端子
11 出力端子
13 否定回路
15 ノード
20 第1の実施形態の論理回路
21 論理積の否定回路
22 論理積回路
24 論理積の否定回路
26 第2の実施形態の論理回路
27 第3の実施形態の論理回路
31 入力端子
32 入力端子
33 入力端子
34 Nチャネルトランジスタ
35 Nチャネルトランジスタ
36 否定回路
37 Pチャネルトランジスタ
38 電源電圧
39 グランドレベル
40 出力端子
41 出力端子
43 否定回路
45 ノード
50 第1の実施形態の論理回路
51 論理積の否定回路
52 論理積回路
54 論理積の否定回路
56 第2の実施形態の論理回路
57 第3の実施形態の論理回路
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a logic circuit used for digital signal processing.
[0002]
[Prior art]
FIG. 26 is a circuit diagram of a conventional 2-input logical product negation circuit. Two signals are input from the input terminals 71 and 72 to the NAND circuit of the logical product. The input terminal 71 is connected to the gate of the P-channel transistor 73 and the gate of the N-channel transistor 75. On the other hand, the input terminal 72 is connected to the gate of the P-channel transistor 74 and the gate of the N-channel transistor 76. The source of the transistor 73 is connected to the power supply voltage 77, and the drain is connected to the output terminal 79. The source of the transistor 74 is connected to the power supply voltage 77 and the drain is connected to the output terminal 79. The drain of the transistor 75 is connected to the output terminal 79 and the source is connected to the drain of the transistor 76. The source of the transistor 76 is connected to the ground level 78.
[0003]
Thus, when the signals input from the input terminals 71 and 72 are both at a high level (hereinafter referred to as “1”), the transistors 73 and 74 are both turned off, and the transistors 75 and 76 are both turned on. Becomes a low level (hereinafter referred to as “0”). On the other hand, at least one of the transistors 73 and 74 is turned on and at least one of the transistors 75 and 76 is turned off except when the signal input from the input terminals 71 and 72 is 1 of the above condition, so that the output terminal 79 is turned off. The state is 1.
[0004]
FIG. 27 is a circuit diagram of a conventional NAND circuit for a multi-input logical product of three or more inputs. Three or more multi-signals are input from the input terminals 81, 82... 83 to the logical product negation circuit. The input terminal 81 is connected to the gate of the P channel transistor 84 and the gate of the N channel transistor 87. The input terminal 82 is connected to the gate of the P-channel transistor 85 and the gate of the N-channel transistor 88. The same configuration is adopted for each input. Finally, the input terminal 83 is connected to the gate of the P-channel transistor 86 and the gate of the N-channel transistor 89.
[0005]
The source of the transistor 84 is connected to the power supply voltage 90 and the drain is connected to the output terminal 92. The source of the transistor 85 is connected to the power supply voltage 90 and the drain is connected to the output terminal 92. Similarly, the source of a P-channel transistor provided for each input is connected to the power supply voltage 90 and the drain is connected to the output terminal 92. The source of the transistor 86 is connected to the power supply voltage 90 and the drain is connected to the output terminal 92.
[0006]
The drain of the transistor 87 is connected to the output terminal 92 and the source is connected to the source of the transistor 88. Similarly, N channel transistors provided at each input are connected in series. The source of the transistor 89 is connected to the ground level 91.
[0007]
Thus, when all the signals input from the input terminals 81, 82... 83 are 1, the transistors 84, 85... 86 are all turned off and the transistors 87, 88. The state of the terminal 92 is zero. On the other hand, at least one of the transistors 84, 85,... 86 is turned on except when the signals input from the input terminals 81, 82,. Since at least one of 88... 89 is turned off, the state of the output terminal 92 is 1.
[0008]
FIG. 28 is a circuit diagram of a conventional 2-input logical sum negation circuit. Two signals are input from the input terminals 101 and 102 to the logical sum negation circuit. The input terminal 101 is connected to the gate of the P channel transistor 103 and the gate of the N channel transistor 105. On the other hand, the input terminal 102 is connected to the gate of the P-channel transistor 104 and the gate of the N-channel transistor 106. The source of the transistor 104 is connected to the power supply voltage 107, and the drain is connected to the ground level 108 to the source of the transistor 103. The drain of the transistor 103 is connected to the output terminal 109. The drain of the transistor 105 is connected to the output terminal 109 and the source is connected to the ground level 108. On the other hand, the drain of the transistor 106 is connected to the output terminal 109 and the source is connected to the ground level 108.
[0009]
As a result, when the signals input from the input terminals 101 and 102 are both 0, the transistors 103 and 104 are both turned on and the transistors 105 and 106 are both turned off, so that the state of the output terminal 109 is 1. On the other hand, at least one of the transistors 103 and 104 is turned off and at least one of the transistors 105 and 106 is turned on except when the signals input from the input terminals 101 and 102 are both 1 as described above. The state 109 is 0.
[0010]
FIG. 29 is a circuit diagram of a conventional NOR circuit for multi-input logical sum of 3 inputs or more. Three or more multi-signals are input from the input terminals 111, 112,. The input terminal 111 is connected to the gate of the P-channel transistor 114 and the gate of the N-channel transistor 117. The input terminal 112 is connected to the gate of the P-channel transistor 115 and the gate of the N-channel transistor 118. Similarly, the same configuration is adopted for each input, and finally, the input terminal 113 is connected to the gate of the P-channel transistor 116 and the gate of the N-channel transistor 119.
[0011]
The source of the transistor 116 is connected to the power supply voltage 120, and the drain is connected to the source of the P-channel transistor at the next stage. Similarly, P-channel transistors provided at the respective inputs are connected in series, and the drain of the transistor 115 is connected to the source of the transistor 114. The drain of the transistor 114 is connected to the output terminal 122. The drain of the transistor 117 is connected to the output terminal 122 and the source is connected to the ground level 111. The drain of the transistor 118 is connected to the output terminal 122, and the source is connected to the ground level 111. Similarly, the drain of the N-channel transistor provided for each input is connected to the output terminal 122, the source is connected to the ground level 111, and finally, the output terminal 122 of the transistor 119 is connected to the ground level 111.
[0012]
As a result, when the signals input from the input terminals 111, 112,... 113 are all 0, the transistors 114, 115,... 116 are all turned on, and the transistors 117, 118,. The state of the output terminal 122 is 1. On the other hand, at least one of the transistors 114, 115,... 116 is turned off except when the signals input from the input terminals 111, 112,. Since at least one of 118... 119 is turned on, the state of the output terminal 122 becomes zero.
[0013]
In the logic circuits shown in FIGS. 26 to 29, for example, in the AND circuit shown in FIG. 26, the input terminal 71 is connected to the gates of the two transistors 73 and 75. One input terminal is connected to each gate of two transistors.
[0014]
[Problems to be solved by the invention]
However, in an actual logic circuit, for example, in the NAND circuit shown in FIG. 26, the signal input at the input terminals 71 and 72 does not change to 1 and 0 on average, but is input to one input terminal 71, for example. 1 may be a large number, and the signal input to the other input terminal 72 may vibrate in a short period. In this case, since the input terminals 71 and 72 are connected to the gates of the two transistors, a charge / discharge current flows through the capacitance of each gate when each signal is switched between 1 and 0, so that a large amount of consumption current flows. was there.
[0015]
The present invention solves the above-mentioned problem. As described above, for example, when one of the input signals is 1 or 0 for a relatively long period and the other vibrates in a short cycle, the charge / discharge current is An object of the present invention is to provide a logic circuit that requires less.
[0016]
[Means for Solving the Problems]
In order to achieve the above object, in the first configuration of the present invention, a signal having a negative relationship with the first input terminal, the second input terminal, and the signal input to the second input terminal is provided. An input third input terminal; a first N-channel transistor having a source connected to the first input terminal; a gate connected to the second input terminal; and a drain connected to a node; A second N-channel transistor having a gate connected to the third input terminal and a drain connected to the node; a negation circuit outputting negation of the signal state of the node; and a source Is connected to the second voltage, the gate is connected to the output of the negation circuit, and the drain is connected to the node, the first output terminal for deriving the output of the negation circuit, So that a second output terminal for deriving a signal state of serial nodes.
[0017]
According to such a configuration, in the logic circuit, signals having a negative relationship with each other are input to the second input terminal and the third input terminal. For example, the first voltage is a ground level, and the second voltage is a power supply voltage. When 0 (ground level) is input to the second input terminal, that is, 1 (power supply voltage) is input to the third input terminal, the first N-channel transistor is turned off and the second N-channel transistor is turned on. Therefore, since the state of the node is fixed at the ground level, 1 is output from the first output terminal via the negation circuit regardless of the state of the signal input to the first input terminal, In the output terminal, 0 is directly output from the node. On the other hand, when 1 is input at the second input terminal, that is, when 0 is input at the third input terminal, the first N-channel transistor is turned on and the second N-channel transistor is turned off. The signal to be transmitted is sent to the node via the first N-channel transistor, and signals corresponding to the state of the node are output from the output terminal 1 and the output terminal 2. Therefore, when the second input terminal is 0, that is, when the third input terminal is 1, the signal input from the input terminal 1 depends on the capacitance at the source of the first transistor even when a large number of signals vibrate in a short period. Since only the charge / discharge current flows, the logic circuit has low power consumption when the signal input under such conditions is relatively large.
[0018]
In the second configuration of the present invention, the third input terminal receives a signal having a negative relationship with the first input terminal, the second input terminal, and the signal input to the second input terminal. An input terminal, a first P-channel transistor having a source connected to the first input terminal, a gate connected to the second input terminal and a drain connected to the node, and a source connected to the first voltage A second P-channel transistor having a gate connected to the third input terminal and a drain connected to the node; a negation circuit that outputs negation of the signal state of the node; and a source at the second voltage An N-channel transistor having a gate connected to the output of the negation circuit and a drain connected to the node; a first output terminal for deriving an output of the negation circuit; and a signal state of the node So that a second output terminal for deriving.
[0019]
According to such a configuration, for example, the first voltage is the power supply voltage and the second voltage is the ground level. Contrary to the above configuration, 1 is set at the second input terminal, that is, 0 is set at the third input terminal. When input, the first P-channel transistor is turned off and the second P-channel transistor is turned on. Therefore, the state of the node becomes 1 by the power supply voltage, and 0 is output from the first output terminal via the negative circuit, while 1 is directly output from the node at the second output terminal.
[0020]
In the third configuration of the present invention, in the first configuration or the second configuration, the first input signal is directly input to the first input terminal, and the second input signal is the second input signal. Are input directly to the third input terminal and via a negation circuit.
[0021]
According to such a configuration, the logic circuit receives two signals. In the first configuration, the first input signal is input to the first input terminal, and the second input signal is input to the logic circuit. The signal is directly input to the second input terminal, and the second input signal is input to the third input terminal via a negation circuit. As a result, the negation of the logical product of the first and second input signals is output at the first output terminal, and the logical product of the first and second input terminals is output at the second output terminal. On the other hand, in the second configuration, the negation of the logical sum of the first and second input signals is output from the first output terminal, and the logical sum of the first and second input signals is output from the second output terminal. Is done.
[0022]
In the fourth configuration of the present invention, in the first configuration or the second configuration, the first input signal is directly input to the first input terminal, and the second input signal is negated. The signal is input to the second input terminal via a circuit and directly input to the third input terminal.
[0023]
According to such a configuration, the logic circuit is configured such that a signal input to the second and third input terminals is input with a signal having a negative relationship with the third configuration. For the negated signal, the operation is the same as in the third configuration.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
<First Embodiment>
Hereinafter, embodiments of the present invention will be described. FIG. 1 is a circuit diagram of a logic circuit showing a first embodiment of the present invention. This logic circuit is a circuit diagram in which a logical product circuit and a logical product negation circuit of two input signals A and B are realized.
[0025]
A signal A is input from the input terminal 1, and a signal B is input from the input terminal 2. The input terminal 1 is connected to the source of the N channel transistor 4. On the other hand, the input terminal 2 is connected to the gate of the transistor 4, and the input terminal 2 is further connected to the gate of the N-channel transistor 5 through a negation circuit 13. The drain of the transistor 4 is connected to the node 15. The drain of the transistor 5 is connected to the node 15 and the source is connected to the ground level 9.
[0026]
The negation circuit 6 inputs the signal state of the node 15 and outputs the negation. The source of the P-channel transistor 7 is connected to the power supply voltage 8, the gate is connected to the output of the negation circuit 6, and the drain is connected to the node 15. An output terminal 10 for deriving the output of the negation circuit 6 and an output terminal 11 for deriving the state of the node 15 are provided.
[0027]
Thereby, when the signal B is 0, the transistor 4 is turned off and the transistor 5 is turned on. Therefore, the node 15 becomes the ground level 9 regardless of the state of the signal A. Therefore, 1 is output from the output terminal 10 and 0 is output from the output terminal 11. At this time, the transistor 7 is off.
[0028]
On the other hand, when the signal B is 1, the transistor 4 is turned on and the transistor 5 is turned off. Therefore, the signal A is sent to the node 15 through the transistor 4. For example, when the signal A is 0, 1 is output from the output terminal 10 and 0 is output from the output terminal 11. At this time, the transistor 7 is off. When the signal A is 1, 0 is output from the output terminal 10 and 1 is output from the output terminal 11. At this time, the transistor 7 is turned on, and the node 15 is stably kept in the 1 state by the power supply voltage 8.
[0029]
As described above, the logical circuit of this embodiment obtains the negation of the logical product of the signals A and B from the output terminal 10 by the input of the signals A and B, and the logical product of the signals A and B from the output terminal 11. can get. Further, when the signal B is 0, the transistor 4 is off, so that even if the state of the signal A oscillates many times in a short cycle, a charge / discharge current is generated in the source capacitance of the transistor 4. When the period is relatively long, the logic circuit has low power consumption.
[0030]
Next, the current consumption of the logic circuit of this embodiment is compared with that of the conventional AND circuit shown in FIG. Here, for simplicity, the source capacitance, the gate capacitance, and the drain capacitance of each transistor are the same, and the respective capacitances are set to 1 as a reference. The negation circuits 6 and 13 are evaluated assuming the circuit shown in FIG.
[0031]
That is, in FIG. 21, the input terminal 61 of the negative circuit is connected to the gate of the P-channel transistor 62 and the gate of the N-channel transistor 63. The source of the transistor 62 is connected to the power supply voltage 64 and the drain is connected to the output terminal 66. The drain of the transistor 63 is connected to the output terminal 66 and the source is connected to the ground level 65. As a result, the negation circuit outputs the negation of the signal input to the input terminal 61 from the output terminal 66.
[0032]
In the logic circuit of FIG. 1, when the load capacitance of the input terminal 1 is calculated according to the above criteria, it becomes 1 because only the source capacitance of the transistor 4 is provided because the transistor 4 is off when the signal B is 0. On the other hand, when the signal B is 1, the transistor 4 is 1 and the transistor 5 is turned off, so that the load capacity constitutes the source capacity of the transistor 4, the drain capacity of the transistor 4, the drain capacity of the transistor 5, and the negation circuit 6. Since each of the gate capacitances of the two transistors 62 and 63 (see FIG. 21) and the drain capacitance of the transistor 7, the total is 6. The load capacity of the input terminal 2 is 3 because the gate capacity of the transistor 4 and the gate capacity of each of the two transistors 62 and 63 (see FIG. 21) constituting the negation circuit 13 are three.
[0033]
Similarly, in the above conventional logical product negation circuit shown in FIG. 26, when the load capacitance is calculated, the load capacitance of the input terminal 71 becomes the gate capacitance of the transistor 73 and the gate capacitance of the transistor 75, which is a total of two. On the other hand, the load capacity of the input terminal 72 is 2 in total because the gate capacity of the transistor 74 and the gate capacity of the transistor 76. The above results are summarized in FIG. However, the first input and the second input refer to the signals A and B, respectively, and refer to signals input to the input terminals 71 and 72 in the conventional logical product negation circuit (FIG. 26), respectively.
[0034]
The total charge / discharge current at the input terminal when a signal having a waveform as shown in FIG. 23 is input to these two circuits is compared. The first input is a signal having a waveform that oscillates 100 times, and the second input is a signal that is 1 for n times out of the 100 oscillating times of the first input, and is 0 at other times. is there. For example, the first input is a clock input.
[0035]
At this time, the total charge / discharge currents at the input terminals in the logic circuit of this embodiment shown in FIG. 1 are compared. The charging / discharging current at the input terminals 1 and 2 in the logic circuit of this embodiment shown in FIG. 1 is expressed by the following equation, with the current when charging / discharging once with one capacitor being 1 as a reference value.
(Load capacity of the first input when the second input is 0) × (Number of vibrations of the first input when the second input is 0) + (First when the second input is 1) Input load capacity) × (number of vibrations of the first input when the second input is 1) + (load capacity of the second input) × (number of vibrations of the second input) = 1 · (100 −n) + 6 · n + 3 · 1 = 5n + 103
[0036]
Further, the charge / discharge current at the input terminals 71 and 72 in the conventional logical product negation circuit (FIG. 26) is calculated by the following equation.
(Load capacity of first input) × (Number of vibrations of first input) + (Load capacity of second input) × (Number of vibrations of second input) = 2 · 100 + 2 · 1 = 202
[0037]
FIG. 24 is a comparison of the values of the above formulas for each value of n. As shown in FIG. 24, in the conventional logical product negation circuit (FIG. 26), the charge / discharge current is constant regardless of the value of n, but in the logic circuit (FIG. 1) of the present embodiment, charge / discharge is performed. The current decreases as the value of n decreases. When n is 19 or less, the charge / discharge current is smaller in the logic circuit (FIG. 1) of the present embodiment than in the conventional NAND circuit (FIG. 26). When n is 20, the charging / discharging currents of the two are substantially the same, and when n is larger than that, the charging / discharging current of the circuit is larger than that of the conventional logical product negation circuit (FIG. 26). However, since it is assumed that the source capacity, gate capacity, drain capacity, and the like of the transistors match, when these capacitances change, the charge / discharge currents of both change.
[0038]
Therefore, in the logic circuit (FIG. 1) of the present embodiment, under the condition that the period in which the first signal vibrates in a short cycle and the second signal is 0 is relatively long. The logic circuit (FIG. 1) of the present embodiment has a smaller charge / discharge current and lower power consumption than the conventional logical product negation circuit (FIG. 26). That is, the logical product and logical product negation circuit of this embodiment often operates with low power consumption when the second signal is 0 and the number of oscillations of the first input is large. This low power consumption effect is due to the fact that the load capacity of the first signal is small when the second signal is zero.
[0039]
<Second Embodiment>
Next, a second embodiment of the present invention will be described. FIG. 2 is a circuit diagram of a logic circuit showing a second embodiment of the present invention. In FIG. 2, the same parts as those in FIG. However, the insertion position of the negative circuit 13 is different from the logic circuit (FIG. 1) of the first embodiment, the input terminal 2 and the gate of the transistor 5 are directly connected, and the input terminal 2 and the transistor The gate of 4 is connected through a negation circuit 13. The signal B bar is input from the input terminal 2.
[0040]
Therefore, the signal B bar input to the input terminal 2 is processed as a negative of the signal B of the logic circuit (FIG. 1) of the first embodiment in the logic circuit of the present embodiment. Therefore, when the negation of the signal B bar is the signal B, in the logic circuit of this embodiment, the negation of the logical product of the signal A and the signal B input from the input terminal 1 is output from the output terminal 10, and the signal is output from the output terminal 11. A logical product of A and signal B is output. Also in this circuit, as in the first embodiment described above, when the period in which the signal B bar input from the input terminal 2 is 1 is relatively long, the transistor 4 is turned off and the transistor 5 is turned on. Therefore, when a large number of signals A input from the input terminal 1 vibrate in a short cycle, the charge / discharge current is reduced.
[0041]
<Third Embodiment>
Next, a third embodiment of the present invention will be described. FIG. 3 is a circuit diagram of a logic circuit showing a third embodiment of the present invention. In FIG. 3, the same parts as those in FIG. 1 are denoted by the same reference numerals. In this embodiment, three input terminals 1, 2, and 3 are provided, and a signal A is input from the input terminal 1. Next, the signal B is input from the input terminal 2. A signal B bar having a negative relationship with the signal B is input from the input terminal 3. Input terminal 2 is connected to the gate of N-channel transistor 4, and input terminal 3 is connected to the gate of N-channel transistor 5.
[0042]
Thus, the same operation as the logic circuit in the first embodiment (FIG. 1) and the second embodiment (FIG. 2) is performed, and the negation of the logical product of the signal A and the signal B is output from the output terminal 10. Then, the logical product of the signal A and the signal B is output from the output terminal 11. Therefore, as in the first embodiment, when the period when the signal B is 0 is relatively long and when the signal A vibrates in a short cycle, there is an effect of low power consumption.
[0043]
In the present embodiment, the input signal A is directly input to the input terminal 1, the second input signal B is directly input to the input terminal 2, and the input signal B is input to the input terminal 3 through a negation circuit. Thus, the first embodiment (FIG. 1) can be realized. Further, the first input signal A is directly input to the input terminal 1, the second input signal B bar is input to the input terminal 2 through a negation circuit, and the second input signal B bar is directly input to the input terminal. The second embodiment (FIG. 2) can be realized by making the input to 3.
[0044]
<Fourth Embodiment>
Next, a fourth embodiment of the present invention will be described. FIG. 4 is a circuit diagram of a logic circuit for obtaining the negation of the 3-input AND using the logic circuit 20 of the first embodiment shown in FIG. In the present embodiment, two of the three inputs are input to the logic circuit 20, and a signal output from the output terminal 11 in FIG. 1 in the logic circuit 20 is input to one of the logical product negation circuits 21 in the next stage. The other one of the three inputs is input to the other of the logical product negation circuit 21.
[0045]
As a result, the negation of the 3-input AND is output from the NOT circuit 21 of the AND. In the present embodiment, when one input of the logic circuit 20 is a signal that oscillates many times in a short period and the other is a signal that has a sufficiently long period of time compared to the oscillation, FIG. The charge / discharge current is reduced and the power consumption is reduced as compared with the case where the conventional multi-input logical product negation circuit as shown in FIG.
[0046]
<Fifth Embodiment>
Next, a fifth embodiment of the present invention will be described. FIG. 5 is a circuit diagram of a 3-input AND circuit using the logic circuit 20 of the first embodiment shown in FIG. In the present embodiment, a signal output from the output terminal 11 in the logic circuit 20 to which two signals out of three inputs are input is input to one of the logical product circuits 22 in the next stage. The other one of the three inputs is input to the other AND circuit 22. As a result, a logical product of three inputs is output from the logical product circuit 22. When the signal A vibrates in a short cycle, there is an effect that the charge / discharge current is reduced.
[0047]
<Sixth Embodiment>
Next, a sixth embodiment of the present invention will be described. FIG. 6 is a circuit diagram of a multi-input logical product and logical product negation circuit using the logical circuit 20 of the first embodiment shown in FIG. In this embodiment, the multi-input AND circuit 23 uses the conventional multi-input AND circuit shown in FIG. The logical product circuit 23 can be realized by adding a negative circuit (FIG. 21) to the output stage of the conventional multi-input logical product NOT circuit (FIG. 27).
[0048]
A signal output from the AND circuit 23 is input to one of the logic circuits 20. The other input signal is input to the other side of the logic circuit 20. Since the logical circuit 20 obtains a logical product and a negative output of the logical product, the entire circuit shown in FIG. 6 can obtain a multi-input logical product and a negative output of the logical product. In particular, when the signal input to the logic circuit 20 oscillates in a short cycle like a clock and the signal output from the AND circuit 23 is 0 for a relatively long period of time, the signal is reduced by the logic circuit. There is an effect of power consumption.
[0049]
<Seventh Embodiment>
Next, a seventh embodiment of the present invention will be described. FIG. 7 is a circuit diagram of a logic circuit for obtaining the negation of the 3-input logical product using the logic circuit 20 of the first embodiment shown in FIG. In this embodiment, the signal output from the output terminal 10 shown in FIG. 1 in the logic circuit 20 is input to the logical product negation circuit 24 via the negation circuit. The other input of the logical product negation circuit 24 is the remaining one signal. Thus, the negation of the 3-input AND is output from the NOT circuit 24 of the AND. At this time, when one input of the logic circuit 20 is a signal that oscillates in a short cycle and the other input is a relatively long signal, the power consumption is low.
[0050]
<Eighth Embodiment>
Next, an eighth embodiment of the present invention will be described. FIG. 8 is a circuit diagram of a logic circuit for obtaining a three-input AND using the logic circuit 20 of the first embodiment shown in FIG. Of the three inputs, two signals are input to the logic circuit 20, and a signal output from the output terminal 10 (see FIG. 1) of the logic circuit 20 is input to the next AND circuit 24 via a negation circuit. The other signal is input to the other input of the AND circuit 24. As a result, a logical product of three inputs is output.
[0051]
<Ninth Embodiment>
Next, a ninth embodiment of the present invention will be described. 9 implements a multi-input logical product and logical product negation circuit using the logic circuit 26 of the second embodiment shown in FIG. First, except for one of the multiple inputs, the signal is input to the conventional multi-input logical product negation circuit 25 shown in FIG. The output of the logical product negation circuit 25 is input to the input terminal 2 (see FIG. 2) of the logic circuit 26. The other input terminal 1 (see FIG. 2) of the logic circuit 26 receives the remaining multi-input signal. Since the logical circuit 26 outputs a logical product and a logical product negation, the logical circuit of this embodiment can output a multi-input logical product and a logical product negative.
[0052]
<Tenth Embodiment>
Next, a tenth embodiment of the present invention will be described. FIG. 10 implements a multi-input logical product and logical product negation circuit using the logic circuit 27 of the third embodiment shown in FIG. First, signals that are input to the multi-input logical product and logical product negation circuit 25 and output from the logical circuit 25 are input to the input terminal 2 and the input terminal 3 (see FIG. 3) of the logical circuit 27. Is done. Then, the remaining multi-input signal is input to the input terminal 1 (see FIG. 3) of the logic circuit 27. Accordingly, the logical circuit 27 outputs a logical product and a negative of the logical product. Compared with the logic circuits 20 and 26 (see FIGS. 1 and 9), the logic circuit 27 used in this embodiment has one negation circuit as shown in FIG.
[0053]
<Eleventh embodiment>
Next, an eleventh embodiment of the present invention will be described. FIG. 11 is a circuit diagram of a logic circuit showing an eleventh embodiment of the present invention. This logic circuit is a circuit diagram of a logic circuit that realizes a logical sum and a logical sum negation circuit of two input signals A and B.
[0054]
A signal A is input from the input terminal 31 and a signal B is input from the input terminal 32. The input terminal 31 is connected to the source of the P-channel transistor 34. The input terminal 32 is connected to the gate of the transistor 34, and the input terminal 2 is further connected to the gate of the P-channel transistor 35 via a negation circuit 43. The drain of the transistor 34 is connected to the node 45. The source of the transistor 35 is connected to the power supply voltage 38, and the drain is connected to the node 45. The negation circuit 36 inputs the signal state of the node 45 and outputs the negation. The drain of the P-channel transistor 37 is connected to the ground level 39, the gate is connected to the output of the negation circuit 36, and the drain is connected to the node 45. An output terminal 40 for deriving the output of the negation circuit 36 and an output terminal 41 for deriving the signal state of the node 45 are provided.
[0055]
Thus, when the signal B is 1, the transistor 34 is turned off and the transistor 35 is turned on. Therefore, the power supply voltage 38 is led to 1 at the node 45 regardless of the state of the signal A. Therefore, 0 is output from the output terminal 40 and 1 is output from the output terminal 41. At this time, the transistor 37 is off.
[0056]
When the signal B is 0, the transistor 34 is turned on and the transistor 35 is turned off. Therefore, the signal A is sent to the node 45 through the transistor 34. For example, when the signal A is 1, 0 is output from the output terminal 40 and 1 is output from the output terminal 41. At this time, the transistor 37 is off. When the signal A is 0, 1 is output from the output terminal 40 and 0 is output from the output terminal 41. At this time, the transistor 37 is turned on, and the node 45 is stably kept at 0 by the ground level 39.
[0057]
As described above, the logic circuit of the present embodiment obtains the negation of the logical sum of the signal A and the signal B from the output terminal 40 by the input of the signals A and B, and the logical sum of the signal A and the signal B from the output terminal 41. can get. Further, when the signal B is 1, since the transistor 7 is off, the charge and discharge current in the source capacitance of the transistor 37 is generated even if the signal A is oscillated many times in a short cycle. When the period of such a state is relatively long, the logic circuit has low power consumption.
[0058]
Next, the current consumption of the logic circuit of this embodiment and that of the conventional OR circuit shown in FIG. 28 are compared. Here, the evaluation is performed using the same assumptions and criteria as in the first embodiment. That is, the source capacitance, the gate capacitance, and the drain capacitance of each transistor are the same, and the respective capacitances are set as a reference 1. The negation circuits 6 and 13 are evaluated assuming the circuit shown in FIG.
[0059]
When the load capacitance of the input terminal 31 shown in FIG. 11 is calculated according to the above-described criteria, when the signal B is 0, the transistor 34 is turned on and the transistor 35 is turned off. 34, the drain capacity of the transistor 35, the gate capacity of the two transistors 62 and 63 (see FIG. 21) constituting the negative circuit 36, and the drain capacity of the transistor 37, so that the total is 6.
[0060]
Further, when the signal B is 1, the transistor 34 is off, and it is 1 because only the source capacitance of the transistor 34 is present. The load capacity of the input terminal 32 is 3 in total because it is the gate capacity of the transistor 34 and the gate capacity of the two transistors 62 and 63 (see FIG. 21) constituting the negation circuit 43.
[0061]
Similarly, in the above-described conventional logical sum negation circuit shown in FIG. 28, when the load capacitance is calculated, the load capacitance of the input terminal 101 becomes 2 because the gate capacitance of the transistor 103 and the gate capacitance of the transistor 105 are calculated. On the other hand, since the load capacity of the input terminal 102 is the gate capacity of the transistor 104 and the gate capacity of the transistor 106, the total is 2. The above results are summarized in FIG. However, the first input and the second input refer to the signal A and the signal B, respectively, and refer to signals input to the input terminals 101 and 102 in the conventional logical sum negation circuit (FIG. 26), respectively.
[0062]
The total charge / discharge current at each input terminal when a signal having a waveform as shown in FIG. 23 is input to these two circuits is compared. As described above, the first input is a signal having a waveform that vibrates 100 times, and the second input is 1 for n times out of the 100 times that the first input vibrates. Evaluate as a signal that is zero.
[0063]
At this time, the total charge / discharge currents at the input terminals 31 and 32 in the logic circuit of this embodiment shown in FIG. 11 are compared. The charging / discharging current at the input terminals 1 and 2 in the logic circuit of this embodiment shown in FIG. 11 is expressed by the following equation with the current when charging or discharging once with one capacitor being 1 as a reference value.
(Load capacity of the first input when the second input is 0) × (Number of vibrations of the first input when the second input is 0) + (First when the second input is 1) Load capacity of the input) × (number of vibrations of the first input when the second input is 1) + (load capacity of the second input) × (number of vibrations of the second input) = 6 · (100 −n) + 1 · n + 3 · 1 = −5n + 603
[0064]
Further, the charge / discharge current at the input terminals 71 and 72 in the conventional logical OR negation circuit (FIG. 26) is calculated by the following equation.
(Load capacity of first input) × (Number of vibrations of first input) + (Load capacity of second input) × (Number of vibrations of second input) = 2 · 100 + 2 · 1 = 202
[0065]
FIG. 25 is a comparison of the values of the above formulas for each value of n. In the conventional logical OR negation circuit (FIG. 28), the charge / discharge current decreases as the value of n increases. When n is 80 or less, the charge / discharge current is larger than that of the conventional logical OR negation circuit (FIG. 28). When n is 80, the charging / discharging currents of both are almost the same, and when n is larger than that, the charging / discharging current of the logic circuit of the present embodiment is smaller than that of the conventional OR circuit (FIG. 28). ing. However, the charge / discharge currents of both transistors vary depending on the source capacity, gate capacity, drain capacity, etc. of the transistor.
[0066]
Therefore, in the logic circuit of this embodiment (FIG. 1), the first signal oscillates many times in a short cycle, and the period in which one second signal is 1 is long. The logic circuit (FIG. 11) of the embodiment consumes less current and consumes less power than the conventional logical OR negation circuit (FIG. 28). In other words, the logical sum and logical sum negation circuit of this embodiment often operates with low power consumption when the second signal is 1 and the number of oscillations of the second input is large. The effect of the low current consumption is due to the small load capacity of the first signal A when the second signal B is 1.
[0067]
<Twelfth Embodiment>
Next, a twelfth embodiment of the present invention will be described. FIG. 12 is a circuit diagram of a logic circuit showing a twelfth embodiment of the present invention. In FIG. 12, the same parts as those in FIG. However, the insertion position of the negative circuit 43 is different from the logic circuit (FIG. 11) of the eleventh embodiment, and in this embodiment, the input terminal 32 and the gate of the transistor 35 are directly connected, and The input terminal 32 and the gate of the transistor 34 are connected via a negation circuit 34.
[0068]
Therefore, the signal B bar input to the input terminal 32 is processed as a negation of the signal B of the logic circuit (FIG. 1) of the first embodiment in the logic circuit of the present embodiment. Therefore, if the negation of the signal B bar is the signal B, the logic circuit of this embodiment outputs the negation of the logical sum of the signal A and the signal B from the output terminal 40 and the logical sum of the signal A and the signal B from the output terminal 41. Is output. Also in this circuit, as in the first embodiment described above, the period when the signal B bar input from the input terminal 32 is 1 is relatively long, the transistor 34 is turned off, and the transistor 35 is turned on. When a large number of signals A input from the input terminal 31 vibrate in a short period, the charge / discharge current is reduced.
[0069]
<13th Embodiment>
Next, a thirteenth embodiment of the present invention is described. FIG. 13 is a circuit diagram of a logic circuit showing a thirteenth embodiment of the present invention. In FIG. 13, the same parts as those in FIG. 11 are denoted by the same reference numerals. In the present embodiment, three input terminals 31, 32, and 33 are provided, and a signal A is input from the input terminal 31. Next, the signal B is input from the input terminal 32. A signal B bar having a negative relationship with the signal B is input from the input terminal 33. The input terminal 32 is connected to the gate of the N channel transistor 34, and the input terminal 33 is connected to the gate of the N channel transistor 35.
[0070]
Thus, the same operation as the logic circuit in the first embodiment (FIG. 1) and the second embodiment (FIG. 2) is performed, and the negation of the logical sum of the signals A and B is output from the output terminal 30. Then, the logical sum of the signal A and the signal B is output from the output terminal 41. Therefore, as in the first embodiment, when the period when the signal B is 0 is relatively long and when the signal A vibrates in a short cycle, there is an effect of low power consumption.
[0071]
In the present embodiment, the input signal A is directly input to the input terminal 31, the second input signal B is directly input to the input terminal 32, and the input signal B is input to the input terminal 33 via a negative circuit. Thus, the first embodiment (FIG. 1) can be realized. Further, the first input signal A is directly input to the input terminal 41, the second input signal B bar is input to the input terminal 42 through a negation circuit, and the second input signal B bar is directly input to the third terminal. The second embodiment (FIG. 2) can be realized by inputting to the input signal.
[0072]
<Fourteenth embodiment>
Next, a fourteenth embodiment of the present invention is described. FIG. 14 is a circuit diagram of a logic circuit for obtaining the negation of the 3-input logical sum using the logic circuit 50 of the first embodiment shown in FIG. In this embodiment, two signals out of three inputs are input to the logic circuit 50, and a signal output from the output terminal 41 in FIG. 1 in the logic circuit 50 is input to one of the logical sum negation circuits 51 in the next stage. The other one of the three inputs is input to the other of the logical sum negation circuit 51.
[0073]
Thus, the negation of the three-input logical sum is output from the logical sum negation circuit 51. In the present embodiment, when one input of the logic circuit 50 is a signal that oscillates many times in a short cycle and the other is a signal that has a sufficiently long period of time compared to the oscillation, FIG. The charge / discharge current is reduced and the power consumption is reduced as compared with the case where the conventional multi-input logical OR negation circuit as shown in FIG.
[0074]
<Fifteenth embodiment>
Next, a fifteenth embodiment of the present invention is described. FIG. 15 is a circuit diagram of a 3-input OR circuit using the logic circuit 50 of the first embodiment shown in FIG. In the present embodiment, a logical sum signal output from the output terminal 41 in the logical circuit 50 to which two of the three inputs are input is input to one of the subsequent logical OR circuits 52. The other one of the three inputs is input to the other of the OR circuit 52. As a result, a three-input logical sum is output from the logical sum circuit 52. When the signal A vibrates in a short cycle, there is an effect that the charge / discharge current is reduced.
[0075]
<Sixteenth Embodiment>
Next, a sixteenth embodiment of the present invention will be described. FIG. 16 is a circuit diagram of a multi-input logical sum and logical sum negation circuit using the logic circuit 50 of the first embodiment shown in FIG. In this embodiment, the multi-input OR circuit 53 uses the conventional multi-input OR circuit shown in FIG. The OR circuit 53 can be realized by adding a NOT circuit (FIG. 21) to the output stage of the conventional multi-input OR circuit (FIG. 27).
[0076]
A signal output from the OR circuit 53 is input to one of the logic circuits 50. One input signal is input to the other side of the logic circuit 52. Since the logical circuit 50 outputs a logical sum and a negative logical sum, a multi-input logical sum and a negative logical sum output are obtained as the entire circuit shown in FIG. In particular, when the signal input to the logic circuit 50 oscillates many times in a short cycle like a clock and the signal output from the OR circuit 53 is 0 for a relatively long period of time, the signal is reduced by the logic circuit. There is an effect of power consumption.
[0077]
<Seventeenth embodiment>
Next, a seventeenth embodiment of the present invention will be described. FIG. 17 is a circuit diagram of a logic circuit for obtaining negation of a 3-input logical sum using the logic circuit 50 of the eleventh embodiment shown in FIG. In this embodiment, the signal output from the output terminal 40 shown in FIG. 1 in the logic circuit 50 is input to the logical sum negation circuit 54 via the negation circuit. The other input of the logical sum negation circuit 54 is the remaining one signal. As a result, the negation of the three-input logical sum is output from the logical sum negation circuit 54. At this time, when one input of the logic circuit 50 is a signal that oscillates in a short cycle and the other input is a relatively long signal, the power consumption is low.
[0078]
<Eighteenth embodiment>
Next, an eighteenth embodiment of the present invention will be described. FIG. 18 is a circuit diagram of a logic circuit for obtaining a three-input logical sum using the logic circuit 50 of the eleventh embodiment shown in FIG. Two signals among the three inputs are input to the logic circuit 50, and the negation of the signal output from the output terminal 40 (see FIG. 11) of the logic circuit 50 is input to the OR circuit 54 in the next stage. The other signal is input to the other input of the OR circuit 54. As a result, a 3-input logical sum is output.
[0079]
<Nineteenth embodiment>
Next, a nineteenth embodiment of the present invention is described. 19 implements a multi-input logical sum and logical sum negation circuit using the logic circuit 56 of the second embodiment shown in FIG. First, except for one of the multiple inputs, the signal is input to the conventional multi-input OR circuit 55 shown in FIG. Then, the output of the logical sum negation circuit 55 is input to the input terminal 2 of the logic circuit 56 (see FIG. 12). The other input terminal 1 (see FIG. 12) of the logic circuit 56 receives the remaining multi-input signal. Since the logic circuit 56 outputs a logical sum and a logical sum negation, the logical circuit of this embodiment can output a multi-input logical sum and a logical sum negation.
[0080]
<20th Embodiment>
Next, a twentieth embodiment of the present invention will be described. 20 implements a multi-input logical sum and logical sum negation circuit using the logic circuit 57 of the third embodiment shown in FIG. First, signals having a negative relationship are input to the input terminal 22 and the input terminal 33 (see FIG. 13) of the logic circuit 57, which are input to the multi-input logical sum and logical OR negation circuit 55 and output from the logic circuit 55. Is done. Then, the remaining multi-input signal is input to the input terminal 1 (see FIG. 13) of the logic circuit 57. As a result, the logical circuit 57 outputs a logical sum and negation of the logical sum. Compared with the logic circuits 50 and 56 (see FIGS. 11 and 12), the logic circuit 57 used in this embodiment has one negation circuit as shown in FIG.
[0081]
【The invention's effect】
As described above, in the logic circuit according to claim 1, when the input state of the second input terminal is 0, that is, when the input state of the third input terminal is 1, the first N-channel transistor is turned off. Since the second N-channel transistor is turned on, the state of the node becomes the first voltage. Therefore, even when there is a signal input that repeats frequently in a short cycle at the first input terminal, the first N-channel transistor Since only the charge / discharge current at the source is present, the logic circuit consumes less power when there are relatively many signal inputs under such conditions.
[0082]
In the logic circuit according to claim 2, contrary to the above condition, when the signal state of the second input terminal is 0, that is, when the signal state of the third input terminal is 0, the first P-channel transistor Is turned off and the second P-channel transistor is turned on, so that the state of the node becomes the first voltage. Therefore, even if the first input terminal oscillates a large number in a short period, the source of the first P-channel transistor Since only the charge / discharge current is provided, the logic circuit consumes less power when there are relatively many signal inputs under such conditions.
[0083]
Further, according to the logic circuit of the third aspect, the first and second input signals are used. In the configuration of the logic circuit according to the first aspect, the first input signal and the second input signal are transmitted from the first output terminal. And the logical product of the first input signal and the second input signal is output from the second output terminal. In the configuration of the logic circuit according to claim 2, the negation of the first and second logical sums is output from the first output terminal, and the logical sum of the first and second input signals is output from the second output terminal. Is done.
[0084]
According to the logic circuit of the fourth aspect, the first input signal is input to the input terminal, and the second input signal is input to the second input terminal via the negation circuit, Since the input signal is directly input to the third input signal, the logic circuit according to the third aspect is processed as a signal having a negative relationship with the second input signal.
[Brief description of the drawings]
FIG. 1 is a circuit diagram of a logic circuit according to a first embodiment of this invention.
FIG. 2 is a circuit diagram of a logic circuit according to a second embodiment of the present invention.
FIG. 3 is a circuit diagram of a logic circuit according to a third embodiment of the present invention.
FIG. 4 is a circuit diagram of a logic circuit according to a fourth embodiment of the present invention.
FIG. 5 is a circuit diagram of a logic circuit according to a fifth embodiment of the present invention.
FIG. 6 is a circuit diagram of a logic circuit according to a sixth embodiment of the present invention.
FIG. 7 is a circuit diagram of a logic circuit according to a seventh embodiment of the present invention.
FIG. 8 is a circuit diagram of a logic circuit according to an eighth embodiment of the present invention.
FIG. 9 is a circuit diagram of a logic circuit according to a ninth embodiment of the present invention.
FIG. 10 is a circuit diagram of a logic circuit according to a tenth embodiment of the present invention.
FIG. 11 is a circuit diagram of a logic circuit according to an eleventh embodiment of the present invention.
FIG. 12 is a circuit diagram of a logic circuit according to a twelfth embodiment of the present invention.
FIG. 13 is a circuit diagram of a logic circuit according to a thirteenth embodiment of the present invention.
FIG. 14 is a circuit diagram of a logic circuit according to a fourteenth embodiment of the present invention.
FIG. 15 is a circuit diagram of a logic circuit according to a fifteenth embodiment of the present invention.
FIG. 16 is a circuit diagram of a logic circuit according to a sixteenth embodiment of the present invention.
FIG. 17 is a circuit diagram of a logic circuit according to a seventeenth embodiment of the present invention.
FIG. 18 is a circuit diagram of a logic circuit according to an eighteenth embodiment of the present invention.
FIG. 19 is a circuit diagram of a logic circuit according to a nineteenth embodiment of the present invention.
FIG. 20 is a circuit diagram of a logic circuit according to a twentieth embodiment of the present invention.
FIG. 21 is a circuit diagram of a negative circuit of the logic circuit.
FIG. 22 is a table summarizing the load capacity of each circuit.
FIG. 23 is an input waveform to each circuit.
FIG. 24 is a graph comparing charge / discharge currents of a logical product negation circuit.
FIG. 25 is a graph comparing charge / discharge currents of a logical sum negation circuit.
FIG. 26 is a circuit diagram of a conventional logical product negation circuit.
FIG. 27 is a circuit diagram of a conventional multi-input logical product negation circuit.
FIG. 28 is a circuit diagram of a conventional logical OR negation circuit.
FIG. 29 is a circuit diagram of a conventional multi-input logical sum negation circuit.
[Explanation of symbols]
1 Input terminal
2 input terminals
3 Input terminal
4 N-channel transistor
5 N-channel transistor
6 Negative circuit
7 P-channel transistor
8 Power supply voltage
9 Ground level
10 Output terminal
11 Output terminal
13 Negative circuit
15 nodes
20 Logic circuit of the first embodiment
21 Logical product negation circuit
22 AND circuit
24 Logical product negation circuit
26 Logic Circuit of Second Embodiment
27 Logic Circuit of Third Embodiment
31 Input terminal
32 input terminals
33 Input terminal
34 N-channel transistor
35 N-channel transistor
36 Negative circuit
37 P-channel transistor
38 Power supply voltage
39 Ground level
40 output terminals
41 Output terminal
43 Negative circuit
45 nodes
50 Logic Circuit of First Embodiment
51 Logical product negation circuit
52 AND circuit
54 Logical product negation circuit
56 Logic Circuit of Second Embodiment
57 Logic Circuit of Third Embodiment

Claims (4)

第1の入力端子と、第2の入力端子と、前記第2の入力端子に入力される信号とは否定関係のある信号が入力される第3の入力端子と、ソースが前記第1の入力端子に接続されゲートが前記第2の入力端子に接続されドレインがノードに接続されている第1のNチャネルトランジスタと、ソースが第1の電圧に接続されゲートが前記第3の入力端子に接続されドレインが前記ノードに接続されている第2のNチャネルトランジスタと、前記ノードの信号状態の否定を出力する否定回路と、ソースが第2の電圧に接続されゲートが前記否定回路の出力に接続されドレインが前記ノードに接続されているPチャネルトランジスタと、前記否定回路の出力を導き出すための第1の出力端子と、前記ノードの信号状態を導き出すための第2の出力端子とを備えることを特徴とする論理回路。A first input terminal, a second input terminal, a third input terminal to which a signal having a negative relationship with a signal input to the second input terminal is input, and a source is the first input A first N-channel transistor having a gate connected to the second input terminal and a drain connected to the node; a source connected to the first voltage; and a gate connected to the third input terminal. A second N-channel transistor whose drain is connected to the node, a negation circuit that outputs a negation of the signal state of the node, a source connected to a second voltage, and a gate connected to the output of the negation circuit A P-channel transistor whose drain is connected to the node, a first output terminal for deriving the output of the negation circuit, and a second output terminal for deriving the signal state of the node Logic circuit comprising: a. 第1の入力端子と、第2の入力端子と、前記第2の入力端子に入力される信号とは否定関係のある信号が入力される第3の入力端子と、ソースが前記第1の入力端子に接続されゲートが前記第2の入力端子に接続されドレインがノードに接続されている第1のPチャネルトランジスタと、ソースが第1の電圧に接続されゲートが前記第3の入力端子に接続されドレインが前記ノードに接続されている第2のPチャネルトランジスタと、前記ノードの信号状態の否定を出力する否定回路と、ソースが第2の電圧に接続されゲートが前記否定回路の出力に接続されドレインが前記ノードに接続されているNチャネルトランジスタと、前記否定回路の出力を導き出すための第1の出力端子と、前記ノードの信号状態を導き出すための第2の出力端子とを備えることを特徴とする論理回路。A first input terminal, a second input terminal, a third input terminal to which a signal having a negative relationship with a signal input to the second input terminal is input, and a source is the first input A first P-channel transistor having a gate connected to the second input terminal and a drain connected to the node; a source connected to the first voltage; and a gate connected to the third input terminal. A second P-channel transistor having a drain connected to the node, a negation circuit outputting a negation of the signal state of the node, a source connected to a second voltage, and a gate connected to the output of the negation circuit An N-channel transistor whose drain is connected to the node, a first output terminal for deriving the output of the negation circuit, and a second output terminal for deriving the signal state of the node Logic circuit comprising: a. 第1の入力信号は前記第1の入力端子に直接入力され、第2の入力信号は前記第2の入力端子に直接入力されるとともに否定回路を介して前記第3の入力端子に入力されることを特徴とする請求項1又は請求項2に記載の論理回路。The first input signal is directly input to the first input terminal, and the second input signal is input directly to the second input terminal and input to the third input terminal via a negation circuit. The logic circuit according to claim 1, wherein the logic circuit is characterized in that 第1の入力信号は前記第1の入力端子に直接入力され、第2の入力信号は否定回路を介して前記第2の入力端子に入力されるとともに第3の入力端子には直接入力されることを特徴とする請求項1又は請求項2に記載の論理回路。The first input signal is directly input to the first input terminal, and the second input signal is input to the second input terminal via a negation circuit and directly input to the third input terminal. The logic circuit according to claim 1, wherein the logic circuit is characterized in that
JP12551998A 1998-05-08 1998-05-08 Logic circuit Expired - Fee Related JP3850139B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12551998A JP3850139B2 (en) 1998-05-08 1998-05-08 Logic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12551998A JP3850139B2 (en) 1998-05-08 1998-05-08 Logic circuit

Publications (2)

Publication Number Publication Date
JPH11330950A JPH11330950A (en) 1999-11-30
JP3850139B2 true JP3850139B2 (en) 2006-11-29

Family

ID=14912170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12551998A Expired - Fee Related JP3850139B2 (en) 1998-05-08 1998-05-08 Logic circuit

Country Status (1)

Country Link
JP (1) JP3850139B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299705B (en) * 2010-06-22 2014-06-04 上海复旦微电子股份有限公司 Level switching nand circuit

Also Published As

Publication number Publication date
JPH11330950A (en) 1999-11-30

Similar Documents

Publication Publication Date Title
KR100203302B1 (en) Static and dynamic adder using n-mos
KR100251254B1 (en) Voltage monitoring circuit capable of reducing power dissipation
US5132569A (en) High speed Bi-COMS input circuit fabricated from a small number of circuit components
JP3850139B2 (en) Logic circuit
US7994824B2 (en) Logic gate with a reduced number of switches, especially for applications in integrated circuits
JP7085911B2 (en) Comparator and oscillator circuit
WO2001056084A1 (en) Low power dissipation mos jam latch
US5936427A (en) Three-input exclusive NOR circuit
JPH09172365A (en) Tri-state circuit
US20030076144A1 (en) Schmitt trigger circuit consuming low power
JP4829724B2 (en) Oscillator circuit
JPS63260316A (en) Oscillation circuit
JPH11312969A (en) Semiconductor circuit
JP2004056561A (en) Oscillation frequency correction circuit of ring oscillator
JP2767909B2 (en) Output buffer circuit
JP2867253B2 (en) 3-input exclusive or gate
JP3055165B2 (en) Output buffer circuit
KR100277865B1 (en) Low power comparator
JP2005136515A (en) Schmitt circuit
JP2885670B2 (en) CR oscillation circuit
JPH08321768A (en) Buffer circuit and semiconductor integrated circuit using the circuit
JPH08222947A (en) Oscillation circuit
JP2010166405A (en) Semiconductor integrated circuit
KR20020002537A (en) Bus line driving circuit for high-speed and low power
JPH0514166A (en) Cmos logic circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041008

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060818

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060829

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060829

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090908

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100908

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110908

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130908

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees