Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7664683B2 - Logic state determination method and logic state determination circuit - Google Patents
[go: Go Back, main page]

JP7664683B2 - Logic state determination method and logic state determination circuit - Google Patents

Logic state determination method and logic state determination circuit Download PDF

Info

Publication number
JP7664683B2
JP7664683B2 JP2020083243A JP2020083243A JP7664683B2 JP 7664683 B2 JP7664683 B2 JP 7664683B2 JP 2020083243 A JP2020083243 A JP 2020083243A JP 2020083243 A JP2020083243 A JP 2020083243A JP 7664683 B2 JP7664683 B2 JP 7664683B2
Authority
JP
Japan
Prior art keywords
bus line
signal
level
state
signal level
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.)
Active
Application number
JP2020083243A
Other languages
Japanese (ja)
Other versions
JP2021180355A (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.)
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/JP7664683B2/en
Publication of JP2021180355A publication Critical patent/JP2021180355A/en
Application granted granted Critical
Publication of JP7664683B2 publication Critical patent/JP7664683B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Logic Circuits (AREA)

Description

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

論理入出力回路におけるハイ状態、ロウ状態およびHi-Z状態を判別するための従来の技術として、例えば、特許文献1に記載された論理状態判定回路がある。この回路は、論理入出力回路における論理状態を判別する、RC回路によって構成された測定電流制限回路を利用する。なお、Hi-Z状態は、電気的に絶縁された状態であり、ハイ状態でもロウ状態でもないオープン状態として扱われる。 As an example of a conventional technique for distinguishing between high, low, and Hi-Z states in a logic input/output circuit, there is a logic state determination circuit described in Patent Document 1. This circuit uses a measurement current limiting circuit made up of an RC circuit to distinguish the logic state in the logic 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 measurement current limiting circuit cannot be configured in logic input/output circuits such as a microcomputer, a complex programmable logic device (CPLD), or a field programmable gate array (FPGA). For this reason, the logic state determination circuit described in Patent Document 1 requires the addition of a new measurement current limiting circuit for determining the logic state, which poses the problem of increasing the number of parts.

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

本開示に係る論理状態判定方法は、バスラインに信号を印加するステップと、バスラインへの信号の印加を開放するステップと、現在のバスラインの信号レベルが、バスホールド部に保持され、バスラインに信号を印加するステップにおいて印加された信号レベルと同じである場合、バスラインの信号レベルがハイレベルであることが特定されると、バスラインの状態がオープン状態またはプルアップ状態であると判定するステップと、続いて、バスラインに信号を印加するステップにおいて印加された信号レベルとは異なるレベルの信号をバスラインに印加し、バスラインの信号レベルを直前とは逆のレベルとするステップと、バスラインへの信号の印加を開放するステップと、バスラインの信号レベルを直前とは逆のレベルとするステップの信号レベルが、現在のバスライン信号レベルと異なっていた場合に、バスラインに印加された信号レベルに応じて、バスラインの状態がプルダウン状態またはプルアップ状態であると判定するステップと、バスラインの信号レベルを直前とは逆のレベルとするステップの信号レベルが、現在のバスライン信号レベルと同一であった場合、バスラインがオープン状態であると判定するステップと、を備える。 A logic state determination method according to the present disclosure includes the steps of: applying a signal to a bus line; releasing application of the signal to the bus line; and, when it is determined that the signal level of the bus line is a high level and is held in a bus hold section and is the same as the signal level applied in the step of applying a signal to the bus line, determining that the state of the bus line is an open state or a pull-up state; subsequently, applying to the bus line a signal of a level different from the signal level applied in the step of applying a signal to the bus line, thereby setting the signal level of the bus line to an opposite level to that immediately before; releasing application of the signal to the bus line; and, when the signal level in the step of setting the signal level of the bus line to an opposite level to that immediately before is different from the current signal level of the bus line, determining that the state of the bus line is a pull-down state or a pull-up state according to the signal level applied to the bus line; and, when the signal level in the step of setting the signal level of the bus line to an opposite level to that immediately before is the same as the current signal level of the bus line, determining that the bus line is in an open state.

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

