JPH04340173A - Scan pass logic verifying system - Google Patents

Scan pass logic verifying system

Info

Publication number
JPH04340173A
JPH04340173A JP3140831A JP14083191A JPH04340173A JP H04340173 A JPH04340173 A JP H04340173A JP 3140831 A JP3140831 A JP 3140831A JP 14083191 A JP14083191 A JP 14083191A JP H04340173 A JPH04340173 A JP H04340173A
Authority
JP
Japan
Prior art keywords
scan path
simulation
expected value
flip
symbol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3140831A
Other languages
Japanese (ja)
Inventor
Toshiaki Fujii
利明 藤井
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 Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3140831A priority Critical patent/JPH04340173A/en
Publication of JPH04340173A publication Critical patent/JPH04340173A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To surely execute the verification of scan pass logical connection in a CAD. CONSTITUTION:A model information storing means 1 stores a simulation model, scan pass wiring order indicating the order of flip flops(FFs) and scan pass control signal information defining a control signal for driving a scan pass. A simulation control instruction output means 2 applies codes inherent in respective FFs to respective FFs as respective initial status values based upon the stored information and forms an instruction for executing code propagation simulation for propagating respective codes on the scan pass. A code propagation simulation executing means 3 executes code propagation simulation in accordance with the instruction. An expected value comparing means 5 compares an expected value formed by an expected value generating means 4 with a simulation result obtained from the means 3 to discriminate whether the logical connection of the scan pass is invalid or not.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は論理シミュレータを用い
てスキャンパスの論理接続を確認するスキャンパス論理
検証方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a scan path logic verification method for checking logical connections of scan paths using a logic simulator.

【0002】0002

【従来の技術】論理シミュレータを用いてスキャンパス
の論理接続を確認する場合、従来は論理値(0,1,不
定値X,ハイインピーダンスZ)を回路中の信号が持つ
状態値としてスキャンパスを動作させるシミュレーショ
ンを行なっていた。
[Prior Art] When checking the logical connection of a scan path using a logic simulator, conventionally, the scan path is determined by using logical values (0, 1, undefined value X, high impedance Z) as state values of signals in the circuit. I was running a simulation to get it working.

【0003】0003

【発明が解決しようとする課題】上述したように、従来
は、論理値を回路中の信号が持つ状態値としたシミュレ
ーションを行なっていたため、スキャンパス上の或るフ
リップフロップのシミュレーション結果が期待値と一致
しても、そのフリップフロップの持つ状態値がスキャン
パスの1つ前に接続されているフリップフロップから伝
播されたものなのか、他の部分から伝播されたものなの
かを判別できない。即ち、上述した従来方式では期待値
比較のみではスキャンパスの論理接続を保証できないと
いう問題があった。
[Problems to be Solved by the Invention] As mentioned above, in the past, simulations were performed using logical values as state values of signals in the circuit, so the simulation result of a certain flip-flop on the scan path was not the expected value. Even if they match, it is not possible to determine whether the state value of that flip-flop is propagated from the flip-flop connected immediately before the scan path or from another part. That is, the conventional method described above has a problem in that the logical connection of scan paths cannot be guaranteed only by comparing expected values.

【0004】本発明の目的はスキャンパスの論理接続を
確実に検証できるようにすることにある。
An object of the present invention is to enable reliable verification of the logical connections of scan paths.

【0005】[0005]

【課題を解決するための手段】本発明は上記目的を達成
するため、スキャンパスの論理接続を検証するスキャン
パス論理検証方式に於いて、前記スキャンパスを含む論
理回路のシミュレーションモデルと、前記スキャンパス
上のフリップフロップの順序を示すスキャンパス配線順
序と、前記スキャンパスを動作させる制御信号を定義す
るスキャンパス制御信号情報とを格納したモデル情報格
納手段と、該モデル情報格納手段に格納されているスキ
ャンパス配線順序とスキャンパス制御信号情報とに基づ
いて、前記スキャンパス上の各フリップフロップに初期
状態値として前記各フリップフロップ固有の記号を与え
る命令と、スキャンパスの出力端子の状態値を観測する
命令と、シミュレーションの実行を指示する命令とを作
成するシミュレーション制御命令出力手段と、前記モデ
ル情報格納手段に格納されているシミュレーションモデ
ルと、前記シミュレーション制御命令出力手段が作成し
た各命令とに基づいて記号伝播シミュレーションを行な
う記号伝播シミュレーション実行手段と、前記モデル情
報格納手段に格納されているスキャンパス配線順序に基
づいてシミュレーションの各時刻に於ける期待値を作成
する期待値作成手段と、前記記号伝播シミュレーション
実行手段によるシミュレーション結果と前記期待値作成
手段が作成した期待値とを比較することにより、スキャ
ンパスの論理接続に不正があるか否かを判定する期待値
比較手段とを設けたものである。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a scan path logic verification method for verifying logical connections of scan paths, which includes a simulation model of a logic circuit including the scan path, and a simulation model of a logic circuit including the scan path. model information storage means storing a scan path wiring order indicating the order of flip-flops on the campus and scan path control signal information defining a control signal for operating the scan path; an instruction to give a symbol unique to each flip-flop as an initial state value to each flip-flop on the scan path, and a state value of the output terminal of the scan path, based on the scan path wiring order and scan path control signal information; a simulation control command output means for creating an observation command and a command for instructing execution of the simulation; a simulation model stored in the model information storage means; and each command created by the simulation control command output means. a symbol propagation simulation execution means for performing a symbol propagation simulation based on the model information storage means; an expected value creation means for creating an expected value at each time of the simulation based on the scan path wiring order stored in the model information storage means; Expected value comparison means for determining whether or not there is an irregularity in the logical connection of the scan path by comparing the simulation result by the symbol propagation simulation execution means and the expected value created by the expected value creation means. It is.

