JP2008004233A - Address pattern generating device - Google Patents

Address pattern generating device Download PDF

Info

Publication number
JP2008004233A
JP2008004233A JP2006175463A JP2006175463A JP2008004233A JP 2008004233 A JP2008004233 A JP 2008004233A JP 2006175463 A JP2006175463 A JP 2006175463A JP 2006175463 A JP2006175463 A JP 2006175463A JP 2008004233 A JP2008004233 A JP 2008004233A
Authority
JP
Japan
Prior art keywords
carry
calculation
output
flip
flop
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
JP2006175463A
Other languages
Japanese (ja)
Inventor
Norio Ishikawa
法夫 石川
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2006175463A priority Critical patent/JP2008004233A/en
Publication of JP2008004233A publication Critical patent/JP2008004233A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an address pattern generating device in which speed of an adder/subtractor using carry can be increased more. <P>SOLUTION: The address pattern generating device is constituted of pipeline switchers PSW1 to PSW4, a pipeline switching controller PSC, a X computing element XCal, a Y computing element YCal, registers X_Reg, Y_Reg, flip-flop X_Carry, Y_Carry. An input terminal of a pipeline switching command is connected to the pipeline switching controller PSC, and the pipeline switching controller PSC controls respectively the pipeline switchers PSW1 to PSW4. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、メモリデバイス及びLSI内蔵のメモリをテストするテスタ装置において、メモリのアドレスを演算によって発生させるアドレスパターン発生装置に関する。  The present invention relates to an address pattern generation device for generating a memory address by calculation in a tester device for testing a memory device and an LSI built-in memory.

従来技術については、2次元のメモリアドレスを演算によって発生させるため、Xアドレス用の演算器と、Yアドレス用の演算器とで主に構成される。演算は、現在のXアドレス、Yアドレスの値と、演算用データとの間で、演算用コマンドに従い、AND、OR等の論理演算、シフト演算、加減算等が実行される。  The prior art is mainly composed of an arithmetic unit for X address and an arithmetic unit for Y address in order to generate a two-dimensional memory address by calculation. In the operation, logical operations such as AND and OR, shift operation, addition and subtraction, and the like are executed between the current X address and Y address values and operation data in accordance with an operation command.

演算の一部では、メモリアドレスを2次元的にスキャンするために、各々の加減算で発生するキャリーを参照する演算が要求される。具体的には、Xアドレスの加減算でキャリーが発生した時のみ加減算を行うような動作及びその逆、またはXアドレスの加減算でキャリーが発生した時にはYアドレスの加減算に更に±1を行うような動作が可能な構成となっている(例えば、特許文献1、2参照)。  In some of the operations, in order to scan the memory address two-dimensionally, an operation that refers to the carry generated in each addition / subtraction is required. Specifically, an operation for performing addition / subtraction only when a carry occurs in the addition / subtraction of the X address and vice versa, or an operation for performing ± 1 further for addition / subtraction of the Y address when a carry occurs in the addition / subtraction of the X address. (For example, refer to Patent Documents 1 and 2).

図10に、従来技術におけるアドレスパターン発生装置について示す。図10のアドレスパターン発生装置は、フリップフロップFF1〜FF4と、レジスタX_Reg、Y_Regと、X演算器XCalと、Y演算器YCalとから構成されている。また、X演算器XCalは、論理演算器XLCalと、シフト演算器XSCalと、加減算器XACalと、セレクタXSelとを有する。Y演算器YCalは、論理演算器YLCalと、シフト演算器YSCalと、加減算器YACalと、セレクタYSelとを有する。  FIG. 10 shows an address pattern generator in the prior art. The address pattern generation device of FIG. 10 includes flip-flops FF1 to FF4, registers X_Reg and Y_Reg, an X computing unit XCal, and a Y computing unit YCal. Further, the X calculator XCal includes a logic calculator XLCal, a shift calculator XSCal, an adder / subtractor XACal, and a selector XSel. The Y computing unit YCal includes a logical computing unit YLCal, a shift computing unit YSCal, an adder / subtractor YACal, and a selector YSel.

X演算コマンドの入力端は、フリップフロップFF1の入力端に接続され、フリップフロップFF1の出力端は、論理演算器XLCalと、シフト演算器XSCalと、加減算器XACalと、セレクタXSelとにそれぞれ接続されている。また、X演算データの入力端は、フリップフロップFF2の入力端に接続され、フリップフロップFF2の出力端は、論理演算器XLCalと、加減算器XACalとにそれぞれ接続されている。  The input terminal of the X operation command is connected to the input terminal of the flip-flop FF1, and the output terminal of the flip-flop FF1 is connected to the logic operation unit XLCal, the shift operation unit XSCal, the adder / subtractor XACal, and the selector XSel, respectively. ing. Further, the input terminal of the X operation data is connected to the input terminal of the flip-flop FF2, and the output terminal of the flip-flop FF2 is connected to the logic operation unit XLCal and the adder / subtractor XACal.

論理演算器XLCalと、シフト演算器XSCalと、加減算器XACalとはそれぞれセレクタXSelに接続され、セレクタXSelの出力端はレジスタX_Regの入力端に接続されている。レジスタX_Regの出力端は、X演算出力の出力端子に接続されると共に、論理演算器XLCalと、シフト演算器XSCalと、加減算器XACalとの各入力端にそれぞれ接続されている。  The logical operator XLCal, the shift operator XSCal, and the adder / subtractor XACal are each connected to the selector XSel, and the output terminal of the selector XSel is connected to the input terminal of the register X_Reg. The output terminal of the register X_Reg is connected to the output terminal of the X operation output, and is connected to each input terminal of the logic operation unit XLCal, the shift operation unit XSCal, and the adder / subtractor XACal.

Y演算コマンドの入力端は、フリップフロップFF3の入力端に接続され、フリップフロップFF3の出力端は、論理演算器YLCalと、シフト演算器YSCalと、加減算器YACalと、セレクタYSelとにそれぞれ接続されている。また、Y演算データの入力端は、フリップフロップFF4の入力端に接続され、フリップフロップFF4の出力端は、論理演算器YLCalと、加減算器YACalとにそれぞれ接続されている。  The input end of the Y operation command is connected to the input end of the flip-flop FF3, and the output end of the flip-flop FF3 is connected to the logic operation unit YLCal, the shift operation unit YSCal, the adder / subtractor YACal, and the selector YSel, respectively. ing. Further, the input end of the Y operation data is connected to the input end of the flip-flop FF4, and the output end of the flip-flop FF4 is connected to the logic operation unit YLCal and the adder / subtractor YACal.

論理演算器YLCalと、シフト演算器YSCalと、加減算器YACalとはそれぞれセレクタYSelに接続され、セレクタYSelの出力端はレジスタY_Regの入力端に接続されている。レジスタY_Regの出力端は、Y演算出力の出力端子に接続されると共に、論理演算器YLCalと、シフト演算器YSCalと、加減算器YACalとの各入力端にそれぞれ接続されている。  The logical operator YLCal, the shift operator YSCal, and the adder / subtractor YACal are each connected to the selector YSel, and the output terminal of the selector YSel is connected to the input terminal of the register Y_Reg. The output terminal of the register Y_Reg is connected to the output terminal of the Y operation output, and is also connected to each input terminal of the logic operation unit YLCal, the shift operation unit YSCal, and the adder / subtractor YACal.

加減算器YACalのキャリー出力端は、加減算器XACalのキャリー入力端に接続され、加減算器XACalのキャリー出力端は、加減算器YACalのキャリー入力端に接続されている。  The carry output terminal of the adder / subtractor YACal is connected to the carry input terminal of the adder / subtractor XACal, and the carry output terminal of the adder / subtractor XACal is connected to the carry input terminal of the adder / subtractor YACal.

図10のアドレスパターン発生装置の動作については、X演算コマンドの入力端及びX演算データの入力端から入力する演算コマンド、演算データに基づき、X演算器XCalで演算を行い、X演算器XCalの加減算器XACalでキャリーが発生した場合は、Y演算器YCalの加減算器YACalにキャリーが出力され、Y演算器YCalの加減算器YACalでキャリーを参照した演算が行われる。X演算器XCalでの演算結果はセレクタXSelを介しレジスタX_Regに出力されて、X演算出力の端子に出力される。また、Y演算器YCalでの演算結果はセレクタYSelを介しレジスタY_Regに出力されて、Y演算出力の端子に出力される。
特開2002−197891号公報 特開平05−281299号公報
The operation of the address pattern generator in FIG. 10 is performed by the X calculator XCal based on the calculation command and the calculation data input from the input terminal of the X calculation command and the input terminal of the X calculation data. When a carry is generated in the adder / subtractor XACal, the carry is output to the adder / subtractor YACal of the Y calculator YCal, and an operation with reference to the carry is performed by the adder / subtractor YACal of the Y calculator YCal. The calculation result in the X calculator XCal is output to the register X_Reg via the selector XSel and is output to the X calculation output terminal. In addition, the calculation result in the Y calculator YCal is output to the register Y_Reg via the selector YSel, and is output to the Y calculation output terminal.
JP 2002-197891 A JP 05-281299 A

