JPH01112177A - Test circuit - Google Patents

Test circuit

Info

Publication number
JPH01112177A
JPH01112177A JP62269666A JP26966687A JPH01112177A JP H01112177 A JPH01112177 A JP H01112177A JP 62269666 A JP62269666 A JP 62269666A JP 26966687 A JP26966687 A JP 26966687A JP H01112177 A JPH01112177 A JP H01112177A
Authority
JP
Japan
Prior art keywords
decoder
registers
register
shift
output
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
JP62269666A
Other languages
Japanese (ja)
Inventor
Shigeru Watari
渡里 滋
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62269666A priority Critical patent/JPH01112177A/en
Publication of JPH01112177A publication Critical patent/JPH01112177A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve controllability and observableness by inputting and outputting data in series and accessing registers in a digital circuit optionally. CONSTITUTION:Addresses of respective shift registers in a shift register group 1 are stored in a 3-bit shift register 2 from an input terminal in synchronism with a shift clock 3. A 3-bit decoder 4 enters an enables state through an enable terminal 5 has seven kinds of decoded values. When the decoder is disabled, the output of the decoder 4 controls the opening/closing states of seven switches 6 to close only switches corresponding to specified addresses, and data are inputted to the registers of the desired addresses from the input terminal in series in synchronism with the shift clock 7. An AND gate 8 supplies the shift clock to the respective registers in the form of the product of the output of the decoder 4 and shift clock 7.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はデジタル回路の検査を容易にするだめのテスト
回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a test circuit for facilitating the testing of digital circuits.

従来の技術 従来のテスト回路では、第5図に示すようにデ2 ヘ−
ノ ジタル回路内のレジスタに所望の値を設定(可制御性の
確保)するかもしくはレジスタの内容を読出す(可観測
性の確保)ために、レジスタ51〜67にシフトレジス
タの機能を付加して、しかもデジタル回路内の全てのレ
ジスタを直列に接続することで、全レジスタへのデータ
の書き込みと読出しを行ない、デジタル回路のテヌタビ
リティの向上を図っていた。
2. Description of the Related Art In a conventional test circuit, as shown in FIG.
In order to set a desired value in a register in a digital circuit (ensure controllability) or read the contents of a register (ensure observability), a shift register function is added to registers 51 to 67. Moreover, by connecting all the registers in the digital circuit in series, data can be written to and read from all the registers, thereby improving the tenutability of the digital circuit.

発明が解決しようとする問題点 このような従来のテスト回路では、レジスタ61〜67
を直列に接続して書き込みもしくは読出しデータのシフ
トを行なうため、レジスタ51〜57のビット数および
個数が増えるとデータのシフトにかなりの時間を要する
ため、テヌト時間が長くなっていた。また、@記しジス
タ51〜67の連鎖に一カ所でも不良が存在すると、そ
れ以後のレジスタにはデータを書き込めない、もしくは
それ以前のレジスタの内容が読出せないといった欠点を
有していた。
Problems to be Solved by the Invention In such a conventional test circuit, registers 61 to 67
Since the write or read data is shifted by connecting the registers in series, as the number of bits and the number of registers 51 to 57 increase, it takes a considerable amount of time to shift the data, resulting in a long tenuto time. Furthermore, if there is a defect in even one place in the chain of @ registers 51 to 67, there is a drawback that data cannot be written to subsequent registers or the contents of previous registers cannot be read.

本発明は、前記レジスタ61〜57を任意に選3 ヘ−
ノ 択しデータの書き込み及び読出しが可能なテスト回路を
提供することを目的としている。
In the present invention, the registers 61 to 57 are arbitrarily selected.
It is an object of the present invention to provide a test circuit capable of writing and reading selective data.

問題点を解決するだめの手段 上記問題点を解決する本発明の技術的な手段は、レジス
タのアドレスを直列に入力するシフトレジスタと、前記
アドレスをデコードするデコーダーと、デコーダーの出
力をディヌエーブル時には全てO++に設定するイネ−
グル回路と、レジスタの入力(出力)を単一の外部入力
(出力)端子に接続しその開閉が前記デコーダー〇出力
によって制御されるスイッチとからなるものである。
Means for Solving the Problems The technical means of the present invention for solving the above problems consists of a shift register into which register addresses are input in series, a decoder which decodes the addresses, and an output from the decoder which is deactivated when disabled. Set everything to O++
It consists of a glue circuit and a switch which connects the input (output) of the register to a single external input (output) terminal and whose opening/closing is controlled by the output of the decoder 〇.

