JP6404658B2 - Multicycle number autonomous determination device and multicycle number autonomous determination method - Google Patents

Multicycle number autonomous determination device and multicycle number autonomous determination method Download PDF

Info

Publication number
JP6404658B2
JP6404658B2 JP2014197113A JP2014197113A JP6404658B2 JP 6404658 B2 JP6404658 B2 JP 6404658B2 JP 2014197113 A JP2014197113 A JP 2014197113A JP 2014197113 A JP2014197113 A JP 2014197113A JP 6404658 B2 JP6404658 B2 JP 6404658B2
Authority
JP
Japan
Prior art keywords
test pattern
pattern signal
cycle number
multicycle
test
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.)
Active
Application number
JP2014197113A
Other languages
Japanese (ja)
Other versions
JP2016071430A (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.)
NEC Space Technologies Ltd
Original Assignee
NEC Space Technologies Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Space Technologies Ltd filed Critical NEC Space Technologies Ltd
Priority to JP2014197113A priority Critical patent/JP6404658B2/en
Publication of JP2016071430A publication Critical patent/JP2016071430A/en
Application granted granted Critical
Publication of JP6404658B2 publication Critical patent/JP6404658B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、マルチサイクル数自律判定装置及びマルチサイクル数自律判定方法に関する。   The present invention relates to a multicycle number autonomous determination device and a multicycle number autonomous determination method.

ディジタル論理回路では、マルチサイクル回路が多用される場合がある。このようなマルチサイクル回路に関する提案として、特開2012−248038号公報、特開2002−043934号公報、特開2004−228417号公報等が知られている。   In digital logic circuits, multi-cycle circuits are often used. As proposals regarding such a multi-cycle circuit, JP 2012-248038 A, JP 2002-043934 A, JP 2004-228417 A, and the like are known.

特開2012−248038号公報においては、論理検証部、始点終点データ比較部、データ幅最小値抽出部、マルチサイクル数決定部を含むマルチサイクルパス検出装置が開示されている。   Japanese Patent Application Laid-Open No. 2012-248038 discloses a multi-cycle path detection device including a logic verification unit, a start / end point data comparison unit, a data width minimum value extraction unit, and a multi-cycle number determination unit.

即ち、このマルチサイクルパス検出装置においては、論理検証部によりRTL(Register transfer level)データとネットリストとのいずれかと、RTLシミュレーションで使用されたユーザ検証パタンとを基に論理検証を実行する。始点終点データ比較部は、この論理検証の結果に基づき、半導体集積回路のパスを特定パスとして特定し、かつ、特定パスの始点のデータ値と終点のデータ値との比較を行う。データ幅最小値抽出部は、特定パスを伝搬する0と1とのいずれかのデータでありクロック信号のサイクル数をデータ幅とするデータを対象として、始点終点データ比較部によるデータ比較結果に基づき、最小のサイクル数を示すデータ幅最小値を抽出する。そして、マルチサイクル数決定部は、データ幅最小値に応じて、特定パスにおけるマルチサイクル数を決定する。これにより、ユーザ仕様依存のマルチサイクルパスを短時間で自動検出できるようにしている。   That is, in this multi-cycle path detection device, the logic verification unit performs logic verification based on either RTL (Register transfer level) data or the netlist and the user verification pattern used in the RTL simulation. The start point / end point data comparison unit specifies the path of the semiconductor integrated circuit as a specific path based on the result of the logic verification, and compares the data value of the start point of the specific path with the data value of the end point. The data width minimum value extraction unit is based on the data comparison result by the start point / end point data comparison unit for data that is one of 0 and 1 that propagates through a specific path and the data width is the number of cycles of the clock signal. The minimum data width value indicating the minimum number of cycles is extracted. The multicycle number determination unit determines the multicycle number in the specific path according to the minimum data width. As a result, a multi-cycle path dependent on the user specification can be automatically detected in a short time.

また、特開2002−043934号公報においては、比較的小さな回路規模で広いロックレンジを有するクロック生成回路が開示されている。   Japanese Patent Laid-Open No. 2002-043934 discloses a clock generation circuit having a relatively small circuit scale and a wide lock range.

このクロック生成回路は、可変遅延回路を備え、外部クロックからデータ出力までの遅延量の最適なサイクル数を測定する。そして、そのサイクル数でロックを行えるようにDLL(Dynamic Link Library)回路などを構成している。   This clock generation circuit includes a variable delay circuit, and measures the optimum number of cycles of the delay amount from the external clock to the data output. A DLL (Dynamic Link Library) circuit or the like is configured so that the number of cycles can be locked.

さらに、特開2004−228417号公報においては、フェーズ・ロックド・ループ回路(PLL)を設け、このPLL内の動作制御信号により分周回路の分周率を制御して、クロック信号の周波数を決定する技術が開示されている。   Further, in Japanese Patent Application Laid-Open No. 2004-228417, a phase locked loop circuit (PLL) is provided, and the frequency of the clock signal is determined by controlling the frequency dividing ratio of the frequency dividing circuit by the operation control signal in the PLL. Techniques to do this are disclosed.

このとき、ディジタル論理回路設計において、主に信号処理やアルゴリズム処理等の機能において、実現する回路の動作仕様をC言語等の逐次処理で記述される場合が多く、そのための動作合成ツールが開発されている。この動作合成は、C言語等の逐次処理コードを元にRTL(Register transfer level)コードと呼ばれる論理合成可能なハードウェア記述を自動生成する開発手法であり、ディジタル論理回路の元仕様がC言語等で記述された設計対象をハードウェア化する際において一般的に用いられる開発手法である。   At this time, in the design of digital logic circuits, the operation specifications of the circuit to be realized are often described by sequential processing such as C language mainly in functions such as signal processing and algorithm processing, and a behavioral synthesis tool for that purpose has been developed. ing. This behavioral synthesis is a development technique for automatically generating a hardware description that can be logically synthesized called RTL (Register transfer level) code based on sequential processing code such as C language. The original specification of a digital logic circuit is C language or the like. This is a development method that is generally used when the design object described in (1) is made into hardware.

特開2012−248038号公報JP 2012-248038 A 特開2002−043934号公報JP 2002-043934 A 特開2004−228417号公報JP 2004-228417 A

しかしながら、上述した各特許文献にかかる構成では、以下のような問題があった。即ち、ディジタル論理回路を構成する各機能回路では、信号処理に伴う遅延が発生する。かかる遅延に対してディジタル論理回路全体が、適切な信号処理を行わせるためには(正常動作させるためには)、マルチサイクル数を適切に設定する必要がある。しかし、様々な動作条件により遅延量が変動してしまう。このことは、動作条件により適切なマルチサイクル数も変動してしまうことを意味している。従って、ディジタル論理回路の設計においては、動作条件を想定して適切なマルチサイクル数で動作するように設計しなければならず、かかる設計作業には多大の労力が必要となる問題があった。   However, the configuration according to each patent document described above has the following problems. That is, in each functional circuit constituting the digital logic circuit, a delay accompanying signal processing occurs. In order for the entire digital logic circuit to perform appropriate signal processing for such delay (in order to operate normally), it is necessary to set the number of multicycles appropriately. However, the amount of delay varies depending on various operating conditions. This means that the appropriate number of multicycles varies depending on the operating conditions. Accordingly, in designing a digital logic circuit, it is necessary to design the digital logic circuit so as to operate at an appropriate number of multi-cycles assuming an operating condition, and there has been a problem that a great amount of labor is required for such design work.

また、動作合成ツールを用いる場合、C言語記述が逐次処理記述であるため、処理の深さを見積ることが困難である。加えて、RTLコードを自動生成する等によってC言語記述を見ただけで、回路の遅延量を見積ることは非常に困難である。さらに、信号処理やアルゴリズム処理では、算術演算を用いた処理が頻出するため、回路の遅延量自体が、増大する傾向がある。これら事情により、ディジタル論理回路の設計においては、マルチサイクルパス設計が必要となるケースが、増加している。そこで、これらのディジタル論理回路を効率的に設計し、かつ、適切なマルチサイクル数で動作させるための開発手法が、求められていた。   Further, when using a behavioral synthesis tool, it is difficult to estimate the processing depth because the C language description is a sequential processing description. In addition, it is very difficult to estimate the delay amount of the circuit only by looking at the C language description by automatically generating the RTL code. Furthermore, in signal processing and algorithm processing, arithmetic processing is frequently used, so the circuit delay amount itself tends to increase. Due to these circumstances, there are an increasing number of cases where multi-cycle path design is required in the design of digital logic circuits. Therefore, a development method for efficiently designing these digital logic circuits and operating them with an appropriate number of multicycles has been demanded.

かかる問題をディジタル論理回路の一つであるシングルサイクル回路とマルチサイクル回路とを例示して説明する。   Such a problem will be described by exemplifying a single cycle circuit and a multicycle circuit which are one of digital logic circuits.

先ず、シングルサイクル回路について説明する。図6は、シングルサイクル回路の構成を示す図で、(a)はブロック図、(b)はタイミングチャートである。   First, a single cycle circuit will be described. 6A and 6B are diagrams showing the configuration of a single cycle circuit, where FIG. 6A is a block diagram and FIG. 6B is a timing chart.

このシングルサイクル回路は、端子ユニット100、組合せ回路ユニット110、ラッチユニット120を備える。   This single cycle circuit includes a terminal unit 100, a combinational circuit unit 110, and a latch unit 120.

端子ユニット100は、入力端子101a,101b、出力端子103a,103b、クロック端子102を備える。   The terminal unit 100 includes input terminals 101a and 101b, output terminals 103a and 103b, and a clock terminal 102.

組合せ回路ユニット110は、所定の処理Aを行う前段組合せ回路111、所定の処理Bを行う後段組合せ回路112を備える。なお、所定の処理Aとは前段組合せ回路11が本来行う処理であり、回路機能によりかかる処理内容が異なるので、単に処理Aと記載している。所定の処理Bについても同様である。   The combinational circuit unit 110 includes a pre-stage combination circuit 111 that performs a predetermined process A and a post-stage combination circuit 112 that performs a predetermined process B. Note that the predetermined process A is a process originally performed by the preceding combination circuit 11, and the content of the process differs depending on the circuit function. The same applies to the predetermined process B.