実施の形態1に係る論理状態判定回路の構成を示すブロック図である。1 is a block diagram showing a configuration of a logic state determination circuit according to a first embodiment; 実施の形態1に係る論理状態判定回路による論理状態の判定対象の回路(例1)を示す回路図である。1 is a circuit diagram showing a circuit (example 1) whose logic state is to be determined by a logic state determination circuit according to a first embodiment; 実施の形態1に係る論理状態判定回路による論理状態の判定対象の回路(例2)を示す回路図である。1 is a circuit diagram showing a circuit (example 2) whose logic state is to be determined by the logic state determination circuit according to the first embodiment; 実施の形態1に係る論理状態判定回路による論理状態の判定対象の回路(例3)を示す回路図である。1 is a circuit diagram showing a circuit (example 3) whose logic state is to be determined by the logic state determination circuit according to the first embodiment; 実施の形態1に係る論理状態判定方法を示すフローチャートである。4 is a flowchart showing a logic state determination method according to the first embodiment; 実施の形態1に係る論理状態判定(例1)を示すタイミング図である。11 is a timing diagram showing a logic state determination (example 1) according to the first embodiment. FIG. 実施の形態1に係る論理状態判定(例2)を示すタイミング図である。FIG. 11 is a timing diagram showing a logic state determination (example 2) according to the first embodiment. 実施の形態1に係る論理状態判定(例3)を示すタイミング図である。FIG. 11 is a timing diagram showing a logic state determination (example 3) according to the first embodiment. 実施の形態1に係る論理状態判定回路による論理状態の判定対象の回路(例4)を示す回路図である。1 is a circuit diagram showing a circuit (example 4) whose logic state is to be determined by the logic state determination circuit according to the first embodiment; 実施の形態1に係る論理状態判定回路による論理状態の判定対象の回路(例5)を示す回路図である。11 is a circuit diagram showing a circuit (example 5) whose logic state is to be determined by the logic state determination circuit according to the first embodiment; FIG.

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

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

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

比較部7は、バスライン6の信号レベルがHレベルであるかLレベルであるかを判別する。 The comparator 7 determines whether the signal level of the bus line 6 is H level or 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. The determination unit 8 also 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 logic state is judged by the logic state judgment circuit 1, includes the following circuits.
Fig. 2 is a circuit diagram showing a circuit (example 1) whose logic state is to be judged by the logic state judgment circuit 1. In Fig. 2, measurement point M in Fig. 1 is a circuit that pulls down the bus line 6 to ground 10 via a pull-down resistor R pd . A buffer 9 holds an input signal (IN) used to check the state of the bus line 6. The input signal (IN) is a signal that indicates 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 judged by the logic state judgment 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 a pull-up resistor Rpa .

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

図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がドライブ電流である。 2, 3 and 4, the three-state buffer 4 has a resistor Rb connected to its output, and can set the bus line 6 to one of three states: L level, H level, or open state. For example, the three-state buffer 4 enables the output when an H level output enable signal (OE) is set. That is, when an H level output signal (OUT) is input, the three-state buffer 4 applies an H level signal to the bus line 6, and when an L level output signal (OUT) is input, the three-state buffer 4 applies an L level signal to the bus line 6. When an L level output enable signal is set, the three-state buffer 4 sets the output to an open state. Note that the current Ib flowing through the three-state buffer 4 when the output is enabled 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 whose input terminals and output terminals are connected to each other, and a resistor Rh is connected to one of the connection points.

バスホールド部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 minimizing the current Ih (holding current) flowing through the resistor Rh with high resistance. As a result, even if the element (measurement point M) that drives the bus line 6 is opened, the bus hold unit 5 holds the level of the bus line 6 immediately before it was opened.

