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
JPS6244658B2 - - Google Patents
[go: Go Back, main page]

JPS6244658B2 - - Google Patents

Info

Publication number
JPS6244658B2
JPS6244658B2 JP56123429A JP12342981A JPS6244658B2 JP S6244658 B2 JPS6244658 B2 JP S6244658B2 JP 56123429 A JP56123429 A JP 56123429A JP 12342981 A JP12342981 A JP 12342981A JP S6244658 B2 JPS6244658 B2 JP S6244658B2
Authority
JP
Japan
Prior art keywords
gates
gate
ffs
output
outputs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP56123429A
Other languages
Japanese (ja)
Other versions
JPS5824943A (en
Inventor
Katsuhiko Shioya
Seiichi Inamasu
Tetsuhiko Ifuku
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP56123429A priority Critical patent/JPS5824943A/en
Publication of JPS5824943A publication Critical patent/JPS5824943A/en
Publication of JPS6244658B2 publication Critical patent/JPS6244658B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318572Input/Output interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 本発明はLSI等の高集積化された論理装置にお
いて、入出力端子数削減等のためにトライステー
ト・ゲート出力を共通接続した回路を有し、かつ
それらトライステート・ゲートを制御するフリツ
プフロツプ(以下FFと記す)がいわゆるスキヤ
ン・イン/アウト対象になつている場合に、共通
接続されている複数のトライステート・ゲートが
同時にイネーブル(いわゆるバス・フアイトの状
態)されて素子破壊を生じるのを防止すること及
び診断の自由度を向上することを目的としたもの
である。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a highly integrated logic device such as an LSI, which has a circuit in which tri-state gate outputs are commonly connected in order to reduce the number of input/output terminals. When a flip-flop (hereinafter referred to as FF) that controls a gate is subject to so-called scan-in/out, multiple commonly connected tri-state gates are simultaneously enabled (so-called bus fight state). The purpose is to prevent element destruction and to improve the degree of freedom in diagnosis.

高度に集積化された論理装置では、入出力端子
を有効に利用するため、複数種類の信号(例えば
データとアドレス、または上位側データと下位側
データ等)が1組の端子を多重使用することが行
なわれる。その場合の一手段として、トライステ
ート・ゲートの出力を共通接続(ワイヤード・オ
ア)し、一時には1つのトライステート・ゲート
のみをイネーブルし、他は高インピーダンス状態
にすることが行なわれる。
In highly integrated logic devices, multiple types of signals (for example, data and address, or upper data and lower data, etc.) can multiplex one set of terminals in order to make effective use of input/output terminals. will be carried out. One way to do this is to connect the outputs of the tristate gates in common (wired-OR) and enable only one tristate gate at a time, leaving the others in a high impedance state.

また、このような高集積化された装置の診断の
ためには、その内部に含まれるFF群を直列接続
する手段をその本来の機能のための接続とは別に
設け、診断に当たつては直列接続されたFFに所
望“1”、“0”のパターンをシフト・インして診
断動作を行なわせ、その結果は再びFFを直列接
続してシフト・アウトするいわゆるスキヤン・イ
ン/アウトが行なわれている。
In addition, in order to diagnose such a highly integrated device, a means for serially connecting the FF groups included therein is provided separately from the connection for its original function, and during diagnosis, A desired pattern of "1" and "0" is shifted in to the FFs connected in series to perform a diagnostic operation, and the result is then shifted out by connecting the FFs in series again, a so-called scan in/out. It is.

ところで上記トライステート・ゲートの制御信
号は直接間接にFFにより作成されており、かつ
そのFFは一般にスキヤン・イン/アウトの対象
に含まれている。そして通常動作時にはこれら
FFの値は、2以上のトライステート・ゲートが
同時にイネーブルされないような値になつている
筈であるが、スキヤン・イン/アウト動作の過程
においては如何なる値が一時的にセツトされるか
は保証の限りではない。そしてもし2以上のトラ
イステート・ゲートが同時にイネーブルされ、か
つそれらの出力データが異なつていれば素子破壊
の危険が生じる。
By the way, the control signal for the above-mentioned tri-state gate is generated directly or indirectly by the FF, and the FF is generally included in the scan-in/out target. and during normal operation these
The value of FF should be such that two or more tristate gates are not enabled at the same time, but what value is temporarily set during the scan in/out operation is not guaranteed. Not as long as the. And if two or more tristate gates are enabled at the same time and their output data is different, there is a risk of device destruction.

また診断の一手法として特定のトライステー
ト・ゲートのみを有効化した状態で一連の動作を
行なわせることができれば、きめ細かな診断が可
能となるが、そのための制御FFも当然スキヤ
ン・イン/アウトの対象となり、スキヤン動作中
における値はやはり保証し難い。
Also, as a method of diagnosis, if a series of operations can be performed with only a specific tristate gate enabled, detailed diagnosis will be possible, but the control FF for this will naturally also need to be scanned in/out. However, it is difficult to guarantee the value during scan operation.

本発明はこのような問題を解決し、バス・フア
イトを防止し、かつ診断時には任意のトライステ
ート・ゲートのみを有効化して動作可能とするこ
とを目的としている。以下図面により詳細に説明
する。
The present invention aims to solve these problems, prevent bus fights, and enable only an arbitrary tristate gate to operate during diagnosis. This will be explained in detail below with reference to the drawings.

第1図は従来一般のトライステート・ゲートを
用いた回路の一例であり、1,2,3はトライス
テート、4〜8はFF、9はオア・ゲート、10
はワイヤード・オア(実際は単に共通接続してあ
るだけ)を示す。FF5〜7をそれぞれトライス
テート・ゲート1〜3の制御に用いられるFF、
またFF4及びFF8はその他の制御のためのFF
であり、通常時はFF5〜7のうちの複数が同時
にオンされることはないように動作する。しかし
他のFFへの設定パターンによつてはスキヤン・
イン/アウトの過程において、FF5〜7のうち
の複数がオン状態になることが有り得、その場合
いわゆるバス・フアイトとなつてトライステー
ト・ゲート1〜3の素子が破壊されることがあ
る。
Figure 1 is an example of a circuit using conventional tri-state gates, where 1, 2, and 3 are tri-states, 4 to 8 are FFs, 9 is an OR gate, and 10 are tri-state gates.
indicates a wired or (actually just a common connection). FFs 5 to 7 are FFs used to control tristate gates 1 to 3, respectively;
Also, FF4 and FF8 are FFs for other controls.
Under normal conditions, FFs 5 to 7 are not turned on at the same time. However, depending on the setting pattern for other FF, scan
During the in/out process, it is possible that a plurality of FFs 5 to 7 are turned on, and in that case, a so-called bus fight may occur and the elements of tristate gates 1 to 3 may be destroyed.

第2図は本発明の一実施例回路図であり、第1
図と同一記号は同一のものを示し、また11,1
2は本発明によつて設けられる制御用FFであ
り、13は該制御用FF11,12からの出力を
2進数とみなし、それをデコードして複数の出力
線のうちの1つのみをオンにするいわゆるnC1
コーダである。
FIG. 2 is a circuit diagram of one embodiment of the present invention.
The same symbols as in the figure indicate the same thing, and 11, 1
2 is a control FF provided according to the present invention, and 13 regards the output from the control FFs 11 and 12 as a binary number, decodes it, and turns on only one of the plurality of output lines. This is the so-called nC 1 decoder.

例えば入力2進数が2ビツトなら出力線は4本
あつて入力2進数値の“00”〜“11”に対応して
一番目〜四番目の線のみがオン、他はオフとされ
る(なお、ここでオン、オフとは例えば論理値
“1”、“0”を意味する)。14〜16はANDゲ
ート、17〜19は第3図に示す如きゲートであ
る。FF11,12もスキヤン・イン/アウト対
象に含まれ、FF4〜8と直列接続される。
For example, if the input binary number is 2 bits, there are four output lines, and only the first to fourth lines are turned on, corresponding to the input binary value "00" to "11", and the others are turned off. , here, on and off mean, for example, logical values "1" and "0"). 14 to 16 are AND gates, and 17 to 19 are gates as shown in FIG. FFs 11 and 12 are also included in the scan in/out target and are connected in series with FFs 4 to 8.

