JPH04194681A - Large-scale integrated circuit - Google Patents

Large-scale integrated circuit

Info

Publication number
JPH04194681A
JPH04194681A JP2327766A JP32776690A JPH04194681A JP H04194681 A JPH04194681 A JP H04194681A JP 2327766 A JP2327766 A JP 2327766A JP 32776690 A JP32776690 A JP 32776690A JP H04194681 A JPH04194681 A JP H04194681A
Authority
JP
Japan
Prior art keywords
value
output
memory
pointer register
address
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
JP2327766A
Other languages
Japanese (ja)
Inventor
Yoshiaki Hashimoto
良昭 橋本
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 Ibaraki Ltd
Original Assignee
NEC Ibaraki 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 Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP2327766A priority Critical patent/JPH04194681A/en
Publication of JPH04194681A publication Critical patent/JPH04194681A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing Of Individual Semiconductor Devices (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)

Abstract

PURPOSE:To enable readout of an internal memory in parallel to a scanning operation by outputting to an output pin the content of the internal memory of which an address is a value of a pointer register holding a counter value when a scan pass input is '1'. CONSTITUTION:When a scan mode signal 8 is made to be '1', LSI 10 is put in a scan mode and an output of a selector 5 is switched over to a value 13 of a pointer register 3, while an output of a selector 6 is switched over to an output 15 of a memory 1. When inputting of a clock signal 12 is started and a value of 31 in Fig. 3 is given as a scan pass input 7, a value 32 of a counter 2 is set in the pointer register 3 as indicated by 33 when the value 31 is 1, the set value turns to be an address of the memory 1, the content thereof is delivered as an output 9 of the LSI 10 to an output pin, and the content as indicated by 34 of Fig. 3 is read out.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は大規模集積回路(以下LSIと称する。)に関
し、特にLSI診断時の内部メモリの読出し方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to large-scale integrated circuits (hereinafter referred to as LSI), and particularly to a method for reading internal memory during LSI diagnosis.

[従来の技術] 従来、LSI診断時において、LSI入力ピンから直接
アドレスを与えることができないLSIメモリの読出し
には、LSI内部のアドレス生成回路によって目的とす
るアドレスが生成されるような値を関連するレジスタ、
フリップフロップにスキャン動作またはマイクロ命令に
よりセットしてアドレス生成回路を動作させることによ
りメモリの内容を読出していた。
[Prior Art] Conventionally, when diagnosing an LSI, when reading an LSI memory to which an address cannot be given directly from an LSI input pin, it is necessary to associate a value that will generate a target address by an address generation circuit inside the LSI. register,
The contents of the memory were read by setting the flip-flop by a scan operation or a microinstruction to operate the address generation circuit.

[発明が解決しようとする課U] 上述した従来の方法では、メモリのアドレスを変えるた
びにアドレス生成に必要なレジスタ、フリップフロップ
に値を設定し直さなければならないので、ワード数が大
きくなると全ワードを読出すのに多くの時間がかかると
いう欠点がある。
[Problem U to be solved by the invention] In the conventional method described above, each time the memory address is changed, values must be reset in the registers and flip-flops necessary for address generation. The disadvantage is that it takes a lot of time to read out a word.

本発明の目的は、診断時の内部メモリの読出しに多くの
時間を必要としないLSIを提供することである。
An object of the present invention is to provide an LSI that does not require much time to read internal memory during diagnosis.

[課題を解決するための手段] 本発明のLSIは、 値が1クロックごとに1ずつインクリメントされるカウ
ンタと、 スキャンバス入力が「1」の時に、前記カウンタの値を
保持するポインタレジスタと、内部メモリに対してのア
ドレスをスキャンモード時に前記ポインタレジスタの値
に切換える第1のセレクタと、 出力ピンへの出力をスキャンモード時に前記内部メモリ
の出力に切換える第2のセレクタとを有する。
[Means for Solving the Problems] The LSI of the present invention includes: a counter whose value is incremented by 1 every clock; a pointer register that holds the value of the counter when the scan canvas input is "1"; It has a first selector that switches the address for the internal memory to the value of the pointer register in the scan mode, and a second selector that switches the output to the output pin to the output of the internal memory in the scan mode.

[作 用] スキャンモード時に、スキャンバス入力が「1」の時に
カウンタの値を保持するポインタレジスタの値をアドレ
スとする内部メモリの内容が出力ピンに出力されるので
、内部メモリのアドレスを変えるたびに必要なレジスタ
、フリップ70ツブに値を設定し直してアドレス生成回
路を動作させるという煩しさと時間を要せずに、かつス
キャン動作と平行して内部メモリの読出しを行なうこと
ができる。
[Operation] In scan mode, when the scan canvas input is "1", the contents of the internal memory whose address is the value of the pointer register that holds the counter value are output to the output pin, so the address of the internal memory can be changed. It is possible to read out the internal memory in parallel with the scan operation without requiring the trouble and time of operating the address generation circuit by resetting values in the necessary registers and flip 70 every time.

