JP2842930B2 - Instruction readout circuit used in test processor of semiconductor integrated circuit test equipment - Google Patents

Instruction readout circuit used in test processor of semiconductor integrated circuit test equipment

Info

Publication number
JP2842930B2
JP2842930B2 JP2126282A JP12628290A JP2842930B2 JP 2842930 B2 JP2842930 B2 JP 2842930B2 JP 2126282 A JP2126282 A JP 2126282A JP 12628290 A JP12628290 A JP 12628290A JP 2842930 B2 JP2842930 B2 JP 2842930B2
Authority
JP
Japan
Prior art keywords
instruction
register
word type
read
stored
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 - Fee Related
Application number
JP2126282A
Other languages
Japanese (ja)
Other versions
JPH0421128A (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.)
ADOBANTESUTO KK
Original Assignee
ADOBANTESUTO KK
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 ADOBANTESUTO KK filed Critical ADOBANTESUTO KK
Priority to JP2126282A priority Critical patent/JP2842930B2/en
Publication of JPH0421128A publication Critical patent/JPH0421128A/en
Application granted granted Critical
Publication of JP2842930B2 publication Critical patent/JP2842930B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は例えば半導体集積回路試験装置のテストプ
ロセッサに適用され、インストラクションメモリから命
令を読み出す、つまり命令をフェッチ(捕捉)する命令
読み出し回路に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is applied to, for example, a test processor of a semiconductor integrated circuit test apparatus, and relates to an instruction reading circuit that reads an instruction from an instruction memory, that is, fetches (captures) an instruction.

「従来の技術」 第8図に従来の命令読み出し回路を示す。インストラ
クションメモリ11から読み出された命令はレジスタ12に
格納され、レジスタ12の命令は命令デコーダ13でデコー
ドされ、そのデコード内容に応じて実行部13で命令が実
行されると共に、次のアドレスが演算され、その演算さ
れたアドレスでインストラクションメモリ11が読み出さ
れ、以下同様のことが行われる。
[Prior Art] FIG. 8 shows a conventional instruction reading circuit. The instruction read from the instruction memory 11 is stored in the register 12, the instruction in the register 12 is decoded by the instruction decoder 13, and the instruction is executed by the execution unit 13 according to the decoded content, and the next address is calculated. Then, the instruction memory 11 is read out at the calculated address, and the same operation is performed thereafter.

各命令はそのワードタイプが固定されてなく、命令に
よって構成するワード数が異なっており、命令をデコー
ドしてその命令のワードタイプ(ワード数)が初めてわ
かって、次に読み出す命令のアドレスを計算できる。例
えば第9図に示すようにインストラクションメモリ11に
命令A,B,C,・・・が順次記憶され、命令Aのワードタイ
プが1(ワード数が1)、命令Bのワードタイプが2
(ワード数が2)、命令Cのワードタイプが3(ワード
数が3)の場合は、命令Bのアドレスが1番地の時、命
令Bを読み出し、これをデコードしてそのワードタイプ
が2であることを知って、命令Bのアドレス1に2を加
算して、次の命令Cを読み出すアドレス3が求まる。
Each instruction has a fixed word type, and the number of words formed by the instruction is different. Decoding the instruction and knowing the word type (number of words) of the instruction for the first time, then calculating the address of the next instruction to read it can. For example, as shown in FIG. 9, instructions A, B, C,... Are sequentially stored in the instruction memory 11, and the word type of the instruction A is 1 (the number of words is 1) and the word type of the instruction B is 2
(The number of words is 2) and the word type of the instruction C is 3 (the number of words is 3), when the address of the instruction B is address 1, the instruction B is read, decoded, and its word type is 2 Knowing that there is, an address 3 for reading the next instruction C is obtained by adding 2 to the address 1 of the instruction B.