ラッチユニット120は、前段組合せ回路111の前段に設けられた前段ラッチ部121、前段組合せ回路111と後段組合せ回路112との間に設けられた中段ラッチ部122、後段組合せ回路112の後段に設けられた後段ラッチ部123を備える。   The latch unit 120 is provided at the front stage latch unit 121 provided before the front stage combination circuit 111, the middle stage latch unit 122 provided between the front stage combination circuit 111 and the rear stage combination circuit 112, and the rear stage of the rear stage combination circuit 112. The rear stage latch part 123 is provided.

また、前段ラッチ部121は、入力端子101aからの信号が入力するフィリップフロップ121a、入力端子101bからの信号が入力するフィリップフロップ121bを備える。同様に、中段ラッチ部122は、入力端子101aからの信号に対する前段組合せ回路111により処理Aが行われた結果信号が入力するフィリップフロップ122a、入力端子101bからの信号に対する前段組合せ回路111により処理Aが行われた結果信号が入力するフィリップフロップ122bを備える。後段ラッチ部123は、入力端子101aからの信号に対する後段組合せ回路112により処理Aが行われた結果信号が入力するフィリップフロップ123a、入力端子101bからの信号に対する後段組合せ回路112により処理Aが行われた結果信号が入力するフィリップフロップ123bを備える。   The pre-stage latch unit 121 includes a Philip flop 121a to which a signal from the input terminal 101a is input and a Philip flop 121b to which a signal from the input terminal 101b is input. Similarly, the middle stage latch unit 122 includes a Philip flop 122a to which a signal obtained as a result of the process A being performed by the preceding stage combination circuit 111 for the signal from the input terminal 101a and a process A by the preceding stage combination circuit 111 for the signal from the input terminal 101b. Philip flop 122b for inputting the result signal of the above. The rear stage latch unit 123 performs processing A by the rear stage combinational circuit 112 for the signal from the Philip flop 123a and the signal from the input terminal 101b to which the result signal obtained by performing the processing A by the rear stage combinational circuit 112 for the signal from the input terminal 101a. Philip flop 123b for inputting the result signal.

このような構成で、入力端子101a,101bからの入力信号(時系列的にDin_0、Din_1、Din_2、Din_3、…と記載)は、クロック端子102からのクロック信号の立上エッジで、前段ラッチ部121によりラッチされる。   With such a configuration, input signals from the input terminals 101a and 101b (denoted in time series as Din_0, Din_1, Din_2, Din_3,...) Are generated at the leading edge of the clock signal from the clock terminal 102. 121 is latched.

組合せ回路111は、前段ラッチ部121からの信号に対して所定の処理Aを行う。   The combinational circuit 111 performs a predetermined process A on the signal from the previous latch unit 121.

処理Aが行われた結果信号(時系列的にDa_0、Da_1、Da_2、Da_3、…と記載)は、次のクロック信号の立上エッジで、中段ラッチ部122によりラッチされる。   A result signal (Da_0, Da_1, Da_2, Da_3,... In time series) subjected to the processing A is latched by the intermediate latch unit 122 at the rising edge of the next clock signal.

組合せ回路112は、中段ラッチ部122からの結果信号に対して所定の処理Bを行う。   The combinational circuit 112 performs a predetermined process B on the result signal from the middle latch unit 122.

組合せ回路112で処理Bが行われた結果信号(時系列的にDb_0、Db_1、Db_2、Db_3、…と記載)は、次のクロック信号の立上エッジで、後段ラッチ部123によりラッチされる。   The result signal (denoted in time series as Db_0, Db_1, Db_2, Db_3,...) Subjected to the process B in the combinational circuit 112 is latched by the subsequent latch unit 123 at the rising edge of the next clock signal.

そして、後段ラッチ部123からの信号は、出力信号(時系列的にDout_0、Dout_1、Dout_2、Dout_3、…と記載)として出力端子103a,103bから出力される。   Then, the signal from the latter-stage latch unit 123 is output from the output terminals 103a and 103b as output signals (described as Dout_0, Dout_1, Dout_2, Dout_3,... In time series).

このとき、シングルサイクル回路が正常に動作するためには、組合せ回路111及び組合せ回路112等で生じる遅延量Dtがクロック信号の1周期以下であることが要求される。厳密には、中段ラッチ部122等やクロック信号のクロックスキューやジッターも考慮する必要があるが、説明を簡単にするために省略する。   At this time, in order for the single cycle circuit to operate normally, the delay amount Dt generated in the combinational circuit 111 and the combinational circuit 112 is required to be equal to or less than one cycle of the clock signal. Strictly speaking, it is necessary to consider the clock skew and jitter of the middle stage latch unit 122 and the like and the clock signal, but they are omitted for the sake of simplicity.

次に、マルチサイクル回路について説明する。図7は、マルチサイクル回路の構成を示す図で、(a)はブロック図、(b)はタイミングチャートである。マルチサイクル回路の構成は、シングルサイクル回路とほぼ同じであるが、N進カウンタ141が追加されている。そして、ラッチユニット120における各フィリップフロップは、N進カウンタ141からの信号(イネーブル信号)が入力するイネーブル端子を備えている。   Next, the multi-cycle circuit will be described. 7A and 7B are diagrams showing the configuration of the multi-cycle circuit, where FIG. 7A is a block diagram and FIG. 7B is a timing chart. The configuration of the multicycle circuit is almost the same as that of the single cycle circuit, but an N-ary counter 141 is added. Each lip flop in the latch unit 120 includes an enable terminal to which a signal (enable signal) from the N-ary counter 141 is input.

ここで、N進カウンタ141は、例えば4クロックに1回アサートされるカウンタ信号をイネーブル信号として出力するものとする。即ち、N=4の場合を考える。   Here, the N-ary counter 141 outputs, for example, a counter signal that is asserted once every four clocks as an enable signal. That is, consider the case of N = 4.

入力端子101a、101bからの入力信号(時系列的にDin_0、Din_1、Din_2、Din_3、…と記載)は、クロック端子102からのイネーブル信号の立上エッジで、前段ラッチ部121でラッチされる。   Input signals from the input terminals 101a and 101b (described in time series as Din_0, Din_1, Din_2, Din_3,...) Are latched by the pre-stage latch unit 121 at the rising edge of the enable signal from the clock terminal 102.

組合せ回路111は、前段ラッチ部121からの信号に対して所定の処理Aを行う。   The combinational circuit 111 performs a predetermined process A on the signal from the previous latch unit 121.

組合せ回路111で処理Aが行われて出力された結果信号(時系列的にDa_0、Da_1、Da_2、Da_3、…と記載)は、次のクロック信号の立上エッジで、中段ラッチ部122でラッチされる。   The result signal (processed as Da_0, Da_1, Da_2, Da_3,...) In time series is latched by the intermediate latch unit 122 at the rising edge of the next clock signal. Is done.

組合せ回路112は、中段ラッチ部221からの信号に対して所定の処理Bを行う。   The combinational circuit 112 performs a predetermined process B on the signal from the middle latch unit 221.

組合せ回路112で処理Bが行われて出力された信号(時系列的にDb_0、Db_1、Db_2、Db_3、…と記載)は、次のイネーブル信号の立上エッジで、後段ラッチ部123でラッチされる。   The signal (processed in the time series as Db_0, Db_1, Db_2, Db_3,...) Output after processing B is performed by the combinational circuit 112 is latched by the subsequent latch unit 123 at the rising edge of the next enable signal. The

そして、後段ラッチ部123からの信号は、出力信号(時系列的にDout_0、Dout_1、Dout_2、Dout_3、…と記載)として出力端子103a、103bから出力される。   Then, the signal from the latter-stage latch unit 123 is output from the output terminals 103a and 103b as output signals (described as Dout_0, Dout_1, Dout_2, Dout_3,... In time series).

このときマルチサイクル回路が正常に動作するためには、組合せ回路111及び組合せ回路112等による遅延量がN進カウンタの設定周期以下でなければならない(イネーブル信号の1周期以下)。即ち、イネーブル信号の1周期がクロック信号の4周期(N=4)の場合は、遅延量Dtはクロック信号の4周期(4T)以下でなければならない。この場合も、厳密には、ラッチユニット120及びクロック信号のクロックスキューやジッターも考慮する必要があるが、説明を簡単にするために省略する。   At this time, in order for the multi-cycle circuit to operate normally, the delay amount by the combinational circuit 111 and the combinational circuit 112 must be less than or equal to the set period of the N-ary counter (one period or less of the enable signal). That is, when one cycle of the enable signal is four cycles (N = 4) of the clock signal, the delay amount Dt must be less than or equal to four cycles (4T) of the clock signal. In this case as well, strictly speaking, it is necessary to consider the clock skew and jitter of the latch unit 120 and the clock signal, but they are omitted for the sake of simplicity.

動作合成ツールを用いたディジタル論理回路の開発では、マルチサイクル回路の適用頻度が増加する傾向にある。これはデバイス上にインプリメントされた時の回路遅延を予測する際に、記述の抽象度が実際の回路と比較的近いRTLコードよりも、より抽象的に記述されたC言語等のコードの方が回路遅延の見積が難しくなるためである。   In the development of digital logic circuits using behavioral synthesis tools, the frequency of application of multi-cycle circuits tends to increase. This is because, when predicting a circuit delay when implemented on a device, a C language code or the like described more abstractly than an RTL code whose description abstraction level is relatively close to that of an actual circuit. This is because it becomes difficult to estimate the circuit delay.

C言語等で記述される機能がある程度複雑なものになると、デバイス上にインプリメントされた際の回路遅延の絶対値も大きくなり、遅延量が1クロック周期で収まらない回路となることが多々発生することになる。このような回路は、マルチサイクル回路として図7(a)で説明したような回路を用いてディジタル論理回路に組み込まれることになる。   When the functions described in C language or the like become complicated to some extent, the absolute value of the circuit delay when implemented on a device also increases, often resulting in a circuit in which the delay amount does not fit in one clock cycle. It will be. Such a circuit is incorporated into a digital logic circuit as a multi-cycle circuit using the circuit described with reference to FIG.

回路の遅延量に対して適切なマルチサイクル数を持ったディジタル論理回路を実現する上で、様々な動作条件により回路の遅延量が変動すると適切なマルチサイクル数も変動する。   In realizing a digital logic circuit having an appropriate multi-cycle number with respect to the circuit delay amount, the appropriate multi-cycle number also changes when the circuit delay amount changes due to various operating conditions.