作  用 本発明は上記した構成によシ、書き込みもしくは読出し
のためにアクセスしたいレジスタのアドレスを直列に入
力し、デコーダーをイネーブル状態にして前記アドレス
をデコードし、そのデコーダー出力でもって所望のレジ
スタと単一の入力もしくは出力端子とを結んでいるスイ
ッチを閉じることで、単一の入力(出力)端子からレジ
スタのデータを直列に書き込み(読出し)が可能である
According to the above-described structure, the present invention serially inputs the address of the register to be accessed for writing or reading, enables the decoder to decode the address, and uses the output of the decoder to access the desired register. By closing a switch connecting a single input or output terminal, it is possible to serially write (read) data in a register from a single input (output) terminal.

実施例 第1図は本発明のテスト回路の第1の実施例を示すブロ
ック図である。第1図において、1はシフトレジスタの
機能を有するレジスタ群、各レジスタのアドレスは入力
端子からシフトクロック(5HCKA )3に同期して
3ビツトのシフトレジスタ(アドレスレジスタ)2に格
納される。3ビツトデコーダー4は、イネーブル端子5
によってイネーブル状態になり(001)〜(111)
までの7種類のデコード値を持つ。ディヌエープル時に
は、3ビツトデコーダー4の出力は(000)になる。
Embodiment FIG. 1 is a block diagram showing a first embodiment of the test circuit of the present invention. In FIG. 1, reference numeral 1 denotes a group of registers having a shift register function, and the address of each register is stored in a 3-bit shift register (address register) 2 from an input terminal in synchronization with a shift clock (5HCKA) 3. The 3-bit decoder 4 has an enable terminal 5.
becomes enabled by (001) to (111)
It has seven types of decode values. At the time of denuple, the output of the 3-bit decoder 4 becomes (000).

前記3ビツトデコーダー4の出力は、7個のスイッチ6
の開閉を制御し、指定されたアドレスに相当するスイッ
チのみ閉じられ入力端子からシフトクロック(5HCK
B )7に同期して所望のアドレスのレジスタにデータ
を直列に入力する事ができる。各レジスタへはANDゲ
ート8によって、3ビツトデコーダー4の出力とシフト
クロック了との積の形でシフトクロックが供給される。
The output of the 3-bit decoder 4 is sent to seven switches 6.
The switch corresponding to the specified address is closed and the shift clock (5HCK) is output from the input terminal.
B) Data can be serially input to a register at a desired address in synchronization with 7. A shift clock is supplied to each register by an AND gate 8 in the form of the product of the output of the 3-bit decoder 4 and the shift clock.

第2図は本発明の第1の実施例を説明するため5 ヘー
ノ のタイミング図である。第2図において、■の期間で3
ビツトアドレスレジスタ2にアドレス(001)を設定
し、■の期間でアドレスで指定されたレジスタ(この場
合5ピツt)に値(01゜ool)を書き込む。次に期
間■でアドレス(01o)を設定し、■の期間で6ビツ
トレジスタに値(11o1oo)を書さ込む。
FIG. 2 is a timing diagram of five henos for explaining the first embodiment of the present invention. In Figure 2, 3 in the period ■
An address (001) is set in the bit address register 2, and a value (01° ool) is written in the register specified by the address (in this case, 5 bits t) during the period (3). Next, the address (01o) is set in the period ■, and the value (11o1oo) is written in the 6-bit register in the period ■.

第3図は本発明の第2の実施例であり、各レジスタのア
ドレスは入力端子(SIN)9からシフトクロック3に
同期してアドレスレジスタ2に格納される。3ビツトデ
コーダー4は格納されたアドレスをデコードし、アドレ
スに相当するスイッチ6が閉じられて、所望のレジスタ
の内容はシフトクロック7に同期して出力端子に読出さ
れる。
FIG. 3 shows a second embodiment of the present invention, in which the address of each register is stored in an address register 2 from an input terminal (SIN) 9 in synchronization with a shift clock 3. The 3-bit decoder 4 decodes the stored address, the switch 6 corresponding to the address is closed, and the contents of the desired register are read out to the output terminal in synchronization with the shift clock 7.

第4図は本発明の第2の実施例を説明するためのタイミ
ング図である。第4図において、■と■の期間でアドレ
スの設定を行ない、■と■の期間でレジスタの内容を読
出している。
FIG. 4 is a timing diagram for explaining the second embodiment of the present invention. In FIG. 4, the address is set during the periods 2 and 2, and the contents of the register are read during the periods 2 and 3.

本発明の実施例において、レジスタ群1は同一アドレス
に複数個のレジスタモジュールを有して A−7 いても同様の効果を発揮する。
In the embodiment of the present invention, the same effect can be achieved even if the register group 1 has a plurality of register modules at the same address.

発明の効果 本発明は、デジタル回路内のレジスタを任意にアクセス
可能にして可制御性と可観測性を高めたものである。デ
ータの入力(出力)が直列に行なわれるため、テストに
必要な外部端子の増加が少なく、しかも所望のレジスタ
に対するデータの入出力が少ないクロック数で可能なた
めテスト時間の短縮が図れる。また、あるアドレスのレ
ジスタに不良が存在しても、その他のアドレスのレジス
タは支障なく読み書きができる。
Effects of the Invention The present invention improves controllability and observability by making registers in a digital circuit arbitrarily accessible. Since data input (output) is performed in series, the number of external terminals required for testing is small, and data can be input and output to and from a desired register with a small number of clocks, reducing test time. Furthermore, even if a register at a certain address is defective, registers at other addresses can be read and written without any problem.

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