上記実施例ではテスト中か否か、及びスキヤン
中か否かの2つの条件の組合わせによつて4種の
状態が存在し得る。先ずテスト中でもなく、スキ
ヤン中でもない状態、即ち通常の動作状態では第
3図から明らかな様にTEST=0のため、1入力
をインバートしたANDゲート162の出力は
“0”、又SCAN=0の為、NORゲート161の出
力は“1”となりゲート17の出力は“1”とな
る。同様にゲート18,19の出力も“1”とな
りトライステート・ゲート1〜3はFF5〜7の
値に応じて制御される。
In the above embodiment, four types of states can exist depending on the combination of two conditions: whether or not a test is in progress and whether or not a scan is in progress. First, in a state where neither a test nor a scan is in progress, that is, in a normal operating state, as is clear from FIG. Therefore, the output of NOR gate 161 becomes "1" and the output of gate 17 becomes "1". Similarly, the outputs of gates 18 and 19 become "1", and tristate gates 1-3 are controlled according to the values of FFs 5-7.

またテスト中でなくてスキヤン中である場合、
即ち通常動作中においてたまたま内部状態のスキ
ヤン・アウトが必要になつたような場合には、第
3図から明らかな様に、TEST=0のため、1入
力をインバートしたANDゲート162の出力は
“0”、又SCAN=1のため、NORゲート161の
出力は“0”となる。同様にゲート18,19の
出力も“0”となる。即ち、全てのトライステー
ト・ゲート1〜3は無効化される。よつてスキヤ
ン動作につれてFF5〜7に如何なる値が一時的
に現れようとワイヤードオア10に入力されるト
ライステートゲート入力はハイインピーダンス状
態となつている。またテスト中であつてスキヤン
中でない場合にはTEST=1のため1入力をイン
バートしたANDゲート162の出力はnC1デコー
ダ13の出力と同じになる。SCAN=0の為、
NORゲート161の出力はnC1デコーダ13の出
力と同じになり、FF55〜7の値に応じてトライ
ステートゲートのいづれかを制御し、論理装置の
動作をテストすることができる。またテスト中で
あつて、かつスキヤン中の場合には、同様に、
TEST=1のため、1入力をインバートした
ANDゲート162の出力はnC1デコーダ13の出
力と同じになり、SCAN=1のため、NOR161
の出力は“0”となりゲート17の出力は“0”
となる。同様にゲート18,19の出力も“0”
となる。従つて前記と同様にワイヤードオア10
はハイインピーダンス状態になる。
Also, if you are not testing but scanning,
That is, if it happens to be necessary to scan out the internal state during normal operation, as is clear from FIG. 3, since TEST=0, the output of the AND gate 162 that inverts one input will be "0", and since SCAN=1, the output of the NOR gate 161 becomes "0". Similarly, the outputs of gates 18 and 19 also become "0". That is, all tristate gates 1-3 are disabled. Therefore, no matter what values temporarily appear in FFs 5 to 7 during the scan operation, the tristate gate input to wired OR 10 is in a high impedance state. Further, when testing is in progress and not scanning, since TEST=1, the output of the AND gate 162 with one input inverted becomes the same as the output of the nC1 decoder 13. Because SCAN=0,
The output of NOR gate 161 becomes the same as the output of nC1 decoder 13, and depending on the values of FF55-7, one of the tristate gates can be controlled to test the operation of the logic device. Similarly, if you are testing and scanning,
Because TEST=1, one input was inverted.
The output of the AND gate 162 is the same as the output of the nC1 decoder 13, and since SCAN=1, the NOR161
The output of gate 17 is “0” and the output of gate 17 is “0”
becomes. Similarly, the outputs of gates 18 and 19 are also “0”
becomes. Therefore, similarly to the above, wired OR 10
becomes a high impedance state.

