JPS5939053B2 - Storage element specification method - Google Patents

Storage element specification method

Info

Publication number
JPS5939053B2
JPS5939053B2 JP52109686A JP10968677A JPS5939053B2 JP S5939053 B2 JPS5939053 B2 JP S5939053B2 JP 52109686 A JP52109686 A JP 52109686A JP 10968677 A JP10968677 A JP 10968677A JP S5939053 B2 JPS5939053 B2 JP S5939053B2
Authority
JP
Japan
Prior art keywords
storage element
input
terminal
output
circuit
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
JP52109686A
Other languages
Japanese (ja)
Other versions
JPS5443433A (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.)
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 JP52109686A priority Critical patent/JPS5939053B2/en
Publication of JPS5443433A publication Critical patent/JPS5443433A/en
Publication of JPS5939053B2 publication Critical patent/JPS5939053B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Description

【発明の詳細な説明】 本発明は外部端子数に制限があるLSLプリント板等の
基板の論理回路中の任意のフリップフロップ等の記憶機
能を持つ素子、または回路である記憶要素を選択して外
部から試験データを直接書込みまた読取ることを可能と
する記憶要素指定方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention is a method for selecting a memory element that is an element or circuit having a memory function such as an arbitrary flip-flop in a logic circuit of a board such as an LSL printed board that has a limited number of external terminals. The present invention relates to a storage element designation method that allows test data to be directly written and read from the outside.

論理回路が複雑になりまたLSIの集積度が上がるにし
たがつて、論理回路内の任意のフリツプフユソプ等の記
憶要素に対して自由に読み書き可能な回路構成は論理回
路の試験において有力な機能となりつつある。
As logic circuits become more complex and the degree of integration of LSIs increases, circuit configurations that can freely read and write memory elements such as flipflops within logic circuits are becoming an important feature in testing logic circuits. be.

すなわち論理回路中のフリップフロップ等にデータを書
きこみ、次にそれを読出してデータが正しく書込まれて
いるかどうかを確認したり、また論理回路中の各フリッ
プフロップに初期値を書込み、この論理回路にクロック
パルスを与え論理回路を動作させることによる各フリッ
プフロップの状態変化を調べること等によつて、論理回
路の比較的小さい部分の動作を調べることができる。こ
れによつて複雑な論理回路が正常に動作するかどうかを
論理回路全体を1つのブラックボックスと見て試験を行
なう場合に比べ、非常に簡単に確認することができる。
しかし従来の手法においては、基板上の被試験論理回路
に含まれる被試験記憶要素を基板外から指定するアドス
情報の入力のための制御信号用端子が多数必要とされる
。特にLSIにおいては、端子(ピン)数の不足が高密
度実装を阻害する大きな問題になつているのに、試験時
にしか使わないピンを多数設けることは好ましくない。
すなわちLSI等においてはピン数に制限があり試験用
に多くのピンを使うと、通常動作用に使用できるピンの
数が減少し高密度が図れないという大きな問題がある。
本発明の目的は上記欠点を除去することである。すなわ
ち、本発明は論理機能試験においては通常の動作時のよ
うな膨大なくり返し計算を行なうことはないため、動作
速度の高速性は要求されないことから試験用制御信号を
制御パルスの系列として入力し、制御信号用端子数を減
少せしめるものである。従つて本発明の特徴とするとこ
ろは、入力端子を介して与えられる制御パルスにより、
基板上の論理回路内の任意の記憶要素を指定する記憶要
素指定方式において、基板上に制御パルスを遂次入力す
る1個の入力端と、該入力端子を介して入力された制御
パルスにより、状態が変化する状態回路とを備え、入力
端子より遂次入力される制御パルスにて任意記憶要素選
択のための番地情報および該任意記憶要素へのデータ入
力もしくは該任意記憶要素からのデータ出力を指定する
情報を前記状態回路に設定せしめ、該任意記憶要素を指
定するとともに、該指定された任意記憶要素へのデータ
入力もしくは該指定された任意記憶要素からのデータ出
力を行なわしめることにある。
In other words, you can write data to a flip-flop in a logic circuit, then read it to check whether the data has been written correctly, or write an initial value to each flip-flop in a logic circuit to check the logic. The operation of a relatively small portion of a logic circuit can be investigated by, for example, examining the change in state of each flip-flop by applying a clock pulse to the circuit and operating the logic circuit. This makes it much easier to check whether a complex logic circuit operates normally than when testing the entire logic circuit as one black box.
However, in the conventional method, a large number of control signal terminals are required for inputting address information that specifies the storage element under test included in the logic circuit under test on the board from outside the board. Particularly in LSIs, the lack of terminals (pins) is a major problem that hinders high-density packaging, but it is not desirable to provide a large number of pins that are only used during testing.
That is, in LSIs and the like, there is a limit to the number of pins, and if a large number of pins are used for testing, the number of pins that can be used for normal operation decreases, making it impossible to achieve high density, which is a major problem.
The aim of the invention is to obviate the above-mentioned drawbacks. In other words, in the present invention, a logic function test does not involve a huge number of repeated calculations as in normal operation, and therefore high operating speed is not required. Therefore, the control signal for the test is input as a series of control pulses. , which reduces the number of control signal terminals. Therefore, the feature of the present invention is that by the control pulse applied via the input terminal,
In a storage element designation method that designates an arbitrary storage element in a logic circuit on a board, one input terminal sequentially inputs control pulses onto the board, and the control pulses input through the input terminal, A state circuit whose state changes is provided, and address information for selecting an arbitrary storage element and data input to or output from the arbitrary storage element are controlled by control pulses successively inputted from an input terminal. The purpose is to set specified information in the state circuit, specify the arbitrary storage element, and input data to the specified arbitrary storage element or output data from the specified arbitrary storage element.