電流Ipdは、プルダウン抵抗Rpdに流れる電流であり、バスライン6の信号レベルをLレベルに保つための上限の電流値である。図2に示すプルダウン抵抗Rpdは、R>>Rpd>>Rであり、かつ、I>>Ipd>>Iの関係が成り立つ値である。つまり、プルダウン抵抗Rpdには、バスホールド部5の保持電流Iを打ち消す電流が流せる値でかつスリーステートバッファ4のドライブ電流Iの影響を受けない値が選定される。 Current Ipd is a current flowing through pull-down resistor Rpd , and is the upper limit current value for maintaining the signal level of bus line 6 at L level. The pull-down resistor Rpd shown in Fig. 2 has a value such that Rh >> Rpd >> Rb and the relationship Ib >> Ipd >> Ih holds. In other words, a value is selected for pull-down resistor Rpd that allows a current to flow that cancels the holding current Ih of bus hold unit 5 and is not affected by drive current Ib of 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の関係が成り立つ。 Current Ipa is a current flowing through pull-up resistor Rpa , and is the lower limit current value for maintaining the signal level of bus line 6 at H level. The pull-up resistor Rpa shown in Fig. 3 has a value such that Rh >> Rpa >> Rb and the relationship Ib >> Ipa >> Ih holds. In other words, a value is selected for pull-up resistor Rpa that allows a current to flow that cancels the holding current Ih of bus hold unit 5 and is not affected by drive current Ib of three-state buffer 4. Furthermore, at open end 12 shown in Fig. 4, the relationship Rh >> Rb holds.

実施の形態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 embodiment 1. Fig. 6 is a timing diagram showing a logic state determination (example 1) according to the embodiment 1. The determination level supplying unit 3 outputs an H-level output signal (OUT) and an H-level output enable signal (OE) to the three-state buffer 4 in the period (1) of Fig. 6 according to the control of the timing control unit 2 (step ST1).

次に、判定レベル供給部3は、タイミング制御部2の制御に従い、図6の(2)の期間に、Lレベルの出力イネーブル信号(OE)を、スリーステートバッファ4に設定する(ステップST2)。なお、出力信号(OUT)については、HレベルまたはLレベルの規定はされない。これにより、スリーステートバッファ4は、出力無効となり、オープン状態(I≒0)となる。続いて、比較部7は、タイミング制御部2の制御に従い、入力信号(IN)がHレベルであるかLレベルであるかを判別する(ステップST3)。 Next, the evaluation level supplying section 3 sets an L-level output enable signal (OE) to the three-state buffer 4 during the period (2) in Fig. 6 under the control of the timing control section 2 (step ST2). Note that the output signal (OUT) is not specified as being at an H or L level. This disables the output of the three-state buffer 4, and puts it in an open state ( Ib ≈ 0). Next, under the control of the timing control section 2, the comparing section 7 determines whether the input signal (IN) is at an H or L level (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 determined, if the result that the input signal (IN) is at L level is obtained (step ST3; Low), the judgment unit 8 judges that the measurement point M is in a pull-down connection (step ST4). When the measurement point M is at L level, a current of 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, so it is judged that the state of the bus line 6 has become L level. 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 that makes the bus line 6 at L level is a current of 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)であるか、プルアップ状態である。 Figure 7 is a timing diagram showing a logic state determination (example 2) according to the first embodiment. If the signal (IN) is at H level during the period (2) in Figure 7 (step ST3; High), the bus hold unit 5 is able to maintain the H level state of the bus line 6 (timing B). In other words, the bus line 6 is not pulled down. If the bus line 6 is not pulled down, it is in an open state (Hi-Z) or in a pulled-up state.

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