以上の如くの実施例によればゲート14〜16
及びゲート17〜19を設けてスキヤン動作中に
おいては制御信号を禁止することによりワイアー
ドオア10がハイインピーダンス状態となる。さ
らにテスト時においてFF11,12にセツトさ
れるパターンが例え誤まつたパターンであつて
も、デコーダ13を介してnC1論理をとることに
より、デコーダ13の出力は高々1本のみがオン
するのでテスト中においてもバスフアイト防止は
保証される。
According to the embodiment as described above, the gates 14 to 16
By providing gates 17 to 19 and inhibiting control signals during the scan operation, the wired OR 10 enters a high impedance state. Furthermore, even if the pattern set in FF11 and FF12 is a wrong pattern during testing, by using nC1 logic via decoder 13, at most only one output of decoder 13 is turned on. Among them, prevention of bus fights is guaranteed.

第4図は本発明の他の実施例を示す概略ブロツ
ク図であり、20は第2図におけるFF4〜8の
ような一般のFF、21は第2図におけるFF11
〜12のような共通接続される一群のトライステ
ート・ゲートの制御用FF、22,23は第2図
と同様な他の一群のトライステート・ゲートの制
御用FF、24〜26は第2図のデコーダ13と
同様なそれぞれ対応する制御用FF群21〜23
のデコード回路であり、一般FF群20とすべて
の制御用FF群21〜23が直列に接続されてス
キヤン・イン/アウトされる場合を示している。
FIG. 4 is a schematic block diagram showing another embodiment of the present invention, where 20 is a general FF such as FFs 4 to 8 in FIG. 2, and 21 is a general FF such as FF 11 in FIG.
22 and 23 are FFs for controlling a group of commonly connected tri-state gates such as ~12, 24-26 are FFs for controlling another group of tri-state gates similar to those shown in FIG. Control FF groups 21 to 23 corresponding to the decoder 13 of
This is a decoding circuit in which a general FF group 20 and all control FF groups 21 to 23 are connected in series and scanned in/out.

