JPH07202676A - Driving circuit - Google Patents

Driving circuit

Info

Publication number
JPH07202676A
JPH07202676A JP5338611A JP33861193A JPH07202676A JP H07202676 A JPH07202676 A JP H07202676A JP 5338611 A JP5338611 A JP 5338611A JP 33861193 A JP33861193 A JP 33861193A JP H07202676 A JPH07202676 A JP H07202676A
Authority
JP
Japan
Prior art keywords
circuit
output
signal
buffer
selection
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
JP5338611A
Other languages
Japanese (ja)
Inventor
Makoto Fujiwara
誠 藤原
Akihiko Teramoto
昭彦 寺本
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 JP5338611A priority Critical patent/JPH07202676A/en
Publication of JPH07202676A publication Critical patent/JPH07202676A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize a driving circuit where an optimum matching with an external circuit is maintained. CONSTITUTION:An output circuit 2 is composed of plural try state buffers A1, A2,... activated or nonactivated individually by selection signals C1, C2,... and an external circuit 21 is driven. The levels of the input signal St and the output signal So of the output circuit 2 at the time of a test mode are compared in a test circuit 3, a buffer addition request signal Sa is outputted to a selection circuit 4 at the time of St>So, the selection circuit 4 outputs the selection signals C1, C2,..., buffer A1, A2,... are successively activated and driving capacity is increased. At the time of St=Go, a test circuit 3 outputs an addition disconnection signal Sb. The information on the buffer A to be required for obtaining a matching is stored in a freely writable nonvolatile memory 5 and reproducibility is secured.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、外部回路を駆動するた
めの駆動回路に関し、さらに詳しくは外部回路に対応し
て駆動能力を変化させることができる駆動回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a driving circuit for driving an external circuit, and more particularly to a driving circuit capable of changing its driving ability in accordance with the external circuit.

【0002】[0002]

【従来の技術】論理回路においては、入力信号に基づい
て外部回路を駆動するためにバッファを用いた駆動回路
が使用される。バッファは、信号の論理を変更すること
なく外部回路に出力する回路素子であるが、外部回路の
入力条件や、負荷容量、あるいはバッファのファンアウ
トなどによって、1個のバッファでは対応できない場合
がある。このような場合には、大きい駆動能力を持つバ
ッファを使用するか、バッファを増設するかしなければ
ならない。また、特開平4−348487で開示されて
いるように、複数のトライステートバッファを用いて出
力回路を形成し、選択信号によって必要なトライステー
トバッファを能動化し、駆動能力を増やすようにした駆
動回路なども提案されている。
2. Description of the Related Art In a logic circuit, a driving circuit using a buffer is used to drive an external circuit based on an input signal. A buffer is a circuit element that outputs the signal to an external circuit without changing the logic of the signal, but depending on the input condition of the external circuit, the load capacity, the fanout of the buffer, or the like, one buffer may not be sufficient. . In such a case, it is necessary to use a buffer having a large driving capacity or add a buffer. Further, as disclosed in Japanese Patent Application Laid-Open No. 4-348487, a drive circuit in which an output circuit is formed by using a plurality of tristate buffers and a necessary tristate buffer is activated by a selection signal to increase the driving capability. Are also proposed.

【0003】典型的な先行技術は、図8に示されてい
る。駆動回路51は、複数のトライステートバッファC
1,C2,…,Cn(総称するときは参照符Cを用い
る)を並列に接続して成る出力回路52と、シフトレジ
スタ53とを含む。トライステートバッファCは、出力
容量の等しいものが使用される。シフトレジスタ53
は、クロック信号CKと、データ信号DATAとが入力
され、出力端子Q1〜Qnからバッファ選択信号D1,
D2,…,Dnを順次導出する。バッファ選択信号D1
〜Dnは、トライステートバッファCのコントロール端
子cに個別に印加され、対応するトライステートバッフ
ァCが能動化される。このようにして外部回路61に対
する駆動能力が増大する。
A typical prior art is shown in FIG. The drive circuit 51 includes a plurality of tristate buffers C.
1, C2, ..., Cn (reference numeral C is used when collectively referred to) are connected in parallel, and an output circuit 52 and a shift register 53 are included. The tri-state buffer C having the same output capacity is used. Shift register 53
Receives the clock signal CK and the data signal DATA and outputs the buffer selection signal D1 from the output terminals Q1 to Qn.
D2, ..., Dn are sequentially derived. Buffer selection signal D1
~ Dn are individually applied to the control terminal c of the tri-state buffer C, and the corresponding tri-state buffer C is activated. In this way, the driving capability for the external circuit 61 is increased.

【0004】[0004]

【発明が解決しようとする課題】しかしながら前述の先
行技術による駆動回路51は、外部回路61に適応する
駆動能力を得るためには、バッファ選択信号Dを設定す
る手間が必要であるという問題点がある。また選択され
たバッファからの出力と外部回路61とが整合している
かどうかは不明なため、試行錯誤が必要である。このよ
うな手間を避けるために、予め駆動能力の大きいバッフ
ァを用意すれば、負荷容量の小さい外部回路61の場合
には、電力の無駄が生じるといった問題点が生じる。し
かも先行技術では、停電や電源断によってシフトレジス
タ53の記憶内容が消失するため、電源を再投入するた
びに同じ手順を繰り返さなければならないという問題点
もある。
However, in the drive circuit 51 according to the above-mentioned prior art, it is necessary to set the buffer selection signal D in order to obtain the drive capability adapted to the external circuit 61. is there. Further, since it is unknown whether the output from the selected buffer and the external circuit 61 match, trial and error is necessary. If a buffer having a large driving capacity is prepared in advance in order to avoid such trouble, a problem arises in that power is wasted in the case of the external circuit 61 having a small load capacity. Moreover, in the prior art, the stored contents of the shift register 53 are lost due to a power failure or power failure, so that the same procedure must be repeated every time the power is turned on again.

【0005】本発明の目的は、前述の問題点を解決し、
外部回路を駆動するために必要なスイッチング素子の選
択が自動的に行われ、電源断などのトラブルに対しても
全く問題のない駆動回路を提供することである。
The object of the present invention is to solve the above-mentioned problems,
It is an object of the present invention to provide a drive circuit in which a switching element necessary for driving an external circuit is automatically selected and there is no problem even when troubles such as power interruption occur.

【0006】[0006]

【課題を解決するための手段】本発明は、外部回路が接
続され、前記外部回路を駆動する駆動信号が与えられ
て、前記駆動信号の論理を変更することなく前記外部回
路に出力する駆動回路において、個別に能動化または非
能動化する複数のスイッチング素子が並列に接続されて
成り、各スイッチング素子にそれぞれ前記駆動信号が与
えられ、各スイッチング素子からの出力を前記外部回路
に出力する出力回路と、前記出力回路における前記外部
回路に対する出力の整合状況を判別し、整合に必要な前
記スイッチング素子を選択するための選択情報を出力す
る整合判別手段と、 前記整合判別手段の出力に基づい
て整合に必要な前記スイッチング素子を選択し、能動化
させる選択手段と、前記選択手段の選択結果を記憶する
記憶手段とを含むことを特徴とする駆動回路である。
According to the present invention, an external circuit is connected, a drive signal for driving the external circuit is given, and a drive circuit for outputting to the external circuit without changing the logic of the drive signal. In which a plurality of switching elements that are individually activated or deactivated are connected in parallel, the drive signal is applied to each switching element, and an output circuit that outputs the output from each switching element to the external circuit And a matching determination unit that determines the matching status of the output of the output circuit with respect to the external circuit and outputs selection information for selecting the switching element required for matching, and a matching determination unit based on the output of the matching determination unit. Selection means for selecting and activating the switching element necessary for, and storage means for storing the selection result of the selection means. Is a drive circuit characterized by.

