JPH05157815A - Address generator - Google Patents

Address generator

Info

Publication number
JPH05157815A
JPH05157815A JP3348861A JP34886191A JPH05157815A JP H05157815 A JPH05157815 A JP H05157815A JP 3348861 A JP3348861 A JP 3348861A JP 34886191 A JP34886191 A JP 34886191A JP H05157815 A JPH05157815 A JP H05157815A
Authority
JP
Japan
Prior art keywords
output
input
register
address
signal
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
JP3348861A
Other languages
Japanese (ja)
Inventor
Tsutomu Akiyama
勉 秋山
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.)
Ando Electric Co Ltd
Original Assignee
Ando 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 Ando Electric Co Ltd filed Critical Ando Electric Co Ltd
Priority to JP3348861A priority Critical patent/JPH05157815A/en
Publication of JPH05157815A publication Critical patent/JPH05157815A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To generate an algorithmic address serially and on the real time basis by providing an address generating circuit, a shift register, and a selector, and simply realizing control of the load and the shift of the shift register. CONSTITUTION:An address generating circuit 2 consists of a register 2A, a computing element 2B to receive the output of the register 2A as the first input, a register 2C to receive the output of the computing element 2B as an input, and to make the output as the second input of the computing element 2B, and an address control circuit 2D to output the control signal 21, the load signal 22 and the shift signal 23. A shift register 3 receives the output of the register 2C, and makes an output by the load signal 22 and the shift signal 23. The gate 4 receives the load signal 22 and the shift signal 23, and executes OR. A selector 5 makes the output of the shift register 3 as the first input, receives the lowest bit among the outputs of the register 2C, and selects the output by the input of the gate 4.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、スキャンパス構造の
メモリを測定する場合に、アルゴリズミックパターンア
ドレスをシリアルに発生するアドレス発生器についての
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an address generator that serially generates an algorithmic pattern address when measuring a memory having a scan path structure.

【0002】[0002]

【従来の技術】次に、従来技術によるランダムパターン
発生器とアドレス発生器の構成を図4により説明する。
図4の1はCPU、6はランダムパターン発生器、7は
アドレス発生器、10はバスである。ランダムパターン
発生器6はパターン制御回路6Aとパターンメモリ6B
で構成される。CPU1は集積回路試験用のシーケンス
プログラムが書き込まれており、集積回路試験実行時
に、ランダムパターン発生器6はCPU1の指示により
パターン制御回路6Aからランダムパターンデータをパ
ターンメモリ6Bに書き込む。アドレス発生器7はメモ
リ試験時にメモリアドレスを発生し、ランダムロジック
ICを試験するときは、ランダムパターン発生器6から
ランダムパターンを発生する。
2. Description of the Related Art The structure of a random pattern generator and an address generator according to the prior art will be described with reference to FIG.
In FIG. 4, 1 is a CPU, 6 is a random pattern generator, 7 is an address generator, and 10 is a bus. The random pattern generator 6 includes a pattern control circuit 6A and a pattern memory 6B.
Composed of. A sequence program for an integrated circuit test is written in the CPU 1, and the random pattern generator 6 writes random pattern data from the pattern control circuit 6A to the pattern memory 6B according to an instruction from the CPU 1 when the integrated circuit test is executed. The address generator 7 generates a memory address during a memory test, and the random pattern generator 6 generates a random pattern when testing a random logic IC.

【0003】[0003]

【発明が解決しようとする課題】図4のランダムパター
ン発生器6では、アルゴリズミックなアドレスをシリア
ルに発生するとき、あらかじめパターンを作成してお
き、そのパターンをランダムパターン発生器6に格納す
る。しかし、図6の構成ではテストパターンが長くなる
ので、大容量のパターンメモリが必要である。この発明
は、図4のパターンメモリ6Bがなくても、アルゴリズ
ミックなアドレスをシリアルにリアルタイムで発生する
ランダムパターン発生回路の提供を目的とする。
In the random pattern generator 6 shown in FIG. 4, when an algorithmic address is serially generated, a pattern is created in advance and the pattern is stored in the random pattern generator 6. However, since the test pattern becomes long in the configuration of FIG. 6, a large capacity pattern memory is required. An object of the present invention is to provide a random pattern generation circuit that serially generates an algorithmic address in real time without the pattern memory 6B of FIG.