【0006】[0006]

【作用】シミュレーション制御命令出力手段はモデル情
報格納手段に格納されているスキャンパス配線順序とス
キャンパス制御信号情報とに基づいて、スキャンパス上
の各フリップフロップに初期状態値として各フリップフ
ロップ固有の記号を与える命令と、スキャンパス出力端
子の状態値を観測する命令と、シミュレーションの実行
を指示する命令とを作成する。記号伝播シミュレーショ
ン実行手段はモデル情報格納手段に格納されているシミ
ュレーションモデルとシミュレーション制御命令出力手
段が作成した命令とに基づいて記号伝播シミュレーショ
ンを行ない、シミュレーション結果を出力する。このシ
ミュレーション結果は期待値比較手段に於いて、期待値
作成手段が作成した期待値と比較され、スキャンパスの
論理接続に不正があるか否かが判定される。
[Operation] The simulation control command output means sets an initial state value to each flip-flop on the scan path based on the scan path wiring order and scan path control signal information stored in the model information storage means. An instruction to give a symbol, an instruction to observe the state value of the scan path output terminal, and an instruction to instruct execution of the simulation are created. The symbol propagation simulation execution means performs a symbol propagation simulation based on the simulation model stored in the model information storage means and the command created by the simulation control command output means, and outputs the simulation result. This simulation result is compared in the expected value comparing means with the expected value created by the expected value creating means, and it is determined whether or not there is an irregularity in the logical connection of the scan path.

【0007】[0007]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
Embodiments Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0008】図1は本発明の実施例のブロック図であり
、モデル情報格納手段1と、シミュレーション制御命令
出力手段2と、記号伝播シミュレーション実行手段3と
、期待値作成手段4と、期待値比較手段5とから構成さ
れている。
FIG. 1 is a block diagram of an embodiment of the present invention, which includes a model information storage means 1, a simulation control command output means 2, a symbol propagation simulation execution means 3, an expected value creation means 4, and an expected value comparison means. It is composed of means 5.

【0009】図2はモデル情報格納手段1の処理例を示
す流れ図であり、モデル情報格納手段1は要求受付処理
11と、要求判定処理12と、シミュレーションモデル
出力処理13と、スキャンパス配線順序出力処理14と
、スキャンパス制御信号情報出力処理15とを行なう。
FIG. 2 is a flowchart showing a processing example of the model information storage means 1, in which the model information storage means 1 performs a request reception process 11, a request determination process 12, a simulation model output process 13, and a scan path wiring order output. Processing 14 and scan path control signal information output processing 15 are performed.

【0010】図3はシミュレーション制御命令出力手段
2の処理例を示す流れ図であり、シミュレーション制御
命令出力手段2はスキャンパス配線順序要求処理21と
、スキャンパス配線順序入力処理22と、スキャンパス
制御信号情報要求処理23と、スキャンパス制御信号情
報入力処理24と、制御信号状態値設定命令作成処理2
5と、スキャンパス状態値設定命令作成処理26と、ス
キャンアウト観測命令作成処理27と、シミュレーショ
ン実行命令作成処理28と、命令出力処理29とを行な
う。
FIG. 3 is a flowchart showing an example of processing by the simulation control command output means 2, in which the simulation control command output means 2 performs a scan path wiring order request process 21, a scan path wiring order input process 22, and a scan path control signal Information request processing 23, scan path control signal information input processing 24, and control signal status value setting command creation processing 2
5, scan path state value setting command creation processing 26, scanout observation command creation processing 27, simulation execution command creation processing 28, and command output processing 29 are performed.

【0011】図4は記号伝播シミュレーション実行手段
3の処理例を示す流れ図であり、記号伝播シミュレーシ
ョン実行手段3はシミュレーションモデル入力処理31
と、命令入力処理32と、記号伝播シミュレーション実
行処理33と、フリップフロップ(F/F)演算処理3
4と、組み合わせ回路演算処理35と、シミュレーショ
ン結果出力処理36とを行なう。
FIG. 4 is a flowchart showing a processing example of the symbol propagation simulation execution means 3, in which the symbol propagation simulation execution means 3 performs the simulation model input processing 31.
, instruction input processing 32 , symbol propagation simulation execution processing 33 , and flip-flop (F/F) calculation processing 3
4, combinational circuit calculation processing 35, and simulation result output processing 36.

【0012】図5は期待値作成手段4の処理例を示す流
れ図であり、期待値作成手段4はスキャンパス配線順序
要求処理41と、スキャンパス配線順序入力処理42と
、命令入力処理43と、期待値作成処理44と、期待値
出力処理45とを行なう。
FIG. 5 is a flowchart showing an example of processing by the expected value creating means 4, in which the expected value creating means 4 performs a scan path wiring order request process 41, a scan path wiring order input process 42, a command input process 43, Expected value creation processing 44 and expected value output processing 45 are performed.