また、前記状態回路として前記入力端子から入力される
制御パルスの数を積算するカウンタ、あるいは前記入力
端子から入力される制御パルス列のパターンを記憶する
シフトレジスタとすることである。以下、本発明を図面
によつて詳細に説明する。
Further, the state circuit may be a counter that adds up the number of control pulses input from the input terminal, or a shift register that stores a pattern of a control pulse train input from the input terminal. Hereinafter, the present invention will be explained in detail with reference to the drawings.

図は本発明の一実施例である。The figure shows one embodiment of the invention.

図においてCLは論理回路を駆動するクロツクパルスを
入力するクロツク端子、CTは入力端子、DGは論理回
路に本来の動作をさせる通常モードにおいては1101
1、試験モードにおいては521F′のレベルを与える
ことによつてこの2つのモードを切替えるための端子、
Cは入力端子CTから入力される制御パルス数を積算す
る2進カウンタで、最下位ピツトは被試験記憶要素の指
定には使用せず、試験データの書込み/読取り動作を切
替えるための切替桁とする。DFは端子DGのレベルを
微分し、その微分パルスでカウンタCをりセツトする微
分回路、DCは端子DGが?10!Wのときにはo−n
を表わす全部の出力端子が1になり、端子DGが111
8のときにはカウン/Cの切替桁以外の桁の内容で表わ
される数をデコードし、その数に対応する出力端子だけ
を7V1―他をWlO8にするデコーダ、FO−Fnは
フリツプフロツプ、TO−Tnは一方の入力をそれぞれ
デコーダDGf)o−nを表わす出力端子に、他方の入
力をクロツク端子CLに、また出力側はそれぞれフリツ
プフロツプFO〜Fnのクロツク入力部分に接続されて
いるAND回路、DO−Dnは通常モードにおけるフリ
ツプフロツプFO−Fnへのデータ入力用端子、GO〜
匁は出力側をそれぞれフリツプフロツプFO〜Fnの入
力側に接続され、端子DGが111゛のときにはそれぞ
れ端子DO−Dnからの入力を、また端子DGが111
のときには入出力端子SCからの入力を選択して出力す
るセレクタ、Tは出力側を入出力端子SCに接続され、
カウンタCの切替桁が110?′のときには入力側のレ
ベルは遮断されて出力側には現われず、出力側から見た
インピーダンスが高くなり、また切替桁が1111のと
きには入力側のレベルを出力側にそのまま出力するゲー
ト、SO−Snは一方の入力はそれぞれデコーダDC(
1)o−nを表わす出力端子に、他方の入力はそれぞれ
フリツプフロツプFO−Fnの出力側に接続され、また
出力側はゲートTの入力側に接続されているAND回路
、Bは上記の回路等を収容する基板である。ここにおい
て試験に用いられる端子はクロツク端子CL、モード切
替用の端子DG、アドレス情報等を入力する入力端子C
T、試験用データのための入出力端子SCの4つである
。しかし、クロツク端子CLは本来通常モードにおいて
使用されているものを試験用に流用したものなので、基
板Bに設けられた試験専用端子は3つである。以下に図
の回路の動作を説明する。
In the figure, CL is a clock terminal that inputs clock pulses that drive the logic circuit, CT is an input terminal, and DG is 1101 in the normal mode that allows the logic circuit to operate as intended.
1. In test mode, a terminal for switching between these two modes by applying a level of 521F';
C is a binary counter that totals the number of control pulses input from the input terminal CT, and the lowest pit is not used to specify the storage element under test, but is used as a switching digit to switch between writing and reading test data. do. DF is a differentiation circuit that differentiates the level of terminal DG and resets counter C using the differential pulse, and DC is a differentiation circuit that differentiates the level of terminal DG. 10! On when W
All output terminals representing 1 become 1, and terminal DG becomes 111
When it is 8, the decoder decodes the number represented by the contents of the digits other than the switching digits of the counter/C, and sets only the output terminal corresponding to that number to 7V1 and the others to WlO8. FO-Fn is a flip-flop, and TO-Tn is a decoder. An AND circuit, DO-Dn, whose one input is connected to the output terminal representing the decoder DGf)on, the other input to the clock terminal CL, and the output side connected to the clock input portion of the flip-flops FO to Fn, respectively. are data input terminals to flip-flop FO-Fn in normal mode, GO~
The output sides of the momme are connected to the input sides of the flip-flops FO to Fn, respectively, and when the terminal DG is 111゛, the input from the terminals DO-Dn is connected, and the terminal DG is 111゛.
When T is a selector that selects and outputs the input from the input/output terminal SC, the output side is connected to the input/output terminal SC,
Is the switching digit of counter C 110? ' When the level on the input side is cut off and does not appear on the output side, the impedance seen from the output side becomes high, and when the switching digit is 1111, the level on the input side is output directly to the output side, SO- One input of Sn is the decoder DC (
1) An AND circuit in which the output terminals representing o-n, the other inputs are connected to the output sides of the flip-flops FO-Fn, and the output side is connected to the input side of the gate T, B is the above circuit, etc. This is a board that accommodates. The terminals used for the test here are a clock terminal CL, a terminal DG for mode switching, and an input terminal C for inputting address information, etc.
T, and an input/output terminal SC for test data. However, since the clock terminal CL originally used in the normal mode is used for testing, there are three test-only terminals provided on the board B. The operation of the circuit shown in the figure will be explained below.

