JP2021180355A - Logical state determination method and logical state determination circuit - Google Patents

Logical state determination method and logical state determination circuit Download PDF

Info

Publication number
JP2021180355A
JP2021180355A JP2020083243A JP2020083243A JP2021180355A JP 2021180355 A JP2021180355 A JP 2021180355A JP 2020083243 A JP2020083243 A JP 2020083243A JP 2020083243 A JP2020083243 A JP 2020083243A JP 2021180355 A JP2021180355 A JP 2021180355A
Authority
JP
Japan
Prior art keywords
bus line
signal
state
level
bus
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
JP2020083243A
Other languages
Japanese (ja)
Inventor
研二 杉本
Kenji Sugimoto
辰秀 久堀
Tatsuhide Hisabori
悟志 鈴木
Satoshi Suzuki
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Engineering Co Ltd
Original Assignee
Mitsubishi Electric Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Engineering Co Ltd filed Critical Mitsubishi Electric Engineering Co Ltd
Priority to JP2020083243A priority Critical patent/JP2021180355A/en
Publication of JP2021180355A publication Critical patent/JP2021180355A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Logic Circuits (AREA)

Abstract

To provide a logical state determination method and a logical state determination circuit, capable of determining a logical state without increasing a measurement current limit circuit.SOLUTION: A logical state determination method includes steps for applying a signal to a bus line (6), releasing the signal application to the bus line (6), and determining a logical state for a signal level of the bus line (6) held by a bus hold part (5).SELECTED DRAWING: Figure 1

Description

本開示は、論理状態判定方法および論理状態判定回路に関する。 The present disclosure relates to a logic state determination method and a logic state determination circuit.

論理入出力回路におけるハイ状態、ロウ状態およびHi−Z状態を判別するための従来の技術として、例えば、特許文献1に記載された論理状態判定回路がある。この回路は、論理入出力回路における論理状態を判別する、RC回路によって構成された測定電流制限回路を利用する。なお、Hi−Z状態は、電気的に絶縁された状態であり、ハイ状態でもロウ状態でもないオープン状態として扱われる。 As a conventional technique for discriminating a high state, a low state, and a HiZ state in a logic input / output circuit, for example, there is a logic state determination circuit described in Patent Document 1. This circuit utilizes a measured current limiting circuit configured by an RC circuit that determines the logical state of the logical input / output circuit. The Hi-Z state is an electrically isolated state, and is treated as an open state that is neither a high state nor a low state.

特開昭63−316516号公報Japanese Unexamined Patent Publication No. 63-316516

マイクロコンピュータ、コンプレックスプログラマブルロジックデバイス(CPLD)あるいはフィールドプログラマブルゲートアレイ(FPGA)といった論理入出力回路では、測定電流制限回路を構成できない。このため、特許文献1に記載された論理状態判定回路は、論理状態を判定するための測定電流制限回路を新たに追加する必要があり、部品点数の増加を招くという課題があった。 A logic input / output circuit such as a microcomputer, a complex programmable logic device (CPLD) or a field programmable gate array (FPGA) cannot configure a measurement current limiting circuit. Therefore, the logic state determination circuit described in Patent Document 1 needs to newly add a measurement current limiting circuit for determining the logic state, and has a problem of increasing the number of parts.

本開示は、上記課題を解決するものであり、測定電流制限回路を増やすことなく、論理状態を判別することができる論理状態判定方法および論理状態判定回路を得ることを目的とする。 The present disclosure has been made to solve the above problems, and an object of the present invention is to obtain a logic state determination method and a logic state determination circuit capable of determining a logic state without increasing the number of measurement current limiting circuits.

本開示に係る論理状態判定方法は、バスラインに信号を印加するステップと、バスラインへの信号の印加を開放するステップと、バスホールド部に保持されたバスラインの信号レベルの論理状態を判定するステップを備える。 The logic state determination method according to the present disclosure determines the logic state of the signal level of the bus line held in the bus hold unit, the step of applying the signal to the bus line, the step of releasing the application of the signal to the bus line. Have steps to do.

本開示によれば、バスラインに信号を印加し、バスラインへの信号の印加を開放し、バスホールド部に保持されたバスラインの信号レベルの論理状態を判定する。これにより、本開示に係る論理状態判定方法は、測定電流制限回路を増やすことなく、論理状態を判別することができる。 According to the present disclosure, a signal is applied to a bus line, the application of the signal to the bus line is released, and the logical state of the signal level of the bus line held in the bus hold unit is determined. Thereby, the logic state determination method according to the present disclosure can determine the logic state without increasing the measurement current limiting circuit.