しかしながら、上記のキャリーを使用する加減算器は、通常はXアドレス用の加減算器のキャリー入力に、Yアドレス用の加減算器のキャリーを接続する、またはXアドレス用の演算データをYアドレス用の加減算器のキャリーでマスクする等の構成を取っている。この構成では、演算器での演算中にキャリーが発生した場合、もう片方の演算器でキャリー発生用の待ち時間が発生することから、高速動作が難しく、高速化するためには、より微細なプロセスを用いた高速なデバイス等を用いるなどした高価な実現手段をとらなければならなかった。  However, the adder / subtracter using the above carry is normally connected to the carry input of the adder / subtracter for the X address, or the carry of the adder / subtracter for the Y address, or the arithmetic data for the X address is added / subtracted for the Y address. It is configured such as masking with a carry of the vessel. In this configuration, if a carry occurs during the calculation in the arithmetic unit, the other arithmetic unit generates a waiting time for generating a carry. Therefore, high-speed operation is difficult. Expensive realization means such as using a high-speed device using a process had to be taken.

本発明はかかる課題を解決するためになされたもので、キャリーを使用する加減算器の高速化を可能にするアドレスパターン発生装置を提供することを目的とする。  The present invention has been made to solve such a problem, and an object of the present invention is to provide an address pattern generation device that can increase the speed of an adder / subtracter using a carry.

本発明は上記の課題を解決するためになされたもので、請求項1に記載の発明は、メモリアドレスの演算処理を行うアドレスパターン発生装置において、第1方向のメモリアドレスの演算コマンド、演算データが入力され、第1方向のメモリアドレスの演算を行う第1の演算手段と、第2方向のメモリアドレスの演算コマンド、演算データが入力され、第2方向のメモリアドレスの演算を行う第2の演算手段と、前記第1及び第2の演算手段間のキャリー信号の参照方向に応じて、キャリー信号を参照する方の前記演算手段の演算タイミングを、キャリー信号を発生する方の前記演算手段のキャリー信号発生タイミングに合わせるように、前記第1及び第2の演算手段への入力の遅延量を調整する第1の遅延量調整手段と、前記第1及び第2の演算手段間のキャリー信号の参照方向に応じて、前記第1及び第2の演算手段による出力のタイミングを合わせるように、前記第1及び第2の演算手段からの出力の遅延量を調整する第2の遅延量調整手段と、を具備することを特徴とするアドレスパターン発生装置である。  SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and the invention according to claim 1 is directed to an address pattern generator for performing a memory address calculation process, in a first direction memory address calculation command and calculation data. Is input, a first calculation means for calculating the memory address in the first direction, a calculation command and calculation data for the memory address in the second direction, and a second calculation for calculating the memory address in the second direction. In accordance with the reference direction of the carry signal between the calculation means and the first and second calculation means, the calculation timing of the calculation means that refers to the carry signal is determined by the calculation means of the calculation means that generates the carry signal. First delay amount adjusting means for adjusting a delay amount of input to the first and second arithmetic means so as to match a carry signal generation timing; According to the reference direction of the carry signal between the arithmetic means, the delay amount of the output from the first and second arithmetic means is adjusted so as to match the timing of the output by the first and second arithmetic means. And a delay amount adjusting unit. 2. An address pattern generating apparatus comprising:

また、請求項2に記載の発明は、2次元のメモリアドレスの演算処理の内、キャリー信号の発生を想定した演算処理を行うアドレスパターン発生装置において、第1方向のメモリアドレスの演算コマンド、演算データが入力され、第1方向のメモリアドレスの演算を行う第1の演算手段と、第1方向のメモリアドレスの演算コマンド、演算データが入力され、第1方向のメモリアドレスでキャリー発生時の演算を行うキャリー有り演算手段と、
第2方向のメモリアドレスの演算コマンド、演算データが入力され、第2方向のメモリアドレスの演算を行う第2の演算手段と、前記第2の演算手段でキャリーが発生していない時は、前記第1の演算手段の演算結果を出力し、前記第2の演算手段でキャリーが発生した時は、前記キャリー有り演算手段の演算結果を出力する出力手段と、を具備する事を特徴とするアドレスパターン発生装置である。
According to a second aspect of the present invention, there is provided an address pattern generator for performing a calculation process assuming a generation of a carry signal in a calculation process of a two-dimensional memory address. First calculation means for calculating the memory address in the first direction when data is input, calculation command and calculation data for the memory address in the first direction, and calculation when a carry occurs at the memory address in the first direction Carrying means for carrying out, and
When a calculation command and calculation data for the memory address in the second direction are input and the second calculation means for calculating the memory address in the second direction and no carry occurs in the second calculation means, An output means for outputting a calculation result of the first calculation means, and for outputting a calculation result of the calculation means with carry when a carry occurs in the second calculation means. It is a pattern generator.

本発明によれば、キャリーを使用する加減算器を高価な実現手段によらず実現することを可能にするアドレスパターン発生装置を提供することができる。  ADVANTAGE OF THE INVENTION According to this invention, the address pattern generator which makes it possible to implement | achieve the adder / subtracter using a carry irrespective of an expensive implementation means can be provided.

以下、図面を参照して本発明の第1の実施形態について説明する。図1は本発明の第1の実施形態によるアドレスパターン発生装置の全体構成を示す構成図である。図1のアドレスパターン発生装置は、パイプライン切換え器PSW1〜PSW4と、パイプライン切換え制御器PSCと、X演算器XCalと、Y演算器YCalと、レジスタX_Reg、Y_Regと、フリップフロップX_Carry、Y_Carryとから構成されている。  Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of an address pattern generator according to a first embodiment of the present invention. The address pattern generator shown in FIG. 1 includes pipeline switchers PSW1 to PSW4, a pipeline switch controller PSC, an X calculator XCaI, a Y calculator YCal, registers X_Reg and Y_Reg, and flip-flops X_Carry and Y_Carry. It is composed of

X演算コマンド及び演算データの入力端子はパイプライン切り換え器PSW1を介し、X演算器XCalに接続されている。X演算器XCalはレジスタX_Regに接続され、レジスタX_Regはパイプライン切り換え器PSW2を介してX演算出力の出力端子に接続されている。Y演算コマンド及び演算データの入力端子はパイプライン切り換え器PSW3を介し、Y演算器YCalに接続されている。Y演算器YCalはレジスタY_Regに接続され、レジスタY_Regはパイプライン切り換え器PSW4を介してY演算出力の出力端子に接続されている。  The input terminals for the X operation command and operation data are connected to the X operation unit XCa1 via the pipeline switcher PSW1. The X arithmetic unit XCal is connected to the register X_Reg, and the register X_Reg is connected to the output terminal of the X arithmetic output via the pipeline switcher PSW2. The input terminal for the Y operation command and operation data is connected to the Y operation unit YCal via the pipeline switch PSW3. The Y arithmetic unit YCal is connected to the register Y_Reg, and the register Y_Reg is connected to the output terminal of the Y arithmetic output via the pipeline switch PSW4.

X演算器XCalのX演算キャリーの出力端子はフリップフロップX_Carryを介して、Y演算器YCalに接続され、Y演算器YCalのY演算キャリーの出力端子はフリップフロップY_Carryを介して、X演算器XCalに接続されている。また、パイプライン切換えコマンドの入力端子はパイプライン切換え制御器PSCに接続され、パイプライン切換え制御器PSCはパイプライン切り換え器PSW1〜PSW4にそれぞれ接続されている。フリップフロップX_Carry、Y_Carryは、キャリー転送手段として機能する。  The output terminal of the X operation carry of the X operation unit XCal is connected to the Y operation unit YCal via the flip-flop X_Carry, and the output terminal of the Y operation carry of the Y operation unit YCal is connected to the X operation unit XCal via the flip-flop Y_Carry. It is connected to the. The input terminal of the pipeline switching command is connected to the pipeline switching controller PSC, and the pipeline switching controller PSC is connected to the pipeline switching devices PSW1 to PSW4. The flip-flops X_Carry and Y_Carry function as carry transfer means.