このような変更要因として、(1)実装デバイスの遅延性能、(2)動作モード、(3)省電力モード、(4)要求仕様変更に伴う設計変更が例示できる。   Examples of such a change factor include (1) delay performance of the mounted device, (2) operation mode, (3) power saving mode, and (4) design change associated with required specification change.

(1)実装デバイスの遅延性能
設計したディジタル論理回路を動作させるデバイス自身の遅延性能によって、ディジタル論理回路の遅延量が変動することがある。そのため適用するディジタル論理回路によって適切なマルチサイクル数も変化する。また、外部メモリデバイスを使用するディジタル論理回路の場合は、外部メモリのアクセスタイムも遅延量に影響を与える。
(1) Delay performance of mounted device The delay amount of the digital logic circuit may vary depending on the delay performance of the device itself that operates the designed digital logic circuit. Therefore, the appropriate number of multicycles varies depending on the applied digital logic circuit. In the case of a digital logic circuit using an external memory device, the access time of the external memory also affects the delay amount.

(2)動作モード
設計するディジタル論理回路が複数の動作モードを持つ場合に、動作モード毎に回路の遅延量が異なり適切なマルチサイクル数が変化することがある。
(2) Operation mode When the digital logic circuit to be designed has a plurality of operation modes, the delay amount of the circuit differs for each operation mode, and an appropriate multicycle number may change.

(3)省電力モード
省電力を目的としてディジタル論理回路の電源電圧を定格の範囲内で低下させて動作させることによって回路の遅延量が変化することにより適切なマルチサイクル数も変化することがある。
(3) Power-saving mode When the power supply voltage of the digital logic circuit is lowered within the rated range and operated for the purpose of power-saving, the number of multi-cycles may change as the circuit delay amount changes. .

(4)要求仕様変更に伴う設計変更
一旦開発したディジタル論理回路に対して機能の追加や変更が必要になった場合、設計変更後の回路の遅延量が変化することによって適切なマルチサイクル数が変化することがある。
(4) Design changes due to changes in required specifications When it is necessary to add or change functions to a digital logic circuit that has been developed once, the appropriate number of multi-cycles can be obtained by changing the delay amount of the circuit after the design change. May change.

従って、ディジタル論理回路の設計においては、上記に列挙した各動作条件を想定して適切なマルチサイクル数で動作させる設計を行うことは非常に労力のかかる作業であった。   Therefore, in designing a digital logic circuit, it has been a very labor-intensive work to design the digital logic circuit to operate at an appropriate number of multi-cycles assuming the above-described operating conditions.

そこで、本発明の主目的は種々の動作条件に対しても適切なマルチサイクル数で動作できるように、マルチサイクル数が自律判定できるマルチサイクル数自律判定装置及びマルチサイクル数自律判定方法を提供することである。   Accordingly, a main object of the present invention is to provide a multicycle number autonomous determination device and a multicycle number autonomous determination method capable of autonomously determining the multicycle number so that the multicycle number can be operated with an appropriate multicycle number even under various operating conditions. That is.

上記課題を解決するため、所定の機能をなす少なくとも1以上の組合せ回路に入力する信号をラッチする前段ラッチ部及び、組合せ回路からの出力信号をラッチする後段ラッチ部をからなるディジタル論理回路における各処理で発生する遅延量に適応したマルチサイクル数を自律判定するマルチサイクル数自律判定装置にかかる発明は、少なくとも入力要素の組み合わせパタンに対応した試験パタン信号を生成して組合せ回路に出力する試験パタン信号生成部と、サイクル数を示すマルチサイクル数設定指令を出力し、その際に動作条件が変化した際には予め設定されたマルチサイクル数初期値を低速試験時のサイクル数とするマルチサイクル数設定指令を出力して、試験パタン信号生成部に低速試験用の試験パタン信号を生成させ、該低速試験が終了するとマルチサイクル数初期値より小さい値を高速試験時のサイクル数とするマルチサイクル数トライ値としたマルチサイクル数設定指令を出力して、試験パタン信号生成部に高速試験用の試験パタン信号を生成させるシーケンサと、試験パタン信号に対して組合せ回路が行った処理結果を記憶し、その際に低速試験用の試験パタン信号に対する処理結果と高速試験用の試験パタン信号に対する処理結果との一致を判断する比較ユニットと、を備え、シーケンサは、比較ユニットからの比較結果が低速試験用の試験パタン信号に対する処理結果と高速試験用の試験パタン信号に対する処理結果とが一致しなくなるまで、マルチサイクル数から1を減算した値を新たなマルチサイクル数トライ値としてマルチサイクル数設定指令を出力して、低速試験用の試験パタン信号に対する処理結果と高速試験用の試験パタン信号に対する処理結果とが不一致になったときのマルチサイクル数に1を加算した値を最適マルチサイクルとして判定することを特徴とするマルチサイクル数自律判定装置。   In order to solve the above-described problems, each digital logic circuit includes a front-stage latch unit that latches a signal input to at least one combinational circuit having a predetermined function, and a rear-stage latch unit that latches an output signal from the combinational circuit. An invention relating to a multi-cycle number autonomous determination device that autonomously determines the number of multi-cycles adapted to a delay amount generated in a process generates a test pattern signal corresponding to at least a combination pattern of input elements and outputs the test pattern signal to a combinational circuit Multi-cycle number that outputs a signal generation unit and a multi-cycle number setting command indicating the number of cycles, and when the operating conditions change at that time, the preset multi-cycle number initial value is the number of cycles in the low-speed test. Outputs a setting command and causes the test pattern signal generator to generate a test pattern signal for low-speed testing. When the test is completed, a multicycle number setting command is output, which is a multicycle number trie value that uses a value smaller than the initial value of the multicycle number as the cycle number for high-speed testing, and a test pattern for high-speed testing is output to the test pattern signal generator. A sequencer for generating a signal and a result of processing performed by the combinational circuit on the test pattern signal are stored. At that time, a result of processing for the test pattern signal for the low speed test and a result of processing for the test pattern signal for the high speed test are stored. And a sequencer that determines whether the comparison result from the comparison unit does not match the processing result for the test pattern signal for the low speed test and the processing result for the test pattern signal for the high speed test. Multicycle number setting command is issued with the value obtained by subtracting 1 from the cycle number as the new multicycle number trie value. The value obtained by adding 1 to the number of multicycles when the processing result for the test pattern signal for the low speed test and the processing result for the test pattern signal for the high speed test do not match is determined as the optimum multicycle. Multi-cycle number autonomous determination device characterized.

また、所定の機能をなす組合せ回路に入力する信号をラッチする前段ラッチ部及び、組合せ回路からの出力信号をラッチする後段ラッチ部をからなるディジタル論理回路における各処理で発生する遅延量に適応したマルチサイクル数を自律判定するマルチサイクル数自律判定方法にかかる発明は、入力要素の組み合わせパタン毎に対応した試験パタン信号を生成して組合せ回路に出力する試験パタン信号生成手順と、サイクル数を示すマルチサイクル数設定指令を出力し、その際に動作条件が変化した際には予め設定されたマルチサイクル数初期値を低速試験時のサイクル数とするマルチサイクル数設定指令を出力して、低速試験用の試験パタン信号を生成させ、該低速試験が終了するとマルチサイクル数初期値より小さい値を高速試験時のサイクル数とするマルチサイクル数トライ値としたマルチサイクル数設定指令を出力して、該高速試験用の試験パタン信号を生成させるシーケンス手順と、試験パタン信号に対して組合せ回路が行った処理結果を記憶し、その際に低速試験用の試験パタン信号に対する処理結果と高速試験用の試験パタン信号に対する処理結果との一致を判断する比較手順と、を備え、シーケンス手順は、比較結果が低速試験用の試験パタン信号に対する処理結果と高速試験用の試験パタン信号に対する処理結果とが一致しなくなるまで、マルチサイクル数から1を減算した値を新たなマルチサイクル数トライ値としたマルチサイクル数設定指令を出力して、低速試験用の試験パタン信号に対する処理結果と高速試験用の試験パタン信号に対する処理結果とが不一致になったときのマルチサイクル数に1を加算した値を最適マルチサイクルとして判定する手順を含むことを特徴とするマルチサイクル数自律判定方法。   In addition, it is adapted to the delay amount generated in each process in the digital logic circuit comprising a pre-stage latch unit that latches a signal input to a combinational circuit having a predetermined function and a post-stage latch unit that latches an output signal from the combinational circuit. The invention according to the multicycle number autonomous determination method for autonomously determining the number of multicycles shows a test pattern signal generation procedure for generating a test pattern signal corresponding to each combination pattern of input elements and outputting it to a combinational circuit, and the cycle number A multi-cycle number setting command is output, and if the operating conditions change at that time, a multi-cycle number setting command is output that uses the preset initial value of the multi-cycle number as the number of cycles during the low-speed test. When the low-speed test is completed, a value smaller than the initial value of the multi-cycle number is set for the high-speed test. The multi-cycle number setting command that outputs the multi-cycle number as the number of cycles is output, and the sequence procedure for generating the test pattern signal for the high-speed test and the processing result performed by the combinational circuit on the test pattern signal are shown. And a comparison procedure for determining the coincidence between the processing result for the test pattern signal for the low speed test and the processing result for the test pattern signal for the high speed test, and the sequence procedure is for the low speed test. A multi-cycle number setting command with a new multi-cycle number trie value set to a value obtained by subtracting 1 from the multi-cycle number until the processing result for the test pattern signal in FIG. Output the processing result for the test pattern signal for the low speed test and the processing result for the test pattern signal for the high speed test. Multi Cycles autonomous determination method, characterized in that the multi-number of cycles comprising the steps determining a value obtained by adding 1 as the best multi-cycle when it is matched.

本発明によれば種々の動作条件が変化した際に、自立的に適切なマルチサイクル数を判定できるようになる。   According to the present invention, an appropriate number of multicycles can be determined autonomously when various operating conditions change.