実施の形態1に係る論理状態判定回路の構成を示すブロック図である。It is a block diagram which shows the structure of the logic state determination circuit which concerns on Embodiment 1. FIG. 実施の形態1に係る論理状態判定回路による論理状態の判定対象の回路(例1)を示す回路図である。It is a circuit diagram which shows the circuit (example 1) of the logic state determination target by the logic state determination circuit which concerns on Embodiment 1. FIG. 実施の形態1に係る論理状態判定回路による論理状態の判定対象の回路(例2)を示す回路図である。It is a circuit diagram which shows the circuit (example 2) of the logic state determination target by the logic state determination circuit which concerns on Embodiment 1. FIG. 実施の形態1に係る論理状態判定回路による論理状態の判定対象の回路(例3)を示す回路図である。It is a circuit diagram which shows the circuit (example 3) of the logic state determination target by the logic state determination circuit which concerns on Embodiment 1. FIG. 実施の形態1に係る論理状態判定方法を示すフローチャートである。It is a flowchart which shows the logical state determination method which concerns on Embodiment 1. 実施の形態1に係る論理状態判定(例1)を示すタイミング図である。It is a timing diagram which shows the logical state determination (example 1) which concerns on Embodiment 1. FIG. 実施の形態1に係る論理状態判定(例2)を示すタイミング図である。It is a timing diagram which shows the logical state determination (example 2) which concerns on Embodiment 1. FIG. 実施の形態1に係る論理状態判定(例3)を示すタイミング図である。It is a timing diagram which shows the logical state determination (example 3) which concerns on Embodiment 1. FIG. 実施の形態1に係る論理状態判定回路による論理状態の判定対象の回路(例4)を示す回路図である。It is a circuit diagram which shows the circuit (example 4) of the logic state determination target by the logic state determination circuit which concerns on Embodiment 1. FIG. 実施の形態1に係る論理状態判定回路による論理状態の判定対象の回路(例5)を示す回路図である。It is a circuit diagram which shows the circuit (example 5) of the logic state determination target by the logic state determination circuit which concerns on Embodiment 1. FIG.

実施の形態1.
図1は、実施の形態1に係る論理状態判定回路1の構成を示すブロック図である。論理状態判定回路1は、測定点Mにおける信号の論理状態を判定する回路であり、タイミング制御部2、判定レベル供給部3、スリーステートバッファ4、バスホールド部5、バスライン6、比較部7および判定部8を備える。
Embodiment 1.
FIG. 1 is a block diagram showing a configuration of the logic state determination circuit 1 according to the first embodiment. The logic state determination circuit 1 is a circuit for determining the logic state of the signal at the measurement point M, and is a timing control unit 2, a determination level supply unit 3, a three-state buffer 4, a bus hold unit 5, a bus line 6, and a comparison unit 7. And a determination unit 8 is provided.

タイミング制御部2は、判定レベル供給部3によるスリーステートバッファ4への判定レベルの供給と、判定部8による判定を行うタイミングを制御する。判定レベル供給部3は、スリーステートバッファ4に対して、出力信号(OUT)を出力し、出力イネーブル信号(OE)を設定する。出力信号は、ハイレベル(以下、Hレベルと記載する)またはロウレベル(以下、Lレベルと記載する)の第1の信号である。同様に、出力イネーブル信号は、HレベルまたはLレベルの第2の信号である。 The timing control unit 2 controls the supply of the determination level to the three-state buffer 4 by the determination level supply unit 3 and the timing at which the determination unit 8 makes a determination. The determination level supply unit 3 outputs an output signal (OUT) to the three-state buffer 4 and sets an output enable signal (OE). The output signal is a high level (hereinafter referred to as H level) or low level (hereinafter referred to as L level) first signal. Similarly, the output enable signal is an H-level or L-level second signal.

スリーステートバッファ4は、判定レベル供給部3から出力された出力信号を入力し、判定レベル供給部3によって出力イネーブル信号が設定されることで、両信号のレベルに応じたレベルの信号をバスライン6に印加する。バスホールド部5は、バスライン6に印加された信号レベルを保持する。バスライン6は、測定点Mに接続されており、測定点Mと同じ信号レベル状態となる。 The three-state buffer 4 inputs the output signal output from the determination level supply unit 3, and the output enable signal is set by the determination level supply unit 3, so that the signal of the level corresponding to the level of both signals is bus-lined. Apply to 6. The bus hold unit 5 holds the signal level applied to the bus line 6. The bus line 6 is connected to the measurement point M and has the same signal level state as the measurement point M.