図2は図1のアドレスパターン発生装置の詳細な構成を示す構成図である。図2において、パイプライン切換え器PSW1は、フリップフロップX_FF1〜X_FF3と、セレクタX_SEL1と、NOT素子N1とから構成されている。パイプライン切換え器PSW2は、フリップフロップX_FF4、X_FF5と、セレクタX_SEL2とから構成されている。パイプライン切換え器PSW3は、フリップフロップY_FF1〜Y_FF3と、セレクタY_SEL1とから構成されている。パイプライン切換え器PSW4は、フリップフロップY_FF4、Y_FF5と、セレクタY_SEL2と、NOT素子N2とから構成されている。セレクタX_SEL1、X_SEL2、Y_SEL1、Y_SEL2は、切り換え端子への入力信号が「H」の時、入力端子1と出力端子とが接続され、「L」の時、入力端子0と出力端子とが接続される。  FIG. 2 is a block diagram showing a detailed configuration of the address pattern generator of FIG. In FIG. 2, the pipeline switcher PSW1 is composed of flip-flops X_FF1 to X_FF3, a selector X_SEL1, and a NOT element N1. The pipeline switcher PSW2 includes flip-flops X_FF4 and X_FF5 and a selector X_SEL2. The pipeline switcher PSW3 includes flip-flops Y_FF1 to Y_FF3 and a selector Y_SEL1. The pipeline switcher PSW4 includes flip-flops Y_FF4 and Y_FF5, a selector Y_SEL2, and a NOT element N2. The selectors X_SEL1, X_SEL2, Y_SEL1, and Y_SEL2 connect the input terminal 1 and the output terminal when the input signal to the switching terminal is “H”, and connect the input terminal 0 and the output terminal when the input signal is “L”. The

X演算コマンド及び演算データの入力端子はフリップフロップX_FF1の入力端に接続され、フリップフロップX_FF1の出力端はフリップフロップX_FF2の入力端とセレクタX_SEL1の入力端子1とに接続されている。また、フリップフロップX_FF2の出力端はセレクタX_SEL1の入力端子0に接続されている。セレクタX_SEL1の出力端子はフリップフロップX_FF3の入力端に接続され、フリップフロップX_FF3の出力端はX演算器XCalの入力端子に接続されている。  The input terminal for the X operation command and operation data is connected to the input terminal of the flip-flop X_FF1, and the output terminal of the flip-flop X_FF1 is connected to the input terminal of the flip-flop X_FF2 and the input terminal 1 of the selector X_SEL1. The output terminal of the flip-flop X_FF2 is connected to the input terminal 0 of the selector X_SEL1. The output terminal of the selector X_SEL1 is connected to the input terminal of the flip-flop X_FF3, and the output terminal of the flip-flop X_FF3 is connected to the input terminal of the X calculator XCal.

レジスタX_Regの出力端子はフリップフロップX_FF4の入力端に接続され、フリップフロップX_FF4の出力端はフリップフロップX_FF5の入力端とセレクタX_SEL2の入力端子1とに接続されている。また、フリップフロップX_FF5の出力端はセレクタX_SEL2の入力端子0に接続されている。セレクタX_SEL2の出力端子はX演算出力の出力端子に接続されている。  The output terminal of the register X_Reg is connected to the input terminal of the flip-flop X_FF4, and the output terminal of the flip-flop X_FF4 is connected to the input terminal of the flip-flop X_FF5 and the input terminal 1 of the selector X_SEL2. The output terminal of the flip-flop X_FF5 is connected to the input terminal 0 of the selector X_SEL2. The output terminal of the selector X_SEL2 is connected to the output terminal of the X operation output.

Y演算コマンド及び演算データの入力端子はフリップフロップY_FF1の入力端に接続され、フリップフロップY_FF1の出力端はフリップフロップY_FF2の入力端とセレクタY_SEL1の入力端子1とに接続されている。また、フリップフロップY_FF2の出力端はセレクタY_SEL1の入力端子0に接続されている。セレクタY_SEL1の出力端子はY_FF3の入力端に接続され、フリップフロップY_FF3の出力端はY演算器YCalの入力端子に接続されている。  The input terminal for the Y operation command and operation data is connected to the input terminal of the flip-flop Y_FF1, and the output terminal of the flip-flop Y_FF1 is connected to the input terminal of the flip-flop Y_FF2 and the input terminal 1 of the selector Y_SEL1. The output terminal of the flip-flop Y_FF2 is connected to the input terminal 0 of the selector Y_SEL1. The output terminal of the selector Y_SEL1 is connected to the input terminal of the Y_FF3, and the output terminal of the flip-flop Y_FF3 is connected to the input terminal of the Y arithmetic unit YCal.

レジスタY_Regの出力端子はフリップフロップY_FF4の入力端に接続され、フリップフロップY_FF4の出力端はフリップフロップY_FF5の入力端とセレクタY_SEL2の入力端子1とに接続されている。また、フリップフロップY_FF5の出力端はセレクタY_SEL2の入力端子0に接続されている。セレクタY_SEL2の出力端子はY演算出力の出力端子に接続されている。  The output terminal of the register Y_Reg is connected to the input terminal of the flip-flop Y_FF4, and the output terminal of the flip-flop Y_FF4 is connected to the input terminal of the flip-flop Y_FF5 and the input terminal 1 of the selector Y_SEL2. The output terminal of the flip-flop Y_FF5 is connected to the input terminal 0 of the selector Y_SEL2. The output terminal of the selector Y_SEL2 is connected to the output terminal for Y operation output.

パイプライン切換え制御器PSCの出力端子は、セレクタX_SEL2、Y_SEL1の切り換え端子にそれぞれ接続されている。また、パイプライン切換え制御器PSCの出力端子は、NOT素子N1を介しセレクタX_SEL1の切り換え端子に接続され、NOT素子N2を介しセレクタY_SEL2の切り換え端子に接続されている。  The output terminal of the pipeline switching controller PSC is connected to the switching terminals of the selectors X_SEL2 and Y_SEL1, respectively. The output terminal of the pipeline switching controller PSC is connected to the switching terminal of the selector X_SEL1 through the NOT element N1, and is connected to the switching terminal of the selector Y_SEL2 through the NOT element N2.

図3は、図2のアドレスパターン発生装置によるY演算器のキャリーを参照するX演算器の演算を行う場合の処理動作を示すタイムチャートである。また図4は、図2のアドレスパターン発生装置によるX演算器のキャリーを参照するY演算器の演算を行う場合の処理動作を示すタイムチャートである。図3、図4の最上段の波形はクロックタイミングを示すクロック信号である。演算コマンド、演算データの識別を示す処理0〜7は、縦軸の符号が示す各ブロックにおいてタイムチャートに示されたタイミングで処理されている。  FIG. 3 is a time chart showing the processing operation when the calculation of the X calculator referring to the carry of the Y calculator by the address pattern generator of FIG. 2 is performed. FIG. 4 is a time chart showing a processing operation in the case where the operation of the Y arithmetic unit referring to the carry of the X arithmetic unit by the address pattern generating device of FIG. 2 is performed. The top waveform in FIGS. 3 and 4 is a clock signal indicating clock timing. Processes 0 to 7 indicating the identification of calculation commands and calculation data are processed at the timings shown in the time chart in the respective blocks indicated by the symbols on the vertical axis.

次に、処理0の処理動作を例に取り、図2のアドレスパターン発生装置内での処理及び処理データの流れを示す。ここで、パイプライン切換え制御器PSC出力のパイプライン切り換えコマンドの信号は「H」に設定する。図3の1クロック目では、X演算コマンド及び演算データの入力端子と、Y演算コマンド及び演算データの入力端子とに同タイミングで入力された処理0のデータは、フリップフロップX_FF1、Y_FF1で保持される。ここで、セレクタY_SEL1では入力端子1が選択されているので、処理0のデータは同タイミングでセレクタY_SEL1から出力される。  Next, taking the processing operation of processing 0 as an example, the processing in the address pattern generator of FIG. 2 and the flow of processing data are shown. Here, the pipeline switching command signal of the pipeline switching controller PSC output is set to “H”. In the first clock in FIG. 3, the data of the process 0 input at the same timing to the input terminal of the X operation command and operation data and the input terminal of the Y operation command and operation data is held by the flip-flops X_FF1 and Y_FF1. The Here, since the input terminal 1 is selected in the selector Y_SEL1, the data of the process 0 is output from the selector Y_SEL1 at the same timing.