ディジタル論理回路におけるマルチサイクル数自律判定処理の概念を説明した図である。It is the figure explaining the concept of the multi-cycle number autonomous determination process in a digital logic circuit. マルチサイクル数自律判定装置が組み込まれたディジタル論理回路のブロック図である。It is a block diagram of a digital logic circuit incorporating a multicycle number autonomous determination device. ディジタル論理回路における動作モードの遷移を示した図である。It is the figure which showed the transition of the operation mode in a digital logic circuit. サイクル数判定処理モードの動作を示すフローチャートである。It is a flowchart which shows operation | movement of cycle number determination processing mode. マルチサイクル数と回路遅延量の関係を説明するタイミングチャートで、(a)はマルチサイクル数=5、(b)はマルチサイクル数=4、(c)はマルチサイクル数=3の場合を示している。FIG. 5 is a timing chart for explaining the relationship between the number of multicycles and the amount of circuit delay, where (a) shows the number of multicycles = 5, (b) shows the number of multicycles = 4, and (c) shows the case of the number of multicycles = 3. Yes. 関連技術の説明に適用されるシングルサイクル回路の動作を示す図で、(a)はブロック図、(b)はタイミングチャートである。It is a figure which shows operation | movement of the single cycle circuit applied to description of a related art, (a) is a block diagram, (b) is a timing chart. 関連技術の説明に適用されるマルチサイクル回路の動作を示す図で、(a)はブロック図、(b)はタイミングチャートである。It is a figure which shows operation | movement of the multicycle circuit applied to description of a related art, (a) is a block diagram, (b) is a timing chart.

発明を実施するための形態の説明に先立ち、本発明の概要及び原理を説明する。マルチサイクル数自律判定装置は、ディジタル論理回路に組み込まれて、ディジタル論理回路が本来目的とする処理の開始前に最適なマルチサイクル数を調べるためのマルチサイクル数自律判定処理を行う。これにより、様々な動作条件下において、常に最適なマルチサイクル数でディジタル論理回路を動作させ、処理スループット向上や低消費電力化を図った回路を容易に開発することが可能になる。   Prior to the description of the mode for carrying out the invention, the outline and principle of the present invention will be described. The multi-cycle number autonomous determination device is incorporated in a digital logic circuit, and performs a multi-cycle number autonomous determination process for examining the optimum multi-cycle number before the digital logic circuit originally starts processing. As a result, it is possible to easily develop a circuit that always operates the digital logic circuit with the optimum number of multi-cycles under various operating conditions, thereby improving processing throughput and reducing power consumption.

図1は、ディジタル論理回路におけるマルチサイクル数自律判定処理(以下、サイクル数判定処理と適宜記載する)の概念を説明した図である。ディジタル論理回路は、当該ディジタル論理回路における本来目的の処理(正規処理)と、サイクル数判定処理とを選択的に行う。そして、サイクル数判定処理は正規処理の開始前に低速試験と高速試験とを行い、この結果を比較することにより最適サイクル数を決定する。
(低速試験)
外部回路からの開始指令G1がディジタル論理回路に入力すると、サイクル数判定処理が開始する。即ち、開始指令G1がシーケンサ11に入力すると、シーケンサ11は予め設定されたマルチサイクル数設定値をサイクル数初期値とするマルチサイクル数設定指令G2を試験パタン信号生成部12及び組合せ回路13に出力する。
FIG. 1 is a diagram illustrating the concept of multi-cycle number autonomous determination processing (hereinafter referred to as cycle number determination processing as appropriate) in a digital logic circuit. The digital logic circuit selectively performs the originally intended process (normal process) in the digital logic circuit and the cycle number determination process. In the cycle number determination process, the low speed test and the high speed test are performed before the start of the regular process, and the optimum number of cycles is determined by comparing the results.
(Low speed test)
When the start command G1 from the external circuit is input to the digital logic circuit, the cycle number determination process starts. That is, when the start command G1 is input to the sequencer 11, the sequencer 11 outputs a multicycle number setting command G2 having a preset multicycle number setting value as a cycle number initial value to the test pattern signal generation unit 12 and the combinational circuit 13. To do.

このときサイクル数初期値は、組合せ回路13に対して想定された遅延量より十分大きなマルチサイクル数とする。即ち、サイクル時間は、組合せ回路13の遅延量より十分大きい値になるように、サイクル数初期値が設定される。   At this time, the initial number of cycles is set to a number of multicycles sufficiently larger than the delay amount assumed for the combinational circuit 13. That is, the cycle number initial value is set so that the cycle time is sufficiently larger than the delay amount of the combinational circuit 13.

次に、シーケンサ11は、試験パタン信号生成部12に対して試験パタン信号生成指令G3を出力する。これにより試験パタン信号生成部12は、試験パタン信号を生成して組合せ回路13に出力する。このとき生成される試験パタン信号は、ディジタル論理回路を構成する全ての入力要素を組み合わせた際の、組み合わせ毎の試験パタン信号である。   Next, the sequencer 11 outputs a test pattern signal generation command G3 to the test pattern signal generation unit 12. As a result, the test pattern signal generation unit 12 generates a test pattern signal and outputs it to the combinational circuit 13. The test pattern signal generated at this time is a test pattern signal for each combination when all input elements constituting the digital logic circuit are combined.

組合せ回路13は、試験パタン信号に対する処理結果を、低速試験時の処理結果G4として第1メモリ14に格納する。   The combinational circuit 13 stores the processing result for the test pattern signal in the first memory 14 as the processing result G4 for the low speed test.

全ての組合せ試験パタン信号に対する処理結果が第1メモリ14に格納されると、シーケンサ11は、現在のマルチサイクル数より1だけ小さい値のマルチサイクル数に変更し(変更されたマルチサイクル数をマルチサイクル数トライ値)これを新たなマルチサイクル数設定指令G2として出力する。
(高速試験処理)
そして、シーケンサ11は、新たなマルチサイクル数設定指令G2を試験パタン信号生成部12及び組合せ回路13に出力する。これにより、試験パタン信号生成部12は、新たに通知されたマルチサイクル数トライ値に対して試験パタン信号を作成し、組合せ回路13に出力する。組合せ回路13は、試験パタン信号に対する処理結果を、高速試験時の処理結果G5として第2メモリ15に格納する。
When the processing results for all the combination test pattern signals are stored in the first memory 14, the sequencer 11 changes the multicycle number to a value smaller by 1 than the current multicycle number (the changed multicycle number is changed to the multicycle number). This is output as a new multicycle number setting command G2.
(High-speed test processing)
Then, the sequencer 11 outputs a new multicycle number setting command G2 to the test pattern signal generation unit 12 and the combinational circuit 13. Accordingly, the test pattern signal generation unit 12 creates a test pattern signal for the newly notified multi-cycle number trie value and outputs the test pattern signal to the combinational circuit 13. The combinational circuit 13 stores the processing result for the test pattern signal in the second memory 15 as the processing result G5 during the high-speed test.

全ての組合せ試験パタン信号に対する処理結果が第2メモリ15に格納されると、値比較部16は、第1メモリ14に格納された低速試験時の処理結果と第2メモリ15に格納された高速試験時の処理結果との値比較を行う。   When the processing results for all the combination test pattern signals are stored in the second memory 15, the value comparison unit 16 stores the processing results for the low speed test stored in the first memory 14 and the high speed stored in the second memory 15. Compare the values with the processing results during the test.

この比較結果はシーケンサ11に通知され、全ての値が一致した場合にはマルチサイクル数設定指令G2を現在値より1小さい値に再設定して、上記高速試験処理を繰り返す。   This comparison result is notified to the sequencer 11, and when all the values match, the multi-cycle number setting command G2 is reset to a value one smaller than the current value, and the high-speed test process is repeated.

一方、低速試験時の処理結果と高速試験時の処理結果とが不一致である場合、マルチサイクル数の決定処理が行われる。   On the other hand, when the processing result in the low-speed test and the processing result in the high-speed test do not match, multi-cycle number determination processing is performed.

即ち、比較結果が不一致の場合(正確には、一致から不一致になった場合)、現在のマルチサイクル数設定値に1を加えた値を、現状の動作条件に対する最適なマルチサイクル数設定値と決定し、これによりサイクル数判定処理は終了する。   That is, when the comparison result does not match (exactly, when there is a mismatch from the match), a value obtained by adding 1 to the current multicycle number setting value is set as the optimum multicycle number setting value for the current operating condition. As a result, the cycle number determination process ends.

<第1実施形態>
次に、上述した発明の原理に基づく本発明の実施形態を説明する。図2は、本実施形態にかかるマルチサイクル数自律判定装置が組み込まれたディジタル論理回路20のブロック図である。このディジタル論理回路20は、マルチサイクル数自律判定装置が組み込まれたディジタル論理回路20のブロック図である。
<First Embodiment>
Next, an embodiment of the present invention based on the principle of the above-described invention will be described. FIG. 2 is a block diagram of the digital logic circuit 20 in which the multi-cycle number autonomous determination device according to the present embodiment is incorporated. This digital logic circuit 20 is a block diagram of the digital logic circuit 20 in which a multi-cycle number autonomous determination device is incorporated.

ディジタル論理回路20は、セレクタユニット21、ラッチユニット22、組合せ回路23、比較ユニット24、シーケンサ25、試験パタン信号生成部26、N進カウンタ27、入力側端子ユニット28、出力側端子ユニット29を備える。そして、マルチサイクル数自律判定装置は、セレクタユニット21、比較ユニット24、シーケンサ25、試験パタン信号生成部26等により構成されている。   The digital logic circuit 20 includes a selector unit 21, a latch unit 22, a combinational circuit 23, a comparison unit 24, a sequencer 25, a test pattern signal generation unit 26, an N-ary counter 27, an input side terminal unit 28, and an output side terminal unit 29. . The multicycle number autonomous determination device includes a selector unit 21, a comparison unit 24, a sequencer 25, a test pattern signal generator 26, and the like.

セレクタユニット21は、処理対象である入力信号と試験パタン信号とのいずれか1方を選択してラッチユニット22に出力するセレクタ21a,21bを備える。   The selector unit 21 includes selectors 21 a and 21 b that select one of an input signal to be processed and a test pattern signal and output the selected signal to the latch unit 22.

ラッチユニット22は、組合せ回路23の前段に設けられて処理対象データをラッチするイネーブル機能付きの前段ラッチ部22A(22Aa,22Ab)、組合せ回路23の後段に設けられて該組合せ回路23の処理結果をラッチするイネーブル機能付きの後段ラッチ部22B(22Ba,22Bb)を備える。   The latch unit 22 is provided at the front stage of the combinational circuit 23 and is provided at the front stage of the front stage latch unit 22A (22Aa, 22Ab) with an enable function for latching the processing target data, and the processing result of the combinational circuit 23. Is provided with a post-stage latch unit 22B (22Ba, 22Bb) having an enable function.