第1図は本発明の第1の実施例におけるテスト回路を示
すブロック図、第2図は同実施例のタイミング図、第3
図は本発明の第2の実施例のテスト回路を示すブロック
図、第4図は第2の実施例のタイミング図、第5図は従
来のテスト回路のブロック図である。 1・・・・・・レジスタ群、2・・・・・・アドレスレ
ジスタ、4・・・・・・3ビツトデコーダー、6・・・
・・・スイッチ。
FIG. 1 is a block diagram showing a test circuit in the first embodiment of the present invention, FIG. 2 is a timing diagram of the same embodiment, and FIG.
FIG. 4 is a block diagram showing a test circuit according to a second embodiment of the present invention, FIG. 4 is a timing diagram of the second embodiment, and FIG. 5 is a block diagram of a conventional test circuit. 1...Register group, 2...Address register, 4...3-bit decoder, 6...
···switch.

Claims (2)

【特許請求の範囲】[Claims] (1)シリアルにデータ入力が可能な任意ビット長のシ
フトレジスタと、前記シフトレジスタに格納されたデー
タをデコードするイネーブル機能付きデコーダーと、前
記デコーダー出力によって制御される複数個のスイッチ
と、前記スイッチ群によって単一の入力端子に接続され
るシフトレジスタ群とからなることを特徴とするテスト
回路。
(1) A shift register of arbitrary bit length that allows serial data input, a decoder with an enable function that decodes the data stored in the shift register, a plurality of switches controlled by the output of the decoder, and the switch. A test circuit comprising a group of shift registers connected by groups to a single input terminal.
(2)スイッチ群によって単一の出力端子に接続される
シフトレジスタ群を備えてなる特許請求の範囲第1項記
載のテスト回路。
(2) The test circuit according to claim 1, comprising a shift register group connected to a single output terminal by a switch group.
JP62269666A 1987-10-26 1987-10-26 Test circuit Pending JPH01112177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62269666A JPH01112177A (en) 1987-10-26 1987-10-26 Test circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62269666A JPH01112177A (en) 1987-10-26 1987-10-26 Test circuit

Publications (1)

Publication Number Publication Date
JPH01112177A true JPH01112177A (en) 1989-04-28

Family

ID=17475519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62269666A Pending JPH01112177A (en) 1987-10-26 1987-10-26 Test circuit

Country Status (1)

Country Link
JP (1) JPH01112177A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4110151A1 (en) * 1990-03-29 1991-10-02 Mitsubishi Electric Corp INTEGRATED SEMICONDUCTOR CIRCUIT DEVICE WITH SCAN PATHS THAT HAVE INDIVIDUAL CONTROLLABLE Bypasses

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4110151A1 (en) * 1990-03-29 1991-10-02 Mitsubishi Electric Corp INTEGRATED SEMICONDUCTOR CIRCUIT DEVICE WITH SCAN PATHS THAT HAVE INDIVIDUAL CONTROLLABLE Bypasses
US5150044A (en) * 1990-03-29 1992-09-22 Mitsubishi Denki Kabushiki Kaisha Semiconductor integrated circuit device comprising scan paths having individual controllable bypasses

Similar Documents

Publication Publication Date Title
US20140173322A1 (en) Packet data id generation for serially interconnected devices
JPH11191292A (en) Semiconductor memory and its burst address counter
US4586181A (en) Test pattern generating apparatus
KR20070108331A (en) A semiconductor memory
KR970011585B1 (en) Waveform shaper for semiconductor testing devices
JPH04192809A (en) Programmable integrated circuit
JP3169639B2 (en) Semiconductor storage device
JPH01112177A (en) Test circuit
JPH083514B2 (en) Counter test equipment
WO1998002886A2 (en) Memory with fast decoding
JPS5927624A (en) Integrated circuit possible for logical change
JPH0421883B2 (en)
JPH05113929A (en) Microcomputer
JP3057728B2 (en) Semiconductor storage device
KR100264194B1 (en) Semiconductor memory device
KR100211770B1 (en) Burst address register
JPS63108747A (en) Gate array integrated circuit
JPH05266652A (en) Pipeline action-type memory system
JP4151241B2 (en) Pin register circuit of semiconductor test equipment
JPH086896A (en) Data processor
JP3254781B2 (en) Semiconductor device
KR950007044Y1 (en) A circuit for high speed data processing
JPH0653819A (en) Synchronizing counter
JPS6347396B2 (en)
JPS63268188A (en) Access control circuit for dram