【0013】図6は期待値比較手段5の処理例を示す流
れ図であり、期待値比較手段5はシミュレーション結果
入力処理51と、期待値入力処理52と、期待値比較処
理53と、不一致パス出力処理54とを行なう。
FIG. 6 is a flow chart showing a processing example of the expected value comparing means 5, in which the expected value comparing means 5 performs a simulation result input process 51, an expected value input process 52, an expected value comparison process 53, and a mismatch path output process. Processing 54 is performed.

【0014】モデル情報格納手段1は論理回路の設計デ
ータ(例えばネットリスト等)と、スキャンパス配線順
序(スキャンパス上のフリップフロップの順序)と、ス
キャンパス制御信号情報(スキャンパスを動作させるた
めのスキャンパス制御信号を入力するスキャンパス制御
端子の名前,スキャンパスを動作させる時に上記スキャ
ンパス制御端子に設定する状態値及びスキャンパスを動
作させるクロックパルスを入力するクロック入力端子の
名前)とを格納している。尚、スキャンパス配線順序,
スキャンパス制御信号情報は回路設計者により指定され
たものである。
The model information storage means 1 stores logic circuit design data (for example, netlist, etc.), scan path wiring order (order of flip-flops on the scan path), and scan path control signal information (for operating the scan path). the name of the scan path control terminal that inputs the scan path control signal, the state value set to the scan path control terminal when operating the scan path, and the name of the clock input terminal that inputs the clock pulse that operates the scan path). It is stored. In addition, the scan path wiring order,
The scan path control signal information is specified by the circuit designer.

【0015】そして、シミュレーション制御命令出力手
段2,記号伝播シミュレーション実行手段3,期待値作
成手段4,期待値比較手段5からの参照要求に応答して
図2に示す処理を行なう。即ち、要求受付処理11によ
り参照要求を受取り、要求判定処理12により要求され
た情報の種類を判定する。そして、要求された情報の種
類がシミュレーションモデルである場合はシミュレーシ
ョンモデル出力処理13を、スキャンパス配線順序であ
る場合はスキャンパス配線順序出力処理14を、スキャ
ンパス制御信号情報である場合はスキャンパス制御信号
情報出力処理15を行なう。
Then, in response to reference requests from the simulation control command output means 2, the symbol propagation simulation execution means 3, the expected value creation means 4, and the expected value comparison means 5, the processing shown in FIG. 2 is performed. That is, a reference request is received by the request reception process 11, and the type of requested information is determined by the request determination process 12. Then, if the requested information type is a simulation model, the simulation model output process 13 is performed, if the requested information is the scan path wiring order, the scan path wiring order output process 14 is performed, and if the requested information is the scan path control signal information, the scan path output process 13 is performed. Control signal information output processing 15 is performed.

【0016】シミュレーションモデル出力処理13では
論理回路の設計データ(例えば、ネットリスト等)に基
づいてシミュレーションモデルを作成し、作成したシミ
ュレーションモデルを出力する。尚、モデル情報格納手
段1に予めシミュレーションモデルを格納しておき、設
計データからシミュレーションモデルを作成する処理を
省略することもできる。スキャンパス配線順序出力処理
14では回路設計者により指定されたスキャンパスにつ
ながるフリップフロップの順序をスキャンパス配線順序
として出力する。スキャンパス制御信号情報出力処理1
5では回路設計者により指定されたスキャンパスを動作
させるためのスキャンパス制御信号を入力するスキャン
パス制御端子の名前と、スキャンパスを動作させる時に
上記スキャンパス制御端子に設定する状態値と、スキャ
ンパスを動作させるクロックパルスを入力するクロック
入力端子の名前とから構成されるスキャンパス制御信号
情報を出力する。
In the simulation model output process 13, a simulation model is created based on logic circuit design data (eg, a netlist, etc.), and the created simulation model is output. Note that it is also possible to store a simulation model in the model information storage means 1 in advance and omit the process of creating a simulation model from design data. In the scan path wiring order output process 14, the order of flip-flops connected to the scan path specified by the circuit designer is output as the scan path wiring order. Scan path control signal information output processing 1
5 shows the name of the scan path control terminal that inputs the scan path control signal to operate the scan path specified by the circuit designer, the state value to be set to the scan path control terminal when operating the scan path, and the scan path control terminal. Outputs scan path control signal information consisting of the name of the clock input terminal that inputs the clock pulse that operates the campus.

【0017】シミュレーション制御命令出力手段2は図
3に示すように、スキャンパス配線順序要求処理21に
於いてモデル情報格納手段1に対してスキャンパス配線
順序の参照要求を出力する。次のスキャンパス配線順序
入力処理22に於いては上記参照要求に応答してモデル
情報格納手段1が出力したスキャンパス配線順序を受け
取る。
As shown in FIG. 3, the simulation control command output means 2 outputs a scan path wiring order reference request to the model information storage means 1 in the scan path wiring order request processing 21. In the next scan path wiring order input process 22, the scan path wiring order outputted by the model information storage means 1 in response to the reference request is received.