組合せ回路23は、ディジタル論理回路20の処理ロジックを含み、所定の処理Cを行う。   The combinational circuit 23 includes processing logic of the digital logic circuit 20 and performs predetermined processing C.

比較ユニット24は、第1メモリ24Aa及び第2メモリ24Abを含むメモリ部24A、メモリ部24Aの書込み及び読出し制御を行うメモリ制御部24B、第1メモリ24Aa及び第2メモリ24Abの値を比較する値比較部24Cを含む。   The comparison unit 24 compares the values of the memory unit 24A including the first memory 24Aa and the second memory 24Ab, the memory control unit 24B that performs writing and reading control of the memory unit 24A, and the values of the first memory 24Aa and the second memory 24Ab. A comparison unit 24C is included.

このとき、第1メモリ24Aaには、低速試験時における組合せ回路23のサイクル数判定結果が格納される。また、第2メモリ24Abには、高速試験時における組合せ回路23のサイクル数判定結果が格納される。そして、値比較部24Cは、第1メモリ24Aaと第2メモリ24Abとに格納されているデータ値を比較する。   At this time, the first memory 24Aa stores the cycle number determination result of the combinational circuit 23 during the low-speed test. The second memory 24Ab stores the cycle number determination result of the combinational circuit 23 during the high-speed test. Then, the value comparison unit 24C compares the data values stored in the first memory 24Aa and the second memory 24Ab.

シーケンサ25は、サイクル数判定処理におけるサイクル数設定指示G21、データ選択信号G22、試験パタン信号生成指令G23を出力する。   The sequencer 25 outputs a cycle number setting instruction G21, a data selection signal G22, and a test pattern signal generation command G23 in the cycle number determination process.

試験パタン信号生成部26は、サイクル数判定処理における試験パタン信号を生成する。   The test pattern signal generator 26 generates a test pattern signal in the cycle number determination process.

N進カウンタ27は、組合せ回路23に対してのマルチサイクル数を指示する。   The N-ary counter 27 instructs the number of multicycles for the combinational circuit 23.

入力側端子ユニット28は、入力信号端子(IN1,IN2)28a,28b、処理タイミング指示信号端子(IEN)28c、クロック信号端子(CLK)28d、判定開始信号端子(REQ)28e、リセット信号端子(RST)28f、を備える。   The input side terminal unit 28 includes input signal terminals (IN1, IN2) 28a, 28b, a processing timing instruction signal terminal (IEN) 28c, a clock signal terminal (CLK) 28d, a determination start signal terminal (REQ) 28e, a reset signal terminal ( RST) 28f.

出力側端子ユニット29は、ディジタル論理回路20の処理結果が出力される出力信号端子(OUT1、OUT2)29a,29b、後段のディジタル論理回路20に対する処理タイミング指示信号端子(OEN)29c、判定終了信号端子(FIN)29dを備える。   The output side terminal unit 29 includes output signal terminals (OUT1, OUT2) 29a and 29b from which the processing result of the digital logic circuit 20 is output, a processing timing instruction signal terminal (OEN) 29c for the subsequent digital logic circuit 20, and a determination end signal. A terminal (FIN) 29d is provided.

次に、上記ディジタル論理回路20の動作を説明する。   Next, the operation of the digital logic circuit 20 will be described.

図3は、ディジタル論理回路20における動作モードの遷移を示した図である。ディジタル論理回路20は、本来の処理(正規処理)を行う正規処理モードと、サイクル数判定処理を行うサイクル数判定処理モードとの、2つのモードを切り替えながら動作する。   FIG. 3 is a diagram showing transition of operation modes in the digital logic circuit 20. The digital logic circuit 20 operates while switching between two modes, a normal processing mode for performing original processing (normal processing) and a cycle number determination processing mode for performing cycle number determination processing.

リセット信号端子28fにリセット信号G11が入力すると、ディジタル論理回路20は初期化される。この初期化により、ディジタル論理回路20はサイクル数判定処理モードに遷移し、サイクル数判定処理を開始する。   When the reset signal G11 is input to the reset signal terminal 28f, the digital logic circuit 20 is initialized. By this initialization, the digital logic circuit 20 shifts to the cycle number determination process mode and starts the cycle number determination process.

そして、判定終了信号端子29dにサイクル数判定処理終了指令G12が入力すると、ディジタル論理回路20は正規処理モードに遷移する。   When the cycle number determination process end command G12 is input to the determination end signal terminal 29d, the digital logic circuit 20 shifts to the normal processing mode.

このとき、サイクル数判定処理モードにおけるサイクル数判定処理により決定されたサイクル数が、N進カウンタ70に設定される。正規処理モードにおいては、この設定されたサイクル数で正規処理が行われる。   At this time, the cycle number determined by the cycle number determination process in the cycle number determination process mode is set in the N-ary counter 70. In the normal processing mode, normal processing is performed with the set number of cycles.

ディジタル論理回路20が正規処理モードで正規処理を実行している最中に動作条件が変化すると、リセット信号端子28fから再度サイクル数判定処理の開始を意味するリセット信号G11が入力して、ディジタル論理回路20は正規処理モードからサイクル数判定処理モードに遷移する。そして、上述したようにサイクル数が決定される。   If the operating condition changes while the digital logic circuit 20 is executing normal processing in the normal processing mode, a reset signal G11 indicating the start of the cycle number determination processing is input again from the reset signal terminal 28f, and the digital logic The circuit 20 transitions from the normal processing mode to the cycle number determination processing mode. Then, as described above, the number of cycles is determined.

次に、サイクル数判定処理モードの動作を、図4に示すフローチャートを参照して説明する。   Next, the operation in the cycle number determination processing mode will be described with reference to the flowchart shown in FIG.

ステップSA1: リセット信号G11が入力して、ディジタル論理回路20が初期化されると、ディジタル論理回路20はサイクル数判定処理モードに遷移して、サイクル数判定処理を開始する。サイクル数判定処理が開始されると、シーケンサ25は、マルチサイクル数を指定するサイクル数設定指示G21をN進カウンタ27、試験パタン信号生成部12及びメモリ制御部24Bに出力する。このときのサイクル数は、暫定値であり、ここではMとする。但し、暫定値Mは、実装される組合せ回路23における想定した遅延量に対して十分に大きな値とする。   Step SA1: When the reset signal G11 is input and the digital logic circuit 20 is initialized, the digital logic circuit 20 shifts to the cycle number determination processing mode and starts the cycle number determination process. When the cycle number determination process is started, the sequencer 25 outputs a cycle number setting instruction G21 for specifying the multicycle number to the N-ary counter 27, the test pattern signal generation unit 12, and the memory control unit 24B. The number of cycles at this time is a provisional value, and is M here. However, the provisional value M is set to a sufficiently large value with respect to the assumed delay amount in the combinational circuit 23 to be mounted.

ステップSA2: 次に、シーケンサ25は、試験パタン信号生成部12からの信号を選択するためのデータ選択信号G22を、セレクタユニット21に対して出力する。   Step SA2: Next, the sequencer 25 outputs a data selection signal G22 for selecting a signal from the test pattern signal generator 12 to the selector unit 21.

ステップSA3: その後、シーケンサ25は、試験パタン信号生成部12及びメモリ制御部24Bに対して、試験パタン信号生成指令G23を出力する。これにより試験パタン信号生成部12は、試験パタン信号を生成し、セレクタユニット21に出力する。   Step SA3: Thereafter, the sequencer 25 outputs a test pattern signal generation command G23 to the test pattern signal generation unit 12 and the memory control unit 24B. As a result, the test pattern signal generator 12 generates a test pattern signal and outputs it to the selector unit 21.

ステップSA4:以上により、サイクル数判定処理(低速試験)の前準備が完了するので、サイクル数判定が開始される。   Step SA4: Since the preparation for the cycle number determination process (low speed test) is completed as described above, the cycle number determination is started.

低速試験におけるサイクル数判定処理では、試験パタン信号生成部12が試験パタン信号を生成し、セレクタユニット21が信号選択を行い、前段ラッチ部22Aが信号のラッチを行う。そして、組合せ回路23がラッチされた信号に対して処理Cを行い、その出力を後段ラッチ部22Bがラッチする。後段ラッチ部22Bからの信号は、比較ユニット24のメモリ部24Aに記憶される。   In the cycle number determination process in the low-speed test, the test pattern signal generation unit 12 generates a test pattern signal, the selector unit 21 performs signal selection, and the pre-stage latch unit 22A latches the signal. Then, the combinational circuit 23 performs processing C on the latched signal, and the subsequent stage latch unit 22B latches the output. The signal from the rear stage latch unit 22B is stored in the memory unit 24A of the comparison unit 24.

即ち、試験パタン信号生成部12に試験パタン信号生成指令G23が受信されると、この試験パタン信号生成部12はクロック信号端子28dから入力したクロック信号G26の周期Tに対してM倍の周期(=T*M)で、全ての入力要素の組合せのパタンを試験パタン信号として生成する。なお、組合せ数は、データ入力信号の二乗数ある。例えば、図2のように入力信号が2本の場合は4パタン、入力信号が16本の場合は256パタンの試験パタン信号が生成される。   That is, when the test pattern signal generation command G23 is received by the test pattern signal generation unit 12, the test pattern signal generation unit 12 has a cycle (M times the cycle T of the clock signal G26 input from the clock signal terminal 28d). = T * M), a combination pattern of all input elements is generated as a test pattern signal. The number of combinations is the square of the data input signal. For example, as shown in FIG. 2, when there are two input signals, a test pattern signal of 4 patterns is generated, and when there are 16 input signals, a test pattern signal of 256 patterns is generated.

セレクタユニット21は、データ選択信号G22に基づき、試験パタン信号生成部26からの信号を選択して、前段ラッチ部22Aに出力する。即ち、セレクタユニット21は、サイクル数判定処理モードの最中は、常時試験パタン信号生成部12からの信号を選択して前段ラッチ部22Aに出力する。なお、正規処理モードの時は、セレクタユニット21は、入力端子28a,28bからの入力信号を選択して前段ラッチ部22Aに出力する。   The selector unit 21 selects a signal from the test pattern signal generation unit 26 based on the data selection signal G22 and outputs it to the preceding latch unit 22A. That is, during the cycle number determination processing mode, the selector unit 21 always selects the signal from the test pattern signal generation unit 12 and outputs it to the preceding latch unit 22A. In the normal processing mode, the selector unit 21 selects input signals from the input terminals 28a and 28b and outputs them to the preceding latch unit 22A.