従って第10図に示すように、1回目の命令Aを読み出
し、デコードし、実行し、その時、同時に次の命令Bの
読み出しが可能となり、つまり読み出した命令のデコー
ドを終了するまでは次の命令を読み出すことはできな
い。このため1つの命令の実行から次の実行までにデコ
ード期間が存在し、連続的に命令を実行することができ
ず、全体としての処理時間が長くなる欠点があった。ま
た命令デコーダ13でデコード動作が終了し、つまりワー
ドタイプが判明するまで、その命令デコーダ13の入力デ
ータを保持しておく必要があった。
Therefore, as shown in FIG. 10, the first instruction A is read, decoded, and executed. At that time, the next instruction B can be read at the same time. That is, until the decoding of the read instruction is completed, the next instruction A is read. Cannot be read. Therefore, there is a decoding period from the execution of one instruction to the next execution, and it is not possible to execute instructions continuously, and there is a disadvantage that the processing time as a whole becomes longer. Further, it is necessary to hold the input data of the instruction decoder 13 until the decoding operation is completed by the instruction decoder 13, that is, until the word type is determined.

「課題を解決するための手段」 この発明による半導体集積回路試験装置のテストプロ
セッサに用いられる命令読み出し回路は、インストラク
ションメモリの加算器が指定したアドレスから読み出さ
れる命令が格納される命令レジスタと、命令レジスタに
格納された命令が供給される命令デコーダと、命令レジ
スタに命令が格納された時と同時に、読み出された各命
令中のワードタイプが格納されるワードタイプレジスタ
と、そのワードタイプレジスタに格納されたワードタイ
プをデコードして命令のワード数を算出するワードタイ
プデコーダと、加算器の出力するデータを格納する加算
レジスタと、ワードタイプデコーダの出力と加算レジス
タの出力とを加算する加算器とを具備する。
[Means for Solving the Problems] An instruction reading circuit used in a test processor of a semiconductor integrated circuit test apparatus according to the present invention includes: an instruction register for storing an instruction read from an address specified by an adder of an instruction memory; The instruction decoder to which the instruction stored in the register is supplied, the word type register in which the word type in each read instruction is stored at the same time as the instruction is stored in the instruction register, and the word type register A word type decoder that decodes a stored word type to calculate the number of instructions words, an addition register that stores data output by the adder, and an adder that adds the output of the word type decoder and the output of the addition register And

「実施例」 第1図にこの発明の実施例を示す。インストラクショ
ンメモリ11はアドレス演算部15からのアドレスより読み
出され、その読み出された命令は第1,第2レジスタ16,1
7に交互に格納される。第1,第2レジスタ16,17の命令の
一方がマルチプレクサ18で選択され、その選択された命
令は命令デコーダ13へ供給される。命令デコーダ13のデ
コード結果に応じて実行部14が命令の実行を行う。イン
ストラクションメモリ11から読み出された各命令中のワ
ードタイプがワードタイプレジスタ19に格納され、その
ワードタイプレジスタ19内のワードタイプがワードタイ
プデコーダ21でデコードされ、そのデコード結果に応じ
て次に読み出すアドレスがアドレス演算部15で演算され
る。第1レジスタ16,第2レジスタ17、ワードレジスタ1
9に対する各取込み、マルチタイプレクサ18の選択制
御、アドレス演算部15の初期化などは、全体のシーケン
スを制御するシーケンサ22により行われる。
FIG. 1 shows an embodiment of the present invention. The instruction memory 11 is read from the address from the address operation unit 15, and the read instruction is stored in the first and second registers 16, 1
7 are stored alternately. One of the instructions in the first and second registers 16 and 17 is selected by the multiplexer 18, and the selected instruction is supplied to the instruction decoder 13. The execution unit 14 executes the instruction according to the decoding result of the instruction decoder 13. The word type in each instruction read from the instruction memory 11 is stored in the word type register 19, and the word type in the word type register 19 is decoded by the word type decoder 21 and read out next according to the decoding result. The address is calculated by the address calculator 15. First register 16, second register 17, word register 1
The acquisition of each of the items 9, the selection control of the multi-type lexer 18, the initialization of the address operation unit 15, and the like are performed by the sequencer 22 that controls the entire sequence.