【0018】次のスキャンパス制御信号情報要求処理2
3に於いてはモデル情報格納手段1に対してスキャンパ
ス制御信号情報の参照要求を出力する処理が行なわれ、
スキャンパス制御信号情報入力処理24に於いてはモデ
ル情報格納手段1が上記参照要求に応答して出力したス
キャンパス制御信号情報を受け取る処理が行なわれる。
Next scan path control signal information request processing 2
3, a process is performed to output a reference request for scan path control signal information to the model information storage means 1,
In the scan path control signal information input process 24, a process is performed to receive the scan path control signal information output by the model information storage means 1 in response to the reference request.

【0019】制御信号状態値設定命令作成処理25では
スキャンパス制御信号情報入力処理24で受け取ったス
キャンパス制御信号情報に基づいて、論理シミュレーシ
ョンに於いてスキャンパス制御端子にスキャンパスを動
作させるための状態値を設定する命令及びスキャンパス
を動作させるクロックパルスをクロック入力端子に設定
する命令を作成する。
In the control signal state value setting command creation process 25, based on the scan path control signal information received in the scan path control signal information input process 24, a command is sent to the scan path control terminal to operate the scan path in the logic simulation. Create an instruction to set a state value and an instruction to set a clock pulse for operating a scan path to a clock input terminal.

【0020】スキャンパス状態値設定命令作成処理26
ではスキャンパス配線順序入力処理22で受け取ったス
キャンパス配線順序に基づいて、スキャンパス入力端子
及びスキャンパス上の各フリップフロップに、記号伝播
シミュレーションで用いる状態値の初期値として、それ
固有の記号を設定する命令を作成する。
[0020] Scan path status value setting command creation process 26
Now, based on the scan path wiring order received in the scan path wiring order input process 22, a unique symbol is assigned to the scan path input terminal and each flip-flop on the scan path as the initial value of the state value used in the symbol propagation simulation. Create an instruction to configure.

【0021】スキャンアウト観測命令作成処理27では
スキャンパス配線順序入力処理22で受け取ったスキャ
ンパス配線順序に基づいてシミュレーション中にスキャ
ンパス出力端子の状態値を観測する命令を作成する。
In the scan-out observation command creation process 27, a command for observing the state value of the scan path output terminal during simulation is created based on the scan path wiring order received in the scan path wiring order input process 22.

【0022】シミュレーション実行命令作成処理28で
はスキャンパス配線順序入力処理22で受け取ったスキ
ャンパス配線順序に基づいて、スキャンパス上のフリッ
プフロップの数を求め、更に、このフリップフロップ数
×クロックパルスの周期に相当する時間だけシミュレー
ションを行なう命令を作成する。
In the simulation execution command creation process 28, the number of flip-flops on the scan path is calculated based on the scan path wiring order received in the scan path wiring order input process 22, and further, the number of flip-flops on the scan path is calculated by multiplying the period of the clock pulse by the number of flip-flops. Create an instruction to perform the simulation for a time corresponding to .

【0023】命令出力処理29では制御信号状態値設定
命令作成処理25,スキャンパス状態値設定命令作成処
理26,スキャンアウト観測命令作成処理27,シミュ
レーション実行命令作成処理28で作成した命令を出力
する。
In command output processing 29, the commands created in control signal state value setting command creation processing 25, scan path state value setting command creation processing 26, scan out observation command creation processing 27, and simulation execution command creation processing 28 are output.

【0024】記号伝播シミュレーション実行手段3は図
4に示すように、シミュレーションモデル入力処理31
に於いて、モデル情報格納手段1に対してシミュレーシ
ョンモデルの参照要求を出力し、この参照要求に応答し
てモデル情報格納手段1が出力したシミュレーションモ
デルを入力する。
As shown in FIG. 4, the symbol propagation simulation execution means 3 performs a simulation model input process 31.
At this point, a simulation model reference request is output to the model information storage means 1, and in response to this reference request, the simulation model outputted by the model information storage means 1 is input.

【0025】更に、記号伝播シミュレーション実行手段
3は命令入力処理32に於いて、シミュレーション制御
命令出力手段2が出力した各命令を入力する。次の記号
伝播シミュレーション実行処理33では入力した命令に
従ってシミュレーションを行なう。その際、フリップフ
ロップについてはフリップフロップ演算処理34により
シミュレーションを行ない、他の論理素子については組
み合わせ回路演算処理35によりシミュレーションを行
なう。尚、フリップフロップ演算処理34に於いてはフ
リップフロップに入力される信号の状態値に応じてフリ
ップフロップが保持する信号の状態値を決定するが、フ
リップフロップが取り込むデータとして入力されている
信号の状態値が論理値の場合はその論理値を保持し、記
号の場合はその記号を保持する。また、組み合わせ回路
演算処理35に於いては論理素子に入力される状態値が
全て論理値の場合はそのまま論理素子の値を決定し、入
力される状態値に記号が含まれている場合は不定値Xを
論理素子のシミュレーション状態値として決定する。
Further, the symbol propagation simulation execution means 3 inputs each command outputted by the simulation control command output means 2 in the command input processing 32. In the next symbol propagation simulation execution process 33, a simulation is performed according to the input instructions. At this time, the flip-flop is simulated by the flip-flop calculation process 34, and the other logic elements are simulated by the combinational circuit calculation process 35. In the flip-flop calculation process 34, the state value of the signal held by the flip-flop is determined according to the state value of the signal input to the flip-flop. If the state value is a logical value, the logical value is retained; if the state value is a symbol, the symbol is retained. In addition, in the combinational circuit arithmetic processing 35, if all the state values input to the logic element are logical values, the value of the logic element is determined as is, and if the input state value includes a symbol, it is undefined. A value X is determined as the simulation state value of the logic element.