比較部7は、バスライン6の信号レベルがHレベルであるかLレベルであるかを判別する。 The comparison unit 7 determines whether the signal level of the bus line 6 is the H level or the L level.

判定部8は、比較部7による判別結果に基づいて、バスライン6の状態が、プルダウン状態、プルアップ状態またはオープン状態のいずれであるかを判定する。また、判定部8は、バスライン6の論理状態の判定結果を示す信号を出力する。 The determination unit 8 determines whether the state of the bus line 6 is a pull-down state, a pull-up state, or an open state based on the determination result by the comparison unit 7. Further, the determination unit 8 outputs a signal indicating the determination result of the logical state of the bus line 6.

論理状態判定回路1によって論理状態が判定される測定点Mには、以下の回路がある。
図2は、論理状態判定回路1による論理状態の判定対象の回路(例1)を示す回路図である。図2において、図1の測定点Mは、プルダウン抵抗Rpdを介して、バスライン6をグラウンド10にプルダウンする回路である。バッファ9は、バスライン6の状態を確認するために用いる入力信号(IN)を保持する。入力信号(IN)は、バスライン6の信号レベルを示す信号である。
The measurement point M whose logical state is determined by the logical state determination circuit 1 has the following circuit.
FIG. 2 is a circuit diagram showing a circuit (example 1) for which a logical state is determined by the logical state determination circuit 1. In FIG. 2, the measurement point M in FIG. 1 is a circuit that pulls down the bus line 6 to the ground 10 via the pull-down resistor R pd. The buffer 9 holds an input signal (IN) used for confirming the state of the bus line 6. The input signal (IN) is a signal indicating the signal level of the bus line 6.

図3は、論理状態判定回路1による判定対象の回路(例2)を示す回路図である。図3において、図1の測定点Mは、プルアップ抵抗Rpaを介して、バスライン6を電源11の電位にプルアップする回路である。 FIG. 3 is a circuit diagram showing a circuit (example 2) to be determined by the logic state determination circuit 1. In FIG. 3, the measurement point M in FIG. 1 is a circuit that pulls up the bus line 6 to the potential of the power supply 11 via the pull-up resistor Rpa.

図4は、論理状態判定回路1による判定対象の回路(例3)を示す回路図である。図4において、図1の測定点Mは、バスライン6をオープン状態にする開放端12である。 FIG. 4 is a circuit diagram showing a circuit (example 3) to be determined by the logic state determination circuit 1. In FIG. 4, the measurement point M in FIG. 1 is an open end 12 that opens the bus line 6.

図2、図3および図4において、スリーステートバッファ4は、出力に抵抗Rが接続されており、バスライン6をLレベル、Hレベルまたはオープン状態の3つの状態にすることができる。例えば、スリーステートバッファ4は、Hレベルの出力イネーブル信号(OE)が設定されると、出力を有効にする。すなわち、スリーステートバッファ4は、Hレベルの出力信号(OUT)を入力すると、Hレベルの信号をバスライン6に印加し、Lレベルの出力信号(OUT)を入力した場合は、Lレベルの信号をバスライン6に印加する。また、スリーステートバッファ4は、Lレベルの出力イネーブル信号が設定された場合には、出力をオープン状態とする。なお、出力が有効であるときに、スリーステートバッファ4に流れる電流Iがドライブ電流である。 In FIGS. 2, 3 and 4, the three-state buffer 4 has a resistor R b connected to the output and can bring the bus line 6 into three states: L level, H level or open state. For example, the three-state buffer 4 enables output when an H-level output enable signal (OE) is set. That is, when the H-level output signal (OUT) is input, the three-state buffer 4 applies the H-level signal to the bus line 6, and when the L-level output signal (OUT) is input, the three-state buffer 4 is an L-level signal. Is applied to the bus line 6. Further, the three-state buffer 4 sets the output to the open state when the L level output enable signal is set. When the output is valid, the current I b flowing through the three-state buffer 4 is the drive current.

バスホールド部5は、バスライン6の状態がHレベルであるときに、Hレベルの信号を出力し、バスライン6の状態がLレベルであときには、Lレベルの信号を出力するように動作する。バスホールド部5は、互いの入力端子と出力端子が接続された2つのインバータによって構成され、一方の接続部には抵抗Rが接続されている。 The bus hold unit 5 operates to output an H level signal when the state of the bus line 6 is H level, and to output an L level signal when the state of the bus line 6 is L level. .. The bus hold unit 5 is composed of two inverters to which an input terminal and an output terminal are connected to each other, and a resistor Rh is connected to one of the connection portions.