前段ラッチ部22Aに含まれる各フィリップフロップ22Aa、22Abは、イネーブル機能を有する。そして、N進カウンタ27から出力されるラッチイネーブル信号G24に同期して、セレクタユニット21からの信号をラッチする。従って、前段ラッチ部22Aは、サイクル数判定処理モードにおいては試験パタン信号をラッチし、正規処理モードにおいては入力端子28a,28bからの入力信号をラッチする。   Each Philip flop 22Aa, 22Ab included in the preceding latch portion 22A has an enable function. Then, in synchronization with the latch enable signal G24 output from the N-ary counter 27, the signal from the selector unit 21 is latched. Accordingly, the pre-stage latch unit 22A latches the test pattern signal in the cycle number determination processing mode, and latches the input signals from the input terminals 28a and 28b in the normal processing mode.

組合せ回路23は、前段ラッチ部22Aからの信号に対して処理Cを行う。   The combinational circuit 23 performs process C on the signal from the preceding latch unit 22A.

後段ラッチ部22Bに含まれる各フィリップフロップ22Ba、22Bbは、イネーブル機能を有する。そして、N進カウンタ27から出力されるラッチイネーブル信号G24に同期して、組合せ回路23からの信号をラッチする。従って、後段ラッチ部22Bは、サイクル数判定処理モードにおいては処理Cを行った試験パタン信号をラッチし、正規処理モードにおいては処理Cを行った入力信号をラッチする。   Each Philip flop 22Ba, 22Bb included in the rear latch unit 22B has an enable function. Then, the signal from the combinational circuit 23 is latched in synchronization with the latch enable signal G24 output from the N-ary counter 27. Therefore, the post-stage latch unit 22B latches the test pattern signal that has undergone the process C in the cycle number determination process mode, and latches the input signal that has undergone the process C in the normal process mode.

この時、後段ラッチ部22Bは前段ラッチ部22Aと同じイネーブル信号G24でラッチするので、クロック信号G26の周期Tに対してM倍の周期(=T*M)の時間が、組合せ回路23における処理Cに対して与えられる。   At this time, since the latter stage latch unit 22B latches with the same enable signal G24 as the former stage latch unit 22A, the time of M times the period (= T * M) with respect to the period T of the clock signal G26 is processed in the combinational circuit 23. Given for C.

メモリ制御部24Bは、後段ラッチ部22Bがラッチしたデータを、第1メモリ24Aaに書き込むために、メモリ制御信号G25をラッチイネーブル信号G24のタイミングで出力する。これにより、試験パタン信号に対して処理Cが行われた結果が、第1メモリ24Aaに書き込まれる。なお、先にも説明したように、試験パタン信号は複数存在するので、処理Cが行われた各試験パタン信号の処理結果は第1メモリ24Aaに順に(例えば、先頭アドレスから)書き込まれる。   The memory control unit 24B outputs a memory control signal G25 at the timing of the latch enable signal G24 in order to write the data latched by the post-stage latch unit 22B to the first memory 24Aa. As a result, the result of processing C performed on the test pattern signal is written to the first memory 24Aa. As described above, since there are a plurality of test pattern signals, the processing result of each test pattern signal subjected to the processing C is sequentially written (for example, from the head address) in the first memory 24Aa.

ステップSA5〜SA7: 以上により、低速試験におけるサイクル数判定処理が終了し、次に高速試験におけるサイクル数判定処理が行なわれる。この設定は、シーケンサ25がN進カウンタ27、試験パタン信号生成部12、メモリ制御部24Bに、サイクル数の更新値(マルチサイクル数トライ値)を指定するサイクル数設定指示G21を出力することにより行われる。但し、このときに指定するマルチサイクル数トライ値は、現在のサイクル数から1を減算した値とする。以下の説明では、マルチサイクル数トライ値をサイクル数Kとする。   Steps SA5 to SA7: As described above, the cycle number determination process in the low speed test is completed, and then the cycle number determination process in the high speed test is performed. This setting is made when the sequencer 25 outputs a cycle number setting instruction G21 for specifying an update value of the cycle number (multi-cycle number trie value) to the N-ary counter 27, the test pattern signal generation unit 12, and the memory control unit 24B. Done. However, the multi-cycle number trie value specified at this time is a value obtained by subtracting 1 from the current cycle number. In the following description, the multi-cycle number trie value is assumed to be the cycle number K.

その後、シーケンサ25は、再度、試験パタン信号生成指令G23を試験パタン信号生成部26、メモリ制御部24Bに出力する。これにより、メモリ制御部24Bは、組合せ回路23からのデータが第2メモリ24Abに記憶されるように制御する。そして、試験パタン信号生成部26が試験パタン信号の生成を開始する。生成された試験パタン信号は、セレクタユニット21、前段ラッチ部22Aを介して、組合せ回路23に入力し、ここで処理Cが行われ、後段ラッチ部22Bを介してメモリ部24Aに入力する。そして、組合せ回路23からのデータは、第2メモリ24Abに記憶される。   Thereafter, the sequencer 25 again outputs a test pattern signal generation command G23 to the test pattern signal generation unit 26 and the memory control unit 24B. Accordingly, the memory control unit 24B performs control so that the data from the combinational circuit 23 is stored in the second memory 24Ab. Then, the test pattern signal generator 26 starts generating the test pattern signal. The generated test pattern signal is input to the combinational circuit 23 via the selector unit 21 and the front-stage latch unit 22A, where processing C is performed, and is input to the memory unit 24A via the rear-stage latch unit 22B. Data from the combinational circuit 23 is stored in the second memory 24Ab.

ステップSA8、SA9: メモリ部24Bに指定したサイクル数に対応した試験パタン信号に対する処理Cを行ったデータが全て記憶されると、値比較部24Cは、第1メモリ24Aaと第2メモリ24Abとの値を読み取り、これらが一致しているか否かを判断する。この判断は、高速試験時のサイクル数不足により、例えば後段ラッチ部22Bでのラッチミスを判定する処理である。なお、一致しているか否かの判断は、全試験パタン信号において一致していた場合に一致したと判断する。   Steps SA8 and SA9: When all data subjected to the processing C for the test pattern signal corresponding to the number of cycles specified in the memory unit 24B is stored, the value comparison unit 24C determines whether the first memory 24Aa and the second memory 24Ab Read the value and determine if they match. This determination is processing for determining, for example, a latch miss in the latter-stage latch unit 22B due to an insufficient number of cycles during the high-speed test. Note that whether or not they match is determined to match if all the test pattern signals match.

即ち、サイクル数が十分大きければ、低速試験の結果と高速試験の結果とが一致するはずである。但し、これらが一致することは、このときのサイクル数が必要十分であることを意味しない。そこで、必要十分なサイクル数を求めるため、一致している場合にはステップSA5に戻り、一致していない場合にはステップSA10に進む。   That is, if the number of cycles is sufficiently large, the result of the low speed test and the result of the high speed test should match. However, the fact that they match does not mean that the number of cycles at this time is necessary and sufficient. Therefore, in order to obtain the necessary and sufficient number of cycles, if they match, the process returns to step SA5, and if they do not match, the process proceeds to step SA10.

第1メモリ24Aaと第2メモリ24Abとの値が一致しているために、ステップSA5に戻った場合には、再度サイクル数の指定が行われる。このとき指定されるサイクル数は、現在のサイクル数から1を減算した値である。   Since the values of the first memory 24Aa and the second memory 24Ab are the same, when returning to step SA5, the number of cycles is designated again. The number of cycles specified at this time is a value obtained by subtracting 1 from the current number of cycles.

ステップSA10: 一方、第1メモリ24Aaと第2メモリ24Abとの値が一致していない場合
には、ステップSA5で指定した現在のサイクル数(即ち、一致した状態からサイクル数を更新したため、不一致状態になったときのサイクル数)に1を加算した値を最終的なサイクル数(最適サイクル数)とする。
Step SA10: On the other hand, if the values in the first memory 24Aa and the second memory 24Ab do not match, the current cycle number specified in Step SA5 (that is, the number of cycles has been updated from the matched state, so that there is a mismatch state) A value obtained by adding 1 to the number of cycles when the number of times reaches) is defined as the final number of cycles (the optimum number of cycles).

このようにして求めた最適サイクル数は、高速動作した際にもラッチミス等が発生しないための必要十分な値である。図5を参照して、このようにして求めた最適サイクル数が必要十分であることを説明する。   The optimum number of cycles obtained in this way is a necessary and sufficient value for preventing a latch miss or the like even when operating at high speed. With reference to FIG. 5, it will be described that the optimum number of cycles obtained in this way is necessary and sufficient.

今、或る動作条件下における組合せ回路23での処理Cによる遅延量Dtが、クロック信号の周期Tの3.5サイクル分であったとする(Dt=3.5*T)。そして、低速試験時のサイクル数Mが、組合せ回路23における想定した処理Cによる遅延量Dtより十分大きな値として、5(初期値)が設定されたとする(M=5*T)。なお、図5は、マルチサイクル数Mと回路遅延量の関係を説明するタイミングチャートで、(a)はM=5、(b)はM=4、(c)はM=3の場合を示している。   Now, it is assumed that the delay amount Dt by the process C in the combinational circuit 23 under a certain operating condition is 3.5 cycles of the cycle T of the clock signal (Dt = 3.5 * T). Then, it is assumed that 5 (initial value) is set so that the number M of cycles in the low-speed test is sufficiently larger than the delay amount Dt due to processing C assumed in the combinational circuit 23 (M = 5 * T). FIG. 5 is a timing chart for explaining the relationship between the number of multicycles M and the circuit delay amount. (A) shows a case where M = 5, (b) shows M = 4, and (c) shows a case where M = 3. ing.

図5(a)に示すように、サイクル数M(=5)の場合、後段ラッチ部22BにおけるラッチタイミングL1に対して、1.5*T前に組合せ回路23の処理結果が確定している。従って、後段ラッチ部22Bでは、組合せ回路23からの処理結果を正常にラッチされる。このような場合、値比較部24Cは、第1メモリ24Aaと第2メモリ24Abとの値を比較した結果、一致と判断する。   As shown in FIG. 5A, in the case of the number of cycles M (= 5), the processing result of the combinational circuit 23 is determined 1.5 * T before the latch timing L1 in the latter-stage latch unit 22B. . Therefore, the processing result from the combinational circuit 23 is normally latched in the subsequent latch unit 22B. In such a case, the value comparison unit 24C determines that the values match as a result of comparing the values of the first memory 24Aa and the second memory 24Ab.