【0026】シミュレーション結果出力処理36では観
測した状態値を出力する。
In the simulation result output processing 36, observed state values are output.

【0027】期待値作成手段4は図5に示すように、ス
キャンパス配線順序要求処理41によりモデル情報格納
手段1に対してスキャンパス配線順序の参照要求を出力
し、この参照要求に応答してモデル情報格納手段1が出
力したスキャンパス配線順序をスキャンパス配線順序入
力処理42により受け取る。
As shown in FIG. 5, the expected value creation means 4 outputs a scan path wiring order reference request to the model information storage means 1 through a scan path wiring order request processing 41, and in response to this reference request, The scan path wiring order outputted by the model information storage means 1 is received by the scan path wiring order input processing 42.

【0028】次の命令入力処理43に於いては、シミュ
レーション制御命令出力手段2がスキャンパス状態値設
定命令作成処理26で作成した命令を入力し、シミュレ
ーションに於ける初期値としてスキャンパス上の各フリ
ップフロップ,スキャンパス入力端子に設定する記号を
得る。
In the next command input process 43, the simulation control command output means 2 inputs the command created in the scan path status value setting command creation process 26, and sets each of the scan paths on the scan path as an initial value in the simulation. Obtain the symbol to be set to the flip-flop and scan path input terminal.

【0029】期待値作成処理44では、スキャンパス配
線順序入力処理42で受け取ったスキャンパス配線順序
を参照し、シミュレーションに於いてクロック入力端子
に入力されるクロックパルスの1周期毎に、スキャンパ
ス上の各フリップフロップの記号が、そのフリップフロ
ップの出力からスキャンパスによって接続された次のフ
リップフロップに伝播し、スキャンパス出力端子にスキ
ャンパス上のフリップフロップの記号が、スキャンパス
の出力側から順番に出力されるものとして、クロックパ
ルスの1周期毎のスキャンパス出力端子の期待値を作成
する。期待値作成処理44によって作成された期待値は
期待値出力処理45によって出力される。
In the expected value creation process 44, the scan path wiring order received in the scan path wiring order input process 42 is referred to, and in the simulation, each period of the clock pulse input to the clock input terminal is set on the scan path. The symbols of each flip-flop on the scan path are propagated from the output of that flip-flop to the next flip-flop connected by the scan path, and the symbols of the flip-flops on the scan path are propagated from the output of that flip-flop to the next flip-flop connected by the scan path. The expected value of the scan path output terminal for each period of the clock pulse is created as the value to be output at the scan path output terminal. The expected value created by the expected value creation process 44 is outputted by the expected value output process 45.

【0030】期待値比較手段5は図6に示すように、シ
ミュレーション結果入力処理51で記号伝播シミュレー
ション実行手段3が出力したシミュレーション結果を入
力し、次の期待値入力処理52で期待値作成手段4が出
力した期待値を入力する。続く期待値比較処理53では
シミュレーション結果入力処理51によって入力したシ
ミュレーション結果と期待値入力処理52によって入力
した期待値とを比較し、一致すれば、スキャンパスが設
計通り動作していることを保証し、不一致の場合は不一
致パス出力処理54により、期待値となっているフリッ
プフロップ固有の記号と、そのフリップフロップの後段
に接続されるはずのフリップフロップ固有の記号、即ち
、1クロック前のスキャンパス出力端子の期待値を、接
続が不正なパスとして出力する。
As shown in FIG. 6, the expected value comparison means 5 inputs the simulation results outputted by the symbol propagation simulation execution means 3 in the simulation result input processing 51, and then inputs the simulation results outputted by the symbol propagation simulation execution means 3 in the next expected value input processing 52. Enter the expected value output by . In the subsequent expected value comparison process 53, the simulation results input in the simulation result input process 51 and the expected values input in the expected value input process 52 are compared, and if they match, it is guaranteed that the scan path is operating as designed. , in the case of mismatch, the mismatch path output processing 54 outputs the symbol unique to the flip-flop that is the expected value and the symbol unique to the flip-flop that is supposed to be connected to the subsequent stage of that flip-flop, that is, the scan path one clock ago. Outputs the expected value of the output terminal as a path with an invalid connection.

【0031】次に図7に示すスキャンパスを例にとって
本実施例の動作を説明する。図7に示したスキャンパス
は3個のフリップフロップA,B,Cと、スキャンパス
入力端子SINと、スキャンパス出力端子SOTと、ス
キャンパス制御端子SFMと、クロック入力端子CLK
とから構成されており、スキャンパス制御端子SFMに
“1”が設定された時、動作するものである。
Next, the operation of this embodiment will be explained using the scan path shown in FIG. 7 as an example. The scan path shown in FIG. 7 includes three flip-flops A, B, and C, a scan path input terminal SIN, a scan path output terminal SOT, a scan path control terminal SFM, and a clock input terminal CLK.
It operates when the scan path control terminal SFM is set to "1".