バスホールド部5がバスライン6の状態に与える影響は、抵抗Rを高抵抗として流れる電流I(保持電流)を微小とすることにより低減される。これにより、バスライン6をドライブする素子(測定点M)が開放(オープン)されても、バスホールド部5には、開放直前のバスライン6のレベルがホールドされる。 The influence of the bus hold unit 5 on the state of the bus line 6 is reduced by making the current I h (holding current) flowing with the resistor R h a high resistance small. As a result, even if the element (measurement point M) that drives the bus line 6 is opened (opened), the level of the bus line 6 immediately before the opening is held by the bus hold unit 5.

電流Ipdは、プルダウン抵抗Rpdに流れる電流であり、バスライン6の信号レベルをLレベルに保つための上限の電流値である。図2に示すプルダウン抵抗Rpdは、R>>Rpd>>Rであり、かつ、I>>Ipd>>Iの関係が成り立つ値である。つまり、プルダウン抵抗Rpdには、バスホールド部5の保持電流Iを打ち消す電流が流せる値でかつスリーステートバッファ4のドライブ電流Iの影響を受けない値が選定される。 The current I pd is a current flowing through the pull-down resistor R pd , and is an upper limit current value for keeping the signal level of the bus line 6 at the L level. The pull-down resistor R pd shown in FIG. 2 is a value in which R h >> R pd >> R b and the relationship of I b >> I pd >> I h holds. That is, a value is selected for the pull-down resistor R pd so that a current that cancels the holding current I h of the bus hold unit 5 can flow and is not affected by the drive current I b of the three-state buffer 4.

電流Ipaは、プルアップ抵抗Rpaに流れる電流であり、バスライン6の信号レベルをHレベルに保つための下限の電流値である。図3に示すプルアップ抵抗Rpaは、R>>Rpa>>Rであり、かつ、I>>Ipa>>Iの関係が成り立つ値である。つまり、プルアップ抵抗Rpaには、バスホールド部5の保持電流Iを打ち消す電流が流せる値でかつスリーステートバッファ4のドライブ電流Iの影響を受けない値が選定される。また、図4に示す開放端12において、R>>Rの関係が成り立つ。 The current I pa is a current flowing through the pull-up resistor R pa , and is a lower limit current value for keeping the signal level of the bus line 6 at the H level. The pull-up resistor R pa shown in FIG. 3 is R h >> R pa >> R b , and is a value that holds the relationship of I b >> I pa >> I h. That is, a value is selected for the pull-up resistor R pa so that a current that cancels the holding current I h of the bus hold unit 5 can flow and is not affected by the drive current I b of the three-state buffer 4. Further, at the open end 12 shown in FIG. 4, the relationship of R h >> R b is established.

実施の形態1に係る論理状態判定方法は、以下の通りである。
図5は、実施の形態1に係る論理状態判定方法を示すフローチャートである。図6は、実施の形態1に係る論理状態判定(例1)を示すタイミング図である。判定レベル供給部3は、タイミング制御部2の制御に従って、図6の(1)の期間に、Hレベルの出力信号(OUT)およびHレベルの出力イネーブル信号(OE)を、スリーステートバッファ4に出力する(ステップST1)。
The logic state determination method according to the first embodiment is as follows.
FIG. 5 is a flowchart showing a logic state determination method according to the first embodiment. FIG. 6 is a timing diagram showing a logical state determination (Example 1) according to the first embodiment. The determination level supply unit 3 sends the H level output signal (OUT) and the H level output enable signal (OE) to the three-state buffer 4 during the period (1) of FIG. 6 according to the control of the timing control unit 2. Output (step ST1).

次に、判定レベル供給部3は、タイミング制御部2の制御に従い、図6の(2)の期間に、Lレベルの出力イネーブル信号(OE)を、スリーステートバッファ4に設定する(ステップST2)。なお、出力信号(OUT)については、HレベルまたはLレベルの規定はされない。これにより、スリーステートバッファ4は、出力無効となり、オープン状態(I≒0)となる。続いて、比較部7は、タイミング制御部2の制御に従い、入力信号(IN)がHレベルであるかLレベルであるかを判別する(ステップST3)。 Next, the determination level supply unit 3 sets the L level output enable signal (OE) in the three-state buffer 4 during the period (2) of FIG. 6 under the control of the timing control unit 2 (step ST2). .. The output signal (OUT) is not specified as H level or L level. As a result, the output of the three-state buffer 4 becomes invalid and the three-state buffer 4 becomes an open state (I b ≈ 0). Subsequently, the comparison unit 7 determines whether the input signal (IN) is at the H level or the L level according to the control of the timing control unit 2 (step ST3).