2クロック目では、フリップフロップX_FF1から出力された処理0のデータがフリップフロップX_FF2で保持され、セレクタY_SEL1から出力された処理0のデータがフリップフロップY_FF3で保持される。3クロック目では、フリップフロップX_FF2から出力された処理0のデータがフリップフロップX_FF3に保持される。また、フリップフロップY_FF3から出力された処理0のデータがY演算器YCalに入力され、Y演算器YCalで演算処理後に、発生したY演算キャリーをフリップフロップY_Carryで保持する。また、演算後の処理0のデータをレジスタY_Regで保持する。  At the second clock, the process 0 data output from the flip-flop X_FF1 is held in the flip-flop X_FF2, and the process 0 data output from the selector Y_SEL1 is held in the flip-flop Y_FF3. At the third clock, the data of the process 0 output from the flip-flop X_FF2 is held in the flip-flop X_FF3. Further, the data of the process 0 output from the flip-flop Y_FF3 is input to the Y arithmetic unit YCal, and the generated Y arithmetic carry is held in the flip-flop Y_Carry after the arithmetic processing by the Y arithmetic unit YCal. Further, the data of processing 0 after the operation is held in the register Y_Reg.

4クロック目では、フリップフロップX_FF3から出力された処理0のデータがX演算器XCalに入力され、フリップフロップY_CarryからのY演算キャリーがX演算器XCalに入力され、X演算器XCalでキャリーを参照して演算処理を行い、その演算後の処理0のデータをレジスタX_Regで保持する。また、レジスタY_Regから出力された処理0のデータはフリップフロップY_FF4に保持される。  At the fourth clock, the data of the process 0 output from the flip-flop X_FF3 is input to the X arithmetic unit Xcal, the Y arithmetic carry from the flip-flop Y_Carry is input to the X arithmetic unit Xcal, and the carry is referred to by the X arithmetic unit Xcal Then, the calculation process is performed, and the data of the process 0 after the calculation is held in the register X_Reg. Further, the data of process 0 output from the register Y_Reg is held in the flip-flop Y_FF4.

5クロック目では、レジスタX_Regから出力された処理0のデータはフリップフロップX_FF4で保持される。ここで、セレクタX_SEL2では入力端子1が選択されているので、処理0のデータは同タイミングでセレクタX_SEL2から出力されて、X演算出力の出力端子に処理0のデータが出力される。フリップフロップY_FF4から出力された処理0のデータはフリップフロップY_FF5で保持される。そして、フリップフロップY_FF5から出力された処理0のデータはセレクタY_SEL2を介し、Y演算出力の出力端子に出力される。ここで、後段のフリップフロップX_FF5、Y_FF5は演算タイミングの調整のためのものである。  At the fifth clock, the data of process 0 output from the register X_Reg is held in the flip-flop X_FF4. Here, since the input terminal 1 is selected in the selector X_SEL2, the data of process 0 is output from the selector X_SEL2 at the same timing, and the data of process 0 is output to the output terminal of the X operation output. The data of process 0 output from the flip-flop Y_FF4 is held in the flip-flop Y_FF5. The data of the process 0 output from the flip-flop Y_FF5 is output to the output terminal of the Y operation output via the selector Y_SEL2. Here, the flip-flops X_FF5 and Y_FF5 in the subsequent stage are for adjusting the operation timing.

これにより、X演算器が演算をするときには、Y演算器からのキャリーが揃った状態になっているので、キャリーを参照した演算が待ち時間無く効率的に行える。これにより、演算動作の高速化が可能になる。  As a result, when the X computing unit performs computation, the carry from the Y computing unit is in a state in which the computation is performed, so that computation with reference to the carry can be performed efficiently without waiting time. Thereby, it is possible to speed up the calculation operation.

尚、図4に示したX演算器のキャリーを参照するY演算器の演算の場合についても、XとYを入れ換える以外は図3の場合と同様の動作を行う。  In the case of the calculation of the Y calculator referring to the carry of the X calculator shown in FIG. 4, the same operation as in FIG. 3 is performed except that X and Y are exchanged.

次に、図面を参照して本発明の第2の実施形態について説明する。図5は本発明の第2の実施形態によるアドレスパターン発生装置の全体構成を示す構成図である。図5のアドレスパターン発生装置は、図2の構成に、パイプライン切り換えコマンド信号用のフリップフロップYtoX_FF1〜YtoX_FF5を付加した構成である。  Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 5 is a block diagram showing the overall configuration of an address pattern generator according to the second embodiment of the present invention. The address pattern generation device of FIG. 5 has a configuration in which flip-flops YtoX_FF1 to YtoX_FF5 for pipeline switching command signals are added to the configuration of FIG.

また、図2のアドレスパターン発生装置からの変更部分は、パイプライン切換え制御器PSCの出力端子は、フリップフロップYtoX_FF1の入力端子に接続され、フリップフロップYtoX_FF1の出力端子は、フリップフロップYtoX_FF2の入力端子に接続されている。フリップフロップYtoX_FF2の出力端子は、NOT素子N1を介しセレクタX_SEL1の切り換え端子に接続されると共に、セレクタY_SEL1の切り換え端子と、フリップフロップYtoX_FF3の入力端子とに接続されている。  Further, the changed part from the address pattern generator in FIG. 2 is that the output terminal of the pipeline switching controller PSC is connected to the input terminal of the flip-flop YtoX_FF1, and the output terminal of the flip-flop YtoX_FF1 is the input terminal of the flip-flop YtoX_FF2. It is connected to the. The output terminal of the flip-flop YtoX_FF2 is connected to the switching terminal of the selector X_SEL1 via the NOT element N1, and is connected to the switching terminal of the selector Y_SEL1 and the input terminal of the flip-flop YtoX_FF3.

フリップフロップYtoX_FF3の出力端子は、フリップフロップYtoX_FF4の入力端子に接続され、フリップフロップYtoX_FF4の出力端子は、フリップフロップYtoX_FF5の入力端子に接続されている。フリップフロップYtoX_FF5の出力端子は、NOT素子N2を介しセレクタY_SEL2の切り換え端子に接続されると共に、セレクタX_SEL2の切り換え端子に接続されている。  The output terminal of the flip-flop YtoX_FF3 is connected to the input terminal of the flip-flop YtoX_FF4, and the output terminal of the flip-flop YtoX_FF4 is connected to the input terminal of the flip-flop YtoX_FF5. The output terminal of the flip-flop YtoX_FF5 is connected to the switching terminal of the selector Y_SEL2 via the NOT element N2, and is also connected to the switching terminal of the selector X_SEL2.

図6は、図5のアドレスパターン発生装置による処理動作を示すタイムチャートである。図6は不図示の制御部にて下式(1)〜式(8)に示す演算シーケンスを実行したときのタイムチャートである。
0 NOOP X=X+1*CR Y=Y+1 YtoX …(1)
1 NOOP X=X+1*CR Y=Y+1 YtoX …(2)
2 NOOP X=X Y=Y XtoY …(3)
3 NOOP X=X+1 Y=Y+1*CR XtoY …(4)
4 NOOP X=X+1 Y=Y+1*CR XtoY …(5)
5 NOOP X=X Y=Y YtoX …(6)
6 NOOP X=X+1*CR Y=Y+1 YtoX …(7)
7 NOOP X=X+1*CR Y=Y+1 YtoX …(8)
FIG. 6 is a time chart showing the processing operation by the address pattern generator of FIG. FIG. 6 is a time chart when the calculation sequence shown in the following equations (1) to (8) is executed by a control unit (not shown).
0 NOOP X = X + 1 * CR Y = Y + 1 YtoX (1)
1 NOOP X = X + 1 * CR Y = Y + 1 YtoX (2)
2 NOOP X = X Y = Y XtoY (3)
3 NOOP X = X + 1 Y = Y + 1 * CR XtoY (4)
4 NOOP X = X + 1 Y = Y + 1 * CR XtoY (5)
5 NOOP X = X Y = Y YtoX (6)
6 NOOP X = X + 1 * CR Y = Y + 1 YtoX (7)
7 NOOP X = X + 1 * CR Y = Y + 1 YtoX (8)

ここで、式(1)〜式(8)の左の数字0〜7は処理0〜7を示す。「NOOP」は記述された行(この場合、式に相当する)の各コマンドを実行し、次の行(次の式に相当する)に移るシーケンス制御命令である。各コマンドはX演算器XCal、Y演算器YCal及びパイプライン切換え制御器PSCでの処理内容を示している。「X=X+1*CR」はY演算でキャリーが発生した時にXに1を加算することを示し、「X=X」は演算を行わずXの値を保持することを示し、「YtoX」はY演算のキャリーを参照可能であることを示している。また、「Y=Y+1*CR」はX演算でキャリーが発生した時にYに1を加算することを示し、「Y=Y」は演算を行わずYの値を保持することを示し、「XtoY」はX演算のキャリーを参照可能であることを示している。  Here, the numbers 0 to 7 on the left of the expressions (1) to (8) indicate the processes 0 to 7. “NOOP” is a sequence control instruction that executes each command on the described line (in this case, corresponding to an expression) and moves to the next line (corresponding to the next expression). Each command indicates the processing contents in the X calculator XCaI, the Y calculator YCaI, and the pipeline switching controller PSC. “X = X + 1 * CR” indicates that 1 is added to X when a carry occurs in the Y operation, “X = X” indicates that the X value is held without performing the operation, and “YtoX” indicates This shows that the carry of the Y operation can be referred to. “Y = Y + 1 * CR” indicates that 1 is added to Y when a carry occurs in the X operation, “Y = Y” indicates that the Y value is held without performing the operation, and “XtoY” "Indicates that the carry of the X operation can be referred to.