【0004】[0004]

【課題を解決するための手段】この目的を達成するた
め、この発明では、バス10に接続されるCPU1と、
バス10に接続されるレジスタ2Aと、レジスタ2Aの
出力を第1の入力とする演算器2Bと、演算器2Bの出
力を入力とし、出力を演算器2Bの第2の入力とするレ
ジスタ2Cと、バス10に接続され、制御信号21とロ
ード信号22とシフト信号23を出力するアドレス制御
回路2Dとで構成されるアドレス発生回路2と、レジス
タ2Cの出力を入力とし、ロード信号22とシフト信号
23により出力するシフトレジスタ3と、ロード信号2
2とシフト信号23を入力とし、ORするゲート4と、
シフトレジスタ3の出力を第1の入力とし、レジスタ2
Cの出力のうち最下位ビットを第2の入力とし、ゲート
4の入力により出力を選択する選択器5とを備える。
To achieve this object, in the present invention, a CPU 1 connected to a bus 10,
A register 2A connected to the bus 10, an arithmetic unit 2B having the output of the register 2A as a first input, and a register 2C having an output of the arithmetic unit 2B as an input and an output as a second input of the arithmetic unit 2B. , An address generation circuit 2 connected to the bus 10 and comprising an address control circuit 2D for outputting a control signal 21, a load signal 22 and a shift signal 23, and the output of a register 2C as input, and the load signal 22 and the shift signal Shift register 3 for outputting by 23 and load signal 2
2 and the shift signal 23 as inputs, and a gate 4 that performs OR,
The output of the shift register 3 is used as the first input, and the register 2
The least significant bit of the output of C is used as the second input, and the selector 5 that selects the output by the input of the gate 4 is provided.

【0005】[0005]

【作用】次に、この発明によるアドレス発生器の構成図
を図1により説明する。図1の2はアドレス発生回路、
3はシフトレジスタ、4はORゲート、5は選択器であ
り、CPU1とバス10は図4と同じものである。アド
レス発生回路2は、レジスタ2A、演算器2B、レジス
タ2C及びアドレス制御回路2Dから構成され、アドレ
ス制御回路2Dは制御信号21、ロード信号22及びシ
フト信号23を発生する。
The block diagram of the address generator according to the present invention will be described with reference to FIG. 2 in FIG. 1 is an address generation circuit,
3 is a shift register, 4 is an OR gate, 5 is a selector, and the CPU 1 and the bus 10 are the same as those in FIG. The address generation circuit 2 is composed of a register 2A, a computing unit 2B, a register 2C and an address control circuit 2D, and the address control circuit 2D generates a control signal 21, a load signal 22 and a shift signal 23.

【0006】レジスタ2Aは演算器2Bで加減算するデ
ータをセットし、演算器2Bの第1の入力に加減算デー
タとして出力する。演算器2Bはレジスタ2Cのアドレ
ス出力信号24Aを第2の入力とし、アドレス制御回路
2Dの制御信号21で加減算し、レジスタ2Cに出力す
る。
The register 2A sets the data to be added / subtracted by the arithmetic unit 2B, and outputs it as the addition / subtraction data to the first input of the arithmetic unit 2B. The arithmetic unit 2B receives the address output signal 24A of the register 2C as a second input, adds and subtracts with the control signal 21 of the address control circuit 2D, and outputs it to the register 2C.

【0007】レジスタ2Cのアドレス出力信号24はシ
フトレジスタ3の入力になり、また選択器4の第2の入
力としてアドレス信号24Aを入力する。アドレス信号
24Aは、レジスタ2Cのアドレス出力信号24の最下
位ビットであり、アドレスの0ビット目(以下、A0と
いう。)である。A0以外のビットはアドレス信号24
Bであり、これはアドレスの1ビット目(以下、A1と
いう。)以上のビットであり、アドレス出力として出力
する。
The address output signal 24 of the register 2C serves as an input of the shift register 3 and also receives the address signal 24A as a second input of the selector 4. The address signal 24A is the least significant bit of the address output signal 24 of the register 2C, and is the 0th bit of the address (hereinafter referred to as A0). Address signals 24 for bits other than A0
B, which is the first bit of the address (hereinafter referred to as A1) or more, and is output as the address output.