通常モードにおいては端子DGが1101になつている
。したがつて各セレクタGO−匁はそれぞれ端子DO〜
Dnからの入力を選択してフリツプフロツプFO〜Fn
に与え、またデコーダDCの全出力が゛1111になつ
ているからクロツクパルスはAND回路TO−Tnを通
して全フリツプフロツプに供給される。よつて通常モー
ドにおいてはクロツク端子CLにクロツクパルスを与え
ることによつてフリツプフロツプFO−Fnにはそれぞ
れ端子DO〜Dnから入力されたデータが入る。端子D
Gのレベルを11「1に変えることによつて図の回路は
試験モードになる。このとき端子DGのレベル変動によ
り微分回路DFが発生する微分パルスによつてカウンタ
Cはりセツトされる。ここで入力端子から2m個の制御
パルスを人力すると、デコーダDCの出力端子はmを表
わす端子が11F1で、他の端子は全て710?1にな
る。またセレクタGO〜匁は入出力端子SC側を選択し
、更に切替桁が110V1であることから入出力端子S
Cからの入力がそのまま各フリツプフロツプに与えられ
る。ところが、クロツク端子CLに与えられたクロツク
パルスはデコーダの出力とAND回路TO−Tnによつ
てフリツプフロツプFmだけに供給されることから、入
出力端子SCからデータを与え、クロツク端子CLにク
ロツクパルスを1つ与えることによつて、入出力端子S
Cから与えたデータがフリツプフロツプFmだけに人る
。ここで入力端子CTから制御パルスを1つ入力すると
、デコーダDCの出力は変化しないが、カウンタCの切
替桁が11F1に変わる。各AND回路SO−Snの一
方の入力にはそれぞれデコーダDCの0〜nを表わす出
力端子が接続されているからAND回路SO−Snの出
力側、すなわちゲートTの入力側にはフリツプフロツプ
Fmに入つている値が現われる。切替桁が7vrvにな
つているからゲートTの入力側の値はその出力側に接続
されている入出力端子SCに現われる。したがつて、フ
リツプフロツプFmに入つている値を入出力端子SCか
ら読取ることができる。以上のようにして、入力端子C
Tから入力される制御パルスの数によつて試験データを
書込みまた読取るフリツプフロツブを指定する。
In the normal mode, the terminal DG is set to 1101. Therefore, each selector GO-monme is the terminal DO~
Select input from Dn and flip-flop FO~Fn
Since the total output of the decoder DC is 1111, the clock pulse is supplied to all the flip-flops through the AND circuit TO-Tn. Therefore, in the normal mode, by applying a clock pulse to the clock terminal CL, the flip-flops FO-Fn receive data input from the terminals DO-Dn, respectively. Terminal D
By changing the level of G to 11"1, the circuit shown in the figure enters the test mode. At this time, the counter C is reset by the differential pulse generated by the differential circuit DF due to the level variation of the terminal DG. Here, When 2m control pulses are manually applied from the input terminal, the output terminal of the decoder DC is 11F1 for the terminal representing m, and all other terminals are 710?1.In addition, the selectors GO to Momme select the input/output terminal SC side. Furthermore, since the switching digit is 110V1, the input/output terminal S
The input from C is applied as is to each flip-flop. However, since the clock pulse applied to the clock terminal CL is supplied only to the flip-flop Fm by the output of the decoder and the AND circuit TO-Tn, data is applied from the input/output terminal SC and one clock pulse is applied to the clock terminal CL. By giving the input/output terminal S
The data given from C is sent only to flip-flop Fm. Here, when one control pulse is input from the input terminal CT, the output of the decoder DC does not change, but the switching digit of the counter C changes to 11F1. One input of each AND circuit SO-Sn is connected to the output terminal representing 0 to n of the decoder DC, so the output side of the AND circuit SO-Sn, that is, the input side of the gate T, is connected to the flip-flop Fm. The corresponding value will appear. Since the switching digit is 7vrv, the value on the input side of gate T appears at the input/output terminal SC connected to its output side. Therefore, the value stored in flip-flop Fm can be read from input/output terminal SC. As described above, input terminal C
The number of control pulses input from T specifies the flip-flop to which test data is written or read.