式(3)、(6)の演算動作の停止状態の時には、パイプライン切換え制御器PSCがパイプラインの切り換えコマンドを切り換える処理を行う。図6のタイミングチャートの内、YtoX(1)はパイプライン切り換えコマンド信号の状態が「H」である事を示し、XtoY(0)は「L」である事を示している。  When the arithmetic operations of the expressions (3) and (6) are stopped, the pipeline switching controller PSC performs a process of switching the pipeline switching command. In the timing chart of FIG. 6, YtoX (1) indicates that the state of the pipeline switching command signal is “H”, and XtoY (0) indicates that it is “L”.

次に、処理0の処理動作を例に取り、図5のアドレスパターン発生装置内での処理及び処理データの流れを示す。ここで、処理0では、パイプライン切換え制御器PSC出力のパイプライン切り換えコマンドの信号は「H」に設定されている。  Next, taking the processing operation of processing 0 as an example, the processing in the address pattern generator of FIG. 5 and the flow of processing data are shown. Here, in process 0, the pipeline switching command signal output from the pipeline switching controller PSC is set to "H".

図6の1クロック目では、X演算コマンド及び演算データの入力端子と、Y演算コマンド及び演算データの入力端子とに同タイミングで入力された処理0のデータは、フリップフロップX_FF1、Y_FF1で保持され、処理0のデータは同タイミングでセレクタY_SEL1から出力される。また、処理0に対応するパイプライン切り換えコマンドの信号YtoX(1)はフリップフロップYtoX_FF1で保持される。  In the first clock in FIG. 6, the processing 0 data input at the same timing to the input terminal for the X operation command and operation data and the input terminal for the Y operation command and operation data is held in the flip-flops X_FF 1 and Y_FF 1. The data of process 0 is output from the selector Y_SEL1 at the same timing. The pipeline switching command signal YtoX (1) corresponding to the process 0 is held in the flip-flop YtoX_FF1.

2クロック目では、フリップフロップX_FF1から出力された処理0のデータがフリップフロップX_FF2で保持され、セレクタY_SEL1から出力された処理0のデータがフリップフロップY_FF3で保持される。フリップフロップYtoX_FF1から出力された信号YtoX(1)はフリップフロップYtoX_FF2で保持される。信号YtoX(1)はNOT素子N1を介しセレクタX_SEL1の切り換え端子に入力される。また、信号YtoX(1)はセレクタY_SEL1の切り換え端子にも入力される。  At the second clock, the process 0 data output from the flip-flop X_FF1 is held in the flip-flop X_FF2, and the process 0 data output from the selector Y_SEL1 is held in the flip-flop Y_FF3. The signal YtoX (1) output from the flip-flop YtoX_FF1 is held by the flip-flop YtoX_FF2. The signal YtoX (1) is input to the switching terminal of the selector X_SEL1 through the NOT element N1. The signal YtoX (1) is also input to the switching terminal of the selector Y_SEL1.

3クロック目では、フリップフロップX_FF2から出力された処理0のデータがフリップフロップX_FF3に保持される。また、フリップフロップY_FF3から出力された処理0のデータがY演算器YCalに入力され、Y演算器YCalで演算処理後に、発生したY演算キャリーをフリップフロップY_Carryで保持する。また、演算後の処理0のデータをレジスタY_Regで保持する。フリップフロップYtoX_FF2から出力された信号YtoX(1)はフリップフロップYtoX_FF3で保持される。  At the third clock, the data of the process 0 output from the flip-flop X_FF2 is held in the flip-flop X_FF3. Further, the data of the process 0 output from the flip-flop Y_FF3 is input to the Y arithmetic unit YCal, and the generated Y arithmetic carry is held in the flip-flop Y_Carry after the arithmetic processing by the Y arithmetic unit YCal. Further, the data of processing 0 after the operation is held in the register Y_Reg. The signal YtoX (1) output from the flip-flop YtoX_FF2 is held by the flip-flop YtoX_FF3.

4クロック目では、フリップフロップX_FF3から出力された処理0のデータがX演算器XCalに入力され、フリップフロップY_CarryからのY演算キャリーがX演算器XCalに入力され、X演算器XCalでキャリーを参照して演算処理を行い、その演算後の処理0のデータをレジスタX_Regで保持する。また、レジスタY_Regから出力された処理0のデータはフリップフロップY_FF4に保持される。フリップフロップYtoX_FF3から出力された信号YtoX(1)はフリップフロップYtoX_FF4で保持される。  At the fourth clock, the data of the process 0 output from the flip-flop X_FF3 is input to the X arithmetic unit Xcal, the Y arithmetic carry from the flip-flop Y_Carry is input to the X arithmetic unit Xcal, and the carry is referred to by the X arithmetic unit Xcal Then, the calculation process is performed, and the data of the process 0 after the calculation is held in the register X_Reg. Further, the data of process 0 output from the register Y_Reg is held in the flip-flop Y_FF4. The signal YtoX (1) output from the flip-flop YtoX_FF3 is held by the flip-flop YtoX_FF4.

5クロック目では、レジスタX_Regから出力された処理0のデータはフリップフロップX_FF4で保持される。フリップフロップYtoX_FF4から出力された信号YtoX(1)はフリップフロップYtoX_FF5で保持される。信号YtoX(1)はNOT素子N1を介しセレクタX_SEL1の切り換え端子に入力される。また、信号YtoX(1)はセレクタY_SEL1の切り換え端子にも入力される。ここで、セレクタX_SEL2では入力端子1が選択されているので、処理0のデータは同タイミングでセレクタX_SEL2から出力されて、X演算出力の出力端子に処理0のデータが出力される。  At the fifth clock, the data of process 0 output from the register X_Reg is held in the flip-flop X_FF4. The signal YtoX (1) output from the flip-flop YtoX_FF4 is held by the flip-flop YtoX_FF5. The signal YtoX (1) is input to the switching terminal of the selector X_SEL1 through the NOT element N1. The signal YtoX (1) is also input to the switching terminal of the selector Y_SEL1. Here, since the input terminal 1 is selected in the selector X_SEL2, the data of process 0 is output from the selector X_SEL2 at the same timing, and the data of process 0 is output to the output terminal of the X operation output.

フリップフロップY_FF4から出力された処理0のデータはフリップフロップY_FF5で保持される。そして、フリップフロップY_FF5から出力された処理0のデータはセレクタY_SEL2を介し、Y演算出力の出力端子に出力される。  The data of process 0 output from the flip-flop Y_FF4 is held in the flip-flop Y_FF5. The data of the process 0 output from the flip-flop Y_FF5 is output to the output terminal of the Y operation output via the selector Y_SEL2.

以降順次、処理1〜7の処理を行っていき、処理1、6、7では上記と同様の処理を行い、処理3、4ではパイプライン切り換えコマンドの信号を「L」に置き換え、X演算用のデータラインと、Y演算用のデータラインとの動作内容を入れ換えた状態で上記と同様の処理を行う。  Thereafter, the processes 1 to 7 are sequentially performed. In the processes 1, 6, and 7, the same processes as described above are performed. In the processes 3 and 4, the signal of the pipeline switching command is replaced with “L”, and the X calculation is performed. The same processing as described above is performed with the operation contents of the data line and the data line for Y operation being exchanged.

また、処理2、5では、パイプライン切換え制御器PSCの出力端子からそれぞれパイプライン切り換えコマンドの信号XtoY(0)、YtoX(1)が入力され、クロック毎に、順にフリップフロップYtoX_FF1〜YtoX_FF5に保持されていく。処理2では、4クロック目で、フリップフロップYtoX_FF2に保持された時、信号XtoY(0)はNOT素子N1を介しセレクタX_SEL1の切り換え端子に入力されると共に、セレクタY_SEL1の切り換え端子に入力される。これにより、セレクタX_SEL1は入力端子1の入力信号を出力するよう切り換ると共に、セレクタY_SEL1は入力端子0の入力信号を出力するよう切り換る。これにより6クロック目で、Y演算器は処理3のデータをX演算器のキャリーを参照して行うことができる。  In processes 2 and 5, pipeline switching command signals XtoY (0) and YtoX (1) are input from the output terminals of the pipeline switching controller PSC, respectively, and are held in the flip-flops YtoX_FF1 to YtoX_FF5 in order for each clock. It will be done. In process 2, when held in the flip-flop YtoX_FF2 at the fourth clock, the signal XtoY (0) is input to the switching terminal of the selector X_SEL1 via the NOT element N1 and to the switching terminal of the selector Y_SEL1. Thereby, the selector X_SEL1 is switched to output the input signal of the input terminal 1, and the selector Y_SEL1 is switched to output the input signal of the input terminal 0. As a result, at the sixth clock, the Y computing unit can perform the data of process 3 with reference to the carry of the X computing unit.