【0008】シフトレジスタ3は、アドレス制御回路2
Dのロード信号22でアドレス出力信号24をロードし
て入力データを取り込み、選択器5の第1の入力にA0
を出力する。また、アドレス制御回路2Dのシフト信号
23で取り込まれたデータ、すなわちアドレス信号24
をシフトし、シフトレジスタ3は選択器5の第1の入力
にA1を出力する。選択器5は、ゲート4の出力により
第1の入力と第2の入力のどちらかを選択する。
The shift register 3 includes an address control circuit 2
The address output signal 24 is loaded by the load signal 22 of D to fetch the input data, and A0 is input to the first input of the selector 5.
Is output. Further, the data taken in by the shift signal 23 of the address control circuit 2D, that is, the address signal 24
And the shift register 3 outputs A1 to the first input of the selector 5. The selector 5 selects either the first input or the second input according to the output of the gate 4.

【0009】ゲート4の出力が「0」のときは、第2の
入力を選択し出力する。通常のメモリICの測定時はこ
の動作により、アルゴリズミックなアドレスをパラレル
に発生する。ゲート4の出力が「1」のとき、即ちシフ
トレジスタ3がロード又はシフト動作のときは、選択器
5は第1の入力を選択する。スキャン構造になっている
メモリICの測定時は、この動作により、アルゴリズミ
ックなアドレスをシリアルに発生する。
When the output of the gate 4 is "0", the second input is selected and output. This operation generates an algorithmic address in parallel when measuring a normal memory IC. When the output of the gate 4 is "1", that is, when the shift register 3 is in the load or shift operation, the selector 5 selects the first input. When measuring a memory IC having a scan structure, this operation serially generates an algorithmic address.

【0010】次に、アルゴリズミックなアドレス4ビッ
トの場合のシリアル発生の動作を示すタイミングチャー
トを図2により説明する。アドレス信号24は、A0〜
A3の4ビットで、A0が最下位ビットである。ロード
信号22でアドレス信号24はシフトレジスタ3にロー
ドし、選択器5からA0を出力する。シフト信号23
で、シフトレジスタ3はシフト動作をし、選択器5から
A1を出力する。また、シフト信号23が加わると、シ
フトレジスタ3はシフト動作し、選択器5からA2が出
力され、次のシフト信号23で選択器5からA3を出力
する。このように、ロード信号22、シフト信号23の
繰り返しで選択器5からA0〜A3がシリアルに発生す
る。
Next, a timing chart showing the operation of serial generation in the case of an algorithmic address of 4 bits will be described with reference to FIG. The address signal 24 is A0
Among the 4 bits of A3, A0 is the least significant bit. The address signal 24 is loaded into the shift register 3 by the load signal 22, and the selector 5 outputs A0. Shift signal 23
Then, the shift register 3 performs a shift operation, and the selector 5 outputs A1. When the shift signal 23 is added, the shift register 3 performs the shift operation, the selector 5 outputs A2, and the selector 5 outputs A3 with the next shift signal 23. In this way, by repeating the load signal 22 and the shift signal 23, the selector 5 serially generates A0 to A3.

【0011】[0011]

【実施例】次に、図1の実施例の回路を図3により説明
する。CPU1にはシーケンスプログラムが書き込まれ
ており、バス10によってアドレス発生回路2に接続さ
れる。図1のレジスタ2A・2CにはFF2A・2Cが
使用されている。FF2Aは、加減算するデータがセッ
トされる。FF2Aの出力は、演算器2Bの第1の入力
に接続され、FF2Cの出力は、アドレス出力として
「A0」を除く「A1〜9」を外部に出力するととも
に、シフトレジスタ3のデータ入力に接続され、また、
演算器2Bの第2の入力に接続される。また、このアド
レス出力のうち、最下位ビット「A0」は選択器5の第
2の入力に接続される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the circuit of the embodiment of FIG. 1 will be described with reference to FIG. A sequence program is written in the CPU 1 and is connected to the address generation circuit 2 by the bus 10. FFs 2A and 2C are used for the registers 2A and 2C in FIG. Data to be added / subtracted is set in FF2A. The output of the FF2A is connected to the first input of the arithmetic unit 2B, and the output of the FF2C outputs "A1-9" excluding "A0" as an address output to the outside and also connects to the data input of the shift register 3. And again
It is connected to the second input of the arithmetic unit 2B. The least significant bit “A0” of the address output is connected to the second input of the selector 5.

