[go: up one dir, main page]

JPS60263517A - Shift path control circuit - Google Patents

Shift path control circuit

Info

Publication number
JPS60263517A
JPS60263517A JP59118810A JP11881084A JPS60263517A JP S60263517 A JPS60263517 A JP S60263517A JP 59118810 A JP59118810 A JP 59118810A JP 11881084 A JP11881084 A JP 11881084A JP S60263517 A JPS60263517 A JP S60263517A
Authority
JP
Japan
Prior art keywords
shift
latch
latches
signal
shift mode
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
JP59118810A
Other languages
Japanese (ja)
Inventor
Yasuharu Tanaka
田中 康陽
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59118810A priority Critical patent/JPS60263517A/en
Publication of JPS60263517A publication Critical patent/JPS60263517A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/13Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
    • H03K5/135Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals by the use of time reference signals, e.g. clock signals

Landscapes

  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Pulse Circuits (AREA)

Abstract

PURPOSE:To improve the trouble detection rate by setting the first and the second shift paths consisting of registers and latches to the shift mode simultaneously and providing a means which protects latch contents while setting the second shift path to the shift mode independently. CONSTITUTION:When a shift mode signal 1 is logical ''1'', both of shift paths 111-1n1 and 211-2m1 are set to the shift mode. When the signal 1 is logical ''0'' and a latch scan signal 4 is logical ''1'', the shift path consisting of latches 21-2m is held in the shift mode because the signal 4 is impressed to shift mode terminals of these latches through an OR gate 30. However, individual latches hold respective set contents without taking in variation of inputs because an AND gate 40 is closed at this time. Thus, the trouble detection rate of circuits of input/output parts related to latches is improved.

Description

【発明の詳細な説明】 技術分野 本発明はシフトパス制御回路に関し、特にシフトレジス
タ及びラッチからなるシフトパスを用いた診断回路のた
めの制御回路に関する。
TECHNICAL FIELD The present invention relates to a shift path control circuit, and more particularly to a control circuit for a diagnostic circuit using a shift path consisting of a shift register and a latch.

従来技術 従来、論理回路内の診断を目的としたシフトパス回路は
、1つのLSI(大規模集積回路)内ではシフトインか
らシフトアウトまでレジスタとラッチとを混在したまま
1本のシフトパスで連鎖しているが、シフトモードから
ノーマルモードへ論理回路を切替えると、シフトモード
時にスキャンインでセットされていたレジスタ及びラッ
チの内容がノーマルモードによりセットされたりリセッ
トされたりしてその内容が変化してしまうことが生じる
Conventional technology Conventionally, a shift path circuit for the purpose of diagnosing inside a logic circuit chained registers and latches together in one shift path from shift-in to shift-out in one LSI (Large-Scale Integrated Circuit). However, when switching the logic circuit from shift mode to normal mode, the contents of registers and latches that were set by scan-in in shift mode are set or reset by normal mode, and their contents change. occurs.

とが多く、よって内容変化の可能性が高いものとなって
いる。このことは、ラッチにある値をセットするために
は、シフトモードにしてスキャンインでセットするだけ
ではなく、ノーマルモードにしたときの状態がホールド
状態になるようにラッチの入力条件をプリセットしてお
かなければならないことになる。しかし、ラッチの入力
条件をボールド状態となるようにプリセットすると、ラ
ッチの入力側の回路変化をそのラッチが受取ることがで
きずよって、故障検出率が著しく低下してしまうことに
なる。すなわち、シフトパスにおいて、シフトモードと
ノーマルモードとの切替えをレジスタとラッチとに対し
て同時に行うことは、ラッチの関係する入力部あるいは
出力部の回路の故障検出率が低下するという欠点がある
Therefore, there is a high possibility that the content will change. This means that in order to set a value in the latch, you must not only set it in shift mode and scan in, but also preset the input conditions of the latch so that the state when the normal mode is set is the hold state. It will have to be done. However, if the input conditions of the latch are preset to be in the bold state, the latch will not be able to receive circuit changes on the input side of the latch, resulting in a significant drop in failure detection rate. That is, in the shift path, switching between the shift mode and the normal mode at the same time for the register and the latch has the disadvantage that the failure detection rate of the input section or output section circuit related to the latch decreases.