また、7クロック目で、フリップフロップYtoX_FF5に保持された時には、信号XtoY(0)はNOT素子N2を介しセレクタY_SEL2の切り換え端子に入力されると共に、セレクタX_SEL2の切り換え端子に入力される。これにより、セレクタY_SEL2は入力端子1の入力信号を出力するよう切り換ると共に、セレクタX_SEL2は入力端子0の入力信号を出力するよう切り換る。よって、X演算出力で出力されるデータとY演算出力で出力されるデータの出力タイミングを同一にする事ができる。  At the seventh clock, when held in the flip-flop YtoX_FF5, the signal XtoY (0) is input to the switching terminal of the selector Y_SEL2 via the NOT element N2 and also to the switching terminal of the selector X_SEL2. Thereby, the selector Y_SEL2 switches to output the input signal of the input terminal 1, and the selector X_SEL2 switches to output the input signal of the input terminal 0. Therefore, it is possible to make the output timing of the data output as the X operation output and the data output as the Y operation output the same.

処理5では、フリップフロップYtoX_FF2、YtoX_FF5に保持された時、信号YtoX(1)について同様の処理を行う。7クロック目で、フリップフロップYtoX_FF2に保持された時、セレクタX_SEL1は入力端子0の入力信号を出力するよう切り換ると共に、セレクタY_SEL1は入力端子1の入力信号を出力するよう切り換る。これにより、9クロック目で、X演算器は処理6のデータをY演算器のキャリーを参照して行うことができる。また、10クロック目でフリップフロップYtoX_FF5に保持された時、セレクタY_SEL2は入力端子0の入力信号を出力するよう切り換ると共に、セレクタX_SEL2は入力端子1の入力信号を出力するよう切り換る。よって、X演算出力で出力されるデータとY演算出力で出力されるデータの出力タイミングを同一にする事ができる。処理2、5では、X演算器XCal、Y演算器YCalでの演算は行われない。  In the process 5, when the flip-flops YtoX_FF2 and YtoX_FF5 hold the signal YtoX (1), the same process is performed. At the seventh clock, when held in the flip-flop YtoX_FF2, the selector X_SEL1 switches to output the input signal of the input terminal 0, and the selector Y_SEL1 switches to output the input signal of the input terminal 1. As a result, at the ninth clock, the X computing unit can perform the processing 6 data with reference to the carry of the Y computing unit. When held in the flip-flop YtoX_FF5 at the 10th clock, the selector Y_SEL2 switches to output the input signal of the input terminal 0, and the selector X_SEL2 switches to output the input signal of the input terminal 1. Therefore, it is possible to make the output timing of the data output as the X operation output and the data output as the Y operation output the same. In processings 2 and 5, no computation is performed in the X computing unit XCal and the Y computing unit YCal.

このように、パイプライン切り換えコマンド信号用のフリップフロップを付加することで、連続して処理が入力されるアドレスパターン発生装置で、処理毎にキャリーの参照の方向を、動的に切り換え可能にする事ができる。  In this way, by adding a flip-flop for a pipeline switching command signal, an address pattern generator that continuously inputs processing can dynamically switch the direction of carry reference for each processing. I can do things.

次に、図面を参照して本発明の第3の実施形態について説明する。図7は本発明の第3の実施形態によるアドレスパターン発生装置の全体構成を示す構成図である。図7のアドレスパターン発生装置は、図10のアドレスパターン発生装置の構成に、セレクタXSelA、YSelAと、AND素子A1、A2と、キャリー有り加減算デコード手段Dec1、Dec2と、キャリー無し加減算器XACal1、YACal1と、キャリー有り加減算器XACal2、YACal2とを付加したものである。  Next, a third embodiment of the present invention will be described with reference to the drawings. FIG. 7 is a block diagram showing the overall configuration of an address pattern generator according to the third embodiment of the present invention. The address pattern generator of FIG. 7 has the same configuration as that of the address pattern generator of FIG. 10, but selectors XSelA and YSelA, AND elements A1 and A2, add / subtract decode means with carry Dec1 and Dec2, and adder / subtractors without carry XACal1 and YACal1. And carry adder / subtracters XACal2 and YACal2.

また、図10のアドレスパターン発生装置からの変更部分は、フリップフロップFF1の出力端子が、キャリー無し加減算器XACal1と、キャリー有り加減算器XACal2との各入力端子に接続され、キャリー無し加減算器XACal1の出力端子はセレクタXSelAの入力端子0に接続され、キャリー有り加減算器XACal2の出力端子はセレクタXSelAの入力端子1に接続されている。また、セレクタXSelAの出力端子は、セレクタXSelの入力端子に接続されている。また、レジスタX_Regの出力端子は、キャリー無し加減算器XACal1と、キャリー有り加減算器XACal2との各入力端子に接続されている。  Further, the changed part from the address pattern generator of FIG. 10 is that the output terminal of the flip-flop FF1 is connected to the input terminals of the adder / subtracter XACal1 without carry and the adder / subtracter XACal2 with carry, The output terminal is connected to the input terminal 0 of the selector XSelA, and the output terminal of the carry adder / subtracter XACal2 is connected to the input terminal 1 of the selector XSelA. The output terminal of the selector XSelA is connected to the input terminal of the selector XSel. The output terminal of the register X_Reg is connected to the input terminals of the carryless adder / subtractor XACal1 and the carry adder / subtractor XACal2.

図7のアドレスパターン発生装置の動作については、X演算コマンドがフリップフロップFF1に入力され、X演算データがフリップフロップFF2に入力され、入力されたX演算コマンドとX演算データとに基づきキャリー無し加減算器XACal1と、キャリー有り加減算器XACal2とで並行して演算を行っている。ここでは、セレクタXSelAの0端子に入力された演算結果が出力され、セレクタXSel、レジスタXRegを介してX演算出力に出力される。  As for the operation of the address pattern generation device of FIG. 7, the X operation command is input to the flip-flop FF1, the X operation data is input to the flip-flop FF2, and addition / subtraction without carry is performed based on the input X operation command and X operation data. The calculator XACal1 and the carry adder / subtractor XACal2 perform calculations in parallel. Here, the operation result input to the 0 terminal of the selector XSelA is output and output to the X operation output via the selector XSel and the register XReg.

また、Y演算コマンドがフリップフロップFF3に入力され、Y演算データがフリップフロップFF4に入力され、入力されたY演算コマンドとY演算データとに基づきキャリー無し加減算器YACal1と、キャリー有り加減算器YACal2とで並行して演算を行っている。ここでは、セレクタYSelAの0端子に入力された演算結果が出力され、セレクタYSel、レジスタYRegを介してY演算出力に出力される。  Further, the Y operation command is input to the flip-flop FF3, the Y operation data is input to the flip-flop FF4, and the carry-less adder / subtractor YACal1 and the carry-adder / subtractor YACal2 are based on the input Y operation command and Y operation data. In parallel. Here, the calculation result input to the 0 terminal of the selector YSelA is output and output to the Y calculation output via the selector YSel and the register YReg.

キャリー有り加減算デコード手段Dec1は、Y演算コマンドに基づきAND素子A1に信号を出力している。X演算器XCalでのキャリーをY演算器YCalで参照した演算を行う場合は「H」を出力し、行わない場合は「L」を出力する。
キャリー有り加減算デコード手段Dec2は、X演算コマンドに基づきAND素子A2に信号を出力している。Y演算器YCalでのキャリーをX演算器XCalで参照した演算を行う場合は「H」を出力し、行わない場合は「L」を出力する。
The carry addition / subtraction decoding means Dec1 outputs a signal to the AND element A1 based on the Y operation command. “H” is output when a calculation in which the carry in the X calculator XCal is referred to by the Y calculator YCal, and “L” is output otherwise.
The carry addition / subtraction decoding means Dec2 outputs a signal to the AND element A2 based on the X operation command. “H” is output when carrying out an operation referring to the carry in the Y computing unit YCal with the X computing unit XCal, and “L” is outputted otherwise.