[実施例] 次に、本発明の実施例について図面を参照して説明する
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明のLSIの一実施例のブロック図、第2
図は第1図のメモリ1の内容を示す図、第3図は第1図
のスキャンパス人カフとカウンタ2、ポインタレジスタ
3およびLSI出力9の値の関係を示す図である。
FIG. 1 is a block diagram of an embodiment of the LSI of the present invention, and FIG.
This figure shows the contents of the memory 1 in FIG. 1, and FIG. 3 shows the relationship between the scan path person cuff and the values of the counter 2, pointer register 3, and LSI output 9 in FIG.

LSIl0はメモリ1とカウンタ2とポインタレジスタ
3とフリップフロップ(以下F/Fと称する。)4とセ
レクタ5とセレクタ6を含んでいる。メモリ1には、第
2図に示すように、メモリアドレス22に内容21が記
憶されている。カウンタ2の偵は第3図に32として示
されたように、クロック信号12によフて1クロックご
とに1ずつインクリメントされ、リセット信号IIによ
ってOにリセットされる。ポインタレジスタ3は、F/
F4によって構成されるスキャンバスのためのスキャン
パス人カフが「1」の時に第3図に33として示された
ように、カウンタ2の値32を保持する。セレクタ5に
はポインタレジスタ3の値13と通常処理のためのメモ
リ1のアドレス値14が入力され、スキャンモード信号
8が「1」であるとき、すなわちスキャンモードのとき
、ポインタレジスタ3の偵13を選択してメモリ1のア
ドレスに出力する。セレクタ6にはメモリlの出力!5
と他の出力16が入力され、スキャンモード信号8か1
であるとき、メモリ1の出力15を選択してLSI1O
の出力9として出力ピンへ送出する。
The LSI10 includes a memory 1, a counter 2, a pointer register 3, a flip-flop (hereinafter referred to as F/F) 4, a selector 5, and a selector 6. In the memory 1, contents 21 are stored at a memory address 22, as shown in FIG. The counter 2 is incremented by 1 every clock by the clock signal 12, as shown at 32 in FIG. 3, and is reset to 0 by the reset signal II. Pointer register 3 is F/
When the scan path person cuff for the scan path configured by F4 is "1", it holds the value 32 of counter 2, as shown as 33 in FIG. The value 13 of the pointer register 3 and the address value 14 of the memory 1 for normal processing are input to the selector 5, and when the scan mode signal 8 is "1", that is, in the scan mode, the value 13 of the pointer register 3 is input. is selected and output to the memory 1 address. Selector 6 is the output of memory l! 5
and other outputs 16 are input, and the scan mode signal 8 or 1 is input.
When , output 15 of memory 1 is selected and LSI 1O
It is sent to the output pin as output 9 of .

次に、本実施例の動作を説明する。Next, the operation of this embodiment will be explained.

まず、スキャンモード信号8を「1」とすることでLS
Il0はスキャンモードとされ、セレクタ5の出力はポ
インタセレクタ3の値■3に、セレクタ6の出力はメモ
リ1の出力15に切換えられる。
First, by setting the scan mode signal 8 to "1", the LS
I10 is set to the scan mode, the output of the selector 5 is switched to the value 3 of the pointer selector 3, and the output of the selector 6 is switched to the output 15 of the memory 1.

次に、カウンタ2をリセット信号11によりリセットす
る。次に、クロック信号12の入力を開始し、スキャン
パス人カフとして第3図の31として示された値が与え
られると、入力されたスキャンバス7の値31が「1」
の時にカウンタ2のイー32がポインタレジスタ3に3
3に示すようにセットされ、この値がメモリlのアドレ
スとなり、メモリ1の内容がLSIl0の出力9として
出力ピンに送出され第3図の34のような内容が読出さ
れる。
Next, the counter 2 is reset by the reset signal 11. Next, input of the clock signal 12 is started, and when the value shown as 31 in FIG. 3 is given as the scan path person cuff, the value 31 of the input scan path 7 becomes "1".
When , E32 of counter 2 becomes 3 in pointer register 3.
3, this value becomes the address of memory 1, and the contents of memory 1 are sent to the output pin as output 9 of LSI 10, and the contents like 34 in FIG. 3 are read out.

[発明の効果] 以上説明したように本発明は、スキャンモード時にスキ
ャンバス入力が「1」の時にカウンタの値を保持するポ
インタレジスタの値をアドレスとする内部メモリの内容
を出力ピンに出力させることにより、LSI診断時に内
部メモリのアドレスを変えるたびに必要なレジスタ、フ
リップフロップに債を設定し直してアドレス生成回路を
動作させるという煩しさと多くの時間を必要とせずに、
内部メモリの読出しができ、かつ、スキャン動作と平行
して行なうことができるので、内部メモリのワード数か
スキャンバスを構成するフリップフロップ数より少ない
場合、内部メモリの内容読出しに要する時間を実質的に
0とすることができるという効果かある。
[Effects of the Invention] As explained above, in the present invention, when the scan canvas input is "1" in the scan mode, the contents of the internal memory whose address is the value of the pointer register that holds the value of the counter are output to the output pin. This eliminates the hassle and time consuming task of resetting the registers and flip-flops to operate the address generation circuit each time the internal memory address is changed during LSI diagnosis.
Since the internal memory can be read and can be performed in parallel with the scan operation, if the number of words in the internal memory is smaller than the number of flip-flops that make up the scan canvas, the time required to read the contents of the internal memory is effectively reduced. This has the effect that it can be set to 0.

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