上述のような記憶要素指定方式を用いることによつて、
記憶要素のアドレス情報を入力するための入力端子が1
つですむことから、基板に設けられる試験用の端子数を
少なくすることができる。
By using the storage element specification method as described above,
There is one input terminal for inputting the address information of the storage element.
Therefore, the number of test terminals provided on the board can be reduced.

上記実施例においては状態回路としてカウンタを用いた
が、かわりにシフトレジスタを設け、入力端子CTから
このシフトレジスタにピツトパターンを入力してもよい
。また記憶要素としてはフリツプフロツプ以外には磁気
コア、ICメモリ等でもよい。
In the above embodiment, a counter is used as the state circuit, but a shift register may be provided instead, and the pit pattern may be input to this shift register from the input terminal CT. In addition to the flip-flop, the storage element may be a magnetic core, an IC memory, or the like.

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

図は本発明の一実施例の論理回路の回路図である。 CT・・・・・・入力端子、C・・・・・・カウンタ、
FO〜Fn・・・・・・フリツプフロツプ、DC・・・
・・・デコーダ、TOゝTnとSO〜Sn゜゜゜゜゜゜
AND回路、匁〜匁゜゜゜・・・セレクタ、T・・・・
・・ゲート、CL・・・・・・クロツク端子、DG・・
・・・・通常モードと試験モードとを切替えるための端
子、SC・・・・・・試験データの入出力端子、B・・
・・・・基板。
The figure is a circuit diagram of a logic circuit according to an embodiment of the present invention. CT...Input terminal, C...Counter,
FO~Fn...Flip-flop, DC...
...Decoder, TOゝTn and SO~Sn゜゜゜゜゜゜゜AND circuit, Momme ~ Momme゜゜゜゜...Selector, T...
...Gate, CL...Clock terminal, DG...
...Terminal for switching between normal mode and test mode, SC...Test data input/output terminal, B...
····substrate.

Claims (1)