ここで、X演算キャリーがなしであり、キャリー有り加減算デコード手段Dec2が「H」の場合についてY演算キャリーが発生した時について示す。Y演算器YCalでキャリーが発生した場合、X演算キャリーがないので、キャリー無し加減算器YACal1からAND素子A2にキャリーが出力される。AND素子A2からの信号を入力したセレクタXSelでは端子1に入力された演算結果が出力され、セレクタXSel、レジスタXRegを介してX演算出力にキャリーありのX演算結果が出力される。  Here, the case where there is no X operation carry and the addition / subtraction decoding means Dec2 with carry is “H” will be shown when the Y operation carry occurs. When a carry occurs in the Y arithmetic unit YCal, since there is no X arithmetic carry, the carry is output from the carryless adder / subtractor YACal1 to the AND element A2. The selector XSel to which the signal from the AND element A2 is input outputs the operation result input to the terminal 1, and the X operation result with carry is output to the X operation output via the selector XSel and the register XReg.

このように、加減算器を複数用意して、並列演算させていて、一方の演算器でキャリーが発生した時に、その発生したキャリーを参照した演算ができるようにすることで、演算器の高速動作が可能となる。  In this way, multiple adders / subtractors are prepared and operated in parallel, and when a carry occurs in one of the calculators, it is possible to perform an operation referring to the generated carry so that the calculator operates at high speed. Is possible.

次に、図面を参照して本発明の第3の実施形態の第1の変形例について説明する。図8は本発明の第3の実施形態の第1の変形例によるアドレスパターン発生装置の構成を示す構成図である。図8のアドレスパターン発生装置は、演算器Calと、レジスタRegとから構成され、演算器Calは論理演算器LCalと、シフト演算器SCalと、セレクタSelA、SelB、SelCと、AND素子Aと、キャリー有り加減算デコード手段Decと、キャリー無し加減算器ACal1と、キャリー有り加減算器ACal2とから構成されている。  Next, a first modification of the third embodiment of the present invention will be described with reference to the drawings. FIG. 8 is a block diagram showing the configuration of the address pattern generator according to the first modification of the third embodiment of the present invention. The address pattern generation device of FIG. 8 includes an arithmetic unit Cal and a register Reg. The arithmetic unit Cal is a logical arithmetic unit LCal, a shift arithmetic unit SCal, selectors SelA, SelB, SelC, an AND element A, Addition / subtraction decoding means Dec with carry, addition / subtraction unit ACal1 without carry, and addition / subtraction unit ACal2 with carry.

演算コマンドの入力端子は、セレクタSelAの切り換え端子に接続されると共に、論理演算器LCalと、シフト演算器SCalと、キャリー無し加減算器ACal1と、キャリー有り加減算器ACal2との各入力端子に接続されている。演算データの入力端子は、論理演算器LCalと、キャリー無し加減算器ACal1と、キャリー有り加減算器ACal2との各入力端子に接続されている  The input terminal of the operation command is connected to the switching terminal of the selector SelA, and is connected to the input terminals of the logical operation unit LCal, the shift operation unit SCal, the carryless adder / subtractor ACal1, and the carry adder / subtracter ACal2. ing. The operation data input terminals are connected to the input terminals of the logic operation unit LCal, the carry-less adder / subtractor ACal1, and the carry-adder / subtracter ACal2.

キャリー無し加減算器ACal1はセレクタSelBの入力端子0に接続され、キャリー有り加減算器ACal2とはセレクタSelBの入力端子1に入力接続されている。また、キャリー無し加減算器ACal1はセレクタSelCの入力端子0に接続され、キャリー有り加減算器ACal2とはセレクタSelCの入力端子1に接続されている。  The carry adder / subtractor ACal1 is connected to the input terminal 0 of the selector SelB, and the carry adder / subtracter ACal2 is connected to the input terminal 1 of the selector SelB. Further, the adder / subtracter ACa1 without carry is connected to the input terminal 0 of the selector SelC, and the adder / subtracter ACa2 with carry is connected to the input terminal 1 of the selector SelC.

セレクタSelBの出力端子と、論理演算器LCalの出力端子と、シフト演算器SCalの出力端子とはセレクタSelAの入力端子にそれぞれ接続されている。セレクタSelAの出力端子はレジスタRegの入力端子に接続され、レジスタRegの出力端子は演算出力の出力端子と、論理演算器LCalと、シフト演算器SCalと、キャリー無し加減算器ACal1と、キャリー有り加減算器ACal2との各入力端子に接続されている。  The output terminal of the selector SelB, the output terminal of the logical operation unit LCal, and the output terminal of the shift operation unit SCal are connected to the input terminal of the selector SelA, respectively. The output terminal of the selector SelA is connected to the input terminal of the register Reg, and the output terminal of the register Reg is the output terminal of the operation output, the logical operation unit LCal, the shift operation unit SCal, the carry-less adder / subtractor ACal1, and the add / subtract with carry. Connected to each input terminal of the device ACAL2.

キャリー出力側演算コマンドの入力端子は、キャリー有り加減算デコード手段Decの入力端子に接続されている。キャリー有り加減算デコード手段Decの出力端子とセレクタSelCの出力端子とがAND素子Aに入力端子にそれぞれ接続され、AND素子Aの出力端子はキャリー出力の端子に接続されている。またキャリー入力の端子がセレクタSelB、SelCのそれぞれの切り換え端子に接続されている。  The carry output side arithmetic command input terminal is connected to the input terminal of the carry addition / subtraction decoding means Dec. The output terminal of the addition / subtraction decoding means Dec with carry and the output terminal of the selector SelC are connected to the AND element A as input terminals, respectively, and the output terminal of the AND element A is connected to the carry output terminal. Also, a carry input terminal is connected to each switching terminal of the selectors SelB and SelC.

図8のアドレスパターン発生装置の動作については、キャリーが発生しない時の動作は図7のアドレスパターン発生装置と同様である。キャリーが発生した場合は、入力されるキャリー信号によってセレクタSelCの経路を切り換える。これにより、入力される他の演算器でのキャリー信号によって、演算器のキャリー出力の可否を選択する。この構成によれば、使用方法に応じた演算方法を選択可能な演算器を実現することが可能になる。  As for the operation of the address pattern generator of FIG. 8, the operation when no carry is generated is the same as that of the address pattern generator of FIG. When a carry occurs, the path of the selector SelC is switched by an input carry signal. Thus, whether or not the carry output of the arithmetic unit is allowed is selected by the carry signal from the other arithmetic unit that is input. According to this configuration, it is possible to realize an arithmetic unit capable of selecting an arithmetic method according to the usage method.

尚、図9のように、複数のX演算器、Y演算器を持ち、各々のキャリー入力に他の演算器が出力するキャリーの内のどれを入力するかを、演算コマンドに応じて、任意に選べるような構成を取るようにしても良い。これにより、例えばXA演算器でのキャリーを参照してYA演算器の演算をする、更にYA演算器のキャリーを参照してXB演算器の演算をする等の、様々な組み合わせの演算を実現する事が可能となる。  In addition, as shown in FIG. 9, it has a plurality of X calculators and Y calculators, and any of the carry outputs from other calculators is input to each carry input according to the calculation command. You may make it take the structure which can be chosen to. As a result, various combinations of operations are realized, for example, the operation of the YA operation unit is performed with reference to the carry in the XA operation unit, and further the operation of the XB operation unit is performed with reference to the carry of the YA operation unit. Things will be possible.

本発明の第1の実施形態にかかるアドレスパターン発生装置の構成を示す構成図である。It is a block diagram which shows the structure of the address pattern generator concerning the 1st Embodiment of this invention. 本発明の第1の実施形態にかかるアドレスパターン発生装置の詳細な構成を示す構成図である。It is a block diagram which shows the detailed structure of the address pattern generator concerning the 1st Embodiment of this invention. Y演算器のキャリーを参照するX演算器の演算を行う場合の処理動作を示すタイムチャートである。It is a time chart which shows the processing operation in the case of performing the calculation of the X calculator referring to the carry of the Y calculator. X演算器のキャリーを参照するY演算器の演算を行う場合の処理動作を示すタイムチャートである。It is a time chart which shows the processing operation in the case of performing the calculation of the Y calculator referring to the carry of the X calculator. 本発明の第2の実施形態にかかるアドレスパターン発生装置の構成を示す構成図である。It is a block diagram which shows the structure of the address pattern generator concerning the 2nd Embodiment of this invention. 図5のアドレスパターン発生装置の処理動作を示すタイムチャートである。It is a time chart which shows the processing operation of the address pattern generator of FIG. 本発明の第3の実施形態にかかるアドレスパターン発生装置の構成を示す構成図である。It is a block diagram which shows the structure of the address pattern generator concerning the 3rd Embodiment of this invention. 本発明の第3の実施形態の第1の変形例にかかるアドレスパターン発生装置の構成を示す構成図である。It is a block diagram which shows the structure of the address pattern generator concerning the 1st modification of the 3rd Embodiment of this invention. 本発明の第3の実施形態の第2の変形例にかかるアドレスパターン発生装置の構成を示す構成図である。It is a block diagram which shows the structure of the address pattern generator concerning the 2nd modification of the 3rd Embodiment of this invention. 従来技術にかかるアドレスパターン発生装置の構成を示す構成図である。It is a block diagram which shows the structure of the address pattern generator concerning a prior art.

