JPH0434656A - Initializing system for scan flip flop - Google Patents
Initializing system for scan flip flopInfo
- Publication number
- JPH0434656A JPH0434656A JP2139965A JP13996590A JPH0434656A JP H0434656 A JPH0434656 A JP H0434656A JP 2139965 A JP2139965 A JP 2139965A JP 13996590 A JP13996590 A JP 13996590A JP H0434656 A JPH0434656 A JP H0434656A
- Authority
- JP
- Japan
- Prior art keywords
- scan
- simulation
- reset
- value
- gate
- 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.)
- Granted
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
対象論理回路の各ゲート及びスキャン・フリップフロッ
プの状態値を論理シミュレーション上で初期化するスキ
ャン・フリップフロップの初期化方式に関し、
シミュレーション・テーブルの各ゲート及ヒスキャン・
フリップフロップの状態値の初期化処理を高速化するこ
とを目的とし、
対象論理回路の各ゲート及びスキャン・フリップフロッ
プの状態値が格納されるシミュレーション・テーブルを
備え、対象論理回路のゲート及びスキャン・フリップフ
ロップの状態値を論理シミュレーション上で初期化する
スキャン・フリップフロップの初期化方式において、リ
セット値テーブルを設けて、対象論理回路の各ゲート及
びスキャン・フリップフロップの初期状態における状態
値を登録し、初期化時は、リセット値テーブルに登録さ
れた各初期値を、シミュレーション・テーブル内の対応
する各ゲート及びスキャン・フリップフロップ領域に書
き込むことにより初期化するように構成する。[Detailed Description of the Invention] [Summary] Regarding the scan flip-flop initialization method that initializes the state values of each gate and scan flip-flop of a target logic circuit in logic simulation, each gate and scan flip-flop in a simulation table is Hiscan・
The purpose is to speed up the initialization process of the state values of flip-flops, and it is equipped with a simulation table that stores the state values of each gate and scan flip-flop of the target logic circuit. In a scan flip-flop initialization method that initializes the state values of flip-flops using logic simulation, a reset value table is provided to register the state values of each gate of the target logic circuit and the scan flip-flops in their initial states. At the time of initialization, each initial value registered in the reset value table is written to each corresponding gate and scan flip-flop area in the simulation table.
本発明は、対象論理回路をコンピュータ上でシミュレー
ションする論理シミュレーションにおいて、対象論理回
路の各ゲート及びスキャン・フリップフロップ(スキャ
ン機能付きのフリップフロップ、以下スキャンFFで示
す)の状態値を、論理シミュレーション上で初期化する
スキャン・フリップフロップの初期化方式に関する。In a logic simulation in which a target logic circuit is simulated on a computer, the state values of each gate and scan flip-flop (flip-flop with a scan function, hereinafter referred to as scan FF) of the target logic circuit are calculated in the logic simulation. This invention relates to an initialization method for a scan flip-flop that is initialized by .
近年の大型コンピュータにみられる論理回路の大規模化
、高集積化に伴い、論理回路の機能と信頼性に対する検
証が益々重要視されるようになってきた。BACKGROUND OF THE INVENTION As logic circuits in large-scale computers have become larger and more highly integrated in recent years, verification of the functionality and reliability of logic circuits has become increasingly important.
論理回路の検証は、対象論理回路をコンピュータ上でシ
ミュレーションする論理シミュレーションによって行わ
れるが、論理回路の大規模化、高集積化に伴って、論理
回路のテスト・パターン数も増加し、テスト・パターン
の作成又はパターン検証の処理時間の高速化が要求され
るようになってきた。中でも、■テスト・パターンの作
成が終了する毎に、論理回路の初期状態を論理的にシミ
ュレーションするリセット・シミュレーションが行われ
るが、テスト・パターン数が増大するのに伴って、この
リセット・シミュレーション処理に要する時間が問題と
なってきた。Verification of logic circuits is performed by logic simulation, which simulates the target logic circuit on a computer, but as logic circuits become larger and more integrated, the number of test patterns for logic circuits also increases. There is a growing demand for faster processing time for pattern creation or pattern verification. Among these, ■ Every time test pattern creation is completed, a reset simulation is performed to logically simulate the initial state of the logic circuit, but as the number of test patterns increases, this reset simulation processing The time required has become an issue.
論理回路を構成するフリップフロップは、その検証を容
易にするために、スキャン機能を持つように構成される
。このスキャン機能付きフリップフロップ、すなわちス
キャンFFの動作には、大きく分けてクロック動作、リ
セット動作、スキャンイン動作及びスキャンアウト動作
の4種類の動作がある。The flip-flops that make up the logic circuit are configured to have a scan function to facilitate verification. The operations of this flip-flop with scan function, that is, scan FF, can be roughly divided into four types: clock operation, reset operation, scan-in operation, and scan-out operation.
クロック動作では、クロックが入ると入力データをサン
プルし、クロックが閉じると、サンプルしたデータをホ
ールドする動作がおこなわれる。In clock operation, input data is sampled when the clock is turned on, and when the clock is closed, the sampled data is held.
リセット動作では、対象回路内の全フリップフロップに
スキャン・アドレスを分配し、全フリップフロップを非
同期で同時にセット/リセットすることにより、その内
容を初期化する動作が行われる。このリセット動作は、
スキャンイン動作の前に必ず必要な前動作である。In the reset operation, a scan address is distributed to all flip-flops in the target circuit, and all flip-flops are asynchronously set/reset at the same time, thereby initializing their contents. This reset operation is
This is a necessary pre-operation before the scan-in operation.
スキャンイン動作では、スキャン・アドレスにより選ば
れた任意の1つのフリップフロップの内容を、リセット
動作時と逆の値にする動作が行われる。In the scan-in operation, an operation is performed in which the contents of any one flip-flop selected by the scan address are set to a value opposite to that in the reset operation.
スキャンアウト動作では、スキャン・アドレスにより選
ばれた任意の1つのフリップフロップの内容を、専用の
スキャンアウト線を介して読み出す動作が行われる。In the scan-out operation, the contents of any one flip-flop selected by the scan address are read out via a dedicated scan-out line.
次に第3図〜第5図を参照して、従来のスキャンFFの
リセット・シミュレーション方式について説明する。第
3図ばシミュレーションの対象となる論理回路の1例の
構成及びシミュレーション・テーブルの説明図であり、
第4図はスキャンFFの1例についての詳細な構成の説
明図であり、第5図はスキャンFFを動作タイミング・
チャートを示したものである。Next, a conventional scan FF reset simulation method will be described with reference to FIGS. 3 to 5. FIG. 3 is an explanatory diagram of the configuration of an example of a logic circuit to be simulated and a simulation table;
FIG. 4 is an explanatory diagram of the detailed configuration of one example of scan FF, and FIG.
This is a chart.
第3図(a)において、21〜24は論理回路を構成す
る論理素子であり、31〜35はスキャンFFである。In FIG. 3(a), 21 to 24 are logic elements constituting a logic circuit, and 31 to 35 are scan FFs.
各スキャンFF31〜35は、詳細には第4図に示すよ
うな構成のものであるが、第3図(a)にはゲートとし
て、データの入出力ゲートだけが示されている。Each of the scan FFs 31 to 35 has a detailed configuration as shown in FIG. 4, but only data input/output gates are shown as gates in FIG. 3(a).
CLKはクロックが入力される端子であり、PINIは
スキャンFF34のデータ入力端子であり、PIN2は
スキャンFF35のデータ入力端子であり、PIN3は
論理素子22の出力端子である。これらの入出力端子は
、スキャンFF34.35の入力ゲート及び論理素子2
2の出方ゲートにそれぞれ接続する。CLK is a terminal into which a clock is input, PINI is a data input terminal of the scan FF 34, PIN2 is a data input terminal of the scan FF 35, and PIN3 is an output terminal of the logic element 22. These input/output terminals are the input gates of scan FF34, 35 and logic element 2.
Connect to each exit gate of 2.
この構成において、各論理素子21〜240機能試験を
行うときは、スキャンFF31〜35に対し、その初期
値と異なる所定のテスト・バターン作成用のデータをス
キャンイン(SCAN−IN)すなわち書込みをする。In this configuration, when performing a functional test of each logic element 21 to 240, data for creating a predetermined test pattern that is different from its initial value is scanned in (SCAN-IN), that is, written to the scan FFs 31 to 35. .
次いで、CLK端子よりクロックCLOCKを1回入力
して各論理素子21〜24に前段の各スキャンFFの値
を入力して演算を行わせた後、各スキャンFF31〜3
5の内容をスキャンアウト(SCAN−OUT)すなわ
ち読出しを行うことによりテスト・パターンが作成され
る。Next, input the clock CLOCK once from the CLK terminal to input the value of each scan FF of the previous stage to each logic element 21 to 24 to perform calculation, and then input the value of each scan FF of the previous stage to each logic element 21-24.
A test pattern is created by scanning out (SCAN-OUT), that is, reading out the contents of 5.
この作成されたテスト・パターンを検証することにより
、各論理素子の機能を検証することができる。By verifying this created test pattern, the function of each logic element can be verified.
例えば、論理素子210機能試験をする場合には、スキ
ャンFF31〜32に所定のテスト・パターン作成用の
データをスキャンインしてから、CLK端子よりクロッ
クCLOCKを1回入力する。For example, when performing a functional test on the logic element 210, data for creating a predetermined test pattern is scanned into the scan FFs 31 and 32, and then the clock CLOCK is input once from the CLK terminal.
これにより、スキャンFF31及び32にスキャンイン
された値が論理素子210入カゲートに加えられ、論理
素子21の演算結果がスキャンFF33に入力される。As a result, the values scanned into the scan FFs 31 and 32 are added to the input gate of the logic element 210, and the calculation result of the logic element 21 is input to the scan FF 33.
次いで、スキャンFF35の内容をスキャンアウトする
ことにより、論理素子21の機能試験用のテスト・パタ
ーンが作成される。この作成されたテスト・パターンを
検証することにより、論理素子210機能を検証するこ
とができる。Next, by scanning out the contents of the scan FF 35, a test pattern for functional testing of the logic element 21 is created. By verifying this created test pattern, the functionality of the logic element 210 can be verified.
次のテスト・パターンを作成するときは、各スキャンF
F31〜35の内容を、所定の初期状態の値(初期値)
にリセットする必要がある。When creating the next test pattern, each scan F
Set the contents of F31 to F35 to the predetermined initial state value (initial value)
need to be reset.
各スキャンFFをリセット(初期化)する場合は、対象
論理回路内の全スキャンFF31〜35にスキャン・ア
ドレスを分配し、全スキャンFFを非同期で同時にセッ
ト/リセットすることにより、その内容を初期化する動
作が行われる。When resetting (initializing) each scan FF, initialize the contents by distributing the scan address to all scan FFs 31 to 35 in the target logic circuit and setting/resetting all scan FFs simultaneously asynchronously. The action is performed.
以上は、シミュレーション対象となる論理回路のスキャ
ンイン、スキャンアウト及びリセット時各動作を説明し
たものであるが、この対象論理回路をコンピュータ上で
論理シミュレーションする場合は、第3図(b)に示す
シミュレーション・テーブル40を用いて論理シミュレ
ーションが行われる。The above describes the scan-in, scan-out, and reset operations of the logic circuit to be simulated. When performing a logic simulation of this target logic circuit on a computer, the logic circuit shown in Fig. 3(b) A logic simulation is performed using the simulation table 40.
シミュレーション・テーブル40は、対象論理回路の各
ゲート及びスキャンFFに対応する領域41□〜41n
を備えており、各領域には、対応する各ゲート及びスキ
ャンFF状態値を含む各種の論理情報が格納され、一般
に複数個存在する。The simulation table 40 includes areas 41□ to 41n corresponding to each gate and scan FF of the target logic circuit.
Each area stores various types of logic information including corresponding gate and scan FF state values, and generally there are a plurality of areas.
また各領域41.〜41n内の状態値領域421〜42
nには、対応する各ゲート及びスキャンFF状態値が格
納される。領域411〜41nのその他の部分には、各
ゲートやスキャンFFの接続関係に関する情報を含めて
対象論理回路を表現する情報が格納される。Also, each area 41. Status value area 421-42 within ~41n
Each corresponding gate and scan FF state value is stored in n. Other portions of the areas 411 to 41n store information representing the target logic circuit, including information regarding the connection relationships of each gate and scan FF.
対象論理回路をコンピュータ上で論理シミュレーション
する場合は、対象論理回路の各クロック動作、スキャン
イン動作、スキャンアウト動作及びリセット動作時にお
ける各ゲート及びスキャンFFの状態値を、シミュレー
ション・テーブル40の各領域41+〜42nに順番に
書き込んでいくことにより行われる。When performing logic simulation of the target logic circuit on a computer, the state values of each gate and scan FF during each clock operation, scan-in operation, scan-out operation, and reset operation of the target logic circuit are recorded in each area of the simulation table 40. This is performed by sequentially writing to 41+ to 42n.
次に第4図及び第5図を参照して、スキャンFFの詳細
な構成とその動作について説明する。なお、以下の説明
は、スキャンFF31の構成及び動作に関する説明であ
るが、その説明は他のスキャンFFにも共通するもので
ある。Next, the detailed configuration and operation of the scan FF will be described with reference to FIGS. 4 and 5. Note that the following explanation is about the configuration and operation of the scan FF 31, but the explanation is also common to other scan FFs.
第4図におイテ、311〜316はNOA回路である。In FIG. 4, 311 to 316 are NOA circuits.
ただし、NOA回路311がらは、正論理出力と負論理
出力(小白丸で示す)が発生され、NOA回路316か
らは、2個の負論理出力が発生される。However, the NOA circuit 311 generates a positive logic output and a negative logic output (indicated by small white circles), and the NOA circuit 316 generates two negative logic outputs.
NOA回路311には、りo 7り(CLOCK)が入
力される。NOA回路312には、データ(DATA)
及びNOA回路311の正論理出力が入力される。A clock signal (CLOCK) is input to the NOA circuit 311 . The NOA circuit 312 has data (DATA).
and the positive logic output of the NOA circuit 311 are input.
NOA回路313には、NOA回路311の負論理出力
と、NOA回路315の出力と、NOA回路316の出
力とが入力される。The negative logic output of the NOA circuit 311 , the output of the NOA circuit 315 , and the output of the NOA circuit 316 are input to the NOA circuit 313 .
一方、NOA回路314には、スキャン・アドレス5A
DRとNOA回路316の出力とが入力され、その出力
ゲートからは、クロックCLOCK入力時のスキャンF
Fの状態値をホールドしたホールド状態信号(LSTA
TE)が出力される。On the other hand, the NOA circuit 314 has a scan address of 5A.
DR and the output of the NOA circuit 316 are input, and from the output gate, the scan F when the clock CLOCK is input.
A hold state signal (LSTA) that holds the state value of F
TE) is output.
NOA回路315には、スキャン・アドレス5ADRと
スキャンイン信号(SIN)とが入力される。NOA回
路316には、リセット信号(RESET)とNOA回
路312及び313の出力とが入力され、その2個の出
力ゲートからは、フリツプフロツプの状態を表す状態信
号(STATE)が出力されるが、その一方の出力は、
NOA回路314に入力される。A scan address 5ADR and a scan-in signal (SIN) are input to the NOA circuit 315. A reset signal (RESET) and the outputs of the NOA circuits 312 and 313 are input to the NOA circuit 316, and a state signal (STATE) representing the state of the flip-flop is output from its two output gates. One output is
It is input to the NOA circuit 314.
次に第4図の論理回路のクロック動作、リセット動作及
びスキャンイン動作を、第5図の動作タイミングチャー
トを参照して説明する。Next, the clock operation, reset operation, and scan-in operation of the logic circuit of FIG. 4 will be explained with reference to the operation timing chart of FIG. 5.
(1) クロック動作
クロック動作時は通常のフリップフロップ動作が行われ
る。クロック動作時は、第5図(b)及び(ロ)に示す
ように、リセット信号RESETは負レベルであり、ス
キャンイン信号SINは正レベルである。(1) Clock operation During clock operation, normal flip-flop operation is performed. During clock operation, as shown in FIGS. 5(b) and 5(b), the reset signal RESET is at a negative level and the scan-in signal SIN is at a positive level.
したがって、第5図の(a)に示す負レベルのクロック
CLOCKが入力されると、入力されたデータDATA
は、NOA回路311及び312によりサンプルされ、
NOA回路316からは、第5図(f)に示すようにサ
ンプルされたデータ(状態信号5TATE)が出力され
ることになる。Therefore, when the negative level clock CLOCK shown in FIG. 5(a) is input, the input data DATA
is sampled by NOA circuits 311 and 312,
The NOA circuit 316 outputs sampled data (status signal 5TATE) as shown in FIG. 5(f).
次いで、クロックCLOCKが閉じると、NOA回路3
13及び316によりサンプル時のスキャンFFのデー
タがホールドされ、第5図(6)に示すようにホールド
状態信号LSTATEが出力される。Next, when the clock CLOCK closes, the NOA circuit 3
13 and 316 hold the data of the scan FF during sampling, and a hold state signal LSTATE is output as shown in FIG. 5(6).
(2) リセット動作
リセット動作時は、クロック信号CLOCK及びスキャ
ンイン信号SINは、第5図(a)及び(d)に示すよ
うに正レベルである。また、スキャン・アドレス信号5
ADRも負レベルである。(2) Reset operation During the reset operation, the clock signal CLOCK and scan-in signal SIN are at positive levels as shown in FIGS. 5(a) and 5(d). In addition, scan address signal 5
ADR is also at a negative level.
この状態において、第5図の(a)に示すように負レベ
ルのリセット信号RESETがNOA回路316に入力
されると、NOA回路316の出力する状態信号5TA
TEは、第5図(f)に示すように正レベルから負レベ
ルに変わる。In this state, when the negative level reset signal RESET is input to the NOA circuit 316 as shown in FIG. 5(a), the state signal 5TA output from the NOA circuit 316
TE changes from a positive level to a negative level as shown in FIG. 5(f).
一方、NOA回路314の入力はいずれも負レベルであ
るので その出力するホールド状態信号LSTATEは
、第5図(e)に示すように正レベルになる。On the other hand, since all inputs to the NOA circuit 314 are at negative levels, the hold state signal LSTATE outputted therefrom is at a positive level as shown in FIG. 5(e).
(3)スキャンイン動作
スキャンイン動作時は、クロック信号CLOCKは、第
5図(a)に示すように正レベルである。(3) Scan-in operation During the scan-in operation, the clock signal CLOCK is at a positive level as shown in FIG. 5(a).
方、リセット信号RESET及びスキャン・アドレス信
号S^ORは、ともに負レベルである。On the other hand, the reset signal RESET and scan address signal S^OR are both at negative level.
この状態において、第5図(d)に示すように負レベル
のスキャンイン1号SINがNOA[i、1315に入
力されると、NOA回路315の出方は正レベルになる
。In this state, when scan-in No. 1 SIN at a negative level is input to NOA[i, 1315, as shown in FIG. 5(d), the output of the NOA circuit 315 becomes a positive level.
この結果、NOA回路316の入力はすべて負レベルに
なるので、その出力する状態信号5TATEは、第5図
図に時示すように負レベルから正レベルに変わる。一方
、NOA回路314は、NOA回路316の正レベル状
態信号5TATEを受けて、その出力するホールド状態
信号LSTATEは、第5図(e)に示すように正ベル
がら負レベルに変わる。As a result, all the inputs to the NOA circuit 316 become negative levels, so that the state signal 5TATE outputted therefrom changes from a negative level to a positive level as shown in FIG. On the other hand, the NOA circuit 314 receives the positive level state signal 5TATE from the NOA circuit 316, and the output hold state signal LSTATE changes from a positive level to a negative level as shown in FIG. 5(e).
このように、スキャンイン動作により、状態信号5TA
TE及びホールド状態信号LSTATEは、そのリセッ
ト時の状態の値(初期値)とは逆の値に変えられること
になる。したがって、作成さレタテスト・パターンの状
態値と対応するスキャンFFの初期値とを対比すること
により、論理素子の機能か正常であるが否かを検証する
ことができる。In this way, by the scan-in operation, the state signal 5TA
TE and the hold state signal LSTATE are changed to values opposite to their reset state values (initial values). Therefore, by comparing the state value of the created letter test pattern with the initial value of the corresponding scan FF, it is possible to verify whether the logic element is functioning normally or not.
以上説明したスキャンFFを用いた論理回路をコンピュ
ータ上で論理シミュレーションを行う場合には、前述の
ように、対象論理回路の各クロック動作、スキャンイン
動作、スキャンアウト動作及びリセット動作時における
各ゲート及びスキャンFFの状態値を、シミュレーショ
ン・テーブル40の各9M域411〜42nに順番に書
き込まれる。When performing a logic simulation on a computer of a logic circuit using the scan FF described above, as described above, each gate and gate during each clock operation, scan-in operation, scan-out operation, and reset operation of the target logic The state values of the scan FFs are sequentially written into each of the 9M areas 411 to 42n of the simulation table 40.
例えばリセット・シミュレーションの場合は、対象論理
回路上の全スキャンFFにスキャン・アドレスを分配し
、全スキャンFFにリセット動作を行わせた後、各スキ
ャンFFのリセット値(初期値)が、シミュレーション
・テーブル4oに書き込まれる。For example, in the case of reset simulation, after distributing scan addresses to all scan FFs on the target logic circuit and causing all scan FFs to perform a reset operation, the reset value (initial value) of each scan FF is It is written to table 4o.
従来のスキャンFFの状態値を論理シミュレーション上
で初期化する従来のりセント・シミュレーション方式は
、前述のように、対象論理回路上の全スキャンFFにス
キャン・アドレスを分配して、全スキャンFFにリセッ
ト動作を行わせた後に、各スキャンFFのリセット値(
初期値)を、シミュレーション・テーブル40に書き込
むようにしていた。In the conventional simulation method, which initializes the state values of conventional scan FFs using logic simulation, the scan address is distributed to all scan FFs on the target logic circuit, and then reset to all scan FFs. After performing the operation, reset the reset value of each scan FF (
(initial value) was written into the simulation table 40.
このように対象回路上の全スキャンFFにスキャン・ア
ドレスを分配する処理には時間が掛かること、また各論
理素子をすべて動作させる必要が有ることから、論理シ
ミュレーション上でスキャンFFを初期化するリセット
・シミュレーション処理に時間が掛かり、全体の論理シ
ミュレーション処理速度が低下するという不都合があっ
た。In this way, the process of distributing scan addresses to all scan FFs on the target circuit takes time, and it is necessary to operate all the logic elements, so a reset to initialize the scan FFs in logic simulation is necessary. - There was an inconvenience that simulation processing took time and the overall logical simulation processing speed decreased.
リセット・シミュレーションは、各テスト・パターン毎
に行われるため、論理回路の大規模化、高集積化に伴い
、テスト・パターンの数が急速に増大すると、リセット
・シミニレ−ジョン処理時間もテスト・パターンの数に
比例して増大するようになるので、極めて不都合である
。Reset simulation is performed for each test pattern, so as the number of test patterns rapidly increases as logic circuits become larger and more highly integrated, the reset simulation processing time also increases This is extremely inconvenient because it increases in proportion to the number of .
本発明は、リセット・シミュレーションを行うことなく
、対象論理回路の各ゲート及びキャンFFの状態値を論
理シミュレーション上で初期化することにより、スキャ
ンFFの初期化処理を高速化するように改良したスキャ
ンFFの初期化方式を提供することを目的とする。The present invention provides an improved scan function that speeds up the initialization process of scan FFs by initializing the state values of each gate and scan FF of a target logic circuit in a logic simulation without performing a reset simulation. The purpose is to provide an FF initialization method.
前述の課題を解決するために本発明が採用した手段を、
第1図の原理図を参照して説明する。The means adopted by the present invention to solve the above-mentioned problems are as follows:
This will be explained with reference to the principle diagram shown in FIG.
第1図において、同図0))及び(C)の11はシミュ
レーション・テーブルであり、対象論理回路のゲート及
びスキャン・フリップフロップの状態値が格納される。In FIG. 1, reference numerals 11 (0)) and (C) in FIG. 1 are simulation tables in which state values of gates and scan flip-flops of the target logic circuit are stored.
シミュレーション・テーブル11は、第3図(ロ)に示
したシミュレーション・テーブル40と同様な構成であ
り、対象論理回路の各ゲート及びスキャンFFに対応す
る領域1111〜111nを備えており、各領域には、
対応する各ゲート及びスキャンFFの状態値を含む各種
の論理情報が格納され、一般に複数個存在する。The simulation table 11 has a similar configuration to the simulation table 40 shown in FIG. teeth,
Various types of logic information including state values of corresponding gates and scan FFs are stored, and generally a plurality of logic information exists.
また各領域111.〜111n内の状態値領域112、
〜112nには、対応する各ゲート及びスキャンFF状
態値が格納される。領域111゜〜1llnのその他の
部分には、各ゲートやスキャンFFの接続関係に関する
情報を含めて対象論理回路を表現する情報が格納される
。In addition, each area 111. A state value area 112 within ~111n,
~112n stores the corresponding gate and scan FF state values. The other portions of the areas 111° to 1lln store information representing the target logic circuit, including information regarding the connection relationships of each gate and scan FF.
同図(b)に示した各状態値領域1121〜112nの
各状態値は、各ゲート及びスキャンFFのリセット前の
値であり、同図(C)に示した各領域111、〜111
nの値は、対応する各ゲート及びスキャンFFのリセッ
ト後、すなわち初期値を示したものである。The state values of each of the state value regions 1121 to 112n shown in FIG.
The value of n indicates the initial value after each corresponding gate and scan FF are reset.
同図(a)の12はリセット値テーブルであり、対象論
理回路の各ゲート及びスキャンFFに対応するリセット
値領域1211〜121nを備えており、各リセット値
領域には、対応する各ゲート及びスキャンFFのリセッ
ト時の状態値、すなわち初期値が登録される。本発明は
、第1図に示したりセラトイ直テーフ゛Jし11及びシ
ミュレーション・テーブル12を用いて実施されるもの
であって、以下のように構成される。すなわち、
対象論理回路の各ゲート及びスキャン・フリップフロッ
プの状態値が格納されるシミュレーション・テーブル(
11)を備え、対象論理回路のゲート及びスキャン・フ
リップフロップの状態値を論理シミュレーション上で初
期化するスキャン・フリップフロップの初期化方式にお
いて、(a) リセット値テーブル(12)を設けて
、対象論理回路の各ゲート及びスキャン・フリップフロ
ップの初期状態における状態値を登録し、(b) 初
期化時は、リセット値テーブル(11)に登録された対
象論理回路の各ゲート及びスキャン・フリップフロップ
の初期値を、シミュレーション・テーブル(11)内の
対応する各ゲート及びスキャン・フリップフロップ領域
に書き込むことにより初期化する、
ように構成される。Reference numeral 12 in FIG. 5A is a reset value table, which includes reset value areas 1211 to 121n corresponding to each gate and scan FF of the target logic circuit, and each reset value area includes each corresponding gate and scan FF. A state value at the time of resetting the FF, that is, an initial value is registered. The present invention is implemented using the Seratoi direct table 11 and simulation table 12 shown in FIG. 1, and is constructed as follows. In other words, a simulation table (
11), in which the scan flip-flop initialization method initializes the state values of the gates and scan flip-flops of the target logic circuit on logic simulation, (a) a reset value table (12) is provided; Register the state values of each gate and scan flip-flop in the initial state of the logic circuit, and (b) at the time of initialization, register the state values of each gate and scan flip-flop of the target logic circuit registered in the reset value table (11). The simulation table (11) is configured to initialize by writing an initial value to each corresponding gate and scan flip-flop area in the simulation table (11).
対象論理回路が所定の動作をするかをテストするテスト
・パターンの数は極めて多いが、各テスト・パターンを
作成時の初期状態値はすべて共通である。Although there are an extremely large number of test patterns for testing whether a target logic circuit operates in a predetermined manner, the initial state values at the time of creating each test pattern are all common.
そこで、本発明では、リセット値テーブル12を設け、
対象論理回路の各ゲート及びスキャンFFの初期状態に
おける値を予め求めて、リセット値テーブル12に登録
しておく。これにより、リセット値領域121 t 〜
121 nには、第1図(a)に示すように、対象論理
回路の各ゲート及びスキャンFFの初期値が登録される
。各ゲート及びスキャンFFの初期値はその初期状態に
対応してOまたは1の値をとるので、・リセット値tM
M 121、〜121nの初期値は、一般に図示のよう
にO又はlの値をとることになる。Therefore, in the present invention, a reset value table 12 is provided,
The initial state values of each gate and scan FF of the target logic circuit are determined in advance and registered in the reset value table 12. As a result, the reset value area 121 t ~
121n, the initial values of each gate and scan FF of the target logic circuit are registered, as shown in FIG. 1(a). Since the initial value of each gate and scan FF takes the value O or 1 corresponding to its initial state, ・Reset value tM
The initial values of M 121, to 121n generally take the value of O or l as shown.
一方、シミュレーション・テーブル11の各状m*領域
112t〜112nには、1つ前ノテスト・パターンで
スキャンインされた各スキャンFF及びゲートの状態値
が、図示のように格納されている。On the other hand, in each of the m* regions 112t to 112n of the simulation table 11, the state values of each scan FF and gate scanned in in the previous test pattern are stored as shown.
1つ前のテスト・パターンの検証処理が終了して次のテ
スト・パターンが作成されるときは、各スキャンFFは
リセットされるので、シミュレーション°テーブル11
の各状態情値域1121〜112nの内容も、対応する
スキャンインの初期値に更新する必要かある。When the verification process of the previous test pattern is completed and the next test pattern is created, each scan FF is reset, so the simulation table 11
It is also necessary to update the contents of each state information value range 1121 to 112n to the initial value of the corresponding scan-in.
本発明では、リセット値テーブル12のリセット値領域
1211〜121nに登録されている初期値を、シミュ
レーション・テーブル11内の対応する状態値領域11
2.〜112nに書き込むことより、第1図(C)に示
すようにシミュレーション・テーブル11を初期化する
。In the present invention, the initial values registered in the reset value areas 1211 to 121n of the reset value table 12 are
2. By writing to 112n, the simulation table 11 is initialized as shown in FIG. 1(C).
これにより、従来のリセット・シミュレーション方式の
ように、対象論理回路上の全スキャンFFにスキャン・
アドレスを分配し、全スキャンFFにリセット動作を行
わせる必要がなくなり、シミュレーション・テーブル1
1内の各状態値領域1121〜112nの内容を容易か
つ速やかに初期化することができる。As a result, unlike the conventional reset simulation method, all scan FFs on the target logic circuit are scanned and
It is no longer necessary to distribute addresses and perform reset operations on all scan FFs, and simulation table 1
The contents of each state value area 1121 to 112n in 1 can be initialized easily and quickly.
以上のように、本発明は、対象論理回路の各ゲート及び
スキャンFFの初期状態における値を予め求めておき、
シミュレーション・テーブル11に前記初期値をを書き
込むことにより、対象論理回路の各ゲート及びスキャン
FFを初期化するようにしたので、従来方式のようなリ
セット・シミュレーション動作が不要になり、各スキャ
ンFFの初期化処理時間を大幅に短縮することができる
。As described above, in the present invention, the values in the initial state of each gate and scan FF of the target logic circuit are obtained in advance,
By writing the initial values into the simulation table 11, each gate and scan FF of the target logic circuit is initialized, so there is no need for a reset simulation operation like in the conventional method, and each scan FF is Initialization processing time can be significantly reduced.
また、1回求めた各スキャンFFの初期状態値を使用す
ることより、異なるテスト・パターンを共通に初期化す
ることができるので、論理回路の大規模化、高集積化に
伴ってテスト・パターン数が増大する程、リセット・シ
ミュレーションにより初期化を行う従来方式に比較して
、初期化処理時間を短縮効果を増大させることが可能で
ある。In addition, by using the initial state value of each scan FF determined once, different test patterns can be commonly initialized. As the number increases, it is possible to increase the effect of shortening the initialization processing time compared to the conventional method in which initialization is performed by reset simulation.
本発明の一実施例を、第2図及び第3図を参照して説明
する。第2図は、同実施例の実施システムの説明図であ
る。第3図は同実施例のシミュレーシヲン対象論理回路
の説明図であり、その構成及び動作内容については先に
説明したとおりである。An embodiment of the present invention will be described with reference to FIGS. 2 and 3. FIG. 2 is an explanatory diagram of the implementation system of the same embodiment. FIG. 3 is an explanatory diagram of the logic circuit to be simulated according to the same embodiment, and its configuration and operation contents are as described above.
(A)実施システムの構成
第2図において、シミュレーション・テーブル11、そ
の内部に設けられた各領域111.〜111n、各領域
内の状態値領域112.112n及びリセット値テーブ
ル12、その内部に設けられた各リセット値領域121
1〜121nの内容については、第1図で説明したとお
りである。(A) Configuration of implementation system In FIG. 2, a simulation table 11, each area 111 provided therein. ~ 111n, status value area 112 in each area, 112n and reset value table 12, each reset value area 121 provided therein
The contents of 1 to 121n are as explained in FIG.
同図Φ)に示した各状態値領域112.〜112nの各
状態値は、各ゲート及びスキャンFFのリセット前の値
であり、同図(C)に示した各領域111、〜1lln
の値は、対応する各ゲート及びスキャンFFのリセット
後、すなわち初期値を示したものである。Each state value region 112 shown in Φ) in the figure. Each state value of ~112n is the value before resetting each gate and scan FF, and each state value of each region 111, ~1lln shown in FIG.
The values indicate the initial values after the corresponding gates and scan FFs are reset, that is, the initial values.
13はプロセッサであり、対象論理回路に対する論理シ
ミュレーション処理を行う。A processor 13 performs logic simulation processing on the target logic circuit.
14はメモリ装置であり、プロセッサ13の行う論理シ
ミュレーション処理を制御する制御プログラムが格納さ
れる。なお、シミュレーション・テーブル11及びリセ
ット値テーブル11をメモリ装置14の中に設けるよう
にしてもよい。14 is a memory device in which a control program for controlling the logic simulation processing performed by the processor 13 is stored. Note that the simulation table 11 and the reset value table 11 may be provided in the memory device 14.
(B)実施例の動作
本発明の一実施例を、第3図の論理回路を論理シミュレ
ーション上で初期化する場合を例にとって説明する。な
お、以下に説明する各処理及び動作は、特に断らない限
りメモリ装置14の制御プログラムに従ってプロセッサ
13によって実行されるものである。(B) Operation of the Embodiment An embodiment of the present invention will be described by taking as an example a case where the logic circuit shown in FIG. 3 is initialized on a logic simulation. Note that each process and operation described below is executed by the processor 13 according to a control program of the memory device 14 unless otherwise specified.
先ず、論理シミュレーション処理開始に先立って、対象
論理回路の各ゲート及びスキャンFFの初期状態におけ
る値を予め求められて、リセット値テーブル12に登録
される。First, prior to the start of the logic simulation process, values in the initial state of each gate and scan FF of the target logic circuit are determined in advance and registered in the reset value table 12.
第2図(a)には、リセット・シミュレーション12の
リセット値領域12 L 、121a及び121、にス
キャンFF31,32及び33の初期値としてOll及
び0が登録された場合が例示されている。他のスキャン
FF及び各ゲートの初期値も、同様にして対応するリセ
ット値領域に登録される(図示せず)。FIG. 2(a) illustrates a case where Oll and 0 are registered as initial values of the scan FFs 31, 32, and 33 in the reset value areas 12L, 121a, and 121 of the reset simulation 12. The initial values of other scan FFs and each gate are also registered in the corresponding reset value area in the same way (not shown).
一方、シミュレーション・テーブル11の各状態値領域
1121〜112nには、1つ前のテスト・パターンで
スキャンインされた各スキャンFF及びゲートの状態値
が、図示のように格納されている。On the other hand, in each state value area 1121 to 112n of the simulation table 11, the state values of each scan FF and gate scanned in in the previous test pattern are stored as shown.
第2図(b)には、領域1112.1114及び111
、の状態値領域112□、112.及び112、にスキ
ャンFF31.32及び33の状態値としてl、0及び
1が登録された場合が例示されている。他のスキャンF
F及び各ゲートの状態値も、同様にして対応する状態値
領域に格納されている。In FIG. 2(b), areas 1112, 1114 and 111
, state value areas 112□, 112. A case is illustrated in which l, 0, and 1 are registered as the state values of the scan FFs 31, 32, and 112. Other scan F
The state values of F and each gate are similarly stored in the corresponding state value areas.
1つ前のテスト・パターンの検証処理か終了して次のテ
スト・パターンが作成されるときは、対象論理回路の各
ゲート及びスキャンFFは初期化されるので、シミュレ
ーション・テーブル11の各状態惰値域112.〜11
2nの内容は、対応する各ゲート及びスキ→・ンFFの
初期値に更新ささる。When the verification process of the previous test pattern is completed and the next test pattern is created, each gate and scan FF of the target logic circuit are initialized, so each state in the simulation table 11 is Range 112. ~11
The contents of 2n are updated to the initial values of the corresponding gates and FFs.
すなわち、リセット値テーブル12のリセット値領域1
21.〜121nに登録されている初期値を、シミュレ
ーション・テーブル11内の対応する状態値領域112
1〜112nに書き込むことより、第1図(C)に示す
ように、シミュレーション・テーブル11内の各状態値
領域1121〜112nの内容を容易かつ速やかに初期
化することができる。That is, reset value area 1 of the reset value table 12
21. The initial values registered in ~121n are transferred to the corresponding state value area 112 in the simulation table 11.
1 to 112n, the contents of each state value area 1121 to 112n in the simulation table 11 can be easily and quickly initialized, as shown in FIG. 1(C).
以上第3図に示す論理回路を論理シミュレーションする
場合を例にとって本発明の一実施例に付いて説明したが
、本発明はこの実施例に限定されるものではなく、他の
任意の論理回路も同様にして、論理シミュレーション上
で初期化することができる。An embodiment of the present invention has been described above, taking as an example a logic simulation of the logic circuit shown in FIG. 3, but the present invention is not limited to this embodiment. Similarly, initialization can be performed on logic simulation.
以上説明したように、本発明によれば、次の諸効果が得
られる。As explained above, according to the present invention, the following effects can be obtained.
(1)対象論理回路の各ゲート及びスキャンFFの初期
状態における値を予め求めておき、シミュレーション・
テーブル11に前記初期値を書き込むことにより、対象
論理回路の各ゲート及びスキャンFFを初期化するよう
にしたので、従来方式のようなりセント・シミュレーシ
ョン動作が不要になり、各スキャンFFの初期化処理時
間を大幅に短縮することができる。(1) Obtain the initial state values of each gate and scan FF of the target logic circuit in advance, and perform the simulation.
By writing the initial values in Table 11, each gate and scan FF of the target logic circuit is initialized, so the cent simulation operation that is required in the conventional method is no longer necessary, and the initialization process of each scan FF is eliminated. The time can be significantly reduced.
(2)1回求めた各スキャンFFの初期状B(!を使用
することより、異なるテスト・パターンを共通に初期化
することができるので、論理回路の大規模化、高集積化
に伴ってテスト・パターン数が増大する程、リセット・
シミュレーションにより初期化を行う従来方式に比較し
て、初期化処理時間を短縮効果を増大させることが可能
である。(2) By using the initial state B (! of each scan FF obtained once), different test patterns can be commonly initialized. As the number of test patterns increases, the reset
Compared to the conventional method in which initialization is performed by simulation, it is possible to increase the effect of shortening the initialization processing time.
第1図は本発明の原理図、
第2図は本発明の一実施例の実施システムの構成の説明
図、
第3図は論理シミュレーション対象論理回路及びシミュ
レーション・テーブルの構成の説明図、
第4図は同論理回路のスキャンFFの構成の説明図、
第5図は同スキャンFFの動作タイミングチャートであ
る。
第1図及び第2図において、
11・・・シミュレーション・テーブル、1111〜1
lln−・・領域、112+ 〜112 n・・・状態
値領域、12・・・リセット値テーブル、1211〜1
21n・・・リセット値領域。13・・・プロセッサ、
14・・・メモリ装置。
論理回路のスキャンFFの構成
第4図FIG. 1 is a diagram of the principle of the present invention, FIG. 2 is an explanatory diagram of the configuration of an implementation system of an embodiment of the present invention, FIG. 3 is an explanatory diagram of the configuration of a logic circuit to be subjected to logic simulation and a simulation table, and FIG. The figure is an explanatory diagram of the configuration of the scan FF of the same logic circuit, and FIG. 5 is an operation timing chart of the same scan FF. In FIG. 1 and FIG. 2, 11...Simulation table, 1111-1
lln-...area, 112+ to 112n...state value area, 12...reset value table, 1211-1
21n...Reset value area. 13...processor,
14...Memory device. Figure 4: Configuration of scan FF in logic circuit
Claims (1)
プの状態値が格納されるシミュレーション・テーブル(
11)を備え、対象論理回路のゲート及びスキャン・フ
リップフロップの状態値を論理シミュレーション上で初
期化するスキャン・フリップフロップの初期化方式にお
いて、 (a)リセット値テーブル(12)を設けて、対象論理
回路の各ゲート及びスキャン・フリップフロップの初期
状態における状態値を登録し、(b)初期化時は、リセ
ット値テーブル(11)に登録された対象論理回路の各
ゲート及びスキャン・フリップフロップの初期値を、シ
ミュレーション・テーブル(11)内の対応する各ゲー
ト及びスキャン・フリップフロップ領域に書き込むこと
により初期化すること、 を特徴とするスキャン・フリップフロップの初期化方式
。[Claims] A simulation table (in which state values of each gate and scan flip-flop of the target logic circuit are stored)
11), in which the state values of the gates and scan flip-flops of the target logic circuit are initialized on logic simulation, (a) a reset value table (12) is provided, Register the state values of each gate and scan flip-flop in the initial state of the logic circuit, and (b) at the time of initialization, register the state values of each gate and scan flip-flop of the target logic circuit registered in the reset value table (11). An initialization method for a scan flip-flop, characterized in that initialization is performed by writing an initial value into each corresponding gate and scan flip-flop area in a simulation table (11).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2139965A JP2557128B2 (en) | 1990-05-31 | 1990-05-31 | Scan flip-flop initialization method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2139965A JP2557128B2 (en) | 1990-05-31 | 1990-05-31 | Scan flip-flop initialization method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0434656A true JPH0434656A (en) | 1992-02-05 |
| JP2557128B2 JP2557128B2 (en) | 1996-11-27 |
Family
ID=15257793
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2139965A Expired - Lifetime JP2557128B2 (en) | 1990-05-31 | 1990-05-31 | Scan flip-flop initialization method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2557128B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007003436A (en) * | 2005-06-27 | 2007-01-11 | Tokyo Electric Power Co Inc:The | Sensor for crack depth measuring instrument and crack depth measuring instrument |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61201347A (en) * | 1985-03-04 | 1986-09-06 | Hitachi Ltd | Logical simulation device |
| JPH01161568A (en) * | 1987-12-18 | 1989-06-26 | Nec Corp | Simulation pattern generator |
| JPH01260373A (en) * | 1988-04-12 | 1989-10-17 | Fujitsu Ltd | Test system for integrated circuit |
-
1990
- 1990-05-31 JP JP2139965A patent/JP2557128B2/en not_active Expired - Lifetime
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61201347A (en) * | 1985-03-04 | 1986-09-06 | Hitachi Ltd | Logical simulation device |
| JPH01161568A (en) * | 1987-12-18 | 1989-06-26 | Nec Corp | Simulation pattern generator |
| JPH01260373A (en) * | 1988-04-12 | 1989-10-17 | Fujitsu Ltd | Test system for integrated circuit |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007003436A (en) * | 2005-06-27 | 2007-01-11 | Tokyo Electric Power Co Inc:The | Sensor for crack depth measuring instrument and crack depth measuring instrument |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2557128B2 (en) | 1996-11-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100488232B1 (en) | A method for testing integrated memory using an integrated dma controller | |
| US5937179A (en) | Integrated circuit design system with shared hardware accelerator and processes of designing integrated circuits | |
| JPH07507407A (en) | Process and test platform for developing integrated circuits | |
| CN114707453B (en) | Chip function verification method, device, electronic device and storage medium | |
| US8327309B2 (en) | Verification of design information for controlling manufacture of a system on a chip | |
| US20020143515A1 (en) | Method and program product for modeling circuits with latch based design | |
| US20130024178A1 (en) | Playback methodology for verification components | |
| US5774380A (en) | State capture/reuse for verilog simulation of high gate count ASIC | |
| JPH0434656A (en) | Initializing system for scan flip flop | |
| US12487284B2 (en) | Testing multi-cycle paths using scan test | |
| US4995037A (en) | Adjustment method and apparatus of a computer | |
| JP2002141414A (en) | Apparatus and method for testing integrated circuits | |
| JP2837703B2 (en) | Fault diagnosis device | |
| Moussouris et al. | CHEOPS: A chess-oriented processing system | |
| Bellon et al. | Taking into account asynchronous signals in functional test of complex circuits | |
| JPS62233780A (en) | Large-scale logic circuits and their testing methods | |
| JPS62114040A (en) | Event simulator | |
| US20040107393A1 (en) | Method and device for testing the mapping/implementation of a model of a logic circuit onto/in a hardware emulator | |
| CN119272675A (en) | A method for verifying a multi-mode high-speed asynchronous interface | |
| JP3696302B2 (en) | Test vector generation method and generation apparatus | |
| JP3453068B2 (en) | Semiconductor integrated circuit and test pattern creation method | |
| JPS5838879B2 (en) | fail memory | |
| JPH09146790A (en) | Semiconductor integrated circuit device and its testing method | |
| JPH05135131A (en) | Simulation processor | |
| JPH0430067B2 (en) |