【0007】また本発明は、前記出力回路は、出力容量
がそれぞれ等しいスイッチング素子を複数個含むことを
特徴とする。
The present invention is also characterized in that the output circuit includes a plurality of switching elements having the same output capacitance.

【0008】さらに本発明は、前記出力回路は、予め定
められる出力容量を持つスイッチング素子と、その素子
に対して出力容量がそれぞれ2n (n=1,2,3,
…,N)倍のスイッチング素子とを含むことを特徴とす
る。
Further, in the present invention, the output circuit has a switching element having a predetermined output capacitance, and the output capacitances of the switching element are 2 n (n = 1, 2, 3, 3), respectively.
, N) times as many switching elements are included.

【0009】さらにまた本発明は、前記記憶手段は、書
込み自在な不揮発性メモリであることを特徴とする。
Furthermore, the present invention is characterized in that the storage means is a writable non-volatile memory.

【0010】[0010]

【作用】本発明に従う駆動回路は、出力回路に外部回路
を接続し、駆動信号を前記出力回路を介して前記外部回
路に与えて、前記外部回路を駆動する。駆動回路には、
個別に能動化または非能動化する複数のスイッチング素
子が並列に接続された出力回路と、整合判別手段と、記
憶手段とが含まれている。
In the drive circuit according to the present invention, an external circuit is connected to the output circuit, and a drive signal is applied to the external circuit via the output circuit to drive the external circuit. In the drive circuit,
An output circuit in which a plurality of switching elements that are individually activated or deactivated are connected in parallel, a matching determination unit, and a storage unit are included.

【0011】整合判別手段は、前記出力回路に入力され
る駆動信号と、前記出力回路から外部回路に対して出力
される出力信号とを比較して、出力信号のレベルが駆動
信号のレベルよりも低いときは不整合と判別し、選択情
報を前記選択手段に与え、整合に必要なスイッチング素
子を選択して能動化させる。これによって出力回路の駆
動能力が増強され、不整合が解消される。スイッチング
素子の選択と能動または非能動化とは、整合判別手段と
選択手段との共働によって行われ、正確な整合が自動的
に得られ、スイッチング素子の選択態様についての情報
は、記憶手段に記憶される。したがって最適な整合条件
が保存され、再現性に富む。
The matching determination means compares the drive signal input to the output circuit with the output signal output from the output circuit to an external circuit, and the level of the output signal is higher than the level of the drive signal. When it is low, it is determined that there is no matching, selection information is given to the selecting means, and a switching element required for matching is selected and activated. This enhances the drive capability of the output circuit and eliminates the mismatch. The selection of the switching element and the activation or deactivation are performed by the cooperation of the matching determination means and the selection means, and accurate matching is automatically obtained, and the information about the selection mode of the switching element is stored in the storage means. Remembered. Therefore, optimal matching conditions are preserved and reproducible.

【0012】また本発明に従えば、出力回路は、出力容
量の等しい複数個のスイッチング素子で構成される。こ
のため容易に所望のスイッチング素子を選択することが
できる。
According to the invention, the output circuit is composed of a plurality of switching elements having the same output capacitance. Therefore, a desired switching element can be easily selected.

【0013】さらに本発明に従えば、出力回路は、予め
定められる出力容量を持つスイッチング素子と、その素
子に対して出力容量がそれぞれ2n (n=1,2,3,
…,N)倍のスイッチング素子とを含んで構成される。
このため所望の駆動能力を、より少ないスイッチング素
子によって実現することができる。
Further, according to the present invention, the output circuit has a switching element having a predetermined output capacitance and an output capacitance of 2 n (n = 1, 2, 3, 3) for the element.
, N) times as many switching elements are included.
Therefore, a desired driving capability can be realized with fewer switching elements.

【0014】さらにまた本発明に従えば、前記記憶手段
は、書込み自在な不揮発性メモリで実現される。これに
よって停電などの電源トラブルが発生しても記憶内容が
失われることはない。
Still further according to the invention, the storage means is realized by a writable non-volatile memory. As a result, even if a power failure such as a power failure occurs, the stored contents will not be lost.

【0015】[0015]

【実施例】図1は、本発明の一実施例である駆動回路1
の構成を模式的に示すブロック図である。駆動回路1
は、出力回路2と、整合判別手段であるテスト回路3
と、選択手段であるバッファ選択回路4と、記憶手段で
あるメモリ5とを含む。駆動回路1は、入力端子11に
入力される入力信号Siを、その論理を変更することな
く出力端子12に導出する。出力端子12には外部回路
21が接続される。出力回路2は、スイッチング素子で
ある複数のトライステートバッファA1,A2,…,A
n(総称するときは参照符Aを用いる)を並列に接続し
て構成される。各トライステートバッファAは、コント
ロール端子cに印加される選択信号C1,C2,…,C
n(総称するときは参照符Cを用いる)によって個別に
能動化または非能動化される。メモリ5は、たとえばE
PROM(イレーザブルプログラマブルリードオンリメ
モリ)などの不揮発性メモリで実現される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a drive circuit 1 which is an embodiment of the present invention.
3 is a block diagram schematically showing the configuration of FIG. Drive circuit 1
Is an output circuit 2 and a test circuit 3 which is a matching determination means.
And a buffer selection circuit 4 which is a selection unit and a memory 5 which is a storage unit. The drive circuit 1 derives the input signal Si input to the input terminal 11 to the output terminal 12 without changing its logic. An external circuit 21 is connected to the output terminal 12. The output circuit 2 includes a plurality of tristate buffers A1, A2, ..., A which are switching elements.
n (reference numeral A is used for generic name) are connected in parallel. Each tri-state buffer A has selection signals C1, C2, ..., C applied to its control terminal c.
It is individually activated or deactivated by n (reference numeral C is used when collectively referred to). The memory 5 is, for example, E
It is realized by a non-volatile memory such as a PROM (erasable programmable read only memory).

【0016】駆動回路1は、外部回路21の駆動に必要
なトライステートバッファ(以下、「バッファ」と略称
する)Aを選択するためのテストモードと、入力信号S
iによって外部回路21を駆動する通常モードとの2つ
の動作モードをもつ。入力端子11には、論理ゲートな
どで実現される入力切換回路6が接続されている。入力
切換回路6の接点は、入力切換信号Scによって、通常
モードでは入力端子11側に、テストモードではバッフ
ァ選択回路4側に切換えられる。
The drive circuit 1 has a test mode for selecting a tristate buffer (hereinafter abbreviated as "buffer") A necessary for driving the external circuit 21, and an input signal S.
It has two operation modes: a normal mode in which the external circuit 21 is driven by i. The input switching circuit 6 realized by a logic gate or the like is connected to the input terminal 11. The contact of the input switching circuit 6 is switched to the input terminal 11 side in the normal mode and to the buffer selection circuit 4 side in the test mode by the input switching signal Sc.