【特許請求の範囲】 1 入力端子を介して与えられる制御パルスにより、基
板上の論理回路内の任意の記憶要素を指定する記憶要素
指定方式において、基板上に制御パルスを遂次入力する
1個の入力端と、該入力端子を介して入力された制御パ
ルスにより、状態が変化する状態回路とを備え、入力端
子より遂次入力される制御パルスにて任意記憶要素選択
のための番地情報および該任意記憶要素へのデータ入力
もしくは該任意記憶要素からのデータ出力を指定する情
報を前記状態回路に設定せしめ、該任意記憶要素を指定
するとともに、該指定された任意記憶要素へのデータ入
力もしくは該指定された任意記憶要素からのデータ出力
を行なわしめることを特徴とする記憶要素指定方式。 2 前記状態回路として前記入力端子から入力される制
御パルスの数を積算するカウンタを設けることを特徴と
する、特許請求の範囲第1項記載の記憶要素指定方式。 3 前記状態回路として前記入力端子から入力される制
御パルス列のパターンを記憶するシフトレジスタを設け
ることを特徴とする、特許請求の範囲第1項記載の記憶
要素指定方式。
[Scope of Claims] 1. In a storage element designation method in which an arbitrary storage element in a logic circuit on a board is designated by a control pulse applied via an input terminal, one element that sequentially inputs control pulses onto the board and a state circuit whose state changes according to the control pulses inputted through the input terminal, and the address information for selecting an arbitrary storage element and the control pulses successively inputted from the input terminal. The state circuit is configured to set information specifying data input to or data output from the arbitrary storage element, and specifies the arbitrary storage element and data input to or output from the specified arbitrary storage element. A storage element designation method characterized in that data is output from the designated arbitrary storage element. 2. The storage element designation method according to claim 1, wherein a counter is provided as the state circuit to add up the number of control pulses input from the input terminal. 3. The storage element designation system according to claim 1, wherein a shift register is provided as the state circuit to store a pattern of a control pulse train input from the input terminal.
JP52109686A 1977-09-12 1977-09-12 Storage element specification method Expired JPS5939053B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52109686A JPS5939053B2 (en) 1977-09-12 1977-09-12 Storage element specification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52109686A JPS5939053B2 (en) 1977-09-12 1977-09-12 Storage element specification method

Publications (2)

Publication Number Publication Date
JPS5443433A JPS5443433A (en) 1979-04-06
JPS5939053B2 true JPS5939053B2 (en) 1984-09-20

Family

ID=14516606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52109686A Expired JPS5939053B2 (en) 1977-09-12 1977-09-12 Storage element specification method

Country Status (1)

Country Link
JP (1) JPS5939053B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5614357A (en) * 1979-07-16 1981-02-12 Matsushita Electric Ind Co Ltd Diagnostic control unit
JPS6465643A (en) * 1987-09-07 1989-03-10 Fujitsu Ltd Fault detecting circuit
JPS63195465U (en) * 1988-06-16 1988-12-15

Also Published As

Publication number Publication date
JPS5443433A (en) 1979-04-06

Similar Documents

Publication Publication Date Title
US3961252A (en) Testing embedded arrays
US5504756A (en) Method and apparatus for multi-frequency, multi-phase scan chain
US4748594A (en) Integrated circuit device having a memory and majority logic
US4586181A (en) Test pattern generating apparatus
US4969126A (en) Semiconductor memory device having serial addressing and operating method thereof
JPS6231439B2 (en)
US4388701A (en) Recirculating loop memory array having a shift register buffer for parallel fetching and storing
EP0204130B1 (en) Apparatus for reducing test data storage requirements for high speed vlsi circuit testing
JPS5939053B2 (en) Storage element specification method
KR100276504B1 (en) Failure-data storage system
US6108803A (en) Memory cell circuit for executing specific tests on memory cells that have been designated by address data
JP2518039B2 (en) Control memory load method for data processor
JPS61217839A (en) Scan system
JPS6113611B2 (en)
JPS5947394B2 (en) Variable length two-dimensional register
JPS6144342B2 (en)
JPH0249520B2 (en)
JPS59218548A (en) Logical circuit
JP2751382B2 (en) Shift path control system
JPS59101090A (en) Storage device
JPH06295597A (en) Memory test circuit device
US5790894A (en) Data processing with improved register bit structure
JPH0544990B2 (en)
JPS60244995A (en) Shift circuit
JPH04232700A (en) Semiconductor storage device