第1図は本発明のLSIの一実施例のブロック図、第2
図は第1図のメモリ1の内容を示す図、第3図は第1図
のスキャンパス人カフとカウンタ2、ポインタレジスタ
3およびLSI出力9の値の関係を示す図である。 1・・・メモリ、 2−・・カウンタ、 3−・ポインタレジスタ、 4−F / F、 5.6−・・セレクタ、 7−・スキャンバス入力、 8・・・スキャンモード信号、 9−L S Iの出力、 IO・・・LSI。 11−・・リセット信号、 12−・・クロック信号、 13−・・ポインタレジスタ3の値、 14−・・アドレス値、 15・・−メモリ1の出力、 16−・他の出力、 21−メモリ1の内容、 22−・・アドレス、 31・・・スキャンパス人カフの値、 32・・・カウンタ2の値、 33・・・ポインタレジスタ3の値、 34・−LSI出力9の値。 特許出願人  日本電気株式会社
FIG. 1 is a block diagram of an embodiment of the LSI of the present invention, and FIG.
This figure shows the contents of the memory 1 in FIG. 1, and FIG. 3 shows the relationship between the scan path person cuff and the values of the counter 2, pointer register 3, and LSI output 9 in FIG. 1--Memory, 2--Counter, 3--Pointer register, 4-F/F, 5.6--Selector, 7--Scanvas input, 8--Scan mode signal, 9-L Output of SI, IO...LSI. 11--Reset signal, 12--Clock signal, 13--Value of pointer register 3, 14--Address value, 15--Output of memory 1, 16--Other outputs, 21-Memory Contents of 1, 22--address, 31--value of scan path person cuff, 32--value of counter 2, 33--value of pointer register 3, 34--value of LSI output 9. Patent applicant: NEC Corporation

Claims (1)

【特許請求の範囲】 1、大規模集積回路において、 値が1クロックごとに1ずつインクリメントされるカウ
ンタと、 スキャンパス入力が「1」の時に、前記カウンタの値を
保持するポインタレジスタと、 内部メモリに対してのアドレスをスキャンモード時に前
記ポインタレジスタの値に切換える第1のセレクタと、 出力ピンへの出力をスキャンモード時に前記内部メモリ
の出力に切換える第2のセレクタとを有することを特徴
とする大規模集積回路。
[Claims] 1. In a large-scale integrated circuit, a counter whose value is incremented by 1 every clock; a pointer register that holds the value of the counter when a scan path input is "1"; A first selector that switches the address for the memory to the value of the pointer register in the scan mode, and a second selector that switches the output to the output pin to the output of the internal memory in the scan mode. large-scale integrated circuits.
JP2327766A 1990-11-27 1990-11-27 Large-scale integrated circuit Pending JPH04194681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2327766A JPH04194681A (en) 1990-11-27 1990-11-27 Large-scale integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2327766A JPH04194681A (en) 1990-11-27 1990-11-27 Large-scale integrated circuit

Publications (1)

Publication Number Publication Date
JPH04194681A true JPH04194681A (en) 1992-07-14

Family

ID=18202751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2327766A Pending JPH04194681A (en) 1990-11-27 1990-11-27 Large-scale integrated circuit

Country Status (1)

Country Link
JP (1) JPH04194681A (en)

Similar Documents

Publication Publication Date Title
JP2770617B2 (en) Test circuit
US5500810A (en) Filter device with memory test circuit
JPH04194681A (en) Large-scale integrated circuit
JPS6373451A (en) Logical device
JP2526293B2 (en) Scan circuit access device
JPH01263739A (en) Information processor
JPH01116839A (en) Digital signal processing device
JPH06118133A (en) Testing of lsi
JP2716284B2 (en) Semiconductor integrated circuit
JPH04171558A (en) Storage device
JPH0289300A (en) Semiconductor memory element
JPH02296293A (en) Screen display device
JPH0358143A (en) Scan in/out logic circuit for lsi
JPH0236423A (en) Saving/restoring register address generation circuit
JPS62165162A (en) Test circuit for logic circuit
JPH04204273A (en) Lsi mounting board and data processor
JPH0430228A (en) Information processor
JPH05249185A (en) Test circuit for semiconductor integrated circuit device
JPH05210995A (en) Device and method of shifting data
JPH02308346A (en) Information processor
JPH04172266A (en) Scan-in/out method
JPH03255376A (en) Test circuit of semiconductor apparatus
JPH0677232B2 (en) Micro program controller
JPS63193238A (en) Address scanning system
JPH05181696A (en) Microcomputer system