バスライン6の状態が確定したタイミングAにおいて、判定部8は、入力信号(IN)がLレベルという結果が得られた場合(ステップST3;Low)、測定点Mがプルダウン接続であると判定する(ステップST4)。測定点MがLレベルである場合、バスホールド部5には電流Ipd以上の電流を流すことができず、バスライン6のHレベルが維持できていないため、バスライン6の状態がLレベルになったと判断される。スリーステートバッファ4の抵抗Rを流れる電流Iがほぼ0である(I≒0)ため、バスライン6をLレベルにした電流は、Ipd以下の値の電流である。 At the timing A when the state of the bus line 6 is confirmed, the determination unit 8 determines that the measurement point M is a pull-down connection when the result that the input signal (IN) is L level is obtained (step ST3; Low). (Step ST4). When the measurement point M is the L level, the current I pd or more cannot be passed through the bus hold unit 5, and the H level of the bus line 6 cannot be maintained. Therefore, the state of the bus line 6 is the L level. It is judged that it became. Since the current I b flowing through the resistor R b of the three-state buffer 4 is almost 0 (I b ≈ 0), the current at the L level of the bus line 6 is a current having a value equal to or less than I pd.

図7は、実施の形態1に係る論理状態判定(例2)を示すタイミング図である。図7の(2)の期間において信号(IN)がHレベルであると(ステップST3;High)、バスホールド部5は、バスライン6のHレベル状態を維持できている(タイミングB)。すなわち、バスライン6は、プルダウンされていない。バスライン6がプルダウンされていない場合、オープン状態(Hi−Z)であるか、プルアップ状態である。 FIG. 7 is a timing diagram showing a logical state determination (Example 2) according to the first embodiment. When the signal (IN) is at the H level during the period (2) of FIG. 7 (step ST3; High), the bus hold unit 5 can maintain the H level state of the bus line 6 (timing B). That is, the bus line 6 is not pulled down. If the bus line 6 is not pulled down, it is in the open state (Hi-Z) or in the pull-up state.

判定レベル供給部3は、タイミング制御部2の制御に従って、図7の(3)の期間に、Lレベルの出力信号(OUT)を、スリーステートバッファ4に出力し、Hレベルの出力イネーブル信号(OE)を、スリーステートバッファ4に設定する(ステップST5)。スリーステートバッファ4は、Hレベルの出力イネーブル信号(OE)が設定されると、出力有効となるが、出力信号(OUT)はLレベルであるため、バスライン6には直前とは逆のLレベルの状態が印加される。 The determination level supply unit 3 outputs an L level output signal (OUT) to the three-state buffer 4 during the period (3) of FIG. 7 according to the control of the timing control unit 2, and outputs an H level output enable signal (H level output enable signal). OE) is set in the three-state buffer 4 (step ST5). The output of the three-state buffer 4 becomes valid when the H level output enable signal (OE) is set, but since the output signal (OUT) is the L level, the bus line 6 has an L opposite to that immediately before. The state of the level is applied.

次に、判定レベル供給部3は、タイミング制御部2の制御に従い、図7の(4)の期間に、Lレベルの出力イネーブル信号(OE)を、スリーステートバッファ4に設定する(ステップST6)。出力信号(OUT)については、HレベルまたはLレベルの規定はされない。これにより、スリーステートバッファ4は、出力無効となり、オープン状態(I≒0)となる。続いて、比較部7は、タイミング制御部2の制御に従い、入力信号(IN)が、HレベルであるかLレベルであるかを判別する(ステップST7)。 Next, the determination level supply unit 3 sets the L level output enable signal (OE) in the three-state buffer 4 during the period (4) of FIG. 7 under the control of the timing control unit 2 (step ST6). .. For the output signal (OUT), H level or L level is not specified. As a result, the output of the three-state buffer 4 becomes invalid and the three-state buffer 4 becomes an open state (I b ≈ 0). Subsequently, the comparison unit 7 determines whether the input signal (IN) is at the H level or the L level according to the control of the timing control unit 2 (step ST7).

バスライン6の状態が確定したタイミングCにおいて、判定部8は、入力信号(IN)がHレベルという結果が得られた場合(ステップST7;High)、測定点Mがプルアップ接続であると判定する(ステップST8)。測定点MがHレベルであると、バスホールド部5においてバスライン6のLレベルが維持できていないため、バスライン6の状態は、電流I以上で電流Ipa以下の電流によりHレベルにされたと判断される。スリーステートバッファ4の抵抗Rを流れる電流Iがほぼ0であり(I≒0)、バスライン6をHレベルにした電流は、I以上でIpa以下の値の電流である。 At the timing C when the state of the bus line 6 is confirmed, the determination unit 8 determines that the measurement point M is a pull-up connection when the result that the input signal (IN) is H level is obtained (step ST7; High). (Step ST8). When the measurement point M is the H level, the L level of the bus line 6 cannot be maintained in the bus hold unit 5, so that the state of the bus line 6 is changed to the H level by the current of the current I h or more and the current I pa or less. It is judged that it was done. The current I b flowing through the resistor R b of the three-state buffer 4 is almost 0 (I b ≈ 0), and the current at the H level of the bus line 6 is a current having a value of I h or more and I pa or less.