このようにこの発明では命令のデコード及び実行と並
列に、命令のワードタイプのデコード、次のアドレスの
演算を行なっており、ワードタイプのデコード、アドレ
ス演算はワードタイプについてのみ行えばよく、高速に
処理でき、実行部14によるアドレス演算を待つ必要がな
く、次に命令を読み出すことができる。しかもその読み
出した命令を第1、第2レジスタ16,17に交互に格納す
るため、先に読み出した命令のデコードが終了する前で
も、その先に読み出した命令が格納されているレジスタ
でない方のレジスタに、新たに読み出した命令を格納す
ることができる。
As described above, in the present invention, the word type decoding of the instruction and the operation of the next address are performed in parallel with the decoding and execution of the instruction. The processing can be performed, and the instruction can be read next without having to wait for the address calculation by the execution unit 14. Moreover, since the read instruction is stored alternately in the first and second registers 16 and 17, even before the decoding of the previously read instruction is completed, the register which is not the register in which the previously read instruction is stored is stored. The newly read instruction can be stored in the register.

従って第2図に示すように、第1回目の命令を読み出
し、これを第1レジスタ16に格納し、この第1回目の命
令を手1コードすると同時に第2回目の命令のアドレス
を演算し、その演算したアドレスで第2回目の命令を読
み出して第2レジスタ17に格納する。第1回目の命令を
実行すると同時に、第2回目の命令を命令デコーダ13で
デコードし、かつ第3回目の命令のアドレス演算を行
い、その演算したアドレスで第3回目の命令を読み出し
て第1レジスタ16に格納する。以下同様に動作する。従
来では読み出した命令の実行状態(ステップ)で次の命
令を読み出したが、この発明では読み出した命令のデコ
ード状態(ステップ)で次の命令を読み出すことがで
き、それだけ処理速度が向上する。
Therefore, as shown in FIG. 2, the first instruction is read out, stored in the first register 16, and the first instruction is manually coded, and at the same time, the address of the second instruction is calculated. The second instruction is read at the calculated address and stored in the second register 17. Simultaneously with the execution of the first instruction, the second instruction is decoded by the instruction decoder 13, and the address operation of the third instruction is performed. Store in register 16. Hereinafter, the same operation is performed. Conventionally, the next instruction is read in the execution state (step) of the read instruction, but in the present invention, the next instruction can be read in the decode state (step) of the read instruction, and the processing speed is improved accordingly.