発明の目的 本発明は、レジスタからなるシフトパスとラッチからな
るシフトパスとを互いに独立して設け、互いに同時にシ
フトモードとしまた、ラッチによるシフトパスを独立し
てシフトモードとしてラッチのセット内容を保護するよ
うにしたシフトパス制御回路を提供することを目的とし
ている。
OBJECTS OF THE INVENTION The present invention provides a shift path consisting of registers and a shift path consisting of latches independently of each other, puts them into shift mode at the same time, and sets the shift path using latches independently in shift mode to protect the set contents of the latch. The purpose of the present invention is to provide a shift path control circuit that provides a shift path control circuit.

発明の構成 本発明のシフトパス制御回路は、複数のレジスタからな
る第1のシフトパスと、複数のラッチからなる第2のシ
フトパスとを有するシフトパス回路を制御する制御回路
であって、第1及び第2のシフトパスを同時にシフトモ
ードとする手段と、第2のシフトパスを独立してシフト
モードとしつつラッチ内容を保護する手段とを有するこ
とを特徴とするものである。
Structure of the Invention The shift path control circuit of the present invention is a control circuit for controlling a shift path circuit having a first shift path consisting of a plurality of registers and a second shift path consisting of a plurality of latches. The present invention is characterized by having means for simultaneously setting the second shift path to shift mode, and means for protecting the latch contents while independently setting the second shift path to shift mode.

すなわち、シフトパスの診断において、レジスタとラッ
チとそれぞれ独立したシフトパスを用意して、ラッチに
スキャンインでデータをセットして故障検出する場合、
ラッチにセットした内容を保護すべく1ノジスタの動作
モードとは独立してシフトモードのままとし、ラッチの
入力変化をラッチに取込んでスキャンアウトでもって読
み出すときには、レジスタの動作モードと一致して制御
するように構成して、ラッチの入力部、出力部の各回路
の故障検出率を高めるようにしたものである。
In other words, when diagnosing shift paths, if you prepare separate shift paths for registers and latches, and set data in the latches by scan-in to detect failures,
In order to protect the contents set in the latch, the shift mode is maintained independently of the operating mode of the 1-no register, and when the input change of the latch is taken into the latch and read out by scan-out, it is set in the register operating mode. The circuit is configured to control the latch so as to increase the failure detection rate of each circuit of the input section and output section of the latch.

実施例 以下に、図面を使用して本発明の詳細な説明する。Example The present invention will be described in detail below using the drawings.

図は本発明の実施例の回路図であり、本発明に関係する
部分のみを示している。
The figure is a circuit diagram of an embodiment of the present invention, showing only parts related to the present invention.

レジスタ11〜1nは接続線111〜1n1により互い
に従属接続されて第1のシフトパスを形成している。こ
のシフトパスのスキャンインはピン3から入力され、ス
キャンアウトはピン6から出力される。
The registers 11-1n are cascaded to each other by connection lines 111-1n1 to form a first shift path. The scan-in of this shift path is input from pin 3, and the scan-out is output from pin 6.

ラッチ21〜2mは接続lm211〜2m1により互い
に従属接続されて第2のシフトパスを形成している。こ
のシフトパスのスキャンインはピン5から入力され、ス
キャンアウトはピン7から出力される。レジスタ11〜
1nは、ピン1によりシフトモードとノーマルモードと
に切替え制御されこのピン1が論理1のときにシフトモ
ードであってシフトパスがピン3からピン6まで形成さ
れる。クロックがピン2から各レジスタのクロック端子
へ供給されてこのクロックによりシフト動作がなされる
。このピン1のシフトモード信号は同時にオアゲート3
0を介してラッチの各シフトモード端子へ夫々印加され
いる。このゲートの他入力としては、ラッチスキャンイ
ン信号がピン4から供給されている。
The latches 21-2m are cascaded together by connections lm211-2m1 to form a second shift path. The scan-in of this shift path is input from pin 5, and the scan-out is output from pin 7. Register 11~
1n is controlled by pin 1 to switch between shift mode and normal mode, and when pin 1 is at logic 1, it is in shift mode and a shift path is formed from pin 3 to pin 6. A clock is supplied from pin 2 to the clock terminal of each register, and a shift operation is performed by this clock. This pin 1 shift mode signal is simultaneously OR gate 3
0 to each shift mode terminal of the latch. As another input to this gate, a latch scan-in signal is supplied from pin 4.