【0012】アドレス制御回路2Dの制御信号21は演
算器2Bに接続され、演算器2Bは加減算を実行する。
演算器2Bの出力は、FF2Cのデータ入力に接続さ
れ、アドレス制御回路2Dの信号25によってFF2C
にセットされる。アドレス制御回路2Dの信号26は、
シフトレジスタ3のクロック入力に接続され、シフトレ
ジスタ3をロードまたはシフト動作させる。アドレス制
御回路2Dのロード信号22及びシフト信号23は、シ
フトレジスタ3のモード入力に接続され、ロード信号2
2が「1」のとき、シフトレジスタ3はロードモードと
なり、シフト信号23が「1」のとき、シフトモードと
なる。
The control signal 21 of the address control circuit 2D is connected to the arithmetic unit 2B, and the arithmetic unit 2B executes addition / subtraction.
The output of the computing unit 2B is connected to the data input of the FF2C, and the signal 25 of the address control circuit 2D causes the FF2C to operate.
Is set to. The signal 26 of the address control circuit 2D is
It is connected to the clock input of the shift register 3 to load or shift the shift register 3. The load signal 22 and the shift signal 23 of the address control circuit 2D are connected to the mode input of the shift register 3 and the load signal 2
When 2 is "1", the shift register 3 is in the load mode, and when the shift signal 23 is "1", it is in the shift mode.

【0013】シフトレジスタ3の出力は、選択器5の第
1の入力に接続され、選択器5はアドレス制御回路2D
のロード信号22またはシフト信号23のどちらかが
「1」のとき、第1の入力に入力したアドレスを選択
し、このときにアルゴリズミックなアドレスをシリアル
に発生する。また、ロード信号22とシフト信号23の
どちらも「0」のときは、選択器5は第2の入力に入力
したアドレスを選択し、FF2Cの出力のうち最下位ビ
ット「A0」を出力する。このときは、FF2Cの出力
のうち「A0」以外のビットである「A1〜A9」と、
選択器5の出力「A0」により、アルゴリズミックなア
ドレスをパラレルに発生する。
The output of the shift register 3 is connected to the first input of the selector 5, which selects the address control circuit 2D.
When either the load signal 22 or the shift signal 23 of "1" is "1", the address input to the first input is selected, and the algorithmic address is serially generated at this time. When both the load signal 22 and the shift signal 23 are "0", the selector 5 selects the address input to the second input and outputs the least significant bit "A0" of the output of the FF2C. At this time, "A1 to A9", which are bits other than "A0" in the output of the FF2C,
The output "A0" of the selector 5 generates an algorithmic address in parallel.

【0014】[0014]

【発明の効果】この発明によれば、アドレス発生回路、
シフトレジスタ、選択器を設けているので、従来技術の
ようにあらかじめアルゴリズミックなパターンアドレス
を発生するようなデータをパターンメモリに書き込んで
おき、このパターンメモリを読み出してアドレスを発生
していたのに比べ、シフトレジスタのロードとシフトを
制御するだけで、アルゴリズミックなアドレスをシリア
ルにリアルタイムで発生することができる。これによ
り、大容量のパターンメモリが不用となり、回路規模を
小さくすることができる。
According to the present invention, the address generating circuit,
Since a shift register and a selector are provided, data that generates an algorithmic pattern address is previously written in the pattern memory as in the prior art, and this pattern memory is read to generate the address. In comparison, an algorithmic address can be serially generated in real time simply by controlling the load and shift of the shift register. As a result, a large-capacity pattern memory becomes unnecessary and the circuit scale can be reduced.

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

【図1】この発明によるアドレス発生器の構成図であ
る。
FIG. 1 is a block diagram of an address generator according to the present invention.

【図2】アドレス出力が4ビットの場合の動作を示すタ
イミングチャートである。
FIG. 2 is a timing chart showing an operation when an address output is 4 bits.

【図3】この発明による実施例の回路図である。FIG. 3 is a circuit diagram of an embodiment according to the present invention.