第3図に示すように、ワードタイプ3の命令A,ワード
タイプ2の命令B、ワードタイプ1の命令C、ワードタ
イプ3の命令Dがインストラクションメモリ11に順次記
憶されており、これらを順次読み出す場合を例として動
作を説明する。まず第4図に示すように、アドレス演算
部15内のレジスタ23はゼロに初期化されており、インス
トラクションメモリ11から読み出される前はワードタイ
プデコーダ21の出力はゼロであるからアドレス演算部15
内のレジスタ23とワードタイプデコーダ21の出力とを加
算する加算路24の出力はゼロであって、アドレス0がイ
ンストラクションメモリ11へ与えられ、命令Aが読み出
され、これが第1レジスタ16に格納されると共に、その
ワードタイプAw=3がワードタイプレジスタ19に格納さ
れる。次に第5図に示すようにマルチプレクサ18で第1
レジスタ16の命令Aが選択され、命令Aが命令デコーダ
13でデコードされ、同時に、ワードタイプデコーダ21で
デコードされたAw=3がレジスタ23のゼロと加算され
て、レジスタ23に格納されると共にアドレス3とインス
トラクションメモリ11が読み出され、命令Bが読み出さ
れ、第2レジスタ17に格納され、かつそのワードタイプ
Bw=2がワードタイプレジスタ19に格納される。次に第
6図に示すように命令Aが実行部14で実行させると共
に、マルチプレクサ18で第2レジスタ17の命令Bが選択
され、その命令Bが命令デコーダ13でデコードされ、ま
たワードタイプデコーダ21でワードタイプBw=2がデコ
ードされ、これとレジスタ23の3とが加算され、その加
算結果5がレジスタ23に格納されると共にアドレス5と
してインストラクションメモリ11に与えられ、命令Cが
読み出され、命令Cは第1レジスタ16に格納され、かつ
そのワードタイプCw=1がワードタイプレジスタ19に格
納される。次に第7図に示すように、実行部14で命令B
が実行され、マルチプレクサ18で第1レジスタ16の命令
Cが選択され、命令Cが命令デコーダ13でデコードさ
れ、またワードタイプデコーダ21でワードタイプCw=1
がデコードされ、これとレジスタ23の5とが加算され、
アドレス6がインストラクションメモリ11へ与えられ、
命令Dが読み出され、命令Dは第2レジスタ17に格納さ
れ、かつそのワードタイプDw=3がワードタイプレジス
タ19に格納される。
As shown in FIG. 3, a word type 3 instruction A, a word type 2 instruction B, a word type 1 instruction C, and a word type 3 instruction D are sequentially stored in the instruction memory 11 and are sequentially read out. The operation will be described using the case as an example. First, as shown in FIG. 4, the register 23 in the address operation unit 15 is initialized to zero, and before reading from the instruction memory 11, the output of the word type decoder 21 is zero.
The output of the adder 24 for adding the register 23 and the output of the word type decoder 21 is zero, the address 0 is given to the instruction memory 11, the instruction A is read, and this is stored in the first register 16. At the same time, the word type Aw = 3 is stored in the word type register 19. Next, as shown in FIG.
Instruction A in register 16 is selected, and instruction A is
At the same time, Aw = 3 decoded by the word type decoder 21 is added to zero of the register 23, and stored in the register 23, the address 3 and the instruction memory 11 are read, and the instruction B is read. Issued and stored in the second register 17 and its word type
Bw = 2 is stored in the word type register 19. Next, as shown in FIG. 6, the instruction A is executed by the execution unit 14, the instruction B of the second register 17 is selected by the multiplexer 18, the instruction B is decoded by the instruction decoder 13, and the word type decoder 21 is decoded. , The word type Bw = 2 is decoded, and the result is added to 3 of the register 23. The addition result 5 is stored in the register 23 and given to the instruction memory 11 as the address 5, and the instruction C is read out. Instruction C is stored in first register 16 and its word type Cw = 1 is stored in word type register 19. Next, as shown in FIG.
Is executed, the instruction C of the first register 16 is selected by the multiplexer 18, the instruction C is decoded by the instruction decoder 13, and the word type Cw is set to 1 by the word type decoder 21.
Is decoded, and this is added to 5 of the register 23.
Address 6 is given to instruction memory 11,
Instruction D is read, instruction D is stored in second register 17, and its word type Dw = 3 is stored in word type register 19.

尚第1レジスタ16に格納されていた命令を命令デコー
ダ13に供給した後に、その第1レジスタ16に次の命令を
格納するという構成、つまりレジスタを1個にするとい
うハードウエア構成、にすることもできるが、その場合
はソフトウエアが若干複雑になる。
The instruction stored in the first register 16 is supplied to the instruction decoder 13 and then the next instruction is stored in the first register 16, that is, the hardware configuration is such that the number of registers is one. Yes, but in that case the software is slightly more complicated.

「発明の効果」 以上述べたようにこの発明によれば、命令を読み出し
て第1、第2レジスタに交互に格納すると共にその命令
のワードタイプをワードタイプレジスタに格納し、命令
のデコードと並列にワードタイプのデコード及び次のア
ドレス演算を行うため、各ステップで命令を実行でき、
従来よりも高速度に処理することができる。
[Effects of the Invention] As described above, according to the present invention, an instruction is read out and stored alternately in the first and second registers, and the word type of the instruction is stored in the word type register. In order to perform the word type decoding and the next address operation, the instruction can be executed in each step,
Processing can be performed at a higher speed than before.

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