また、ラッチ群はアンドゲート40により、シフトモー
ド信号1が論I11のときにのみクロックが夫々供給可
能となっている。
Further, the latch group can be supplied with a clock by the AND gate 40 only when the shift mode signal 1 is logic I11.

尚図には特に示していないが、各レジスタや各ラッチに
は夫々前段回路からの入力及び後段回路への出力が接続
されていることは勿論であり、また夫々セット、リセッ
ト入力も供給されているものである。
Although not particularly shown in the figure, it goes without saying that each register and each latch is connected to the input from the previous circuit and the output to the subsequent circuit, and is also supplied with set and reset inputs. It is something that exists.

かかる構成で、シフトモード信号1及びラッチスキャン
イン信号4が共に論理Oであれば、両シフトパスは共に
ノーマルモードであり、図示せぬ前段回路の出力を所定
タイミングで取込み、後段回路へ所定タイミングで信号
を導出する。
In such a configuration, if both the shift mode signal 1 and the latch scan-in signal 4 are logic O, both shift paths are in normal mode, and the output of the front-stage circuit (not shown) is taken in at a predetermined timing and sent to the rear-stage circuit at a predetermined timing. Derive the signal.

シフトモード信号が論理1のときには、両シフトパスは
共にシフトモードとなりクロック信号2のタイミングに
応じてスキャンイン3及び5の入力を順次夫々取込み、
またレジスタ内及びラッチ内の各信号をスキャンアウト
6及び7へ夫々スキャンアウトする。
When the shift mode signal is logic 1, both shift paths enter shift mode and sequentially take in the inputs of scan ins 3 and 5, respectively, according to the timing of clock signal 2.
Also, each signal in the register and the latch is scanned out to scan outs 6 and 7, respectively.

シフトモード信号1が論理0であってラッチスキャンイ
ン信号が論理1であれば、この信号4がオアゲート30
を介して各ラッチのシフトモード端子へ印加されるので
、このラッチによるシフトパスはシフトモードを維持す
るが、アンドゲート40はこのとき閉であるのでり0ツ
クが供給されていないから、各ラッチは各入力の変化を
取込むことはなく各セット内容を保持する。ラッスキャ
ンイン信号4は診断プログラム中の命令からの信号であ
り、このプログラムの一連の診断動作が終了するまで論
理1を保持している。
If the shift mode signal 1 is a logic 0 and the latch scan-in signal is a logic 1, this signal 4 is output to the OR gate 30.
is applied to the shift mode terminal of each latch through the latches, so the shift pass by this latch maintains the shift mode, but since the AND gate 40 is closed at this time and 0 is not supplied, each latch is The contents of each set are retained without incorporating changes in each input. The last scan-in signal 4 is a signal from an instruction in a diagnostic program, and holds logic 1 until a series of diagnostic operations of this program are completed.