【0017】テストモードでは、バッファ選択回路4か
ら入力切換回路6を介してテスト信号Stが出力回路2
に入力され、出力端子12に導出される出力信号Soの
レベルがテスト回路3によってモニタされる。テスト回
路3は、出力回路2からの出力信号Soのレベルに基づ
いて外部回路21との整合状況を判別し、レベル不足な
どで不整合と判断すると、選択情報であるバッファ増結
要求信号(以下、「増結要求信号」という)Saをバッ
ファ選択回路4に対して出力する。バッファ選択回路4
は、増結要求信号Saに応答して選択信号C2,C3,
…を出力し、他のバッファAを能動化して駆動能力を増
やし、不整合状態を解消する。このときバッファAの選
択情報がメモリ5に書込まれてストアされる。メモリ5
は不揮発性のため、停電などの電源トラブルは影響しな
い。
In the test mode, the test signal St is output from the buffer selection circuit 4 via the input switching circuit 6 to the output circuit 2.
The level of the output signal So input to the output terminal 12 is monitored by the test circuit 3. The test circuit 3 determines the matching state with the external circuit 21 based on the level of the output signal So from the output circuit 2, and when it determines that there is a mismatch due to lack of level or the like, a buffer increase request signal (hereinafter, referred to as selection information) Sa (referred to as "multiplication request signal") is output to the buffer selection circuit 4. Buffer selection circuit 4
Select signals C2, C3 in response to the increase request signal Sa.
Is output, the other buffer A is activated to increase the driving capability, and the inconsistent state is eliminated. At this time, the selection information of the buffer A is written and stored in the memory 5. Memory 5
Since is non-volatile, power troubles such as power failure will not be affected.

【0018】通常モードでは、前記メモリ5にストアさ
れているバッファAの選択についてのデータが読出さ
れ、対応するバッファAが能動化されて、外部回路21
に対する最適駆動能力が設定される。前記2つの動作モ
ードは、モード端子14に入力されるモード信号Smが
ハイレベルのときテストモードに、ローレベルのとき通
常モードに設定される。以下、ハイレベルの信号には参
照符に(H)を付し、ローレベルの信号には(L)を付
して区別する。
In the normal mode, the data on the selection of the buffer A stored in the memory 5 is read, the corresponding buffer A is activated, and the external circuit 21 is activated.
The optimum drive capacity for is set. The two operation modes are set to the test mode when the mode signal Sm input to the mode terminal 14 is at high level, and to the normal mode when it is at low level. Hereinafter, a high-level signal is marked with (H) and a low-level signal is marked with (L) for distinction.

【0019】モード端子14を介してモード信号Sm
(H)が入力されると、バッファ選択回路4は、選択信
号C1を出力して1個のバッファA1を能動化するとと
もに、テスト信号Stと、入力切換信号Sc(H)と、
モニタON信号Sf(H)とを出力する。入力切換信号
Sc(H)によって入力切換回路6はバッファ選択回路
4側に切換わり、テスト信号Stが出力回路2とテスト
回路3とに入力される。またモニタON信号Sf(H)
によってテスト回路3が能動化され、出力信号Soがテ
スト回路3にも入力される。テスト信号Stは、入力信
号Siと同じ論理レベルであり、クロック端子13から
入力されるクロック信号CKに同期し、かつその2倍周
期の信号である。テスト信号Stは、バッファA1を介
して出力信号Soとして出力端子12に導出され、外部
回路21に入力される。
A mode signal Sm is output via the mode terminal 14.
When (H) is input, the buffer selection circuit 4 outputs the selection signal C1 to activate one buffer A1, and also outputs the test signal St and the input switching signal Sc (H).
The monitor ON signal Sf (H) is output. The input switching signal Sc (H) switches the input switching circuit 6 to the buffer selection circuit 4 side, and the test signal St is input to the output circuit 2 and the test circuit 3. Also, monitor ON signal Sf (H)
Then, the test circuit 3 is activated, and the output signal So is also input to the test circuit 3. The test signal St has the same logic level as that of the input signal Si, is in synchronization with the clock signal CK input from the clock terminal 13, and has a double cycle thereof. The test signal St is led to the output terminal 12 as the output signal So via the buffer A1 and input to the external circuit 21.

【0020】テスト回路3は比較回路などで実現され、
テストモードでは前記テスト信号Stと、出力信号So
とのレベルを比較し、出力信号Soが所定のタイミング
で規定レベルに達しないときは、出力回路2の駆動能力
が不足している不整合状態であると判断して、増結要求
信号Saをバッファ選択回路4に対して出力し、バッフ
ァAの増結を要求する。バッファ選択回路4は、たとえ
ばシフトレジスタなどで実現され、増結要求信号Saに
応答して、選択信号C2,C3,…を出力し、バッファ
Aを順次能動化して、外部回路21に対する駆動能力を
増やす。
The test circuit 3 is realized by a comparison circuit or the like,
In the test mode, the test signal St and the output signal So
When the output signal So does not reach the specified level at a predetermined timing, it is determined that the output circuit 2 has insufficient driving capability and is in a mismatched state, and the increase request signal Sa is buffered. It outputs to the selection circuit 4 and requests the increase of the buffer A. The buffer selection circuit 4 is realized by, for example, a shift register, outputs the selection signals C2, C3, ... In response to the increase request signal Sa, sequentially activates the buffer A, and increases the driving capability for the external circuit 21. .

【0021】バッファAの順次的な増結によって、出力
信号Soが規定レベルに達すると、テスト回路3は出力
回路2と外部回路21との整合がとれたと判断し、増結
中止信号Sbを出力する。バッファ選択回路4は増結中
止信号Sbを受取ると、それまでに受取った増結要求信
号Saの数、あるいは出力されている選択信号Cの数を
メモリ5に書込み、外部回路21を駆動するために必要
なバッファAの選択情報をストアする。メモリ5への書
込みが終わると、バッファ選択回路はテストモード動作
の終了を報知するモード切換要求信号Swを端子15を
介して図示しない制御部に出力する。モード信号Smは
ローレベルとなり、通常モードに切換わる。通常モード
では、メモリ5から前記ストアされているバッファAに
関するデータが読出され、前回テストモードで選択され
たバッファAが能動化し、以後は入力信号Siによって
外部回路21が駆動される。
When the output signal So reaches the specified level due to the sequential increase of the buffer A, the test circuit 3 judges that the output circuit 2 and the external circuit 21 are matched, and outputs the increase stop signal Sb. When the buffer selection circuit 4 receives the increase stop signal Sb, it is necessary to write the number of the increase request signals Sa received up to that point or the number of output selection signals C to the memory 5 and drive the external circuit 21. The selection information of the buffer A is stored. When the writing to the memory 5 is completed, the buffer selection circuit outputs a mode switching request signal Sw for notifying the end of the test mode operation to the control unit (not shown) via the terminal 15. The mode signal Sm becomes low level and the mode is switched to the normal mode. In the normal mode, the stored data regarding the buffer A is read from the memory 5, the buffer A selected in the previous test mode is activated, and thereafter, the external circuit 21 is driven by the input signal Si.

【0022】本発明ではこのようにして、テストモード
時に外部回路21の駆動に必要なバッファAが自動的に
選択されるので、負荷容量が不明な外部回路21に対し
ても常に最適な駆動能力が設定され、従来技術に見られ
るような試行錯誤の手間などが不要になる。またメモリ
5は不揮発性メモリであるので、停電などの電源トラブ
ルが発生してもデータは消失せず、再投入時に読出され
て常に最適な駆動能力が維持される。
According to the present invention, the buffer A necessary for driving the external circuit 21 is automatically selected in the test mode in this way, so that the optimum driving capability is always applied to the external circuit 21 whose load capacity is unknown. Is set, and the trouble of trial and error as seen in the prior art is unnecessary. Further, since the memory 5 is a non-volatile memory, the data is not lost even if a power failure such as a power failure occurs, and the data is read at the time of re-input and the optimum driving capability is always maintained.