図8は、実施の形態1に係る論理状態判定(例3)を示すタイミング図である。図8の(4)の期間において、入力信号(IN)がLレベルであると、バスホールド部5においてバスライン6のLレベルが維持できている。すなわち、バスライン6は、プルアップの電流IpaによりHレベルになっていないので、プルアップされていないと判断できる。ステップST3において、バスライン6は、オープン状態(Hi−Z)であるかプルアップ状態であると判定されているので、プルアップ状態ではない場合は、オープン状態(Hi−Z)であると判断できる。 FIG. 8 is a timing diagram showing a logical state determination (Example 3) according to the first embodiment. When the input signal (IN) is at the L level during the period (4) of FIG. 8, the L level of the bus line 6 can be maintained in the bus hold unit 5. That is, since the bus line 6 is not at the H level due to the pull-up current I pa, it can be determined that the bus line 6 is not pulled up. In step ST3, it is determined that the bus line 6 is in the open state (Hi-Z) or the pull-up state. Therefore, if the bus line 6 is not in the pull-up state, it is determined to be in the open state (Hi-Z). can.

タイミングDにおいて、判定部8は、入力信号(IN)がLレベルという結果が得られた場合(ステップST7;Low)、測定点Mがオープン状態(Hi−Z)であると判定する(ステップST9)。 At the timing D, the determination unit 8 determines that the measurement point M is in the open state (Hi-Z) when the result that the input signal (IN) is L level is obtained (step ST7; Low) (step ST9). ).

図6の期間(1)、図7の期間(1)および図8の期間(1)に、判定レベル供給部3がスリーステートバッファ4に対してHレベルの出力イネーブル信号(OE)を設定し、スリーステートバッファ4によりLレベルの出力信号(OUT)を入力させてもよいし、図7の期間(3)および図8の期間(3)に、スリーステートバッファ4に対してHレベルの出力イネーブル信号(OE)を設定し、スリーステートバッファ4によってHレベルの出力信号(OUT)を入力させてもよい。この場合、判定部8が、図6の期間(2)、図7の期間(4)または図8の期間(4)において、測定点Mの論理状態を判定する。 During the period (1) of FIG. 6, the period (1) of FIG. 7, and the period (1) of FIG. 8, the determination level supply unit 3 sets the H level output enable signal (OE) for the three-state buffer 4. , The L-level output signal (OUT) may be input by the three-state buffer 4, or the H-level output to the three-state buffer 4 during the period (3) of FIG. 7 and the period (3) of FIG. An enable signal (OE) may be set and an H-level output signal (OUT) may be input by the three-state buffer 4. In this case, the determination unit 8 determines the logical state of the measurement point M in the period (2) of FIG. 6, the period (4) of FIG. 7, or the period (4) of FIG.

図9は、論理状態判定回路1による論理状態の判定対象の回路(例4)を示す回路図である。図9において、スイッチ13は、測定点Mであり、バスライン6をグラウンド10にプルダウンする回路、バスライン6を電源11の電位にプルアップする回路、あるいはバスライン6をオープン状態にする開放端12のいずれかに切り替える。スイッチ13によって切り替えられた回路の論理状態は、図5に示した一連の処理によって判定される。 FIG. 9 is a circuit diagram showing a circuit (example 4) for which the logical state is determined by the logical state determination circuit 1. In FIG. 9, the switch 13 is a measurement point M, and is a circuit that pulls down the bus line 6 to the ground 10, a circuit that pulls up the bus line 6 to the potential of the power supply 11, or an open end that opens the bus line 6. Switch to any of 12. The logical state of the circuit switched by the switch 13 is determined by a series of processes shown in FIG.