第5図は一般FF群20と診断時制御用FF群2
1〜23とをマルチプレクサ27で切分けてスキ
ヤン動作を行なうようにした本発明の他の実施例
である。
Figure 5 shows a general FF group 20 and a diagnostic control FF group 2.
This is another embodiment of the present invention in which the scan operation is performed by dividing the signals 1 to 23 by a multiplexer 27.

以上の如く本発明においては、診断時制御用
FF11,12及びゲート14〜16を設けるこ
とによつて、所望のトライステート・ゲートを指
定してきめ細かいテストが可能となる。またゲー
ト17〜19を設けてスキヤン時にはすべてのト
ライステート・ゲートを無効化することによつ
て、スキヤン時に生じ得るFF値の過渡的な混乱
に基づくバス・フアイトを防止し、さらにnC1
コーダ13を設けることによつて、万一FF1
1,12へのスキヤン・イン・パターンに誤まり
があつても、バス・フアイト防止を保証してお
り、高集積度のLSI等の診断において大きな効果
を生ずるものである。
As described above, in the present invention,
By providing the FFs 11 and 12 and the gates 14 to 16, it is possible to designate a desired tristate gate and perform detailed testing. In addition, by providing gates 17 to 19 and disabling all tristate gates during scanning, bus fights due to transient confusion of FF values that may occur during scanning are prevented, and nC 1 decoder 13 By providing FF1
Even if there is an error in the scan-in pattern to 1 or 12, bus fights are guaranteed to be prevented, and this is highly effective in diagnosing highly integrated LSIs.

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

第1図はトライステート・ゲートを用いた論理
装置の一従来例回路図、第2図は本発明の一実施
例回路図、第3図は第2図の一部詳細回路図、第
4図は本発明の他の実施例の概略ブロツク図、第
5図は本発明のさらに他の実施例の概略ブロツク
図である。 第2図において、1〜3はトライステート・ゲ
ート、4〜8はFF、9はORゲート、10はワイ
ヤード、オア、11,12は診断時制御用FF、
13はnC1デコーダ、17〜19はゲート、16
1,171はNORゲート、162,172は1
入力インバートしたANDゲート。
Fig. 1 is a circuit diagram of a conventional example of a logic device using tri-state gates, Fig. 2 is a circuit diagram of an embodiment of the present invention, Fig. 3 is a partial detailed circuit diagram of Fig. 2, and Fig. 4 5 is a schematic block diagram of another embodiment of the present invention, and FIG. 5 is a schematic block diagram of still another embodiment of the present invention. In Fig. 2, 1 to 3 are tri-state gates, 4 to 8 are FFs, 9 is an OR gate, 10 is a wired OR gate, 11 and 12 are FFs for control during diagnosis,
13 is nC 1 decoder, 17 to 19 are gates, 16
1,171 is a NOR gate, 162,172 is 1
AND gate with input inversion.