発明の効果 こうすることによって、ラッチの出力部(後段回路)の
テストを行うときは、レジスタによるシフトパスの動作
モードとは関係なくラッチによるシフトパスをシフトモ
ードとしつつセット内容を保持せしめておくことができ
、またラッチの入力部(前段回路)のテストを行うとき
は、レジスタ(によるシフトパスの動作モードと一致さ
せて動作制御することが可能となり、ラッチに関係する
入出力部の回路の故障検出率が向上可能となる。
Effects of the Invention By doing this, when testing the latch output section (later-stage circuit), it is possible to maintain the set contents while setting the latch shift path to the shift mode, regardless of the operation mode of the register shift path. In addition, when testing the latch input section (pre-stage circuit), it is possible to control the operation by matching the operation mode of the shift path with the register (by register), which improves the failure detection rate of the input/output section circuit related to the latch. can be improved.

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

図は本発明の実施例の回路図である。 主要部分の符号の説明 1・・・・・・シフトモード制御信号 2・・・・・・クロック信号 4・・・・・・ラッチスキャンイン制御信号11〜1n
・・・・・・レジスタ 21〜2m・・・・・・ラッチ 出願人 日本電気株式会社 代理人 弁理士 柳川 信
The figure is a circuit diagram of an embodiment of the present invention. Explanation of symbols of main parts 1...Shift mode control signal 2...Clock signal 4...Latch scan-in control signal 11 to 1n
...Register 21-2m ...Latch applicant Shin Yanagawa, agent for NEC Corporation, patent attorney

Claims (1)

【特許請求の範囲】[Claims] 複数個のレジスタからなる第1のシフトパスと、複数個
のラッチからなる第2のシフトパスとを有するシフトパ
ス回路を制御する制御回路であって、前記第1及び第2
のシフトパスを同時にシフトモードとする手段と、前記
第2のシフトパスを独立してシフトモードとしつつラッ
チ内容を保護する手段とを有することを特徴とするシフ
トパス制御回路。
A control circuit for controlling a shift path circuit having a first shift path consisting of a plurality of registers and a second shift path consisting of a plurality of latches, the control circuit comprising:
A shift path control circuit comprising: means for simultaneously putting the second shift path into a shift mode; and means for protecting latch contents while independently putting the second shift path into a shift mode.
JP59118810A 1984-06-09 1984-06-09 Shift path control circuit Pending JPS60263517A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59118810A JPS60263517A (en) 1984-06-09 1984-06-09 Shift path control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59118810A JPS60263517A (en) 1984-06-09 1984-06-09 Shift path control circuit

Publications (1)

Publication Number Publication Date
JPS60263517A true JPS60263517A (en) 1985-12-27

Family

ID=14745688

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59118810A Pending JPS60263517A (en) 1984-06-09 1984-06-09 Shift path control circuit

Country Status (1)

Country Link
JP (1) JPS60263517A (en)

Similar Documents

Publication Publication Date Title
US4540903A (en) Scannable asynchronous/synchronous CMOS latch
US6861866B2 (en) System on chip (SOC) and method of testing and/or debugging the system on chip
US5155432A (en) System for scan testing of logic circuit networks
US4698830A (en) Shift register latch arrangement for enhanced testability in differential cascode voltage switch circuit
EP0119267B1 (en) A diagnostic circuit for digital systems
JPS63182585A (en) Logic circuit equipped with test facilitating function
US4566104A (en) Testing digital electronic circuits
JPS63243890A (en) Semiconductor integrated circuit device
JP2638281B2 (en) Scan path circuit
US5319646A (en) Boundary-scan output cell with non-critical enable path
EP0023413A1 (en) Single Chip Microprocessor having means for selectively outputting instruction decoder control signals
US4916388A (en) Semiconductor integrated circuit device equipped with scan-pass type test circuit
EP0454052B1 (en) Data processing device with test circuit
JPS60239836A (en) Fault diagnosis method for logic circuits
JPS60263517A (en) Shift path control circuit
JP2944325B2 (en) Scan path diagnostic circuit
JP2874248B2 (en) Electronic circuit with scan path for diagnostics
JP2007003338A (en) Semiconductor device, and testing method therefor
JPH0389178A (en) Semiconductor integrated circuit
JP2938031B1 (en) Scan path method and integrated logic circuit by redundant fault verification
JP2002082146A (en) Scan test circuit
JPS6327735B2 (en)
JPH0782071B2 (en) Logic circuit with fault diagnosis function
JPH01257363A (en) Semiconductor device
JPH05322993A (en) Semiconductor logic integrated circuit