符号の説明Explanation of symbols

PSW1〜PSW4…パイプライン切換え器、 PSC…パイプライン切換え制御器、 XCal…X演算器、 YCal…Y演算器、 X_Reg、Y_Reg…レジスタ、 X_Carry、Y_Carry…フリップフロップ   PSW1 to PSW4 ... pipeline switching unit, PSC ... pipeline switching controller, XCal ... X computing unit, YCal ... Y computing unit, X_Reg, Y_Reg ... register, X_Carry, Y_Carry ... flip flop

Claims (2)

メモリアドレスの演算処理を行うアドレスパターン発生装置において、
第1方向のメモリアドレスの演算コマンド、演算データが入力され、第1方向のメモリアドレスの演算を行う第1の演算手段と、
第2方向のメモリアドレスの演算コマンド、演算データが入力され、第2方向のメモリアドレスの演算を行う第2の演算手段と、
前記第1及び第2の演算手段間のキャリー信号の参照方向に応じて、キャリー信号を参照する方の前記演算手段の演算タイミングを、キャリー信号を発生する方の前記演算手段のキャリー信号発生タイミングに合わせるように、前記第1及び第2の演算手段への入力の遅延量を調整する第1の遅延量調整手段と、
前記第1及び第2の演算手段間のキャリー信号の参照方向に応じて、前記第1及び第2の演算手段による出力のタイミングを合わせるように、前記第1及び第2の演算手段からの出力の遅延量を調整する第2の遅延量調整手段と、
を具備することを特徴とするアドレスパターン発生装置。
In an address pattern generator that performs memory address arithmetic processing,
A first calculation means for inputting a calculation command and calculation data for a memory address in the first direction and calculating a memory address in the first direction;
A second calculation means for inputting a calculation command and calculation data of a memory address in the second direction and calculating a memory address in the second direction;
According to the reference direction of the carry signal between the first and second calculation means, the calculation timing of the calculation means that refers to the carry signal, and the carry signal generation timing of the calculation means that generates the carry signal First delay amount adjusting means for adjusting the delay amount of the input to the first and second arithmetic means so as to match
Outputs from the first and second arithmetic means so as to match the timing of the outputs by the first and second arithmetic means according to the reference direction of the carry signal between the first and second arithmetic means. Second delay amount adjusting means for adjusting the delay amount of
An address pattern generator comprising:
2次元のメモリアドレスの演算処理の内、キャリー信号の発生を想定した演算処理を行うアドレスパターン発生装置において、
第1方向のメモリアドレスの演算コマンド、演算データが入力され、第1方向のメモリアドレスの演算を行う第1の演算手段と、
第1方向のメモリアドレスの演算コマンド、演算データが入力され、第1方向のメモリアドレスでキャリー発生時の演算を行うキャリー有り演算手段と、
第2方向のメモリアドレスの演算コマンド、演算データが入力され、第2方向のメモリアドレスの演算を行う第2の演算手段と、
前記第2の演算手段でキャリーが発生していない時は、前記第1の演算手段の演算結果を出力し、前記第2の演算手段でキャリーが発生した時は、前記キャリー有り演算手段の演算結果を出力する出力手段と、
を具備する事を特徴とするアドレスパターン発生装置。
In an address pattern generator for performing a calculation process assuming the generation of a carry signal in a calculation process of a two-dimensional memory address,
A first calculation means for inputting a calculation command and calculation data for a memory address in the first direction and calculating a memory address in the first direction;
An operation command and operation data for the memory address in the first direction are input, and an operation means with carry for performing an operation when a carry occurs at the memory address in the first direction;
A second calculation means for inputting a calculation command and calculation data of a memory address in the second direction and calculating a memory address in the second direction;
When no carry is generated in the second calculation means, the calculation result of the first calculation means is output. When a carry occurs in the second calculation means, the calculation of the calculation means with carry is performed. An output means for outputting the result;
An address pattern generator characterized by comprising:
JP2006175463A 2006-06-26 2006-06-26 Address pattern generating device Pending JP2008004233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006175463A JP2008004233A (en) 2006-06-26 2006-06-26 Address pattern generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006175463A JP2008004233A (en) 2006-06-26 2006-06-26 Address pattern generating device

Publications (1)

Publication Number Publication Date
JP2008004233A true JP2008004233A (en) 2008-01-10

Family

ID=39008478

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006175463A Pending JP2008004233A (en) 2006-06-26 2006-06-26 Address pattern generating device

Country Status (1)

Country Link
JP (1) JP2008004233A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54143036A (en) * 1978-04-28 1979-11-07 Toshiba Corp Decentralized addition and subtraction system
JPS6055438A (en) * 1983-09-05 1985-03-30 Matsushita Electric Ind Co Ltd Two-input adder
JPS60123930A (en) * 1983-12-09 1985-07-02 Hitachi Ltd High-speed computing system
JPH05281299A (en) * 1992-03-31 1993-10-29 Ando Electric Co Ltd Address pattern generator
JP2002169688A (en) * 2000-12-05 2002-06-14 Kyushu Ando Denki Kk Logical operation circuit
JP2002197891A (en) * 2000-12-25 2002-07-12 Ando Electric Co Ltd Address pattern generation circuit
JP2003216416A (en) * 2002-01-25 2003-07-31 Ando Electric Co Ltd Logical operation circuit
JP2003287564A (en) * 2002-03-28 2003-10-10 Kyushu Ando Denki Kk Address pattern-generating apparatus, semiconductor integrated circuit-testing apparatus, and compiling apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54143036A (en) * 1978-04-28 1979-11-07 Toshiba Corp Decentralized addition and subtraction system
JPS6055438A (en) * 1983-09-05 1985-03-30 Matsushita Electric Ind Co Ltd Two-input adder
JPS60123930A (en) * 1983-12-09 1985-07-02 Hitachi Ltd High-speed computing system
JPH05281299A (en) * 1992-03-31 1993-10-29 Ando Electric Co Ltd Address pattern generator
JP2002169688A (en) * 2000-12-05 2002-06-14 Kyushu Ando Denki Kk Logical operation circuit
JP2002197891A (en) * 2000-12-25 2002-07-12 Ando Electric Co Ltd Address pattern generation circuit
JP2003216416A (en) * 2002-01-25 2003-07-31 Ando Electric Co Ltd Logical operation circuit
JP2003287564A (en) * 2002-03-28 2003-10-10 Kyushu Ando Denki Kk Address pattern-generating apparatus, semiconductor integrated circuit-testing apparatus, and compiling apparatus

Similar Documents

Publication Publication Date Title
KR20210106452A (en) Quantum controller with modular and dynamic pulse generation and routing
CN113302631A (en) Mass controller with multiple pulse modes
KR920018597A (en) Computation Circuit and Adaptive Filter and Echo Canceller Using the Same
US8390321B2 (en) Reconfigurable logical circuit
JP2008004233A (en) Address pattern generating device
JP2007174312A (en) Encoding circuit and digital signal processing circuit
JP2010176537A (en) Semiconductor integrated circuit device, debugging device and debugging system
US9209792B1 (en) Clock selection system and method
JP2002229970A (en) Simd product sum operation method, sum of product sum arithmetic circuit and semiconductor integrated circuit device
JP2012253657A (en) Semiconductor integrated circuit using majority circuit, and majority method
JP5813484B2 (en) VLIW processor, instruction structure and instruction execution method
JP2015185076A (en) VLIW processor
JP7250953B2 (en) Data processing equipment and artificial intelligence chips
JP2009267606A (en) Computing unit
JP2008077279A (en) Pipeline circuit verification device and method
KR100528443B1 (en) Data transmission circuit of digital signal processor
JP2006132992A (en) Stress impressing method
JP2005062081A (en) Semiconductor circuit system and its test method
JP2010231645A (en) Arithmetic processing unit
JP2001092658A (en) Data processing circuit and data processor
JP2001034457A (en) Adding and subtracting circuit
JP3708560B2 (en) Data flow type information processor
JPH07147546A (en) Viterbi decoder
CN117608861A (en) CPU device of central processing unit
CN115941465A (en) Network card configuration method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090302

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120723

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120828