【0023】図2は、図1に示す駆動回路1の具体的な
電気的構成を示すブロック図である。図2において図1
と同一部分には同一参照符を付してある。バッファ選択
回路4は、制御部4aと、選択部4bと、ANDゲート
4cと、バッファ制御部4dとを含んで構成されてい
る。選択部4bは、たとえばシフトレジスタで実現さ
れ、出力Q1,Q2,…,Qnは、バッファ制御部4d
に入力される。バッファ制御部4dは、前記出力Q1〜
Qnに対応する選択信号C1,C2,…,Cnを生成す
る。また入力切換回路6は、2個のANDゲート6a,
6bとORゲート6cとを含んで構成されている。
FIG. 2 is a block diagram showing a specific electrical configuration of the drive circuit 1 shown in FIG. In FIG. 2, FIG.
The same parts as those are designated by the same reference numerals. The buffer selection circuit 4 includes a control unit 4a, a selection unit 4b, an AND gate 4c, and a buffer control unit 4d. The selection unit 4b is realized by, for example, a shift register, and the outputs Q1, Q2, ..., Qn have the buffer control unit 4d.
Entered in. The buffer controller 4d outputs the outputs Q1 to Q1.
The selection signals C1, C2, ..., Cn corresponding to Qn are generated. Further, the input switching circuit 6 includes two AND gates 6a,
6b and an OR gate 6c.

【0024】駆動回路1は、制御部4aに入力されるモ
ード信号Smがハイレベル(H)でテストモードに、ロ
ーレベル(L)で通常モードに設定される。モード信号
Sm(H)が入力されると、制御部4aはリセット信号
Srを1パルス出力し、選択部4bの出力Q1,Q2,
…,Qn(総称するときは参照符Qを用いる)を一旦リ
セットする。リセット後に制御部4aは、クロック信号
CKに同期して1パルスのデータ制御信号Sdを出力
し、選択部4bの先頭出力Q1をハイレベルにセットす
る。これによってバッファ制御部4dからは選択信号C
1が出力され、1個のバッファA1が能動化する。また
リセット後に制御部4aからは入力切換信号Sc、クロ
ック制御信号Se、モニタON信号Sfおよびテスト信
号Stが出力される。これら複数の信号は、テスト信号
Stを除いてテストモードではハイレベルの信号であ
る。テスト信号Stは、クロック信号CKの2倍周期で
同期する信号であり、入力切換回路6のANDゲート6
bの一方端子に入力される。
The drive circuit 1 is set to the test mode when the mode signal Sm input to the control section 4a is at high level (H), and to the normal mode when it is at low level (L). When the mode signal Sm (H) is input, the control section 4a outputs one pulse of the reset signal Sr, and outputs Q1, Q2 of the selection section 4b.
, Qn (reference numeral Q is used for generic name) are once reset. After the reset, the control unit 4a outputs the one-pulse data control signal Sd in synchronization with the clock signal CK, and sets the head output Q1 of the selection unit 4b to the high level. As a result, the selection signal C is output from the buffer control unit 4d.
1 is output, and one buffer A1 is activated. After the reset, the control section 4a outputs the input switching signal Sc, the clock control signal Se, the monitor ON signal Sf and the test signal St. These plurality of signals are high level signals in the test mode except the test signal St. The test signal St is a signal that is synchronized with a cycle twice that of the clock signal CK, and is the AND gate 6 of the input switching circuit 6.
It is input to one terminal of b.

【0025】入力切換信号Scは、入力切換回路6のA
NDゲート6aの一方端子(反転入力端子)およびAN
Dゲート6bの他方端子にそれぞれ入力される。これに
よってANDゲート6aの出力はローレベルとなり、入
力端子11との接続が遮断状態となる。一方、ANDゲ
ート6bからはテスト信号Stが導出される。テスト信
号Stは、出力回路2を介して出力信号Soとして出力
端子12に導出され、外部回路21に入力される。
The input switching signal Sc is the A of the input switching circuit 6.
One terminal (inverting input terminal) of the ND gate 6a and AN
It is input to the other terminal of the D gate 6b. As a result, the output of the AND gate 6a becomes low level, and the connection with the input terminal 11 is cut off. On the other hand, the test signal St is derived from the AND gate 6b. The test signal St is led to the output terminal 12 via the output circuit 2 as the output signal So and input to the external circuit 21.

【0026】クロック制御信号Seは、ANDゲート4
cの一方端子に入力される。ANDゲート4cの他方端
子にはクロック信号CKが入力される。これによってA
NDゲート4cからはクロック信号CKに同期したタイ
ミング信号Sckが導出され、選択部4bおよびテスト
回路3に入力される。
The clock control signal Se is supplied to the AND gate 4
It is input to one terminal of c. The clock signal CK is input to the other terminal of the AND gate 4c. This makes A
A timing signal Sck synchronized with the clock signal CK is derived from the ND gate 4c and input to the selection unit 4b and the test circuit 3.

【0027】モニタON信号Sfは、テスト回路3を能
動化する信号である。テスト回路3はモニタON信号S
fが与えられると、テスト信号Stのレベルと、出力信
号Soのレベルとを比較する。比較結果がSt>Soで
あれば、バッファAの増結要求信号Saを出力し、バッ
ファAの増結によってSt=Soとなれば増結中止信号
Sbを出力する。
The monitor ON signal Sf is a signal for activating the test circuit 3. The test circuit 3 has a monitor ON signal S
When f is given, the level of the test signal St is compared with the level of the output signal So. If the comparison result is St> So, the increase request signal Sa for the buffer A is output, and if St = So due to the increase in the buffer A, the increase stop signal Sb is output.

【0028】上述した信号の種類と条件を表1に示す。Table 1 shows the types and conditions of the above signals.

【0029】[0029]

【表1】 [Table 1]

【0030】制御部4aは、増結要求信号Saに応答し
て、データ制御信号Sdを出力し、選択部4bの出力Q
を1段シフトさせる。これによって、バッファ制御部4
dからは選択信号C2が出力されて、バッファA2が増
結される。したがって出力回路2の出力容量すなわち駆
動能力は、最初に能動化されているバッファA1と合わ
せて2倍になる。これによって出力信号Soのレベルが
上昇し、外部回路21との整合がとれると、テスト回路
3は増結中止信号Sbを出力する。増結中止信号Sbが
入力されると、選択部4bは、データ書込みライン18
を介してメモリ5に、たとえば増結要求信号Saが入力
された回数である「1」を書込む。また増結要求信号S
aが引き続いて入力されると、選択部4bは他のバッフ
ァAの能動化を続行する。その後、増結中止信号Sbが
入力された時点で、それまでの増結要求信号Saの入力
回数がメモリ5に書込まれ、モード切換要求信号Sw
(H)が出力されて、モード信号Smがo−レベルに切
換わり、通常モードとなる。メモリ5に書込まれたデー
タは、通常モードに切換えられた際にバッファ制御部4
dによって読出され、テストモードで選択されたバッフ
ァAが能動化される。したがって通常モードに移行後も
外部回路21に対する出力回路2の駆動能力は最適に保
たれることになる。メモリ5に書込まれるデータは、次
に述べるように、選択部4bの出力Qのビットデータを
ストアするようにしてもよい。
The control unit 4a outputs the data control signal Sd in response to the increase request signal Sa, and the output Q of the selection unit 4b.
Shift 1 step. As a result, the buffer control unit 4
A selection signal C2 is output from d, and the buffer A2 is connected. Therefore, the output capacity of the output circuit 2, that is, the drive capacity, doubles together with the buffer A1 which is activated first. As a result, the level of the output signal So rises, and when the matching with the external circuit 21 is achieved, the test circuit 3 outputs the addition stop signal Sb. When the addition stop signal Sb is input, the selection unit 4b causes the data write line 18
For example, "1", which is the number of times the increase request signal Sa is input, is written in the memory 5 via. In addition, the increase request signal S
When a is continuously input, the selection unit 4b continues to activate the other buffer A. After that, at the time when the increase stop signal Sb is input, the number of times the increase request signal Sa has been input so far is written in the memory 5, and the mode switching request signal Sw is written.
(H) is output, the mode signal Sm is switched to the o-level, and the normal mode is set. The data written in the memory 5 is stored in the buffer controller 4 when the mode is switched to the normal mode.
The buffer A read by d and selected in the test mode is activated. Therefore, the drive capability of the output circuit 2 with respect to the external circuit 21 is kept optimum even after shifting to the normal mode. As the data written in the memory 5, bit data of the output Q of the selection unit 4b may be stored as described below.

【0031】図3は、選択部4bの構成例を示す回路図
である。図3において、前掲図2に対応する部分には同
一の参照符を付してある。選択部4bは、複数のDフリ
ップフロップ回路F1,F2,…,Fnから成るシフト
レジスタによって実現され、段数nはバッファAの数に
対応する。選択部4bには、制御部4aからデータ制御
信号Sd、タイミング信号Sckおよびリセット信号S
rが入力される。シフトレジスタの出力Q1〜Qnは、
リセット信号Srによって一旦リセットされた後、タイ
ミング信号Sckが入力される度に、データ制御信号S
dが出力Q1,Q2,…に順次導出される。出力Q1,
Q2,…,Qnは、バッファ制御部4dに入力されると
ともに、出力Q1〜Qnのビットデータがデータ書込み
ライン18を介してメモリ5に送られる。
FIG. 3 is a circuit diagram showing a configuration example of the selection unit 4b. In FIG. 3, parts corresponding to those in FIG. 2 are given the same reference numerals. The selection unit 4b is realized by a shift register including a plurality of D flip-flop circuits F1, F2, ..., Fn, and the number of stages n corresponds to the number of buffers A. The selection unit 4b includes a data control signal Sd, a timing signal Sck, and a reset signal S from the control unit 4a.
r is input. The outputs Q1 to Qn of the shift register are
After being reset once by the reset signal Sr, each time the timing signal Sck is input, the data control signal S
d is sequentially derived to the outputs Q1, Q2, .... Output Q1,
Q2, ..., Qn are input to the buffer control unit 4d, and the bit data of the outputs Q1 to Qn are sent to the memory 5 via the data write line 18.

【0032】図4は、テストモードでの駆動回路1の動
作を示すタイムチャートである。図4において、図2と
図3に対応する部分には同一の参照符を付し、これらの
図をあわせて参照して説明する。駆動回路1はリセット
がかけられ、図4(6)に示されるように、選択信号C
1が出力されてバッファA1が能動化されているものと
する。この状態は図4(9)に示されている。またこれ
と同時に、モニタON信号Sfによって、テスト回路3
が能動化されているものとする。
FIG. 4 is a time chart showing the operation of the drive circuit 1 in the test mode. In FIG. 4, portions corresponding to those in FIGS. 2 and 3 are designated by the same reference numerals, and description will be given with reference to these drawings as well. The drive circuit 1 is reset, and as shown in FIG. 4 (6), the selection signal C
It is assumed that 1 is output and the buffer A1 is activated. This state is shown in FIG. 4 (9). At the same time, the test circuit 3 is turned on by the monitor ON signal Sf.
Shall be activated.

【0033】図4(1)は、ANDゲート4cから選択
部4bに入力されるタイミング信号Sckの波形図であ
る。図4(2)は、制御部4aから出力されるテスト信
号Stの波形図である。
FIG. 4A is a waveform diagram of the timing signal Sck input from the AND gate 4c to the selection unit 4b. FIG. 4B is a waveform diagram of the test signal St output from the control unit 4a.

【0034】図4(3)は、出力端子12を介して外部
回路21に入力される出力信号Soの波形図である。バ
ッファA1の駆動能力が不足していると、時刻t1にお
ける出力信号So1のレベルv1は、入力信号であるテ
スト信号Stのレベルv0よりも低い。このためテスト
回路3は、次のタイミング信号Sckが立上がる時刻t
2で、図4(4)に示される増結要求信号Sa1を制御
部4aに対して出力する。
FIG. 4C is a waveform diagram of the output signal So input to the external circuit 21 via the output terminal 12. When the driving capability of the buffer A1 is insufficient, the level v1 of the output signal So1 at time t1 is lower than the level v0 of the test signal St that is the input signal. Therefore, the test circuit 3 operates at the time t when the next timing signal Sck rises.
In step 2, the increase request signal Sa1 shown in FIG. 4 (4) is output to the controller 4a.

【0035】制御部4aは、増結要求信号Sa1に応答
して、データ制御信号Sdを選択部4bに対して出力す
る。選択部4bは、データ制御信号Sdに応答して、出
力Q2をバッファ制御部4dに出力する。制御部4d
は、出力Q2に応答して、時刻t2で図4(7)に示さ
れる選択信号C2(H)を出力する。このためバッファ
A2が能動化され、図4(10)に示されているよう
に、2個のバッファA1,A2によって駆動能力が2倍
になる。したがって時刻t4〜t6で導出される出力信
号So2の波形は、前回の出力波形So1に比べて短時
間でレベルが上昇し、時刻t5においてレベルv2(>
v1)となる。しかしながらテスト信号Stのレベルv
0よりは低い。
The control unit 4a outputs the data control signal Sd to the selection unit 4b in response to the increase request signal Sa1. The selection unit 4b outputs the output Q2 to the buffer control unit 4d in response to the data control signal Sd. Control unit 4d
Outputs the selection signal C2 (H) shown in FIG. 4 (7) at time t2 in response to the output Q2. Therefore, the buffer A2 is activated, and the driving capability is doubled by the two buffers A1 and A2, as shown in FIG. Therefore, the waveform of the output signal So2 derived from the time t4 to t6 rises in level in a shorter time than the previous output waveform So1, and the level v2 (>) at the time t5.
v1). However, the level v of the test signal St
It is lower than zero.

【0036】このためテスト回路3は時刻t6で、図4
(4)に示される増結要求信号Sa2を出力する。制御
部4aは、増結要求信号Sa2に応答してデータ制御信
号Sdを出力し、これによって選択部4bは出力Q3を
出力する。バッファ制御部4dからは、図4(8)に示
される選択信号C3(H)が出力され、選択信号C3に
よってバッファA3が能動化される。この状態は図4
(11)に示されている。3個のバッファA1,A2,
A3によって駆動能力は3倍になり、出力回路2から
は、図4(3)で参照符So3で示される出力信号So
が出力される。
Therefore, the test circuit 3 at the time t6, as shown in FIG.
The increase request signal Sa2 shown in (4) is output. The control unit 4a outputs the data control signal Sd in response to the increase request signal Sa2, whereby the selection unit 4b outputs the output Q3. The selection signal C3 (H) shown in FIG. 4 (8) is output from the buffer control unit 4d, and the buffer A3 is activated by the selection signal C3. This state is shown in Figure 4.
It is shown in (11). Three buffers A1, A2
The driving ability is tripled by A3, and the output circuit 2 outputs the output signal So indicated by reference numeral So3 in FIG. 4 (3).
Is output.

【0037】出力信号So3の時刻t9におけるレベル
v3は、前回のレベルv2よりも高く、テスト信号St
のレベルv0と等しくなる。テスト回路3は、これによ
って整合がとれたと判断し、時刻t10で、図4(5)
に示されている増結中止信号Sb(H)を出力する。同
時に増結要求信号Saの回数「2」がメモリ5に書込ま
れ、モード信号Smはローレベルに落とされてテストモ
ードが終了する。
The level v3 of the output signal So3 at time t9 is higher than the previous level v2, and the test signal St
Is equal to the level v0. The test circuit 3 determines that the matching is achieved by this, and at time t10, the test circuit 3 of FIG.
And outputs the addition stop signal Sb (H). At the same time, the number "2" of the increase request signal Sa is written in the memory 5, the mode signal Sm is dropped to the low level, and the test mode ends.

【0038】前述の実施例では、出力回路2を構成する
複数のバッファAは、すべてコントロール端子cを備え
ているが、テストモードでは、リセット後に必ずバッフ
ァA1は能動化するから、バッファA1のコントロール
端子cには常に選択信号Cに相当するレベルを与えて、
最初から能動状態としておいてもよい。
In the above-described embodiment, the plurality of buffers A constituting the output circuit 2 are all provided with the control terminal c, but in the test mode, the buffer A1 is always activated after the reset, so that the control of the buffer A1 is controlled. The level corresponding to the selection signal C is always applied to the terminal c,
It may be active from the beginning.

【0039】図5は、本発明の他の実施例である駆動回
路31の構成を示すブロック図である。図5は図2に類
似し、同一部分であるテスト回路3と、メモリ5と、入
力切換回路6とは同一の参照符を付し、説明を省略す
る。この実施例において注目すべきは、出力回路2aを
構成する複数のバッファB1,B2,…,Bn(総称す
るときは参照符Bを用いる)のそれぞれの出力容量は、
第1バッファB1の出力容量を1(= 20)とし、他の
バッファBの出力容量を第1バッファB1に対して順次
n(n=1,2,3,…,N)倍となるように定めら
れていることである。したがって、たとえば4個のバッ
ファB1〜B4を用いれば、最大15倍の出力容量を備
える出力回路2aが実現され、駆動回路31内の配線数
を格段に削減することができ、回路の小形化を図ること
ができる。また、たとえば駆動回路31に要求される駆
動能力が7倍以下であれば、バッファBは3個で済み、
一層の小形化を図ることができる。本実施例では、バッ
ファBの出力容量をこのように設定しているので、選択
部24bには、第1実施例でのシフトレジスタに代わっ
て、バイナリカウンタが使用される。
FIG. 5 is a block diagram showing the configuration of a drive circuit 31 which is another embodiment of the present invention. 5 is similar to FIG. 2, and the same portions as the test circuit 3, the memory 5, and the input switching circuit 6 are designated by the same reference numerals, and the description thereof will be omitted. In this embodiment, it should be noted that the output capacities of the plurality of buffers B1, B2, ..., Bn (the reference numeral B is used when collectively referred to) constituting the output circuit 2a are
The output capacity of the first buffer B1 and 1 (= 2 0), successively 2 n (n = 1, 2, 3, ..., N) the output capacity of the other buffer B with respect to the first buffer B1 becomes doubled Is defined as follows. Therefore, by using, for example, four buffers B1 to B4, the output circuit 2a having a maximum output capacity of 15 times can be realized, the number of wires in the drive circuit 31 can be significantly reduced, and the circuit can be downsized. Can be planned. Further, if the drive capacity required for the drive circuit 31 is 7 times or less, for example, the number of buffers B may be three.
Further downsizing can be achieved. In this embodiment, since the output capacity of the buffer B is set in this way, a binary counter is used for the selection unit 24b instead of the shift register in the first embodiment.

【0040】図6は、選択部24bの構成例を示す回路
図である。選択部24bは、たとえば4個のTフリップ
フロップT1〜T4から成るバイナリカウンタで構成さ
れる。TフリップフロップT1〜T4から導出される出
力Qa,Qb,Qc,Qdは,バッファ制御部24dに
入力される。バッファ制御部24dは、前記出力Qa〜
Qdに対応して選択信号Ca,Cb,Cc,Cdを出力
し、図示しないバッファBの能動/非能動を制御する。
FIG. 6 is a circuit diagram showing a configuration example of the selection section 24b. The selection unit 24b is composed of, for example, a binary counter composed of four T flip-flops T1 to T4. The outputs Qa, Qb, Qc, Qd derived from the T flip-flops T1 to T4 are input to the buffer control unit 24d. The buffer controller 24d outputs the output Qa ...
Select signals Ca, Cb, Cc, and Cd are output corresponding to Qd, and active / inactive of a buffer B (not shown) is controlled.

【0041】図7は、テストモードでの駆動回路31の
動作を示すタイムチャートである。図7において、図5
と図6に対応する部分には同一の参照符を付し、これら
の図をあわせて参照しつつ説明する。選択部24bには
リセット信号Srによってリセットがかけられ、テスト
回路3はモニタON信号Sfによって能動化されている
ものとする。
FIG. 7 is a time chart showing the operation of the drive circuit 31 in the test mode. In FIG. 7, FIG.
6 will be denoted by the same reference numerals, and description will be given with reference to these figures as well. It is assumed that the selection unit 24b is reset by the reset signal Sr and the test circuit 3 is activated by the monitor ON signal Sf.

【0042】時刻t0〜t1で、図7(4)に示される
ように、データ制御信号Sdが選択部24bに入力され
る。このデータ制御信号Sdは、はじめにバッファB1
を能動化し、駆動能力1倍の出力回路2aを形成するた
めのものである。データ制御信号Sdは時刻t1で立下
がり、これによって図5に示されている初段のTフロッ
プフリップT1からハイレベルの出力Qaが出力され
る。バッファ制御部24dは出力Qaに応答して、図7
(5)に示されているように、選択信号Caを出力し、
出力容量1倍(= 20)のバッファB1を能動化する。
この状態は図7(9)に示されている。バッファB1に
よって、図7(2)に示されるテスト信号Stがバッフ
ァB1に入力され、図7(3)に示されている出力信号
So1が出力される。バッファB1の駆動能力が不足し
ているときは、出力信号So1の時刻t2におけるレベ
ルv1は、テスト信号Stのレベルv0よりも低くな
る。
At times t0 to t1, as shown in FIG. 7 (4), the data control signal Sd is input to the selection section 24b. This data control signal Sd is first transmitted to the buffer B1.
To form an output circuit 2a having a single driving capability. The data control signal Sd falls at time t1, and as a result, the high-level output Qa is output from the first-stage T-flop flip T1 shown in FIG. The buffer control unit 24d responds to the output Qa by sending the signal shown in FIG.
As shown in (5), the selection signal Ca is output,
Actively the buffer B1 of the output capacitance 1 times (= 2 0).
This state is shown in FIG. 7 (9). The buffer B1 inputs the test signal St shown in FIG. 7 (2) to the buffer B1 and outputs the output signal So1 shown in FIG. 7 (3). When the driving capability of the buffer B1 is insufficient, the level v1 of the output signal So1 at the time t2 becomes lower than the level v0 of the test signal St.