【0032】モデル情報格納手段1には図7のスキャン
パスを持つ論理回路のネットリストと、回路設計者によ
り指定されたスキャンパス接続順序“SIN−A−B−
C−SOT”と、スキャンパス制御信号を入力するスキ
ャンパス制御端子SFMの名前,スキャンパスを動作さ
せるためにスキャンパス制御端子SFMに設定する値(
この例では“1”)及びクロックパルスを入力するクロ
ック入力端子CLKの名前から構成されるスキャンパス
制御信号情報とが格納されている。
The model information storage means 1 contains the netlist of the logic circuit having the scan path shown in FIG. 7 and the scan path connection order "SIN-A-B-" specified by the circuit designer.
C-SOT", the name of the scan path control terminal SFM that inputs the scan path control signal, and the value set to the scan path control terminal SFM to operate the scan path (
In this example, "1") and scan path control signal information consisting of the name of the clock input terminal CLK that inputs the clock pulse are stored.

【0033】スキャンパスの検証時、シミュレーション
制御命令出力手段2は図3の処理21〜24を行なうこ
とにより、モデル情報格納手段1からスキャンパス接続
順序“SIN−A−B−C−SOT”,スキャンパス制
御端子SFMの名前,スキャンパスを動作させるために
スキャンパス制御端子SFMに設定する状態値(この例
では“1”)及びクロックパルスを入力するクロック入
力端子CLKの名前を入力する。
When verifying the scan path, the simulation control command output means 2 performs the processes 21 to 24 shown in FIG. Enter the name of the scan path control terminal SFM, the state value (“1” in this example) to be set to the scan path control terminal SFM to operate the scan path, and the name of the clock input terminal CLK to which the clock pulse is input.

【0034】次にシミュレーション制御命令出力手段2
は制御信号状態値設定命令作成処理25を行なうことに
より、スキャンパス制御端子SFMに状態値“1”を設
定する命令及びクロック端子CLKにクロックパルスを
設定する命令を作成する。
Next, the simulation control command output means 2
performs a control signal state value setting command creation process 25 to create an command to set the state value "1" to the scan path control terminal SFM and a command to set a clock pulse to the clock terminal CLK.

【0035】その後、シミュレーション制御命令出力手
段2はスキャンパス状態値設定命令作成処理26を行な
うことにより、スキャンパス上のフリップフロップA,
B,Cにそれ固有の記号A,B,Cを、スキャンパス入
力端子SINにそれ固有の記号SINを初期値として設
定する命令を作成する。
Thereafter, the simulation control command output means 2 performs a scan path state value setting command creation process 26 to control the flip-flops A, A, and A on the scan path.
An instruction is created to set symbols A, B, and C specific to B and C, and to set the symbol SIN specific to each scan path input terminal SIN as an initial value.

【0036】次に、シミュレーション制御命令出力手段
2はスキャンアウト観測命令作成処理27を行ない、ス
キャンパス出力端子SOTの状態値を観測する命令を作
成する。
Next, the simulation control command output means 2 performs a scan-out observation command creation process 27 to create a command to observe the state value of the scan path output terminal SOT.

【0037】その後、シミュレーション制御命令出力手
段2はシミュレーション実行命令作成処理28を行ない
、フリップフロップ数である3回分のクロックパルスが
入力される時間だけシミュレーションを実行する命令を
作成する。
Thereafter, the simulation control command output means 2 performs a simulation execution command creation process 28, and creates an command to perform the simulation for a period of time during which three clock pulses, which is the number of flip-flops, are input.

【0038】そして、最後に、シミュレーション制御命
令出力手段2は処理25〜28で作成した命令を記号伝
播シミュレーション実行手段3及び期待値作成手段4に
対して出力する(命令出力処理29)。
Finally, the simulation control command output means 2 outputs the commands created in steps 25 to 28 to the symbol propagation simulation execution means 3 and the expected value creation means 4 (command output processing 29).

【0039】記号伝播シミュレーション実行手段3はシ
ミュレーションモデル入力処理31を行なうことにより
モデル情報格納手段1から図7に対応するシミュレーシ
ョンモデルを入力し、次の命令入力処理32を行なうこ
とによりシミュレーション制御命令出力手段2が出力し
た命令を入力する。その後、入力した命令に従って記号
を伝播させるシミュレーションを実行し、シミュレーシ
ョン中に観測したスキャンパス出力端子SOTの状態値
をシミュレーション結果として出力する(記号伝播シミ
ュレーション実行処理33)。
The symbol propagation simulation execution means 3 inputs the simulation model corresponding to FIG. 7 from the model information storage means 1 by performing a simulation model input process 31, and outputs a simulation control command by performing the next command input process 32. The command output by means 2 is input. After that, a simulation is executed to propagate the symbol according to the input command, and the state value of the scan path output terminal SOT observed during the simulation is output as a simulation result (symbol propagation simulation execution process 33).