図10は、論理状態判定回路1による論理状態の判定対象の回路(例5)を示す回路図である。図10において、ジャンパスイッチ14aは、オンにされることで、バスライン6に対して、バスライン6を電源11の電位にプルアップする回路を接続し、オフされることで、バスライン6からプルアップ接続を切断する。ジャンパスイッチ14bは、オンにされることで、バスライン6に対して、バスライン6をグラウンド10にプルダウンする回路を接続し、オフされることで、バスライン6からプルダウン接続を切断する。 FIG. 10 is a circuit diagram showing a circuit (example 5) for which a logical state is determined by the logical state determination circuit 1. In FIG. 10, the jumper switch 14a is turned on to connect a circuit that pulls up the bus line 6 to the potential of the power supply 11 to the bus line 6, and is turned off from the bus line 6. Disconnect the pull-up connection. When the jumper switch 14b is turned on, a circuit for pulling down the bus line 6 to the ground 10 is connected to the bus line 6, and when the jumper switch 14b is turned off, the pull-down connection is disconnected from the bus line 6.

ジャンパスイッチ14aおよび14bがともにオフである場合、バスライン6の端部は開放端12となる。ジャンパスイッチ14aおよび14bによって切り替えられた回路の論理状態は、図5に示した一連の処理によって判定される。 When both the jumper switches 14a and 14b are off, the end of the bus line 6 is the open end 12. The logical state of the circuit switched by the jumper switches 14a and 14b is determined by a series of processes shown in FIG.

以上のように、実施の形態1に係る論理状態判定方法では、バスライン6に信号を印加し、バスライン6への信号の印加を開放し、バスホールド部5に保持されたバスライン6の信号レベルを判定することにより測定点Mの状態がプルアップ状態、プルダウン状態、オープン状態(Hi−Z)のいずれであるかを判別する。これにより、実施の形態1に係る論理状態判定方法は、測定電流制限回路を増やすことなく、論理状態を判別することができる。 As described above, in the logic state determination method according to the first embodiment, the signal is applied to the bus line 6, the application of the signal to the bus line 6 is released, and the bus line 6 held in the bus hold unit 5 is held. By determining the signal level, it is determined whether the state of the measurement point M is a pull-up state, a pull-down state, or an open state (Hi-Z). Thereby, the logic state determination method according to the first embodiment can determine the logic state without increasing the measurement current limiting circuit.

なお、実施の形態の任意の構成要素の変形もしくは実施の形態の任意の構成要素の省略が可能である。 It is possible to modify any component of the embodiment or omit any component of the embodiment.

1 論理状態判定回路、2 タイミング制御部、3 判定レベル供給部、4 スリーステートバッファ、5 バスホールド部、6 バスライン、7 比較部、8 判定部、9 バッファ、10 グラウンド、11 電源、12 開放端、13 スイッチ、14a,14b ジャンパスイッチ。 1 Logic state judgment circuit, 2 Timing control unit, 3 Judgment level supply unit, 4 Three-state buffer, 5 Bus hold unit, 6 Bus line, 7 Comparison unit, 8 Judgment unit, 9 Buffer, 10 Ground, 11 Power supply, 12 Open End, 13 switch, 14a, 14b jumper switch.

Claims (5)