【0043】このためテスト回路3は、タイミング信号
Sckの次の立上がり時刻t3で、増結要求信号Saを
制御部24aに出力する。制御部24aは、増結要求信
号Saに応答して、時刻t3で図7(4)に示されるデ
ータ制御信号Sd1を選択部24bに出力する。選択部
24bは、データ制御信号Sd1の立下がりで、出力Q
aに代わって出力Qbを出力する。バッファ制御部24
dは、出力Qbに応答して選択信号Caをローレベルに
落としてバッファB1を非能動化し、出力Qbをハイレ
ベルにしてバッファB2を能動化する。この状態は図7
(6),(10)に示されている。バッファB2によっ
て出力回路2aの駆動能力は21 =2倍となり、図7
(3)の時刻t6ではレベルv2(>v1)の出力信号
So2が導出される。ただし、このときもテスト信号S
tのレベルv0よりは低い。
Therefore, the test circuit 3 outputs the increase request signal Sa to the control section 24a at the next rising time t3 of the timing signal Sck. In response to the increase request signal Sa, the control unit 24a outputs the data control signal Sd1 shown in FIG. 7 (4) to the selection unit 24b at time t3. The selection unit 24b outputs the output Q when the data control signal Sd1 falls.
Output Qb is output instead of a. Buffer control unit 24
In response to the output Qb, d drops the selection signal Ca to the low level to deactivate the buffer B1, and sets the output Qb to the high level to activate the buffer B2. This state is shown in Figure 7.
It is shown in (6) and (10). With the buffer B2, the driving capability of the output circuit 2a is increased by 2 1 = 2.
At time t6 of (3), the output signal So2 of level v2 (> v1) is derived. However, the test signal S
It is lower than the level v0 of t.

【0044】このためテスト回路3は、タイミング信号
Sckの次の立上がり時刻t7で、再び増結要求信号S
aを出力し、制御部24aは図7(4)の同じ時刻t7
でデータ制御信号Sd2を選択部24bに出力する。選
択部24bは、データ制御信号Sd2の立下がりで、出
力Qaをハイレベルとする。前回から出力されている出
力Qbは、ハイレベルのままで変化しない。したがって
バッファ制御部24dは、図7(5)の時刻t8で再度
選択信号出力Caをハイレベルとし、バッファB1を能
動化する。これによって出力回路2aの駆動能力は、図
7(11)に示されているように20 +21 =3倍とな
り、図7(3)の時刻t9に示されているように、出力
信号So3のレベルv3はテスト信号Stのレベルv0
と等しくなる。テスト回路3はこれによって整合がとれ
たと判断し、図示しない増結中止信号Sbを出力する。
メモリ5には、この時点でのバッファBの選択状況が書
込まれる。
Therefore, the test circuit 3 again causes the increase request signal S at the next rising time t7 of the timing signal Sck.
a is output, and the control unit 24a causes the same time t7 in FIG.
And outputs the data control signal Sd2 to the selection unit 24b. The selection unit 24b sets the output Qa to the high level at the fall of the data control signal Sd2. The output Qb output from the previous time remains at the high level and does not change. Therefore, the buffer control unit 24d sets the selection signal output Ca to the high level again at time t8 in FIG. 7 (5) to activate the buffer B1. As a result, the driving capability of the output circuit 2a becomes 2 0 +2 1 = 3 times as shown in FIG. 7 (11), and the output signal So3 becomes as shown at time t9 in FIG. 7 (3). Is the level v3 of the test signal St.
Is equal to The test circuit 3 judges that the matching has been achieved by this, and outputs the addition stop signal Sb (not shown).
The selection status of the buffer B at this time is written in the memory 5.

【0045】このようにして前述の実施例の場合と同じ
ように、駆動回路31のテストモードの動作は終了し、
通常モードに切換えられるのであるが、たとえば図7の
時刻t10においても出力信号So3のレベルv3が規
定レベルv0に達しない場合には、さらに時刻t11で
増結要求信号Saが出力されることになる。制御部24
aは、図7(4)の同時刻t11に破線で示されている
データ制御信号Sd3を選択部24bに出力する。した
がって時刻t12で、バッファ制御部24dは選択信号
Ca,Cbをローレベルに落とし、出力Qcをハイレベ
ルとする。これによってバッファB3が能動化され、図
7(12)に示されているように出力回路2aの駆動能
力は22 =4倍になる。
In this way, as in the case of the above-described embodiment, the operation of the drive circuit 31 in the test mode is completed,
Although the mode is switched to the normal mode, for example, when the level v3 of the output signal So3 does not reach the specified level v0 at time t10 in FIG. 7, the increase request signal Sa is further output at time t11. Control unit 24
The a outputs the data control signal Sd3 indicated by the broken line at the same time t11 in FIG. 7 (4) to the selection unit 24b. Therefore, at time t12, the buffer control unit 24d lowers the selection signals Ca and Cb to low level and sets the output Qc to high level. This activates the buffer B3, and the driving capability of the output circuit 2a becomes 2 2 = 4 times as shown in FIG. 7 (12).

【0046】以下同様の動作によって、本実施例では最
大15倍までの駆動能力を備える駆動回路31が実現さ
れることになる。バッファBと、選択部24bとを増設
すれば、駆動能力がさらに増大されることは言うまでも
ない。
In the present embodiment, the drive circuit 31 having a drive capacity up to 15 times is realized by the same operation. It goes without saying that if the buffer B and the selection unit 24b are added, the drive capacity is further increased.

【0047】前述までの実施例では、テスト回路3を駆
動回路1あるいは駆動回路31と一体的に形成されたも
のとしているけれども、テスト回路3はテストモード時
に必要なものであるから、駆動回路1あるいは駆動回路
31の外部で接続されるような別体型としてもよい。こ
れによって駆動回路1あるいは駆動回路31をさらに小
形なものとすることができる。
In the above-described embodiments, the test circuit 3 is formed integrally with the drive circuit 1 or the drive circuit 31, but the test circuit 3 is necessary in the test mode. Alternatively, it may be a separate type that is connected outside the drive circuit 31. As a result, the drive circuit 1 or the drive circuit 31 can be made smaller.

【0048】[0048]

【発明の効果】以上のように、本発明による駆動回路
は、外部回路を駆動する出力回路を、個別に能動または
非能動化する複数のスイッチング素子で構成し、出力回
路と外部回路との整合状況を整合判別手段で判別し、判
別結果を選択手段に報知して、整合をとるために必要な
前記スイッチング素子を選択し、能動あるいは非能動化
させるようにしたので、整合をとるための手間が不要に
なり、容量不明な外部回路に対しても、常に適正な駆動
能力が得られる。しかも前記選択手段によって選択され
たスイッチング素子についての選択情報は、書込み自在
な不揮発性記憶手段に記憶される。このため、停電など
の電源トラブルが発生しても、記憶内容は失われること
なく、再現性に富む。
As described above, in the drive circuit according to the present invention, the output circuit for driving the external circuit is composed of a plurality of switching elements which are individually activated or deactivated, and the output circuit and the external circuit are matched. Since the situation is discriminated by the matching discriminating means and the discriminating result is notified to the selecting means so that the switching element necessary for achieving the matching is selected and activated or deactivated, it is troublesome to obtain the matching. Is unnecessary, and appropriate drive capability can always be obtained even for an external circuit of unknown capacity. Moreover, the selection information about the switching element selected by the selection means is stored in the writable nonvolatile storage means. Therefore, even if a power failure such as a power failure occurs, the stored contents are not lost and the reproducibility is high.

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