【図4】従来技術によるランダムパターン発生器とアド
レス発生器の構成図である。
FIG. 4 is a configuration diagram of a random pattern generator and an address generator according to a conventional technique.

【符号の説明】[Explanation of symbols]

1 CPU 2 アドレス発生回路 2A レジスタ 2B 演算器 2C レジスタ 2D アドレス制御回路 3 シフトレジスタ 4 ゲート 5 選択器 10 バス 21 制御信号 22 ロード信号 23 シフト信号 1 CPU 2 address generation circuit 2A register 2B arithmetic unit 2C register 2D address control circuit 3 shift register 4 gate 5 selector 10 bus 21 control signal 22 load signal 23 shift signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 バス(10)に接続されるCPU(1) と、 バス(10)に接続される第1のレジスタ(2A)と、第1のレ
ジスタ(2A)の出力を第1の入力とする演算器(2B)と、演
算器(2B)の出力を入力とし、出力を演算器(2B)の第2の
入力とする第2のレジスタ(2C)と、バス(10)に接続さ
れ、制御信号(21)とロード信号(22)とシフト信号(23)を
出力するアドレス制御回路(2D)とで構成されるアドレス
発生回路(2) と、 第2のレジスタ(2C)の出力を入力とし、ロード信号(22)
とシフト信号(23)により出力するシフトレジスタ(3)
と、 ロード信号(22)とシフト信号(23)を入力とし、ORする
ゲート(4) と、 シフトレジスタ(3) の出力を第1の入力とし、第2のレ
ジスタ(2C)の出力のうち最下位ビットを第2の入力と
し、ゲート(4) の入力により出力を選択する選択器(5)
とを備えることを特徴とするアドレス発生器。
1. A CPU (1) connected to a bus (10), a first register (2A) connected to the bus (10), and an output of the first register (2A) as a first input. Is connected to the bus (10) and the second register (2C) whose input is the output of the arithmetic unit (2B) and whose output is the second input of the arithmetic unit (2B). , An address generation circuit (2) consisting of a control signal (21), a load signal (22) and an address control circuit (2D) that outputs a shift signal (23) and an output of a second register (2C). Input and load signal (22)
And a shift register (3) that outputs the shift signal (23)
, And the load signal (22) and shift signal (23) as input, OR gate (4) and shift register (3) output as first input, and output of second register (2C) Selector (5) that uses the least significant bit as the second input and selects the output by the input of the gate (4)
An address generator comprising:
JP3348861A 1991-12-05 1991-12-05 Address generator Pending JPH05157815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3348861A JPH05157815A (en) 1991-12-05 1991-12-05 Address generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3348861A JPH05157815A (en) 1991-12-05 1991-12-05 Address generator

Publications (1)

Publication Number Publication Date
JPH05157815A true JPH05157815A (en) 1993-06-25

Family

ID=18399884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3348861A Pending JPH05157815A (en) 1991-12-05 1991-12-05 Address generator

Country Status (1)

Country Link
JP (1) JPH05157815A (en)

Similar Documents

Publication Publication Date Title
US4887267A (en) Logic integrated circuit capable of simplifying a test
JP2002323995A (en) Trace circuit
US4759021A (en) Test pattern generator
JPH0627199A (en) Integrated circuit chip also conducting built-in self test for detecting logical error
JP2002202916A (en) Data processing device
JP3803150B2 (en) Image processing device
JPH05157815A (en) Address generator
JPH0394350A (en) Semiconductor storage device
JPH0643216A (en) Address generator
JPH10214206A (en) Information processor
JP2532718B2 (en) Semiconductor integrated circuit device
JP3284949B2 (en) Apparatus and method for storing bus trace in storage device and recording medium
JP2877505B2 (en) LSI mounting board and data processing device
JPS62259145A (en) Generating device for algorithmic pattern
JPH05266685A (en) Storage device
JPH0862301A (en) High speed pattern generator
JP3366235B2 (en) Data read control device
JPH06118133A (en) Testing of lsi
JP3255429B2 (en) Memory interface circuit
JP2716284B2 (en) Semiconductor integrated circuit
JPH0738547A (en) Scramble circuit for parallel signal
JPH0467661B2 (en)
JPH04149655A (en) Memory card test system
JPH04171558A (en) Storage device
JPH0776784B2 (en) Test pattern generator