同様に、図5(b)に示すように、サイクル数M(=4)の場合、後段ラッチ部22BにおけるラッチタイミングL2に対して、0.5*T前に組合せ回路23の処理結果が確定している。従って、後段ラッチ部22Bでは、組合せ回路23からの処理結果を正常にラッチされる。このような場合、値比較部24Cは、第1メモリ24Aaと第2メモリ24Abとの値を比較した結果、一致と判断する。   Similarly, as shown in FIG. 5B, in the case of the number of cycles M (= 4), the processing result of the combinational circuit 23 is determined 0.5 * T before the latch timing L2 in the latter-stage latch unit 22B. doing. Therefore, the processing result from the combinational circuit 23 is normally latched in the subsequent latch unit 22B. In such a case, the value comparison unit 24C determines that the values match as a result of comparing the values of the first memory 24Aa and the second memory 24Ab.

しかし、図5(c)に示すように、サイクル数M(=3)の場合、後段ラッチ部22BにおけるラッチタイミングL3に対して、−0.5*T前に組合せ回路23の処理結果が確定する。従って、後段ラッチ部22Bでは、組合せ回路23からの処理結果を正常にラッチすることができない。このような場合、値比較部24Cは、第1メモリ24Aaと第2メモリ24Abとの値を比較した結果、一致しないと判断する。   However, as shown in FIG. 5C, in the case of the number of cycles M (= 3), the processing result of the combinational circuit 23 is determined before -0.5 * T with respect to the latch timing L3 in the latter-stage latch unit 22B. To do. Therefore, the post-stage latch unit 22B cannot normally latch the processing result from the combinational circuit 23. In such a case, the value comparison unit 24C determines that the values do not match as a result of comparing the values of the first memory 24Aa and the second memory 24Ab.

依って、サイクル数M=3に1を加算したM=4が最適サイクル数となり、この最適サイクル数が必要十分なサイクル数となる。   Therefore, M = 4 obtained by adding 1 to the cycle number M = 3 becomes the optimum cycle number, and this optimum cycle number becomes the necessary and sufficient number of cycles.

以上説明したように最適サイクル数を自律判定することにより、以下の効果を奏する。先ず、コスト優先の遅延量の大きな低速デバイス適用時とで各々のデバイス性能に応じた最適なマルチサイクル数で動作させることができる(実装デバイスの遅延性能)。   As described above, autonomous determination of the optimum number of cycles provides the following effects. First, it is possible to operate with the optimum number of multicycles according to the performance of each device when applying a low speed device with a large cost priority delay amount (delay performance of mounted device).

また、組合せ回路の動作モードによって遅延量が異なる場合、動作モード毎に適したマルチサイクル数で動作させることができる(ディジタル論理回路の動作モード)。   Further, when the delay amount differs depending on the operation mode of the combinational circuit, it can be operated with a multicycle number suitable for each operation mode (operation mode of the digital logic circuit).

また、 高い処理能力を必要としない低負荷状態での動作において、定格の範囲内でディジタル論理回路の電源電圧を低下させることで消費電力を削減させることができる(省電力モード)。   In operation under low load conditions that do not require high processing capacity, power consumption can be reduced by reducing the power supply voltage of the digital logic circuit within the rated range (power saving mode).

なお、上記説明では、組合せ回路23の対象とする回路は基本的には回路の組合せからなることを前提としているが、ディジタル論理回路20と外部接続されるメモリデバイスに対してサイクル数判定処理を適用してもよい。これにより、接続するメモリデバイスのアクセスタイムに適したマルチサイクル数でディジタル論理回路20を動作させることが可能になる。   In the above description, it is assumed that the target circuit of the combinational circuit 23 is basically a combination of circuits. However, the cycle number determination process is performed on the memory device externally connected to the digital logic circuit 20. You may apply. As a result, the digital logic circuit 20 can be operated with a multicycle number suitable for the access time of the memory device to be connected.

また、サイクル数判定処理によってマルチサイクル数を決定する代わりに、クロック信号を供給するPLL等のクロック発信ブロックに対する周波数設定値をサイクル数判定処理によって探索してもよい。これにより、マルチサイクル数の探索と同様に各動作条件に適した処理サイクルでディジタル論理回路を動作させることが可能である。   Further, instead of determining the multi-cycle number by the cycle number determination process, a frequency setting value for a clock transmission block such as a PLL that supplies a clock signal may be searched by the cycle number determination process. As a result, the digital logic circuit can be operated in a processing cycle suitable for each operation condition as in the search for the number of multicycles.

11 シーケンサ
12 試験パタン信号生成部
13 組合せ回路
14 第1メモリ
15 第2メモリ
16 値比較部
20 ディジタル論理回路
21 セレクタユニット
21a,21b セレクタ
22 ラッチユニット
22A 前段ラッチ部
22B 後段ラッチ部
22Aa,22Ab フィリップフロップ
22Ba、22Bb フィリップフロップ
23 組合せ回路
24 比較ユニット
24A メモリ部
24Aa 第1メモリ
24Ab 第2メモリ
24B メモリ制御部
24C 値比較部
25 シーケンサ
26 試験パタン信号生成部
27 N進カウンタ
DESCRIPTION OF SYMBOLS 11 Sequencer 12 Test pattern signal generation part 13 Combination circuit 14 1st memory 15 2nd memory 16 Value comparison part 20 Digital logic circuit 21 Selector unit 21a, 21b Selector 22 Latch unit 22A Previous stage latch part 22B Rear stage latch part 22Aa, 22Ab Philip flop 22Ba, 22Bb Philip flop 23 combinational circuit 24 comparison unit 24A memory unit 24Aa first memory 24Ab second memory 24B memory control unit 24C value comparison unit 25 sequencer 26 test pattern signal generation unit 27 N-ary counter

Claims (8)