バスラインに信号を印加するステップと、
前記バスラインへの信号の印加を開放するステップと、
バスホールド部に保持された前記バスラインの信号レベルの論理状態を判定するステップと、
を備えたことを特徴とする論理状態判定方法。
The step of applying a signal to the bus line and
The step of releasing the application of the signal to the bus line and
A step of determining the logical state of the signal level of the bus line held in the bus hold unit, and
A logical state determination method characterized by being provided with.
前記バスホールド部に保持された前記バスラインの信号レベルが前記バスラインに印加された信号レベルと同一であった場合に、直前とは逆のレベルの信号を前記バスラインに印加するステップと、
前記バスラインへの信号の印加を開放するステップと、
前記バスホールド部に保持された前記バスラインの信号レベルが前記バスラインに印加された信号レベルと異なっていた場合に、前記バスラインに印加された信号レベルに応じて、前記バスラインの状態がプルダウン状態またはプルアップ状態であると判定するステップと、
前記バスホールド部に保持された前記バスラインの信号レベルが前記バスラインに印加された信号レベルと同一であった場合、前記バスラインがオープン状態であると判定するステップと、
を備えたことを特徴とする請求項1記載の論理状態判定方法。
When the signal level of the bus line held in the bus hold unit is the same as the signal level applied to the bus line, a step of applying a signal of the opposite level to the immediately preceding bus line to the bus line.
The step of releasing the application of the signal to the bus line and
When the signal level of the bus line held in the bus hold unit is different from the signal level applied to the bus line, the state of the bus line changes according to the signal level applied to the bus line. The step to determine that it is in the pull-down state or pull-up state,
When the signal level of the bus line held in the bus hold unit is the same as the signal level applied to the bus line, the step of determining that the bus line is in the open state and
The logical state determination method according to claim 1, wherein the method is provided with.
バスラインに印加された信号レベルを保持するバスホールド部と、
第1の信号を入力し、第2の信号が設定されることにより、前記第1の信号と前記第2の信号の値に応じたレベルの信号を、前記バスラインに印加するスリーステートバッファと、
前記スリーステートバッファに対して前記第1の信号を出力し、前記第2の信号を設定する判定レベル供給部と、
前記バスホールド部に保持された前記バスラインの信号レベルの状態がハイレベルまたはロウレベルのいずれであるかを判別する比較部と、
前記比較部による判別結果に基づいて、前記バスラインの信号レベルの論理状態がプルダウン状態、プルアップ状態またはオープン状態のいずれであるかを判定する判定部と、
を備えたことを特徴とする論理状態判定回路。
A bus hold unit that holds the signal level applied to the bus line,
By inputting the first signal and setting the second signal, a three-state buffer that applies a signal at a level corresponding to the values of the first signal and the second signal to the bus line. ,
A determination level supply unit that outputs the first signal to the three-state buffer and sets the second signal.
A comparison unit for determining whether the signal level state of the bus line held in the bus hold unit is high level or low level, and a comparison unit.
A determination unit that determines whether the logical state of the signal level of the bus line is a pull-down state, a pull-up state, or an open state based on the determination result by the comparison unit.
A logic state determination circuit characterized by being equipped with.
前記バスラインに接続されたプルアップ抵抗またはプルダウン抵抗の有無を切り替えるスイッチを備えたこと
を特徴とする請求項3記載の論理状態判定回路。
The logic state determination circuit according to claim 3, further comprising a switch for switching the presence or absence of a pull-up resistor or a pull-down resistor connected to the bus line.
前記バスラインに接続されたプルアップ抵抗またはプルダウン抵抗の有無を切り替えるジャンパスイッチを備えたこと
を特徴とする請求項3記載の論理状態判定回路。
The logic state determination circuit according to claim 3, further comprising a jumper switch for switching the presence or absence of a pull-up resistor or a pull-down resistor connected to the bus line.
JP2020083243A 2020-05-11 2020-05-11 Logical state determination method and logical state determination circuit Pending JP2021180355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020083243A JP2021180355A (en) 2020-05-11 2020-05-11 Logical state determination method and logical state determination circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020083243A JP2021180355A (en) 2020-05-11 2020-05-11 Logical state determination method and logical state determination circuit

Publications (1)

Publication Number Publication Date
JP2021180355A true JP2021180355A (en) 2021-11-18

Family

ID=78510469

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020083243A Pending JP2021180355A (en) 2020-05-11 2020-05-11 Logical state determination method and logical state determination circuit

Country Status (1)

Country Link
JP (1) JP2021180355A (en)

Similar Documents

Publication Publication Date Title
KR100892337B1 (en) Output driver
US7378878B2 (en) Driver circuit having programmable slew rate
US7034565B2 (en) On-die termination circuit and method for reducing on-chip DC current, and memory system including memory device having the same
US8610466B2 (en) High-speed differential comparator circuitry with accurately adjustable threshold
KR100702838B1 (en) Impedance controllable output driving circuit in semiconductor device and impedance control method therefore
KR20090114630A (en) Output driver, semiconductor memory device including the output driver, and operating method of the semiconductor memory device
JPH08237106A (en) Voltage level adjustment device for logical signal and its interface method
JPH06244706A (en) Input buffer with compensated low-pass filter net
JP2021180355A (en) Logical state determination method and logical state determination circuit
KR100882117B1 (en) Circuit for controlling on die termination
US20150280712A1 (en) Data output circuit of semiconductor apparatus
TW200807474A (en) Trimmer and related trimming method
US9362912B2 (en) Data output circuit of semiconductor apparatus
TWI733630B (en) Input/output module
JPS59125080A (en) Strain compensating circuit for automatic testing device
JPH10115662A (en) Test circuit for semiconductor integrated logic circuit
KR20110131368A (en) Semiconductor memory device
US6292409B1 (en) System for programmable chip initialization
JP2001068986A (en) Output buffer circuit for semiconductor device
US6731137B1 (en) Programmable, staged, bus hold and weak pull-up for bi-directional I/O
JP2023512480A (en) short circuit detection circuit
JP3512715B2 (en) Bus termination adjusting device and bus termination adjusting method
JPH1098370A (en) Input/output circuit and input/output method of signal to/from this input/output circuit
US6960915B2 (en) Electric circuit system
US20030141893A1 (en) Piecewise linear slew rate control of method for output devices

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230920

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231003

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240426

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20240625