【0040】期待値作成手段4はスキャンパス配線順序
要求処理41,スキャンパス配線順序入力処理42を行
なうことにより、モデル情報格納手段1からスキャンパ
ス配線順序“SIN−A−B−C−SOT”を入力し、
命令入力処理43を行なうことによりシミュレーション
制御命令出力手段2が出力した命令を入力し、スキャン
パス入力端子SIN及びスキャンパス上のフリップフロ
ップA,B,Cに設定された初期値が記号SIN,A,
B,Cであることを求め、1クロックサイクル毎にスキ
ャンパス上のフリップフロップA,B,Cの状態値が次
のフリップフロップに伝播するものとして、図8に示す
期待値を作成し、これを出力する。
The expected value creation means 4 performs a scan path wiring order request process 41 and a scan path wiring order input process 42 to obtain the scan path wiring order "SIN-A-B-C-SOT" from the model information storage means 1. Enter
By performing the command input process 43, the command output by the simulation control command output means 2 is input, and the initial values set in the scan path input terminal SIN and the flip-flops A, B, and C on the scan path are changed to symbols SIN, A. ,
B, C, and assuming that the state values of flip-flops A, B, and C on the scan path propagate to the next flip-flop every clock cycle, create the expected values shown in Figure 8, and Output.

【0041】期待値比較手段5はシミュレーション結果
入力処理51を行なうことにより記号伝播シミュレーシ
ョン実行手段3が出力したシミュレーション結果を入力
し、期待値入力処理52を行なうことにより期待値作成
手段4が作成した期待値を入力する。その後、期待値比
較処理53を行ない、両者が不一致であれば、期待値と
1クロック前の期待値とを出力する(不一致パス出力処
理54)。例えば、2クロック目のシミュレーション結
果が図8の期待値Aと異なるものであった場合は、期待
値Aと1クロック前の期待値Bとを出力するものである
。即ち、2クロック目のシミュレーション結果が期待値
AとならないのはフリップフロップA,B間のパスに不
正があると考えられるので、それを示す記号A,Bを出
力するものである。
The expected value comparison means 5 inputs the simulation results output by the symbol propagation simulation execution means 3 by performing the simulation result input processing 51, and receives the simulation results created by the expected value creation means 4 by performing the expected value input processing 52. Enter the expected value. Thereafter, expected value comparison processing 53 is performed, and if the two do not match, the expected value and the expected value one clock before are output (mismatch path output processing 54). For example, if the simulation result at the second clock is different from the expected value A in FIG. 8, the expected value A and the expected value B one clock before are output. That is, if the second clock simulation result is not the expected value A, it is considered that there is an irregularity in the path between the flip-flops A and B, so symbols A and B indicating this are output.

【0042】[0042]

【発明の効果】以上説明したように、本発明は、スキャ
ンパス上の各フリップフロップに状態初期値として各フ
リップフロップ固有の記号を設定し、設定した記号を伝
播させる記号伝播シミュレーションを行なうものである
ので、状態値が確実にスキャンパス上のフリップフロッ
プからスキャンパス出力端子に伝播していることを検証
できる効果があると共に、出力端子に出力される記号の
順序を確認するだけでスキャンパスの接続順序を確認で
きる効果がある。
[Effects of the Invention] As explained above, the present invention sets a symbol unique to each flip-flop as an initial state value for each flip-flop on a scan path, and performs a symbol propagation simulation in which the set symbol is propagated. This has the effect of verifying that the state value is reliably propagated from the flip-flop on the scan path to the scan path output terminal, and it is also possible to verify that the state value is reliably propagated from the flip-flop on the scan path to the scan path output terminal. This has the effect of allowing you to check the connection order.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the invention.

【図2】モデル情報格納手段の処理例を示す流れ図であ
る。
FIG. 2 is a flow chart showing a processing example of a model information storage means.

【図3】シミュレーション制御命令出力手段の処理例を
示す流れ図である。
FIG. 3 is a flow chart showing a processing example of a simulation control command output means.

【図4】記号伝播シミュレーション実行手段の処理例を
示す流れ図である。
FIG. 4 is a flowchart showing a processing example of a symbol propagation simulation execution means.

【図5】期待値作成手段の処理例を示す流れ図である。FIG. 5 is a flowchart showing an example of processing by expected value creation means.

【図6】期待値比較手段の処理例を示す流れ図である。FIG. 6 is a flowchart showing an example of processing by an expected value comparing means.

【図7】スキャンパスの一例を示す図である。FIG. 7 is a diagram showing an example of a scan path.

【図8】期待値の一例を示す図である。FIG. 8 is a diagram showing an example of expected values.

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