次に、判定レベル供給部3は、タイミング制御部2の制御に従い、図7の(4)の期間に、Lレベルの出力イネーブル信号(OE)を、スリーステートバッファ4に設定する(ステップST6)。出力信号(OUT)については、HレベルまたはLレベルの規定はされない。これにより、スリーステートバッファ4は、出力無効となり、オープン状態(I≒0)となる。続いて、比較部7は、タイミング制御部2の制御に従い、入力信号(IN)が、HレベルであるかLレベルであるかを判別する(ステップST7)。 Next, the evaluation level supplying section 3 sets an L-level output enable signal (OE) to the three-state buffer 4 during the period (4) in Fig. 7 under the control of the timing control section 2 (step ST6). The output signal (OUT) is not specified as being at an H or L level. This disables the output of the three-state buffer 4, and it is in an open state ( Ib ≈ 0). Next, under the control of the timing control section 2, the comparing section 7 determines whether the input signal (IN) is at an H or L level (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 determined, if the result that the input signal (IN) is H level is obtained (step ST7; High), the judgment unit 8 judges that the measurement point M is in a pull-up connection (step ST8). If the measurement point M is H level, the L level of the bus line 6 cannot be maintained in the bus hold unit 5, so it is judged that the state of the bus line 6 has been set to H level by a current equal to or greater than Ih and equal to or less than Ipa . The current Ib flowing through the resistor Rb of the three-state buffer 4 is almost 0 ( Ib ≈ 0), and the current that has set the bus line 6 to H level is a current with a value equal to or greater than Ih and equal to or less than Ipa .

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

タイミングDにおいて、判定部8は、入力信号(IN)がLレベルという結果が得られた場合(ステップST7;Low)、測定点Mがオープン状態(Hi-Z)であると判定する(ステップST9)。 At timing D, if the judgment unit 8 obtains the result that the input signal (IN) is at L level (step ST7; Low), it judges that the measurement point M is in an open state (Hi-Z) (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 period (1) of FIG. 6, period (1) of FIG. 7, and period (1) of FIG. 8, the judgment level supply unit 3 may set an H-level output enable signal (OE) to the three-state buffer 4 and cause the three-state buffer 4 to input an L-level output signal (OUT), or during period (3) of FIG. 7 and period (3) of FIG. 8, the judgment unit 8 may set an H-level output enable signal (OE) to the three-state buffer 4 and cause the three-state buffer 4 to input an H-level output signal (OUT). In this case, the judgment unit 8 judges the logic state of the measurement point M during period (2) of FIG. 6, period (4) of FIG. 7, or period (4) of FIG. 8.

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

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

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

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

なお、実施の形態の任意の構成要素の変形もしくは実施の形態の任意の構成要素の省略が可能である。 In addition, any of the components of the embodiments may be modified or omitted.

1 論理状態判定回路、2 タイミング制御部、3 判定レベル供給部、4 スリーステートバッファ、5 バスホールド部、6 バスライン、7 比較部、8 判定部、9 バッファ、10 グラウンド、11 電源、12 開放端、13 スイッチ、14a,14b ジャンパスイッチ。 1 logic state determination circuit, 2 timing control section, 3 determination level supply section, 4 three-state buffer, 5 bus hold section, 6 bus line, 7 comparison section, 8 determination section, 9 buffer, 10 ground, 11 power supply, 12 open end, 13 switch, 14a, 14b jumper switches.

Claims (4)

バスラインに信号を印加するステップと、
前記バスラインへの信号の印加を開放するステップと、
現在の前記バスラインの信号レベルが、バスホールド部に保持され、前記バスラインに信号を印加するステップにおいて印加された信号レベルと同じである場合、前記バスラインの信号レベルがハイレベルであることが特定されると、前記バスラインの状態がオープン状態またはプルアップ状態であると判定するステップと、
続いて、前記バスラインに信号を印加するステップにおいて印加された信号レベルとは異なるレベルの信号を前記バスラインに印加し、前記バスラインの信号レベルを直前とは逆のレベルとするステップと、
前記バスラインへの信号の印加を開放するステップと、
前記バスラインの信号レベルを直前とは逆のレベルとするステップの信号レベルが、現在の前記バスライン信号レベルと異なっていた場合に、前記バスラインに印加された信号レベルに応じて、前記バスラインの状態がプルダウン状態またはプルアップ状態であると判定するステップと、
前記バスラインの信号レベルを直前とは逆のレベルとするステップの信号レベルが、現在の前記バスライン信号レベルと同一であった場合、前記バスラインがオープン状態であると判定するステップと、
を備えた論理状態判定方法。
applying a signal to a bus line;
releasing the application of a signal to the bus line;
a step of determining that the state of the bus line is an open state or a pull-up state when it is determined that the signal level of the bus line is a high level if the current signal level of the bus line is held in a bus hold unit and is the same as the signal level applied in the step of applying a signal to the bus line;
a step of applying a signal to the bus line at a level different from the signal level applied in the step of applying a signal to the bus line, thereby causing the signal level of the bus line to be reversed from that immediately before;
releasing the application of a signal to the bus line;
a step of determining that the state of the bus line is a pull-down state or a pull-up state according to the signal level applied to the bus line when the signal level in the step of changing the signal level of the bus line to a level opposite to that immediately before is different from the current signal level of the bus line;
determining that the bus line is in an open state when the signal level in the step of changing the signal level of the bus line to a level opposite to that immediately before is the same as the current signal level of the bus line;
A method for determining a logic state comprising:
バスラインに印加された信号レベルを保持するバスホールド部と、
第1の信号を入力し、第2の信号が設定されることにより、前記第1の信号と前記第2の信号の値に応じたレベルの信号を、前記バスラインに印加するスリーステートバッファと、
前記スリーステートバッファに対して前記第1の信号を出力し、前記第2の信号を設定する判定レベル供給部と、
記バスラインの論理状態がプルダウン状態、プルアップ状態またはオープン状態のいずれであるかを判定する判定部と、
を備え、
前記スリーステートバッファは、
前記バスラインに信号を印加するステップを実行し、
続いて前記バスラインへの信号の印加を開放するステップを実行し、
前記判定部は、
現在の前記バスラインの信号レベルが、前記バスホールド部に保持され、前記バスラインに信号を印加するステップにおいて印加された信号レベルと同じである場合、前記バスラインの信号レベルがハイレベルであることが特定されると、前記バスラインの状態がオープン状態またはプルアップ状態であると判定するステップを実行し、
前記スリーステートバッファは、
続いて、前記バスラインに信号を印加するステップにおいて印加された信号レベルとは異なるレベルの信号を前記バスラインに印加し、前記バスラインの信号レベルを直前とは逆のレベルとするステップを実行し、
前記バスラインへの信号の印加を開放するステップを実行し、
前記判定部は、
前記スリーステートバッファにより実行された前記バスラインの信号レベルを直前とは逆のレベルとするステップの信号レベルが、現在の前記バスライン信号レベルと異なっていた場合に、前記バスラインに印加された信号レベルに応じて、前記バスラインの状態がプルダウン状態またはプルアップ状態であると判定するステップを実行し、
前記スリーステートバッファにより実行された前記バスラインの信号レベルを直前とは逆のレベルとするステップの信号レベルが、現在の前記バスライン信号レベルと同一であった場合、前記バスラインがオープン状態であると判定するステップを実行する
ことを特徴とする論理状態判定回路。
a bus hold section for holding a signal level applied to a bus line;
a three-state buffer that receives a first signal and a second signal, and applies a signal having a level according to values of the first signal and the second signal to the bus line;
a decision level supply unit that outputs the first signal to the three-state buffer and sets the second signal;
a determination unit that determines whether the logic state of the bus line is a pull-down state, a pull-up state, or an open state ;
Equipped with
The three-state buffer is
performing a step of applying a signal to the bus line;
Next, a step of releasing the application of signals to the bus line is performed ;
The determination unit is
execute a step of determining that the state of the bus line is an open state or a pull-up state when it is determined that the signal level of the bus line is a high level if the current signal level of the bus line is held in the bus hold unit and is the same as the signal level applied in the step of applying a signal to the bus line;
The three-state buffer is
Next, a step of applying a signal to the bus line at a level different from the signal level applied in the step of applying a signal to the bus line, and changing the signal level of the bus line to a level opposite to that immediately before is executed ;
performing a step of releasing the application of a signal to the bus line;
The determination unit is
execute a step of determining that the state of the bus line is a pull-down state or a pull-up state according to the signal level applied to the bus line, when the signal level in the step of changing the signal level of the bus line executed by the three-state buffer to a level opposite to that immediately before is different from the current signal level of the bus line;
If the signal level of the step of changing the signal level of the bus line by the three-state buffer to a level opposite to that immediately before is the same as the current signal level of the bus line, a step of determining that the bus line is in an open state is performed.
A logic state determination circuit comprising:
前記バスラインに、プルアップ抵抗またはプルダウン抵抗の有無を切り替えるスイッチが接続されていること
を特徴とする請求項2記載の論理状態判定回路。
3. The logic state determination circuit according to claim 2, wherein a switch for switching between the presence or absence of a pull-up resistor or a pull-down resistor is connected to said bus line.
前記バスラインに、プルアップ抵抗またはプルダウン抵抗の有無を切り替えるジャンパスイッチが接続されていること
を特徴とする請求項2記載の論理状態判定回路。
3. The logic state determination circuit according to claim 2, wherein a jumper switch for switching between the presence or absence of a pull-up resistor or a pull-down resistor is connected to the bus line.
JP2020083243A 2020-05-11 2020-05-11 Logic state determination method and logic state determination circuit Active JP7664683B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020083243A JP7664683B2 (en) 2020-05-11 2020-05-11 Logic state determination method and logic state determination circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020083243A JP7664683B2 (en) 2020-05-11 2020-05-11 Logic state determination method and logic state determination circuit

Publications (2)

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

Family

ID=78510469

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020083243A Active JP7664683B2 (en) 2020-05-11 2020-05-11 Logic state determination method and logic state determination circuit

Country Status (1)

Country Link
JP (1) JP7664683B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017167609A (en) 2016-03-14 2017-09-21 富士通株式会社 Integrated circuit system and integrated circuit

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2178627A (en) * 1985-08-05 1987-02-11 Nat Semiconductor Corp Power line carrier communications system
JPH06188715A (en) * 1992-12-16 1994-07-08 Mitsubishi Electric Corp High impedance detecting circuit and signal transmitting circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017167609A (en) 2016-03-14 2017-09-21 富士通株式会社 Integrated circuit system and integrated circuit

Also Published As

Publication number Publication date
JP2021180355A (en) 2021-11-18

Similar Documents

Publication Publication Date Title
US7034565B2 (en) On-die termination circuit and method for reducing on-chip DC current, and memory system including memory device having the same
JPH08237106A (en) Voltage level adjustment device for logical signal and its interface method
EP0162932B1 (en) Data processing system with output switching circuit
US20020118037A1 (en) Impedance updating apparatus of termination circuit and impedance updating method thereof
CN105099438B (en) Semiconductor device
US10666320B2 (en) Ringing suppression circuit
KR20090114630A (en) Output driver, semiconductor memory device including same and operating method thereof
JP2003078396A (en) Dual switching reference voltage
US11165418B2 (en) Drive circuit, drive method, and semiconductor system
WO2000079294A1 (en) A method and apparatus for providing controllable compensation factors to a compensated driver circuit which may be used to perform testing of the structural integrity of the compensated driver circuit
JP7664683B2 (en) Logic state determination method and logic state determination circuit
US7091744B2 (en) Input termination circuits and methods for terminating inputs
CN100359505C (en) High speed differential predriver using common mode precharge
JP2001068986A (en) Output buffer circuit for semiconductor device
TWI733630B (en) Input/output module
US20150280712A1 (en) Data output circuit of semiconductor apparatus
US5952850A (en) Input/output circuit and a method for controlling an input/output signal
US8395406B2 (en) Integrated circuit architecture for testing variable delay circuit
US20150323946A1 (en) Input pin control
TWI914174B (en) Electronic device and method of supplying power
JP4808064B2 (en) I/O device and control method thereof
JP3245573B2 (en) Bidirectional buffer circuit
JP2885122B2 (en) Semiconductor integrated circuit device and test method
TW200807474A (en) Trimmer and related trimming method
US20260023118A1 (en) Apparatus and method for testing whether an output of a controller can be switched off

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

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250123

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250408

R150 Certificate of patent or registration of utility model

Ref document number: 7664683

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350