Claims (1)

【特許請求の範囲】 1 スキヤン・インまたはスキヤン・アウトの対
象とされる第1群のフリツプ・フロツプと、それ
ら第1群のフリツプ・フロツプの出力によつて制
御され、かつ出力が共通接続される複数のトライ
ステート・ゲートとを有する論理装置において、 スキヤン・インの対象とされる第2群のフリツ
プ・フロツプと、それら第2群のフリツプ・フロ
ツプの出力をデコードするnC1デコーダ回路と、
該nC1デコーダ回路の出力をスキヤン動作時には
すべて無効化し、診断時にはそのまま伝達し、診
断時でもスキヤン動作時でもないときはすべて有
効化する第1のゲート手段と、該第1のゲート手
段出力によつて上記第1群のフリツプ・フロツプ
の出力をそれぞれゲートして上記各トライステー
ト・ゲートに与える第2のゲート手段とを設けた
ことを特徴とする論理装置。
[Claims] 1. A first group of flip-flops to be scanned in or scanned out, controlled by the outputs of the first group of flip-flops, and whose outputs are commonly connected. a logic device having a plurality of tri-state gates, a second group of flip-flops to be scanned in; an nC1 decoder circuit for decoding the outputs of the second group of flip-flops;
a first gate means that completely disables the output of the nC1 decoder circuit during scan operation, transmits it as is during diagnosis, and enables all outputs when neither diagnosis nor scan operation is performed; Accordingly, a logic device comprising second gate means for respectively gating the outputs of the first group of flip-flops and applying the gates to each of the tristate gates.
JP56123429A 1981-08-06 1981-08-06 Logical device Granted JPS5824943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56123429A JPS5824943A (en) 1981-08-06 1981-08-06 Logical device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56123429A JPS5824943A (en) 1981-08-06 1981-08-06 Logical device

Publications (2)

Publication Number Publication Date
JPS5824943A JPS5824943A (en) 1983-02-15
JPS6244658B2 true JPS6244658B2 (en) 1987-09-22

Family

ID=14860342

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56123429A Granted JPS5824943A (en) 1981-08-06 1981-08-06 Logical device

Country Status (1)

Country Link
JP (1) JPS5824943A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51147937A (en) * 1975-06-14 1976-12-18 Fujitsu Ltd Logic circuit device

Also Published As

Publication number Publication date
JPS5824943A (en) 1983-02-15

Similar Documents

Publication Publication Date Title
US4488259A (en) On chip monitor
US4862068A (en) LSI logic circuit
US4628448A (en) Operation mode setting apparatus on a single chip microprocessor
JPS6244658B2 (en)
KR950003973A (en) Diagnostic device and method thereof for digital device state, digital processor system
JPS6013266A (en) Diagnosis facilitating circuit
US5892778A (en) Boundary-scan circuit for use with linearized impedance control type output drivers
JPS6214860B2 (en)
JPH0432349B2 (en)
JPS5833581B2 (en) Logical package suitable for diagnosis
JPH06150024A (en) Microcomputer
JPS62132182A (en) Large integrated circuit with test circuit
US8310263B2 (en) Control of tristate buses during scan test
JPS6327735B2 (en)
JPH05334116A (en) Debugging control system
JPS62220878A (en) Diagnosis-facilitating logic circuit
JPS60147135A (en) logic LSI
JPH0740060B2 (en) On-board scan test equipment
JPS63298173A (en) integrated circuit
JPS62174667A (en) Flip-flop circuit
JPH03266137A (en) Information processor
JPH0372281A (en) Semiconductor integrated circuit device
JPS62228178A (en) Test system of logic circuit
JPH0618633A (en) Large scale integrated circuit device
JPS6149698B2 (en)