1…モデル情報格納手段 2…シミュレーション制御命令出力手段3…記号伝播シ
ミュレーション実行手段4…期待値作成手段 5…期待値比較手段
1...Model information storage means 2...Simulation control command output means 3...Symbol propagation simulation execution means 4...Expected value creation means 5...Expected value comparison means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  スキャンパスの論理接続を検証するス
キャンパス論理検証方式に於いて、前記スキャンパスを
含む論理回路のシミュレーションモデルと、前記スキャ
ンパス上のフリップフロップの順序を示すスキャンパス
配線順序と、前記スキャンパスを動作させる制御信号を
定義するスキャンパス制御信号情報とを格納したモデル
情報格納手段と、該モデル情報格納手段に格納されてい
るスキャンパス配線順序とスキャンパス制御信号情報と
に基づいて、前記スキャンパス上の各フリップフロップ
に初期状態値として前記各フリップフロップ固有の記号
を与える命令と、スキャンパスの出力端子の状態値を観
測する命令と、シミュレーションの実行を指示する命令
とを作成するシミュレーション制御命令出力手段と、前
記モデル情報格納手段に格納されているシミュレーショ
ンモデルと、前記シミュレーション制御命令出力手段が
作成した各命令とに基づいて記号伝播シミュレーション
を行なう記号伝播シミュレーション実行手段と、前記モ
デル情報格納手段に格納されているスキャンパス配線順
序に基づいてシミュレーションの各時刻に於ける期待値
を作成する期待値作成手段と、前記記号伝播シミュレー
ション実行手段によるシミュレーション結果と前記期待
値作成手段が作成した期待値とを比較することにより、
スキャンパスの論理接続に不正があるか否かを判定する
期待値比較手段とを含むことを特徴とするスキャンパス
論理検証方式。
1. A scan path logic verification method for verifying logical connections of scan paths, comprising: a simulation model of a logic circuit including the scan path; and a scan path wiring order indicating the order of flip-flops on the scan path. , a model information storage means storing scan path control signal information defining a control signal for operating the scan path, and a model information storage means based on the scan path wiring order and scan path control signal information stored in the model information storage means. and an instruction to give each flip-flop on the scan path a symbol unique to each flip-flop as an initial state value, an instruction to observe the state value of the output terminal of the scan path, and an instruction to instruct execution of the simulation. symbol propagation simulation execution means for performing a symbol propagation simulation based on a simulation control command output means to be created, a simulation model stored in the model information storage means, and each instruction created by the simulation control command output means; Expected value creating means for creating an expected value at each time of simulation based on the scan path wiring order stored in the model information storing means; Simulation results by the symbol propagation simulation executing means and the expected value creating means By comparing the expected value created by
1. A scan path logic verification method, comprising: expected value comparison means for determining whether or not a logical connection of a scan path is incorrect.
【請求項2】  前記記号伝播シミュレーション実行手
段はフリップフロップが取り込む状態値が論理値である
場合は論理値をフリップフロップに保持させ、記号であ
る場合はフリップフロップに記号を保持させることを特
徴とする請求項1記載のスキャンパス論理検証方式。
2. The symbol propagation simulation execution means causes the flip-flop to hold the logical value when the state value taken in by the flip-flop is a logical value, and causes the flip-flop to hold the symbol when the state value is a symbol. The scan path logic verification method according to claim 1.
【請求項3】  前記期待値比較手段は比較不一致の場
合、期待値を出力することを特徴とする請求項1記載の
スキャンパス論理検証方式。
3. The scan path logic verification method according to claim 1, wherein the expected value comparing means outputs the expected value when the comparison does not match.
JP3140831A 1991-05-16 1991-05-16 Scan pass logic verifying system Pending JPH04340173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3140831A JPH04340173A (en) 1991-05-16 1991-05-16 Scan pass logic verifying system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3140831A JPH04340173A (en) 1991-05-16 1991-05-16 Scan pass logic verifying system

Publications (1)

Publication Number Publication Date
JPH04340173A true JPH04340173A (en) 1992-11-26

Family

ID=15277737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3140831A Pending JPH04340173A (en) 1991-05-16 1991-05-16 Scan pass logic verifying system

Country Status (1)

Country Link
JP (1) JPH04340173A (en)

Similar Documents

Publication Publication Date Title
US5905883A (en) Verification system for circuit simulator
EP1093619B1 (en) System and method for identifying finite state machines and verifying circuit designs
JP2001060219A (en) Design verification method and device using emulation and simulation
KR20000029237A (en) Semiconductor integrated circuit evaluation system
Jephson et al. A three-value computer design verification system
JPH11328251A (en) Method for automatically generating operation environment for model inspection
JPH05256901A (en) Method for judging logical function of circuit
US10635767B2 (en) Glitch detection at clock domain crossing
US5896401A (en) Fault simulator for digital circuitry
JPH05128199A (en) Simulation device
KR100767957B1 (en) Design Verification Method Using Mixed Emulation, Simulation, and Formal Verification
Godoy et al. Automatic checking of logic design structures for compliance with testability ground rules
US8392776B2 (en) Delay fault diagnosis program
JPH04340173A (en) Scan pass logic verifying system
JPH1185828A (en) Sequential circuit functional verifying method and system therefor
US7277840B2 (en) Method for detecting bus contention from RTL description
US8132135B2 (en) Method and system for creating a boolean model of multi-path and multi-strength signals for verification
JP3695768B2 (en) Test circuit verification method
JP2674142B2 (en) Logic circuit operation verification method
JPH056406A (en) Scan path logical verification system
US20040107393A1 (en) Method and device for testing the mapping/implementation of a model of a logic circuit onto/in a hardware emulator
US20060230364A1 (en) Method and computer program product for generation of bus functional models
JP2957016B2 (en) Delay failure simulation method
JP3123982B2 (en) Logic simulation method
CN116187233A (en) Checker control method, verification system, computer device, and storage medium