第1図はこの発明の実施例を示すブロック図、第2図は
第1図の回路における処理の流れを示す図、第3図はイ
ンストラクションメモリ11内の命令の例を示す図、第4
図乃至第7図は第3図に示した命令を順次読み出す場合
の各ステップにおける状態を示す図、第8図は従来の命
令読み出し回路を示すブロック図、第9図はインストラ
クションメモリの内容の例を示す図、第10図は第8図に
示した従来回路における処理の流れを示す図である。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing a flow of processing in the circuit of FIG. 1, FIG. 3 is a diagram showing an example of an instruction in the instruction memory 11, and FIG.
7 are diagrams showing states in respective steps when the instructions shown in FIG. 3 are sequentially read, FIG. 8 is a block diagram showing a conventional instruction reading circuit, and FIG. 9 is an example of the contents of an instruction memory. FIG. 10 is a diagram showing a flow of processing in the conventional circuit shown in FIG.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】インストラクションメモリの加算器が指定
したアドレスから読み出される命令が格納される命令レ
ジスタと、 上記命令レジスタに格納された命令が供給される命令デ
コーダと、 上記命令レジスタに上記命令が格納された時と同時に、
上記読み出された各命令中のワードタイプが格納される
ワードタイプレジスタと、 そのワードタイプレジスタに格納されたワードタイプを
デコードして上記命令のワード数を出力するワードタイ
プデコーダと、 上記加算器の出力するデータを格納する加算レジスタ
と、 上記ワードタイプデコーダの出力と上記加算レジスタの
出力とを加算する上記加算器と、 を具備する半導体集積回路試験装置のテストプロセッサ
に用いられる命令読み出し回路。
An instruction register for storing an instruction read from an address specified by an adder of an instruction memory; an instruction decoder for supplying an instruction stored in the instruction register; and an instruction register storing the instruction in the instruction register At the same time as
A word type register for storing a word type in each read instruction; a word type decoder for decoding the word type stored in the word type register to output the number of words of the instruction; and the adder An instruction reading circuit used in a test processor of a semiconductor integrated circuit test device, comprising: an addition register that stores data output by the adder; and an adder that adds the output of the word type decoder and the output of the addition register.
JP2126282A 1990-05-16 1990-05-16 Instruction readout circuit used in test processor of semiconductor integrated circuit test equipment Expired - Fee Related JP2842930B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2126282A JP2842930B2 (en) 1990-05-16 1990-05-16 Instruction readout circuit used in test processor of semiconductor integrated circuit test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2126282A JP2842930B2 (en) 1990-05-16 1990-05-16 Instruction readout circuit used in test processor of semiconductor integrated circuit test equipment

Publications (2)

Publication Number Publication Date
JPH0421128A JPH0421128A (en) 1992-01-24
JP2842930B2 true JP2842930B2 (en) 1999-01-06

Family

ID=14931358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2126282A Expired - Fee Related JP2842930B2 (en) 1990-05-16 1990-05-16 Instruction readout circuit used in test processor of semiconductor integrated circuit test equipment

Country Status (1)

Country Link
JP (1) JP2842930B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120781B1 (en) 2000-06-30 2006-10-10 Intel Corporation General purpose register file architecture for aligned simd

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61285542A (en) * 1985-06-12 1986-12-16 Mitsubishi Electric Corp Instruction prefetching method
JPH0772863B2 (en) * 1986-10-30 1995-08-02 日本電気株式会社 Program counter relative address calculation method

Also Published As

Publication number Publication date
JPH0421128A (en) 1992-01-24

Similar Documents

Publication Publication Date Title
JPS59174948A (en) Information processing device
JP3237858B2 (en) Arithmetic unit
JPH0668123A (en) Signal processing circuit
JPH0728643A (en) Method and apparatus for operating digital-signal processor
JP2842930B2 (en) Instruction readout circuit used in test processor of semiconductor integrated circuit test equipment
US4812970A (en) Microprogram control system
KR100188374B1 (en) Central processing unit and an arithmetic operation processing unit
JPS6265133A (en) Instruction prefetching device
JP2553200B2 (en) Information processing device
JPS6330658B2 (en)
JPH07110769A (en) Vliw type computer
JPS6054077A (en) Programmable picture processing device
JP2925842B2 (en) Pipeline processing equipment
JPH0353322A (en) Information processor
JPH0354665A (en) Vector processor
JP2851192B2 (en) Addition / subtraction processing method with carry in parallel processing unit
JP2667810B2 (en) Vector processing equipment
JPH01147723A (en) Pipe line processing system for information processor
JPH0218732B2 (en)
JPH0472253B2 (en)
JPH03164945A (en) Data processor
JPH0546389A (en) Parallel processor
JPH04177428A (en) Data processor containing operand address transfer register
JPS6028014B2 (en) microprocessor
JPS58114250A (en) Common microprocessor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees