JPS633342B2 - - Google Patents

Info

Publication number
JPS633342B2
JPS633342B2 JP58120567A JP12056783A JPS633342B2 JP S633342 B2 JPS633342 B2 JP S633342B2 JP 58120567 A JP58120567 A JP 58120567A JP 12056783 A JP12056783 A JP 12056783A JP S633342 B2 JPS633342 B2 JP S633342B2
Authority
JP
Japan
Prior art keywords
register
flip
flops
output
scan
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
JP58120567A
Other languages
Japanese (ja)
Other versions
JPS6014348A (en
Inventor
Toshiro Tanaka
Katsuyuki Okada
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP58120567A priority Critical patent/JPS6014348A/en
Publication of JPS6014348A publication Critical patent/JPS6014348A/en
Publication of JPS633342B2 publication Critical patent/JPS633342B2/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/318536Scan chain arrangements, e.g. connections, test bus, analog signals

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

【発明の詳細な説明】 この発明は論理回路の出力を保持し、かつ独立
に動作するレジスタを少くとも2つもつ論理装置
におけるスキヤンレジスタ構成方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a scan register configuration method in a logic device that holds the output of a logic circuit and has at least two registers that operate independently.

論理装置、例えば1つのLSI内に含まれている
レジスタ(スキヤンレジスタ)を選択し、そのス
キヤンレジスタに外部よりスキヤンパスを通じて
シリアルなテストデータを入力し、そのスキヤン
レジスタのデータを前記LSIの論理回路へ入力し
てその論理回路をテストすることが行われてい
る。このテストを行うため論理回路の出力が並列
に与えられるレジスタをスキヤンレジスタに構成
する必要がある。このスキヤンレジスタを構成す
るため従来においては次のようにして行われてい
た。
Select a logic device, for example, a register (scan register) included in one LSI, input serial test data to the scan register from the outside through a scan path, and send the data in the scan register to the logic circuit of the LSI. It is done to test the logic circuit by inputting it. In order to perform this test, it is necessary to configure a register to which the outputs of the logic circuit are applied in parallel as a scan register. Conventionally, this scan register was configured as follows.

即ち例えばLSIとされた論理装置内において第
1図に示すように論理回路1の出力が、クロツク
で動作するフリツプフロツプ2〜5から成るレ
ジスタ6へ並列に格納されるように構成されてい
る場合に、第2図に示すように論理回路1の各ビ
ツト出力は選択回路7〜10へそれぞれ供給さ
れ、選択回路7〜10の各出力はそれぞれフリツ
プフロツプ2〜5へ供給され、これらフリツプフ
ロツプ2〜5の出力はクロツクとは排他的なク
ロツクで動作するフリツプフロツプ11〜14
へ供給される。フリツプフロツプ11〜13の出
力はそれぞれ選択回路8〜10の他方の入力側へ
供給される。選択回路7の他方の入力側は外部端
子15に接続され、フリツプフロツプ14の出力
側は外部端子16に接続される。選択回路7〜1
0は端子17の制御信号によりその2つの入力の
一方を選択して出力する。
For example, in a logic device such as an LSI, as shown in FIG. 1, if the output of a logic circuit 1 is stored in parallel in a register 6 consisting of flip-flops 2 to 5 operated by a clock. , as shown in FIG. 2, each bit output of logic circuit 1 is supplied to selection circuits 7 to 10, and each output of selection circuits 7 to 10 is supplied to flip-flops 2 to 5, respectively. The outputs are flip-flops 11 to 14 which operate on a clock exclusive to the clock.
supplied to The outputs of flip-flops 11-13 are supplied to the other input sides of selection circuits 8-10, respectively. The other input side of the selection circuit 7 is connected to an external terminal 15, and the output side of the flip-flop 14 is connected to an external terminal 16. Selection circuit 7-1
0 selects one of the two inputs according to the control signal at the terminal 17 and outputs it.

常時は論理回路1の出力が選択回路7〜10で
選択されてフリツプフロツプ2〜5に並列に入力
され、図に示してない他の論理回路へ供給され
る。端子17にスキヤンモードに設定する制御信
号が与えられると選択回路7は外部端子15を、
選択回路8〜10はフリツプフロツプ11〜13
の出力をそれぞれ選択し、外部端子15よりのテ
ストデータはクロツクでフリツプフロツプ2へ
入力され、これよりクロツクでフリツプフロツ
プ11にシフトされ、次にクロツクが印加され
ると、フリツプフロツプ11のデータは選択回路
8を通してフリツプフロツプ3へシフトし、以下
同様の動作を行い、最終的には外部端子16にデ
ータが出力される。このようにしてフリツプフロ
ツプ2〜5(レジスタ6)はスキヤンレジスタと
して構成される。
Normally, the output of logic circuit 1 is selected by selection circuits 7-10, inputted in parallel to flip-flops 2-5, and supplied to other logic circuits not shown. When a control signal for setting the scan mode is given to the terminal 17, the selection circuit 7 sets the external terminal 15 to
Selection circuits 8-10 are flip-flops 11-13.
The test data from the external terminal 15 is input to the flip-flop 2 by the clock, and then shifted to the flip-flop 11 by the clock.Then, when the clock is applied, the data in the flip-flop 11 is transferred to the selection circuit 8. The data is shifted to the flip-flop 3 through the input terminal 3, and the same operation is performed thereafter, and finally the data is output to the external terminal 16. In this way, flip-flops 2-5 (register 6) are configured as scan registers.

このように従来においてはレジスタ6をスキヤ
ンレジスタ化するには選択回路7〜10及びフリ
ツプフロツプ11〜14を付加する必要があるた
め、比較的多くの金物量を必要とする欠点があつ
た。なおフリツプフロツプ2〜5を直接直列に接
続する場合は1クロツクでフリツプフロツプ2の
内容がフリツプフロツプ5へ達しスキヤンレジス
タとして動作できない。
In this way, conventionally, in order to convert register 6 into a scan register, it is necessary to add selection circuits 7 to 10 and flip-flops 11 to 14, which has the disadvantage of requiring a relatively large amount of metal. Note that when flip-flops 2 to 5 are directly connected in series, the contents of flip-flop 2 reach flip-flop 5 in one clock and cannot operate as a scan register.

〈発明の概要〉 この発明の目的は少ない金物量の付加でスキヤ
ンレジスタを構成することができるスキヤンレジ
スタ構成方法を提供することにある。
<Summary of the Invention> An object of the present invention is to provide a method of constructing a scan resistor that can construct a scan resistor by adding a small amount of metal objects.

論理装置には一般に独立に動作する、つまり動
作クロツクが異なるレジスタが存在している。こ
の発明によればこれら独立に動作するレジスタを
ビツトごとに交互に直列に接続することによりス
キヤンレジスタを構成する。
Logic devices generally have registers that operate independently, that is, with different operating clocks. According to the present invention, a scan register is constructed by alternately connecting these independently operating registers in series for each bit.

〈実施例〉 第3図はこの発明によるスキヤンレジスタ構成
方法の実施例を示す。一つの論理装置内に論理回
路20及び30が設けられてあり、フリツプフロ
ツプ25〜28よりなるレジスタ29に論理回路
20の出力が保持され、フリツプフロツプ35〜
38よりなるレジスタ39に論理回路30の出力
が保持される。フリツプフロツプ25〜28はク
ロツクで動作し、フリツプフロツプ35〜38
はクロツクで動作し、つまりフリツプフロツプ
25〜28と独立に動作するものである。
<Embodiment> FIG. 3 shows an embodiment of the scan register construction method according to the present invention. Logic circuits 20 and 30 are provided in one logic device, and the output of logic circuit 20 is held in a register 29 consisting of flip-flops 25 to 28, and
The output of the logic circuit 30 is held in a register 39 consisting of 38. Flip-flops 25-28 are operated by a clock, and flip-flops 35-38
is operated by a clock, that is, it operates independently of flip-flops 25-28.

この発明においては論理回路20の出力側とフ
リツプフロツプ25〜28との間にそれぞれ第1
選択回路21〜24が挿入され、また論理回路3
0の出力側とフリツプフロツプ35〜38との間
に第2選択回路31〜34がそれぞれ挿入され
る。第1選択回路21の他方の入力側に外部端子
15が接続され、第1選択回路22〜24の他方
の入力側にフリツプフロツプ35〜37の出力側
がそれぞれ接続される。第2選択回路31〜34
の他方の入力側にフリツプフロツプ25〜28の
出力側がそれぞれ接続され、フリツプフロツプ3
8の出力側は外部端子16に接続される。選択回
路21〜24及び31〜34は端子17の制御信
号によりその入力が切換えられる。
In this invention, a first
Selection circuits 21 to 24 are inserted, and logic circuit 3
Second selection circuits 31-34 are inserted between the output side of 0 and flip-flops 35-38, respectively. The external terminal 15 is connected to the other input side of the first selection circuit 21, and the output sides of flip-flops 35-37 are connected to the other input sides of the first selection circuits 22-24, respectively. Second selection circuits 31 to 34
The output sides of flip-flops 25 to 28 are respectively connected to the other input side of flip-flop 3.
The output side of 8 is connected to an external terminal 16. The inputs of the selection circuits 21 to 24 and 31 to 34 are switched by a control signal at the terminal 17.

外部端子17に制御信号を与えて選択回路21
〜24及び31〜34をスキヤンモードに設定す
ると、端子15のデータはクロツクでフリツプ
フロツプ25に入力され、クロツクでフリツプ
フロツプ25のデータは選択回路31を通してフ
リツプフロツプ35にシフトされ、次にクロツク
でフリツプフロツプ35のデータは選択回路2
2を通してフリツプフロツプ26にシフトされ、
以下同様にしてレジスタ29,39の各フリツプ
フロツプを交互に順次通り、端子16にデータは
出力される。つまりレジスタ29,39によりス
キヤンレジスタが構成される。なおフリツプフロ
ツプ25〜28の各出力はレジスタ29の各ビツ
ト出力を構成し、フリツプフロツプ35〜38の
各出力はレジスタ39の各ビツト出力を構成して
いる。
A control signal is given to the external terminal 17 to select the selection circuit 21.
24 and 31 to 34 are set to the scan mode, the data at terminal 15 is input to flip-flop 25 by the clock, the data from flip-flop 25 is shifted by the clock to flip-flop 35 through selection circuit 31, and then the data from flip-flop 35 is input by the clock to flip-flop 35. Data is selection circuit 2
2 to flip-flop 26;
Thereafter, in the same manner, the data passes alternately through the flip-flops of the registers 29 and 39 and is output to the terminal 16. In other words, registers 29 and 39 constitute a scan register. Note that each output of flip-flops 25 to 28 constitutes each bit output of register 29, and each output of flip-flops 35 to 38 constitutes each bit output of register 39.

〈効果〉 このようにこの発明によればフリツプフロツプ
25〜28から成るレジスタ29及びフリツプフ
ロツプ35〜38から成るレジスタ39をスキヤ
ンレジスタ化するにはそれぞれ選択回路21〜2
4,31〜34を付加するだけで実現でき、第1
図に示した従来の構成方法によれば各レジスタに
対しその構成フリツプフロツプと同数のフリツプ
フロツプを更に設けた場合と比較して構成金物量
を削減することができる。
<Effects> As described above, according to the present invention, in order to convert the register 29 consisting of flip-flops 25 to 28 and the register 39 consisting of flip-flops 35 to 38 into scan registers, the selection circuits 21 to 2 are used, respectively.
This can be achieved by simply adding 4, 31 to 34, and the first
According to the conventional construction method shown in the figure, the amount of construction hardware can be reduced compared to the case where each register is further provided with the same number of flip-flops as the flip-flops that constitute it.

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

第1図は論理回路とその出力レジスタを示す
図、第2図は第1図に示したレジスタを従来方法
により構成したスキヤンレジスタを示す図、第3
図はこの発明によるスキヤンレジスタ構成方法の
一実施例を示す図である。 20,30:論理回路、21〜24,31〜3
4:選択回路、25〜28:クロツクで動作す
るフリツプフロツプ、35〜38:クロツクで
動作するフリツプフロツプ、29,39:レジス
タ。
Fig. 1 is a diagram showing a logic circuit and its output register, Fig. 2 is a diagram showing a scan register configured by the conventional method of the register shown in Fig.
The figure is a diagram showing an embodiment of the scan register configuration method according to the present invention. 20, 30: logic circuit, 21-24, 31-3
4: Selection circuit, 25-28: Flip-flop operated by clock, 35-38: Flip-flop operated by clock, 29, 39: Register.

Claims (1)

【特許請求の範囲】[Claims] 1 論理回路の出力を保持し、かつ独立に動作す
るレジスタを少くとも2つもつ論理装置におい
て、第1レジスタの各ビツトごとに第1セレクタ
が設けられ、その第1セレクタは第1レジスタと
対応する論理回路の出力と、第1レジスタとは独
立に動作する第2レジスタの1つのビツト出力と
の一方を選択するものであり、上記第2レジスタ
の各ビツトごとに第2セレクタが設けられ、その
第2セレクタは第2レジスタと対応する論理回路
の出力と、第1レジスタの1つのビツト出力との
一方を選択するものであり、外部端子より入力さ
れた制御信号により上記第1セレクタ及び第2セ
レクタを制御して第1レジスタと第2レジスタと
を1ビツトごとに交互に直列に接続して1つのス
キヤンレジスタを構成することを特徴とするスキ
ヤンレジスタ構成方法。
1. In a logic device that holds the output of a logic circuit and has at least two registers that operate independently, a first selector is provided for each bit of the first register, and the first selector corresponds to the first register. A second selector is provided for each bit of the second register, and a second selector is provided for each bit of the second register. The second selector selects either the output of the logic circuit corresponding to the second register or one bit output of the first register. 1. A scan register configuration method comprising controlling two selectors to alternately connect a first register and a second register in series for each bit to configure one scan register.
JP58120567A 1983-07-01 1983-07-01 Constitution of scan register Granted JPS6014348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58120567A JPS6014348A (en) 1983-07-01 1983-07-01 Constitution of scan register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58120567A JPS6014348A (en) 1983-07-01 1983-07-01 Constitution of scan register

Publications (2)

Publication Number Publication Date
JPS6014348A JPS6014348A (en) 1985-01-24
JPS633342B2 true JPS633342B2 (en) 1988-01-22

Family

ID=14789498

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58120567A Granted JPS6014348A (en) 1983-07-01 1983-07-01 Constitution of scan register

Country Status (1)

Country Link
JP (1) JPS6014348A (en)

Also Published As

Publication number Publication date
JPS6014348A (en) 1985-01-24

Similar Documents

Publication Publication Date Title
JP2642671B2 (en) Digital crossbar switch
JPS63263480A (en) Semiconductor integrated logic circuit
JPS63310046A (en) Test auxiliary circuit
JPS633342B2 (en)
US6463562B1 (en) Semiconductor device including macros and its testing method
JPS5987537A (en) Controlling circuit of data having priority degree
JPH05134007A (en) Semiconductor integrated logic circuit
JP2514989B2 (en) Sequential circuit
JPH10123213A (en) Semiconductor integrated circuit
JPS6095370A (en) Integrated circuit device
JPS60239834A (en) Integrated circuit
JPH05281303A (en) Semiconductor integrated circuit
JPH04177517A (en) Input/output port
JPS6072318A (en) Logical lsi
JPH05223902A (en) Semiconductor integrated circuit
JPH08136619A (en) Semiconductor circuit device
JPS61122748A (en) Arithmetic lsi
JPH03118652A (en) Integrated circuit
JPS62135781A (en) Testing circuit
JPH0365671A (en) Semiconductor integrated circuit
JPH03158778A (en) Clock input device
JPH0651034A (en) Flip-flop circuit
JPH05259894A (en) Counter circuit
JPH03185756A (en) Semiconductor integrated circuit device
JPH0552911A (en) Circuit for testing semiconductor integrated circuit