【図1】本発明の一実施例である駆動回路1の動作を模
式的に示すブロック図である。
FIG. 1 is a block diagram schematically showing an operation of a drive circuit 1 which is an embodiment of the present invention.

【図2】本発明の一実施例である駆動回路1の具体的構
成を示すブロック図である。
FIG. 2 is a block diagram showing a specific configuration of a drive circuit 1 that is an embodiment of the present invention.

【図3】駆動回路1に用いられる選択部4bの構成例を
示す回路図である。
FIG. 3 is a circuit diagram showing a configuration example of a selection unit 4b used in the drive circuit 1.

【図4】駆動回路1の動作を示すタイムチャートであ
る。
FIG. 4 is a time chart showing the operation of the drive circuit 1.

【図5】本発明の他の実施例である駆動回路31の構成
例を示すブロック図である。
FIG. 5 is a block diagram showing a configuration example of a drive circuit 31 which is another embodiment of the present invention.

【図6】駆動回路31に用いられる選択部24bの構成
例を示すブロック図である。
6 is a block diagram showing a configuration example of a selection unit 24b used in a drive circuit 31. FIG.

【図7】駆動回路31の動作を示すタイムチャートであ
る。
FIG. 7 is a time chart showing the operation of the drive circuit 31.

【図8】従来技術による駆動回路51の構成を示すブロ
ック図である。
FIG. 8 is a block diagram showing a configuration of a drive circuit 51 according to a conventional technique.

【符号の説明】[Explanation of symbols]

1,31 駆動回路 2,2a 出力回路 3 テスト回路 4 バッファ選択回路 4a,24a 制御部 4b,24b 選択部 4c,24c ANDゲート 4d,24d バッファ制御部 5 不揮発性メモリ 6 入力切換回路 6a,6b ANDゲート 6c ORゲート 21 外部回路 A1〜An,B1〜B4 トライステートバッファ CK クロック信号 Sa 増結要求信号 Sb 増結中止信号 Sc 入力切換信号 Sck タイミング信号 Sf モニタON信号 Si 入力信号 Sm モード信号 St テスト信号 1, 31 drive circuit 2, 2a output circuit 3 test circuit 4 buffer selection circuit 4a, 24a control unit 4b, 24b selection unit 4c, 24c AND gate 4d, 24d buffer control unit 5 non-volatile memory 6 input switching circuit 6a, 6b AND Gate 6c OR gate 21 External circuit A1 to An, B1 to B4 Tristate buffer CK Clock signal Sa Addition request signal Sb Addition stop signal Sc Input switching signal Sck Timing signal Sf Monitor ON signal Si input signal Sm mode signal St Test signal

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 外部回路が接続され、前記外部回路を駆
動する駆動信号が与えられて、前記駆動信号の論理を変
更することなく前記外部回路に出力する駆動回路におい
て、 個別に能動化または非能動化する複数のスイッチング素
子が並列に接続されて成り、各スイッチング素子にそれ
ぞれ前記駆動信号が与えられ、各スイッチング素子から
の出力を前記外部回路に出力する出力回路と、 前記出力回路における前記外部回路に対する出力の整合
状況を判別し、整合に必要な前記スイッチング素子を選
択するための選択情報を出力する整合判別手段と、 前
記整合判別手段の出力に基づいて整合に必要な前記スイ
ッチング素子を選択し、能動化させる選択手段と、 前記選択手段の選択結果を記憶する記憶手段とを含むこ
とを特徴とする駆動回路。
1. A drive circuit, to which an external circuit is connected, receives a drive signal for driving the external circuit, and outputs the drive signal to the external circuit without changing the logic of the drive signal. A plurality of switching elements to be activated are connected in parallel, each drive signal is given to each switching element, an output circuit for outputting the output from each switching element to the external circuit, and the external circuit in the output circuit Matching discriminating means for discriminating the matching state of the output to the circuit and outputting selection information for selecting the switching element required for the matching, and selecting the switching element required for the matching based on the output of the matching discriminating means. A driving circuit, comprising: a selecting unit that is activated, and a storage unit that stores a selection result of the selecting unit.
【請求項2】 前記出力回路は、出力容量がそれぞれ等
しいスイッチング素子を複数個含むことを特徴とする請
求項1に記載の駆動回路。
2. The drive circuit according to claim 1, wherein the output circuit includes a plurality of switching elements having the same output capacitance.
【請求項3】 前記出力回路は、予め定められる出力容
量を持つスイッチング素子と、その素子に対して出力容
量がそれぞれ2n (n=1,2,3,…,N)倍のスイ
ッチング素子とを含むことを特徴とする請求項1に記載
の駆動回路。
3. The output circuit comprises a switching element having a predetermined output capacity, and a switching element having an output capacity of 2 n (n = 1, 2, 3, ..., N) times that of the switching element. The drive circuit according to claim 1, further comprising:
【請求項4】 前記記憶手段は、書込み自在な不揮発性
メモリであることを特徴とする請求項1に記載の駆動回
路。
4. The drive circuit according to claim 1, wherein the storage unit is a writable nonvolatile memory.
JP5338611A 1993-12-28 1993-12-28 Driving circuit Pending JPH07202676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5338611A JPH07202676A (en) 1993-12-28 1993-12-28 Driving circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5338611A JPH07202676A (en) 1993-12-28 1993-12-28 Driving circuit

Publications (1)

Publication Number Publication Date
JPH07202676A true JPH07202676A (en) 1995-08-04

Family

ID=18319812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5338611A Pending JPH07202676A (en) 1993-12-28 1993-12-28 Driving circuit

Country Status (1)

Country Link
JP (1) JPH07202676A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003258623A (en) * 2002-03-05 2003-09-12 Seiko Epson Corp Semiconductor integrated circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003258623A (en) * 2002-03-05 2003-09-12 Seiko Epson Corp Semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
US6065141A (en) Self-diagnosable semiconductor memory device having a redundant circuit and semiconductor apparatus having the same in which the memory device cannot be accessed from outside the semiconductor apparatus
US5432797A (en) IC tester having a pattern selector capable of selecting pins of a device under test
US6237122B1 (en) Semiconductor memory device having scan flip-flops
US5015886A (en) Programmable sequential-code recognition circuit
US4586181A (en) Test pattern generating apparatus
US20060006909A1 (en) Clock switching circuit
EP0645776B1 (en) Semiconductor memory device executing a memory test
US4969126A (en) Semiconductor memory device having serial addressing and operating method thereof
US5416746A (en) Memory circuit for alternately accessing data within a period of address data
JPH0391188A (en) Fifo memory
JPH11176199A (en) Semiconductor memory device using direct access mode test and test method
EP0465160B1 (en) Multiport memory
JPH07202676A (en) Driving circuit
US6014341A (en) Synchronous-type semiconductor storage
US20030140289A1 (en) Dual port RAM
KR100253565B1 (en) Data input and output circuit of synchronous memory device
KR100276504B1 (en) Failure-data storage system
JPH1082839A (en) Diagnostic system for electronic device using fpga
US5404564A (en) High speed data train generating system with no restriction on length of generated data train
KR100697896B1 (en) Method and apparatus for an easy identification of a state of a dram generator controller
US6466505B1 (en) Flexible input structure for an embedded memory
JPH097399A (en) Semiconductor memory circuit device
KR970005648B1 (en) Semiconductor memory with error correction means
JPH08273398A (en) Semiconuctor device
KR100205589B1 (en) Memory accessing circuit for time-switch