所定の機能をなす少なくとも1以上の組合せ回路に入力する信号をラッチする前段ラッチ部及び、前記組合せ回路からの出力信号をラッチする後段ラッチ部からなるディジタル論理回路における各処理で発生する遅延量に適応したマルチサイクル数を自律判定するマルチサイクル数自律判定装置であって、
少なくとも入力要素の組み合わせパタンに対応した試験パタン信号を生成して前記組合せ回路に出力する試験パタン信号生成部と、
サイクル数を示すマルチサイクル数設定指令を出力し、その際に動作条件が変化した際には予め設定されたマルチサイクル数初期値を低速試験時のサイクル数とするマルチサイクル数設定指令を出力して、前記試験パタン信号生成部に低速試験用の試験パタン信号を生成させ、該低速試験が終了すると前記マルチサイクル数初期値より小さい値を高速試験時のサイクル数とするマルチサイクル数トライ値としたマルチサイクル数設定指令を出力して、前記試験パタン信号生成部に高速試験用の試験パタン信号を生成させるシーケンサと、
前記試験パタン信号に対して前記組合せ回路が行った処理結果を記憶し、その際に前記低速試験用の前記試験パタン信号に対する処理結果と前記高速試験用の前記試験パタン信号に対する処理結果との一致を判断する比較ユニットと、を備え、
前記シーケンサは、前記比較ユニットからの比較結果が前記低速試験用の前記試験パタン信号に対する処理結果と前記高速試験用の前記試験パタン信号に対する処理結果とが一致しなくなるまで、前記マルチサイクル数から1を減算した値を新たなマルチサイクル数トライ値としてマルチサイクル数設定指令を出力して、前記低速試験用の前記試験パタン信号に対する処理結果と前記高速試験用の前記試験パタン信号に対する処理結果とが不一致になったときのマルチサイクル数に1を加算した値を最適マルチサイクルとして判定することを特徴とするマルチサイクル数自律判定装置。
Front latch unit for latching a signal input to the at least one or more combinational circuit forms a predetermined function and a delay amount generated by the processes in the subsequent stage latch unit or Ranaru digital logic circuit for latching the output signal from the combining circuit A multi-cycle number autonomous determination device that autonomously determines the multi-cycle number adapted to
A test pattern signal generation unit that generates a test pattern signal corresponding to at least a combination pattern of input elements and outputs the test pattern signal to the combinational circuit;
A multi-cycle number setting command indicating the number of cycles is output, and when the operating conditions change at that time, a multi-cycle number setting command is output that uses the preset initial value of the multi-cycle number as the cycle number for the low-speed test. The test pattern signal generation unit generates a test pattern signal for a low speed test, and when the low speed test is completed, a multicycle number trie value that takes a value smaller than the initial value of the multicycle number as the number of cycles in the high speed test, A sequencer that outputs a multi-cycle number setting command and causes the test pattern signal generation unit to generate a test pattern signal for high-speed testing;
The result of processing performed by the combinational circuit on the test pattern signal is stored, and the result of processing on the test pattern signal for the low speed test coincides with the result of processing on the test pattern signal for the high speed test. A comparison unit for determining
The sequencer determines from the number of multicycles until the comparison result from the comparison unit does not match the processing result for the test pattern signal for the low speed test and the processing result for the test pattern signal for the high speed test. The multi-cycle number setting command is output with the value obtained by subtracting the value as a new multi-cycle number trie value, and the processing result for the test pattern signal for the low-speed test and the processing result for the test pattern signal for the high-speed test are A multicycle number autonomous determination device, characterized in that a value obtained by adding 1 to the number of multicycles when mismatched is determined as an optimal multicycle.
請求項1に記載のマルチサイクル数自律判定装置であって、
前記マルチサイクル数設定指令を受信して、当該マルチサイクル数設定指令で指定されたサイクル数の周期で前記組合せ回路を動作させるN進カウンタを備えることを特徴とするマルチサイクル数自律判定装置。
The multicycle number autonomous determination device according to claim 1,
An multi-cycle number autonomous determination device comprising an N-ary counter that receives the multi-cycle number setting command and operates the combinational circuit at a cycle number specified by the multi-cycle number setting command.
請求項1又は2に記載のマルチサイクル数自律判定装置であって、
前記シーケンサが出力した前記マルチサイクル数初期値を内容とするマルチサイクル数設定指令を受信した際には、前記前段ラッチ部を介して前記組合せ回路に前記試験パタン信号が入力するように回路を切り替えるセレクタユニットを備えることを特徴とするマルチサイクル数自律判定装置。
The multicycle number autonomous determination device according to claim 1 or 2,
When a multicycle number setting command including the initial value of the multicycle number output from the sequencer is received, the circuit is switched so that the test pattern signal is input to the combinational circuit via the pre-stage latch unit. A multi-cycle number autonomous determination device comprising a selector unit.
請求項1乃至3のいずれか1項に記載のマルチサイクル数自律判定装置であって、
前記比較ユニットは、前記低速試験時における前記組合せ回路による処理結果をメモリする第1メモリと、前記高速試験時における前記組合せ回路による処理結果をメモリする第2メモリとを含むメモリ部と、
前記第1メモリと前記第2メモリとに記憶されている、全ての組み合わせパタン毎の前記試験パタン信号に対する前記処理結果が一致するか否かを判断する値比較部とを備えることを特徴とするマルチサイクル数自律判定装置。
The multi-cycle number autonomous determination device according to any one of claims 1 to 3,
The comparison unit includes a first memory that stores a processing result by the combinational circuit at the time of the low-speed test, and a second memory that stores a processing result by the combinational circuit at the time of the high-speed test,
A value comparison unit configured to determine whether or not the processing results for the test pattern signals stored in the first memory and the second memory match each of the combination patterns ; Multicycle number autonomous determination device.
所定の機能をなす組合せ回路に入力する信号をラッチする前段ラッチ部及び、前記組合せ回路からの出力信号をラッチする後段ラッチ部からなるディジタル論理回路における各処理で発生する遅延量に適応したマルチサイクル数を自律判定するマルチサイクル数自律判定方法であって、
入力要素の組み合わせパタン毎に対応した試験パタン信号を生成して前記組合せ回路に出力する試験パタン信号生成手順と、
サイクル数を示すマルチサイクル数設定指令を出力し、その際に動作条件が変化した際には予め設定されたマルチサイクル数初期値を低速試験時のサイクル数とするマルチサイクル数設定指令を出力して、低速試験用の試験パタン信号を生成させ、該低速試験が終了すると前記マルチサイクル数初期値より小さい値を高速試験時のサイクル数とするマルチサイクル数トライ値としたマルチサイクル数設定指令を出力して、該高速試験用の試験パタン信号を生成させるシーケンス手順と、
前記試験パタン信号に対して前記組合せ回路が行った処理結果を記憶し、その際に前記低速試験用の前記試験パタン信号に対する処理結果と前記高速試験用の前記試験パタン信号に対する処理結果との一致を判断する比較手順と、を備え、
前記シーケンス手順は、前記比較結果が前記低速試験用の前記試験パタン信号に対する処理結果と前記高速試験用の前記試験パタン信号に対する処理結果とが一致しなくなるまで、前記マルチサイクル数から1を減算した値を新たな前記マルチサイクル数トライ値としたマルチサイクル数設定指令を出力して、前記低速試験用の前記試験パタン信号に対する処理結果と前記高速試験用の前記試験パタン信号に対する処理結果とが不一致になったときのマルチサイクル数に1を加算した値を最適マルチサイクルとして判定する手順を含むことを特徴とするマルチサイクル数自律判定方法。
Front latch unit for latching a signal input to the combining circuit which forms a predetermined function and multi adapted to the delay amount generated in the processes in the subsequent stage latch unit or Ranaru digital logic circuit for latching the output signal from the combining circuit A multi-cycle number autonomous determination method for autonomously determining the number of cycles,
A test pattern signal generation procedure for generating a test pattern signal corresponding to each combination pattern of input elements and outputting the test pattern signal to the combinational circuit;
A multi-cycle number setting command indicating the number of cycles is output, and when the operating conditions change at that time, a multi-cycle number setting command is output that uses the preset initial value of the multi-cycle number as the cycle number for the low-speed test. A test pattern signal for a low-speed test, and when the low-speed test is completed, a multi-cycle number setting command is set to a multi-cycle number trie value with a value smaller than the initial value of the multi-cycle number as a cycle number in the high-speed test. A sequence procedure for outputting and generating a test pattern signal for the high-speed test;
The result of processing performed by the combinational circuit on the test pattern signal is stored, and the result of processing on the test pattern signal for the low speed test coincides with the result of processing on the test pattern signal for the high speed test. A comparison procedure for determining
The sequence procedure subtracts 1 from the number of multicycles until the comparison result does not match the processing result for the test pattern signal for the low speed test and the processing result for the test pattern signal for the high speed test. A multi-cycle number setting command with the new multi-cycle number trie value is output, and the processing result for the test pattern signal for the low-speed test does not match the processing result for the test pattern signal for the high-speed test A method for autonomously determining the number of multicycles, comprising a step of determining, as an optimum multicycle, a value obtained by adding 1 to the number of multicycles at the time of becoming an optimal multicycle.
請求項5に記載のマルチサイクル数自律判定方法であって、
前記マルチサイクル数設定指令を受信して、当該マルチサイクル数設定指令で指定されたサイクル数の周期で前記組合せ回路を動作させる手順を含むことを特徴とするマルチサイクル数自律判定方法。
The multicycle number autonomous determination method according to claim 5,
A multicycle number autonomous determination method comprising: receiving the multicycle number setting command, and operating the combinational circuit at a cycle number specified by the multicycle number setting command.
請求項5又は6に記載のマルチサイクル数自律判定方法であって、
前記マルチサイクル数初期値を内容とするマルチサイクル数設定指令を受信した際には前記前段ラッチ部を介して前記組合せ回路に前記試験パタン信号が入力するように回路を切り替える手順を含むことを特徴とするマルチサイクル数自律判定方法。
The multicycle number autonomous determination method according to claim 5 or 6,
A step of switching the circuit so that the test pattern signal is input to the combinational circuit via the preceding latch unit when a multicycle number setting command including the initial value of the multicycle number is received. Multi-cycle number autonomous determination method.
請求項5乃至7のいずれか1項に記載のマルチサイクル数自律判定方法であって、
前記低速試験時における前記組合せ回路による処理結果を第1メモリに記憶させ、前記高速試験時における前記組合せ回路による処理結果を第2メモリに記憶させるメモリ手順と、
前記第1メモリと前記第2メモリとに記憶されている、全ての組み合わせパタン毎の前記試験パタン信号に対する前記処理結果が一致するか否かを判断する値比較手順とを含むことを特徴とするマルチサイクル数自律判定方法。

The multicycle number autonomous determination method according to any one of claims 5 to 7,
A memory procedure for storing a processing result by the combinational circuit during the low-speed test in a first memory, and storing a processing result by the combinational circuit during the high-speed test in a second memory;
And a value comparison procedure for determining whether or not the processing results for the test pattern signals stored in the first memory and the second memory match each of the combination patterns. Multicycle number autonomous determination method.

JP2014197113A 2014-09-26 2014-09-26 Multicycle number autonomous determination device and multicycle number autonomous determination method Active JP6404658B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014197113A JP6404658B2 (en) 2014-09-26 2014-09-26 Multicycle number autonomous determination device and multicycle number autonomous determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014197113A JP6404658B2 (en) 2014-09-26 2014-09-26 Multicycle number autonomous determination device and multicycle number autonomous determination method

Publications (2)

Publication Number Publication Date
JP2016071430A JP2016071430A (en) 2016-05-09
JP6404658B2 true JP6404658B2 (en) 2018-10-10

Family

ID=55864662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014197113A Active JP6404658B2 (en) 2014-09-26 2014-09-26 Multicycle number autonomous determination device and multicycle number autonomous determination method

Country Status (1)

Country Link
JP (1) JP6404658B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008243092A (en) * 2007-03-29 2008-10-09 Toshiba Corp Multi-cycle path detection device, multi-cycle path detection method, and multi-cycle path detection program
JP5040758B2 (en) * 2008-03-21 2012-10-03 富士通セミコンダクター株式会社 Simulation apparatus, simulation method, and program
JP5645754B2 (en) * 2011-05-30 2014-12-24 三菱電機株式会社 Multi-cycle path detection device and multi-cycle path detection program

Also Published As

Publication number Publication date
JP2016071430A (en) 2016-05-09

Similar Documents

Publication Publication Date Title
KR101110819B1 (en) Apparatus and method for controlling the operation timing of semiconductor memory
US20100253409A1 (en) Clock generation system and clock dividing module
US9054715B2 (en) Delay locked loop and semiconductor apparatus
JPH10134091A (en) Method for generating optimized circuit by logical emulation
US7162705B2 (en) Dynamically reconfiguring clock domains on a chip
JP6404658B2 (en) Multicycle number autonomous determination device and multicycle number autonomous determination method
JP2008123056A (en) Timing constraint-generating system of logic circuit and timing constraint-generating method of logic circuit, control program, and readable recording medium
KR20110012467A (en) Update control apparatus in dll circuit
JP3698657B2 (en) Gated clock generation circuit and circuit correction method
KR20140136203A (en) Semiconductor integrated circuit
JP2000091506A (en) Semiconductor integrated circuit
US7134060B2 (en) Semiconductor integrated circuit including operation test circuit and operation test method thereof
US6070258A (en) Logic synthesis for testability system which enables improvement in testability and effective selection of center state and logic synthesis method thereof
JP2006270856A (en) Semiconductor memory device
JP4419633B2 (en) Logic circuit design system, logic circuit design method and program thereof
JP5549474B2 (en) Integrated circuit
JP5338919B2 (en) Integrated circuit power consumption calculation method, power consumption calculation program, and power consumption calculation device
JP4847383B2 (en) Sequential circuit and speed-up method thereof
JP2017060050A (en) Semiconductor device, demultiplexer, semiconductor circuit, data processing method and inspection method
JP2008198003A (en) Array type processor
JP4491587B2 (en) Data generator
JP5773002B2 (en) Integrated circuit
JP2013036960A (en) Delay scan test method, semiconductor device, and semiconductor device design method
US8850256B2 (en) Communication circuit and communication method
JP2010257003A (en) Logic equivalence verification system, logic equivalence verification method, method for manufacturing semiconductor integrated circuit, control program and readable storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170809

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180511

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180807

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180821

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180913

R150 Certificate of patent or registration of utility model

Ref document number: 6404658

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150