JP2633651B2 - Racing check method for simulation equipment - Google Patents
Racing check method for simulation equipmentInfo
- Publication number
- JP2633651B2 JP2633651B2 JP63246913A JP24691388A JP2633651B2 JP 2633651 B2 JP2633651 B2 JP 2633651B2 JP 63246913 A JP63246913 A JP 63246913A JP 24691388 A JP24691388 A JP 24691388A JP 2633651 B2 JP2633651 B2 JP 2633651B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- setup
- reference value
- racing
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000004088 simulation Methods 0.000 title claims description 42
- 238000000034 method Methods 0.000 title claims description 22
- 238000012545 processing Methods 0.000 claims description 36
- 230000005856 abnormality Effects 0.000 claims description 24
- 238000004364 calculation method Methods 0.000 claims description 17
- 238000013461 design Methods 0.000 claims description 13
- 230000015654 memory Effects 0.000 description 55
- 230000002159 abnormal effect Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 6
- 238000012360 testing method Methods 0.000 description 5
- 238000012795 verification Methods 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 4
- 230000000630 rising effect Effects 0.000 description 3
- ATJFFYVFTNAWJD-UHFFFAOYSA-N Tin Chemical compound [Sn] ATJFFYVFTNAWJD-UHFFFAOYSA-N 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】 [概要] 2段ラッチ用FFを1単位とした回路モデルを対象に論
理シミュレーションを実行するシミュレーション装置の
レーシングチェック方式に関し、 詳細遅延値を取扱ったタイミングシミレーションの1
つであるレーシングチェックが論理シミュレーションと
共に高速にできることを目的とし、 詳細遅延値を考慮したクロックSKEW値発生時刻、出力
イベント発生時刻、ホールドタイム基準値及びセットア
ップタイム基準値の各基準値パラメータを準備し、回路
モデルの論理シミュレーション実行時に、出力イベント
発生時刻からクロックSKEW値発生時刻を差し引いた時間
差を演算し、この演算時間差とホールドアップ基準値の
比較判別によりレーシングを判定し、また演算時間差と
セットアップタイム基準値との比較判別によりディレイ
オーバー又はセットアップ異常を判定するようにに構成
する。DETAILED DESCRIPTION OF THE INVENTION [Summary] Regarding a racing check method of a simulation device that executes a logic simulation for a circuit model in which a two-stage latch FF is one unit, one of timing simulations handling detailed delay values
For the purpose of high-speed racing check along with logic simulation, the reference value parameters of clock SKEW value generation time, output event generation time, hold time reference value and setup time reference value taking into account the detailed delay value are prepared. When the logic simulation of the circuit model is executed, the time difference obtained by subtracting the clock SKEW value occurrence time from the output event occurrence time is calculated, the racing is determined by comparing the calculated time difference with the hold-up reference value, and the calculation time difference and the setup time are calculated. The configuration is such that delay over or setup abnormality is determined by comparison and determination with a reference value.
[産業上の利用分野] 本発明は、2段ラッチ用FFを1単位とした回路モデル
を対象にレーシングチェックを含む論理シミュレーショ
ンを実行するシミュレーション装置のレーシングチェッ
ク方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a racing check method of a simulation apparatus that executes a logic simulation including a racing check on a circuit model in which a two-stage latch FF is one unit.
コンピュータ等のハードウェアの論理設計を行なうCA
E(Computer Aided Enginering)の分野にあっては、作
成された論理設計モデルを検証するためのツールとして
シミュレーション装置が使用されている。CA that performs logical design of hardware such as computers
In the field of E (Computer Aided Enginering), a simulation device is used as a tool for verifying a created logical design model.
このような論理設計モデルのシミュレーションにあっ
ては、詳細遅延値を取扱う論理シミュレーション及びタ
イミングシミュレーションが要求され、更に、論理設計
モデルを構成するFF間でのレーシグチェックを考慮した
タイミングシミュレーションが必要となる。In the simulation of such a logic design model, logic simulation and timing simulation dealing with detailed delay values are required, and furthermore, timing simulation in consideration of a racing check between FFs constituting the logic design model is required. Become.
[従来技術] 従来、CAE分野で作成された論理設計モデルのシミュ
レーションは、固定的に定めたユニット遅延値を取扱う
論理シミュレーションとタイミングシミュレーションは
別処理とする方式が一般的であり、論理設計モデルを構
成する基本プリミティブ毎に実装状態及び素子の遅延値
等を考慮した論理シミュレーションとタイミングシミュ
レーションを同時に取扱い、又レーシングチェックを行
なうタイミングシミュレーション方式はハードシミュレ
ータ装置及び又はソフトシミュレータ等は別処理となっ
ており、実用化されるに至っていない。[Prior art] Conventionally, in the simulation of a logic design model created in the field of CAE, a method in which logic simulation dealing with a fixed unit delay value and timing simulation are separately processed is generally used. The logic simulation and the timing simulation considering the mounting state and the delay value of the element etc. are handled simultaneously for each of the basic primitives to be configured, and the timing simulation method for performing the racing check is a separate process for the hardware simulator and / or the software simulator. , Has not been put to practical use.
[発明が解決しようとする問題点] しかし、従来のユニット遅延値を取扱った論理シミュ
レーション方式にあっては、基本設計モデルのテストパ
ターン作成時における実装状態及び素子の遅延値に見合
った詳細遅延値が考慮されていないため、論理設計モデ
ルの論理動作は検証できるが、テストパターン作成時の
有効性を検証することができないという問題があった。[Problems to be Solved by the Invention] However, in the conventional logic simulation method using a unit delay value, a detailed delay value corresponding to a mounting state and a delay value of an element when a test pattern of a basic design model is created. Is not taken into account, the logical operation of the logical design model can be verified, but there is a problem that the validity of test pattern creation cannot be verified.
勿論、従来の論理シミュレーションフェーズに詳細遅
延値を考慮したタイミングシミュレーションフェーズを
追加することも考えられるが、論理シミュレーションと
レーシングチェックを含むタイミングシミュレーション
が別処理となるために論理設計モデルの検証に膨大な処
理時間がかかり、開発の効率化という点で問題があっ
た。Of course, it is conceivable to add a timing simulation phase that takes into account the detailed delay value to the conventional logic simulation phase, but since the logic simulation and the timing simulation including the racing check are separate processes, a huge amount of time is required for the verification of the logic design model. There was a problem in that it took a long processing time and made development more efficient.
本発明は、このような従来の問題点に鑑みてなされた
もので、詳細遅延値を取扱ったタイミングシミュレーシ
ョンの1つであるレーシングチェックが論理シミュレー
ションと共に高速にできるようにしたシミュレーション
装置のレーシングチェック方式を提供することを目的と
する。The present invention has been made in view of such a conventional problem, and a racing check method of a simulation apparatus in which a racing check, which is one of timing simulations handling detailed delay values, can be performed at a high speed together with a logic simulation. The purpose is to provide.
[問題点を解決するための手段] 第1図は本発明の原理説明図であり、同図(a)に構
成を、同図(b)に回路モデルを、同図(c)にレーシ
ング判定を、同図(d)にディレイオーバー判定を、更
に同図(e)にセットアップ異常判定のタイミング図を
示す。[Means for Solving the Problems] FIGS. 1A and 1B are explanatory diagrams of the principle of the present invention. FIG. 1A shows the configuration, FIG. 1B shows a circuit model, and FIG. (D) shows a delay over determination, and (e) shows a timing chart of a setup abnormality determination.
まず本発明は、論理設計モデルを構成する少なくとも
第1のラッチ用FF10と第2のラッチ用FF12を順次接続し
た回路モデルを1単位として論理シミュレーションを実
行するシミュレーション装置を対象とする。First, the present invention is directed to a simulation apparatus that executes a logic simulation using a circuit model in which at least a first latch FF10 and a second latch FF12 constituting a logic design model are sequentially connected as one unit.
このようなシミュレーション装置において本発明のレ
ーシングチェック方式にあっては、まず基準値パラメー
タを格納する手段として、回路モデル14を構成する第1
及び第2のFF10,12に対するクロック入力(CLK1,CLK2)
の時間差で定義されるSKEW値に基づき第2のFF12のクロ
ック入力(CLK2)の発生時刻をクロックSKEW値発生時刻
(tc)として格納したクロックSKEW値発生時刻記憶部16
と;回路モデル14を構成する第1及び第2のFF10,12が
クロック入力(CLK1)を受けてから出力(Q1)の状態が
変化するイベント発生時刻(ti)を格納したイベント発
生時刻記憶部18と;回路モデル14を構成する第1及び第
2のFF10,12のホールドタイム基準値(Th)を格納した
ホールドタイム基準値記憶部20と;回路モデル14を構成
する第1及び第2のFF10,12のセットアップタイム基準
値(Ts)を格納したセットアップタイム基準値記憶部2
2;を準備する。In such a simulation apparatus, in the racing check method of the present invention, first, as a means for storing a reference value parameter, a first configuration of the circuit model 14 is used.
And clock input (CLK1, CLK2) to the second FF10, 12
Clock SKEW value generation time storage unit 16 which stores the generation time of the clock input (CLK2) of the second FF12 as the clock SKEW value generation time (tc) based on the SKEW value defined by the time difference of
And an event occurrence time storage unit storing an event occurrence time (ti) at which the state of the output (Q1) changes after the first and second FFs 10, 12 constituting the circuit model 14 receive the clock input (CLK1). 18; a hold time reference value storage unit 20 storing the hold time reference values (Th) of the first and second FFs 10 and 12 constituting the circuit model 14; Setup time reference value storage unit 2 that stores setup time reference values (Ts) for FF10 and FF12
2;
これらの記憶部に格納される基準値パラメータは、素
子の論理的遅延及び実装時の線路長を考慮した詳細遅延
値に基づいた値として設定される。The reference value parameters stored in these storage units are set as values based on the detailed delay value in consideration of the logical delay of the element and the line length at the time of mounting.
そして、シミュレーションの実行により対象となった
回路モデル14の出力イベントが変化する毎に、イベント
発生時刻記憶部18から読出されたイベント遅延値[CLK
→D2(Q1)]発生時刻(ti)からクロックSKEW値発生時
刻記憶部16から読出されたクロックSKEW[CLK1→CLK2]
値発生時刻(tc)を差し引き、回路モデル14のクロック
入力から出力イベント発生までの遅延時間とSKEW値との
時間差(ΔF)を演算部24で演算する。Each time the output event of the target circuit model 14 changes due to the execution of the simulation, the event delay value [CLK
→ D2 (Q1)] Clock SKEW [CLK1 → CLK2] read from clock SKEW value generation time storage unit 16 from generation time (ti)
The value generation time (tc) is subtracted, and the calculation unit 24 calculates the time difference (ΔF) between the SKEW value and the delay time from the clock input to the output event generation of the circuit model 14.
続いて、演算部24の演算時間差(ΔF)とホールドタ
イム基準値記憶部20から読出されたホールドタイム基準
値(Th)を第1の比較部26で比較すると共に、演算時間
差(ΔF)をセットアップタイム記憶部22から読出され
たセットアップタイム基準値(Ts)と第2の比較部28で
比較する。Subsequently, the first comparator 26 compares the calculation time difference (ΔF) of the calculation unit 24 with the hold time reference value (Th) read from the hold time reference value storage unit 20, and sets up the calculation time difference (ΔF). The setup time reference value (Ts) read from the time storage unit 22 is compared with the second comparison unit 28.
そして最終的に、第1の比較部26の比較結果に基づき
レーシング判定処理部30でレーシング判定を行ない、ま
た第2の比較部28の比較結果に基づいてディレイオーバ
ー判定処理部32でデレィオーバーを判定すると共にセッ
トアップ異常判定処理部34でセットアップ異常を判定す
る。Finally, a racing determination is performed by the racing determination processing unit 30 based on the comparison result of the first comparison unit 26, and a delay over determination is performed by the delay over determination processing unit 32 based on the comparison result of the second comparison unit 28. At the same time, the setup abnormality determination processing unit 34 determines a setup abnormality.
ここで、レーシング判定処理部30は、回路モデル14を
構成するCLK1と第1のFF10の出力イベント(Q2)に対す
る演算時間差(ΔF)即ち、ディレイ値及びCLK1とFF12
のCLK2との演算時間差SKEW値となるΔF=ディレイ値−
SKEWがプラスで且つ第2のFF12のホールドタイム基準値
(Th2)より小さいとき、即ち、 0<ΔF<Th でレーシングと判定する。Here, the racing determination processing unit 30 calculates the operation time difference (ΔF) between CLK1 constituting the circuit model 14 and the output event (Q2) of the first FF10, that is, the delay value, and the CLK1 and FF12.
ΔF = delay value−
If SKEW is positive and smaller than the hold time reference value (Th2) of the second FF12, that is, if 0 <ΔF <Th, it is determined that racing is performed.
またディレイオーバー判定処理部32は、回路モデル14
を構成する第1のFF10の出力イベント(D2)に対する演
算時間差(ΔF)、即ち、ディレイ値及びCLK1とFF12の
CLK2との演算時間差SKEW値となるΔF=ディレイ値−SK
EWがマイナスで且つその絶対値(|ΔF|)がFF12のセッ
トアップタイム基準値(Ts)以上の時、即ち、 0>ΔF 且つ |ΔF|≧Ts2 でディレイオーバーと判定する。In addition, the delay over determination processing unit 32
, The operation time difference (ΔF) with respect to the output event (D2) of the first FF10, ie, the delay value and the difference between CLK1 and FF12.
ΔF = delay value−SK, which is the calculation time difference SKEW value from CLK2
When EW is negative and its absolute value (| ΔF |) is equal to or greater than the setup time reference value (Ts) of FF12, that is, 0> ΔF and | ΔF | ≧ Ts2, it is determined that the delay is over.
更に、セットアップ異常判定処理部34は、回路モデル
14を構成する第1のFF10の出力イベントに対する演算時
間差(ΔF)がマイナスで且つその絶対値(|ΔF|)が
第2のFF12のセットアップタイム基準値(Ts2)より小
さい時、即ち、 0>ΔF且つ|ΔF|<Ts2 でセットアップ異常と判定する。Further, the setup abnormality determination processing unit 34
14 when the operation time difference (ΔF) with respect to the output event of the first FF10 is negative and its absolute value (| ΔF |) is smaller than the setup time reference value (Ts2) of the second FF12, that is, 0> If ΔF and | ΔF | <Ts2, it is determined that the setup is abnormal.
[作用] このような構成を備えた本発明によるシミュレーショ
ン装置のレーシングチェック方式にあっては、論理シミ
ュレーションの実行と並列に、詳細遅延値に基づく各種
基準パラメータ、即ち、クロックSKEW値発生時刻、CLK1
からのD2イベント発生時刻、ホールドタイム基準値及び
セットアップタイム基準値に基づくFF等の回路モデルに
対するレーシングチェックを高速に行なうことができ、
論理設計モデルに従って有効テストパターンを作成する
ためのクリティカルな検証を可能とし、パターン品質を
向上し、製造段階におけるLSI等の歩留りを向上するこ
とができる。[Operation] In the racing check method of the simulation apparatus according to the present invention having such a configuration, in parallel with the execution of the logic simulation, various reference parameters based on the detailed delay value, that is, the clock SKEW value generation time, CLK1
A high-speed racing check can be performed on circuit models such as FF based on the D2 event occurrence time, hold time reference value, and setup time reference value from
It is possible to perform critical verification for creating an effective test pattern according to a logical design model, improve pattern quality, and improve the yield of LSIs and the like in a manufacturing stage.
[実施例] 第2図は本発明の一実施例を示した実施例構成図であ
り、第3図に示すラッチをFF10,12を順次接続した回路
モデル14を1単位として論理シミュレーションと同時に
本発明のレーシングチェックを実行する。[Embodiment] FIG. 2 is a block diagram showing an embodiment of an embodiment of the present invention. The latch shown in FIG. 3 is simultaneously executed with a logic simulation using a circuit model 14 in which FFs 10 and 12 are sequentially connected as one unit. Perform a racing check of the invention.
尚、第2図の実施例が対象となる回路モデルは、第3
図以外に第4図に示すラッチをFF10,12の前段にチェッ
クプリミティブ56,58を付加し、チェックプリミティブ5
6,58をゼロディレイとして取り扱う回路モデル、更に第
5図に示すようにラッチをFF10,12と並列にチェックプ
リミティブ56,58を設け、同様にゼロディレイとして取
り扱う回路モデルを含むものである。The circuit model of the embodiment shown in FIG.
In addition to the figures, the check primitives 56 and 58 are added to the latch shown in FIG.
This includes a circuit model that treats 6,58 as a zero delay, and a circuit model that further provides check primitives 56,58 in parallel with the FFs 10,12 as shown in FIG.
このように第2図の実施例にあっては、第3,4,5図に
示した回路モデルを処理対象とするものであるが、以下
の実施例は第3図の回路モデル14を例にとって説明す
る。Thus, in the embodiment of FIG. 2, the circuit models shown in FIGS. 3, 4, and 5 are to be processed, but in the following embodiment, the circuit model 14 of FIG. To explain.
まず、第2図の実施例において、レーシングチェック
のための基準値パラメータを格納するメモリとしてCLK1
→CLK2となるクロックSKEW値発生時刻メモリ16、CLK1→
D2となるイベント発生時刻メモリ18、ホールドタイム基
準値メモリ20及びセットアップタイム基準値メモリ22が
設けられる。First, in the embodiment of FIG. 2, CLK1 is used as a memory for storing a reference value parameter for a racing check.
→ Clock SKEW value generation time memory 16, which becomes CLK2, CLK1 →
An event occurrence time memory 18, which is D2, a hold time reference value memory 20, and a setup time reference value memory 22 are provided.
更に詳細に説明するならば、まずクロックSKEW値発生
時刻メモリ16には、送信側のクロックに対する受信側の
SKEW値に基づく発生時刻が格納されている。即ち、第3
図の回路モデル14を例にとると、回路モデル14にクロッ
クCLKが受信されたとき前段のFF10のクロック入力CLK1
が立ってから次段のFF12のクロック入力CLK2が立つまで
のクロック入力CLK1とCLK2の遅延時間間隔がSKEW値とし
て定義されており、従って、クロックSKEW値発生時刻メ
モリ16には、後段のFF12のクロック入力CLK2の発生時刻
(tc)が格納される。More specifically, first, the clock SKEW value generation time memory 16 stores the reception side clock with respect to the transmission side clock.
The occurrence time based on the SKEW value is stored. That is, the third
Taking the circuit model 14 in the figure as an example, when the clock CLK is received by the circuit model 14, the clock input CLK1
The delay time interval between the clock inputs CLK1 and CLK2 from the rise of the clock FF12 to the rise of the clock input CLK2 of the next FF12 is defined as the SKEW value.Therefore, the clock SKEW value generation time memory 16 stores The generation time (tc) of the clock input CLK2 is stored.
また、CLK1→D2となるイベント発生時刻メモリ18に
は、レーシングチェック対象となるデータの状態変化を
示すイベント発生時刻が格納されており、第3図の回路
モデル14にあっては、前段のFF10の出力Q1が変化する出
力イベント発生時刻(ti)が格納されている。An event occurrence time indicating a change in the state of data to be subjected to a racing check is stored in an event occurrence time memory 18 where CLK1 → D2. In the circuit model 14 shown in FIG. The output event occurrence time (ti) at which the output Q1 changes is stored.
更に、ホールドタイム基準値メモリ20及びセットアッ
プタイム基準値メモリ22のそれぞれには、例えば第3図
の回路モデル14を構成するFF10,12のセットアップタイ
ム及びホールドタイムの各基準値が格納される。Further, in the hold time reference value memory 20 and the setup time reference value memory 22, for example, reference values of the setup time and the hold time of the FFs 10 and 12 constituting the circuit model 14 of FIG. 3 are stored.
クロックSKEW値発生時刻メモリ16及びCLK1→D2となる
イベント発生時刻メモリ18はメモリコントローラ36によ
りアクセスされる。メモリコントローラ36に対してはネ
ット値番号、イベント発生情報、デコーダ40で解読され
たファンクションコード設定部38からの演算識別コード
が与えられている。即ち、メモリコントローラ36はクロ
ック系のネット番号にイベントが発生したとき、クロッ
クSKEW値発生時刻16をアクセスして対応するクロックSK
EW値発生時刻(tc)を出力する。同時にメモリコントロ
ーラ36はレーシングチェック対象となるデータイベント
発生時刻を格納したイベント発生時刻メモリ18をアクセ
スし、対応するイベント発生時刻(ti)を出力する。The clock SKEW value generation time memory 16 and the event generation time memory 18 that becomes CLK1 → D2 are accessed by the memory controller 36. The memory controller 36 is provided with a net value number, event occurrence information, and an operation identification code decoded by the decoder 40 from the function code setting unit 38. That is, when an event occurs in the clock net number, the memory controller 36 accesses the clock SKEW value generation time 16 to access the corresponding clock SKEW.
Outputs the EW value generation time (tc). At the same time, the memory controller 36 accesses the event occurrence time memory 18 that stores the data event occurrence times to be subjected to the racing check, and outputs the corresponding event occurrence times (ti).
このときメモリコントローラ36に対するネット値によ
ってトリガされたファンクションコード設定部38のファ
ンクションコードをデコーダ40で解読し、メモリコント
ローラ36の制御条件をコントロールするようになる。At this time, the function code of the function code setting unit 38 triggered by the net value for the memory controller 36 is decoded by the decoder 40, and the control conditions of the memory controller 36 are controlled.
このようなクロックSKEW値発生時刻メモリ16及びイベ
ント発生時刻メモリ18のメモリアクセスに加えて、ホー
ルドタイム及びセットアップタイム基準値メモリ20,22
のアクセスはメモリコントローラ44によって行なわれ
る。In addition to such memory access of the clock SKEW value occurrence time memory 16 and the event occurrence time memory 18, the hold time and setup time reference value memories 20, 22
Is accessed by the memory controller 44.
即ち、クロックSKEW値発生時刻メモリ16からクロック
SKEW値発生時刻(tc)によってメモリコントローラ44を
トリガし、ホールドタイム基準値メモリ20及びセットア
ップタイム基準値メモリ22のリードアクセスを行なうよ
うにしている。ホールドタイム基準値メモリ20及びセッ
トアップタイム基準値メモリ22に対しては、チェックイ
ベント発生制御回路部46及びチェックイベント発生時刻
メモリ48が設けられる。即ち、メモリコントローラ44に
よるホールドタイム基準値メモリ20及びセットアップタ
イム基準値メモリ22のリードアクセスによりホールドタ
イム基準値及びセットアップタイム基準値がチェックイ
ベント発生制御回路部46に対し読み出されると、これら
のメモリ基準値に基づいてチェックイベント発生制御回
路部46はチェックイベント発生時刻、例えばCLK1のイベ
ントが立ってからホールドタイム基準値読出し後にチェ
ックイベントを立てる。またD2のイベントが立ってから
セットアップ基準値の読出し後にチェックイベントを立
てる。このようにして発生されたチェックイベントは、
チェックイベント発生時刻メモリ48に書き込まれる。That is, the clock SKEW value generation time memory 16
The memory controller 44 is triggered by the SKEW value generation time (tc), and read access to the hold time reference value memory 20 and the setup time reference value memory 22 is performed. For the hold time reference value memory 20 and the setup time reference value memory 22, a check event generation control circuit 46 and a check event generation time memory 48 are provided. That is, when the hold time reference value and the setup time reference value are read out to the check event generation control circuit 46 by the read access of the hold time reference value memory 20 and the setup time reference value memory 22 by the memory controller 44, the memory reference Based on the value, the check event generation control circuit 46 sets a check event generation time, for example, a check event after reading out the hold time reference value after the event of CLK1 rises. In addition, a check event is set after the setup reference value is read after the event of D2 is set. The check event generated in this way is
It is written to the check event occurrence time memory 48.
次にレーシングチェックのための演算処理系を説明す
る。Next, an arithmetic processing system for a racing check will be described.
まず、クロックSKEW値発生時刻メモリから読み出され
たクロックSKEW値発生時刻(tc)と、イベント発生時刻
メモリ18から読み出されたレーシングチェック対象とな
るデータのイベント発生時刻(ti)は演算部24に入力さ
れる。演算部24はイベント発生時刻(ti)からクロック
SKEW値発生時刻(tc)を差し引いて時間差(ΔF)を求
める。First, the clock SKEW value generation time (tc) read from the clock SKEW value generation time memory and the event generation time (ti) of the data to be subjected to the racing check read from the event generation time memory 18 are calculated by the arithmetic unit 24. Is input to The calculation unit 24 starts clocking from the event occurrence time (ti).
The time difference (ΔF) is obtained by subtracting the SKEW value generation time (tc).
演算部24により演算される時間差(ΔF)は第3図の
回路モデル14を例にとると、FF10がクロック入力CLK1を
受けてから出力Q1が反転するまでの遅延時間から、クロ
ックCLK1とCLK2のSKEW値を差し引いた値を示すことにな
る。The time difference (ΔF) calculated by the calculation unit 24 is, for the circuit model 14 in FIG. 3 as an example, based on the delay time from when the FF 10 receives the clock input CLK1 to when the output Q1 is inverted. It indicates the value after subtracting the SKEW value.
演算部24で演算された時間差(ΔF)はレジスタ42に
格納される。The time difference (ΔF) calculated by the calculation unit 24 is stored in the register 42.
レジスタ42に格納された時間差(ΔF)は第1の比較
部26及び第2の比較部28にそれぞれ与えられる。第1の
比較部26の他方にはチェックイベント発生制御回路部46
を介してホールドタイム基準値メモリ20に格納されたホ
ールドタイム基準値、即ち第3図の回路モデル14におけ
る後段のFF12のホールドタイム基準値(Th2)が入力さ
れ、レジスタ42からの時間差(ΔF)とホールドタイム
基準値(Th2)との比較結果をレジスタ50に格納し、レ
ジスタ50に格納した比較結果に基づいてレーシング判定
処理部30でレーシング判定を行なうようになる。The time difference (ΔF) stored in the register 42 is given to the first comparing section 26 and the second comparing section 28, respectively. The other of the first comparing section 26 includes a check event generation control circuit section 46.
3, the hold time reference value stored in the hold time reference value memory 20, that is, the hold time reference value (Th2) of the subsequent FF12 in the circuit model 14 in FIG. The result of comparison between the data and the hold time reference value (Th2) is stored in the register 50, and the racing determination processing unit 30 makes a racing determination based on the result of comparison stored in the register 50.
一方、第2の比較部28の他方にはチェックイベント発
生制御回路部46を介してセットアップタイム基準値メモ
リ22から読み出されたセットアップタイム、即ち、第3
図の回路モデル14における後段のFF12のセットアップタ
イム(Ts2)が入力され、レジスタ42からの時間差(Δ
F)との比較結果がレジスタ52に格納される。レジスタ
52に格納された第2の比較部28の比較結果に基づきディ
レイオーバー判定処理部32でディレイオーバーが判定さ
れ、またセットアップ異常判定処理部34でセットアップ
異常が判定される。On the other hand, the other of the second comparison section 28 has the setup time read from the setup time reference value memory 22 via the check event generation control circuit section 46, that is, the third setup time.
The setup time (Ts2) of the subsequent FF12 in the circuit model 14 shown in the figure is input, and the time difference (Δ
The result of comparison with F) is stored in the register 52. register
Based on the comparison result of the second comparison unit 28 stored in 52, the delay over determination processing unit 32 determines the delay over, and the setup abnormality determination processing unit 34 determines the setup abnormality.
更に、異常ステイタスレジスタ54が設けられ、レーシ
ング判定処理部30によるレーシング判定、ディレイオー
バー判定処理部32によるディレイオーバー判定、セット
アップ異常判定処理部34によるセットアップ異常のいず
れかが判定されると、異常ステイタスレジスタ54に異常
フラグがセットされる。Further, an abnormal status register 54 is provided, and when any of a racing determination by the racing determination processing unit 30, a delay over determination by the delay over determination processing unit 32, and a setup abnormality by the setup abnormality determination processing unit 34 is determined, an abnormal status An abnormal flag is set in the register 54.
ここでレーシングディレイオーバー及びセットアップ
異常判定処理部30,32,34における判定条件を説明すると
次のようになる。まずレーシング判定処理部30によるレ
ーシング判定条件は、第3図の回路モデル14における前
段のFF10の遅延時間から(CLK1→D2=Q1)クロックCLK1
とCLK2のSKEW値を差し引いた時間差(ΔF)がプラス
で、且つ時間差(ΔF)が後段のFF12のホールドタイム
基準値(Th2)より小さいとき、レーシングと判定す
る。Here, the determination conditions in the racing delay over and setup abnormality determination processing units 30, 32, and 34 will be described as follows. First, the racing determination condition by the racing determination processing unit 30 is based on the delay time (FF1 → D2 = Q1) of the clock CLK1 from the delay time of the FF10 at the previous stage in the circuit model 14 of FIG.
If the time difference (ΔF) obtained by subtracting the SKEW value of the clock signal CLK2 and the clock signal CLK2 is positive and the time difference (ΔF) is smaller than the hold time reference value (Th2) of the subsequent FF12, it is determined to be racing.
即ちレーシング判定は、 0<ΔF≦Th2 のときレーシングと判定される。 That is, the racing determination is determined to be racing when 0 <ΔF ≦ Th2.
次にディレイオーバー判定処理部32によるディレイオ
ーバー判定は、時間差(ΔF)がマイナスの値をもち、
且つ時間差(ΔF)の絶対値(|ΔF|)が後段のFF12の
セットアップタイム基準値(Ts2)以上のときディレイ
オーバーと判定する。即ち、 0<ΔF 且つ |ΔF|≧Ts2 のときディレイオーバーと判定される。Next, in the delay over determination by the delay over determination processing unit 32, the time difference (ΔF) has a negative value,
When the absolute value (| ΔF |) of the time difference (ΔF) is equal to or longer than the setup time reference value (Ts2) of the subsequent FF12, it is determined that the delay is over. That is, when 0 <ΔF and | ΔF | ≧ Ts2, it is determined that the delay is over.
更に、セットアップ異常判定処理部34におけるセット
アップ異常の判定は、時間差(ΔF)がマイナスの値を
もち、且つ時間差(ΔF)の絶対値(|ΔF|)が後段の
FF12のセットアップタイム基準値(Ts2)より小さいと
きにセットアップ異常と判定される。即ち、 0>ΔF 且つ ΔF<Ts2 のときセットアップ異常と判定される。Further, in the setup abnormality determination processing unit 34, the setup abnormality determination is performed when the time difference (ΔF) has a negative value and the absolute value (| ΔF |) of the time difference (ΔF)
If it is smaller than the FF12 setup time reference value (Ts2), it is determined that the setup is abnormal. That is, when 0> ΔF and ΔF <Ts2, it is determined that the setup is abnormal.
次に、第2図の実施例における処理動作を説明する。 Next, the processing operation in the embodiment of FIG. 2 will be described.
まず、クロック系のネット値番号にイベントが発生す
ると、クロックSKEW値発生時刻メモリ16をメモリコント
ローラ36によってアクセスし、対応するクロックSKEW値
発生時刻(tc)を読み出して演算部24に入力する。ま
た、メモリコントローラ36はレーシングチェック対象の
データイベント発生時刻を格納したイベント発生時刻メ
モリ18をアクセスし、読み出したイベント発生時刻(t
i)を演算部24に入力する。このとき発生したネット値
番号によってトリガされたファンクションコード設定部
38のファンクションコードがデコーダ40によって解読さ
れ、メモリコントローラ36の制御条件をコントロールす
る。First, when an event occurs in the clock net value number, the clock SKEW value generation time memory 16 is accessed by the memory controller 36, and the corresponding clock SKEW value generation time (tc) is read and input to the arithmetic unit 24. The memory controller 36 accesses the event occurrence time memory 18 storing the data event occurrence time of the racing check target, and reads the read event occurrence time (t
i) is input to the calculation unit 24. Function code setting section triggered by the net value number generated at this time
The function code 38 is decoded by the decoder 40 and controls the control conditions of the memory controller 36.
演算部24はイベント発生時刻メモリ18から読み出され
たイベント発生時刻(ti)からクロックSKEW値発生時刻
メモリ16から読み出されたクロックSKEW値発生時刻(t
c)を差し引いて時間差ΔFを求め、レジスタ42に格納
する。The arithmetic unit 24 calculates the clock SKEW value generation time (t) read from the clock SKEW value generation time memory 16 from the event generation time (ti) read from the event generation time memory 18.
By subtracting c), a time difference ΔF is obtained and stored in the register 42.
一方、クロックSKEW値発生時刻メモリ16からの時刻読
出しによりトリガされて、メモリコントローラ44がホー
ルドタイム及びセットアップタイム基準値メモリ20,22
をアクセスし、ホールドタイム及びセットアップタイム
基準値メモリ20,22から読み出されたホールドタイム基
準値及びセットアップタイム基準値はチェックイベント
発生制御回路部46に与えられる。チェックイベント発生
制御回路部46は現在時刻にホールドタイム基準値又はセ
ットアップタイム基準値を加えることでチェックイベン
ト発生時刻及び発生イベントの状態を求め、チェックイ
ベント発生時刻メモリ48に書き込む。On the other hand, triggered by the time reading from the clock SKEW value generation time memory 16, the memory controller 44 sets the hold time and setup time reference value memories 20, 22
And the hold time reference value and the setup time reference value read from the hold time and setup time reference value memories 20 and 22 are given to the check event generation control circuit 46. The check event generation control circuit unit 46 obtains the check event generation time and the state of the generated event by adding the hold time reference value or the setup time reference value to the current time, and writes it to the check event generation time memory 48.
この状態で更にシミュレーション時刻が進むと、チェ
ックイベント発生制御回路部46がチェックイベント発生
時刻メモリ48をアクセスして第1の比較部26にホールド
タイム基準値(Th2)を出力すると共に第2の比較部28
にセットアップタイム基準値(Ts2)を出力する。When the simulation time further advances in this state, the check event occurrence control circuit unit 46 accesses the check event occurrence time memory 48 to output the hold time reference value (Th2) to the first comparison unit 26 and perform the second comparison. Part 28
The setup time reference value (Ts2) is output to.
従って、第1の比較部26でレジスタ42からの時間差
(ΔF)とチェックイベント発生制御回路部46からのホ
ールドタイム基準値(Th2)との比較判別が行なわれて
比較結果がレジスタ50に格納され、同様に第2の比較部
28においても時間差(ΔF)とセットアップタイプ基準
値(Ts2)との比較判別が行なわれて比較結果がレジス
タ52に格納される。Therefore, the first comparator 26 compares and determines the time difference (ΔF) from the register 42 and the hold time reference value (Th2) from the check event generation control circuit 46, and stores the comparison result in the register 50. , And similarly the second comparison unit
Also at 28, a comparison between the time difference (ΔF) and the setup type reference value (Ts2) is made, and the comparison result is stored in the register 52.
続いて、レジスタ50の比較結果に基づきレーシング判
定処理部30でレーシング判定が行なわれ、前述したレー
シング判定条件を満たしていれば異常ステイタスレジス
タ50にレーシングを示す異常フラグをセットする。Subsequently, racing determination is performed by the racing determination processing unit 30 based on the comparison result of the register 50. If the above-described racing determination condition is satisfied, an abnormal flag indicating racing is set in the abnormal status register 50.
また、レジスタ52に格納された比較結果に基づきディ
レイオーバー判定処理部32及びセットアップ異常判定処
理部34でそれぞれ判定処理が行なわれ、ディレイオーバ
ー又はセットアップ異常が判定されると異常ステイタス
レジスタ54に異常フラグをセットするようになる。The delay over determination processing section 32 and the setup abnormality determination processing section 34 perform determination processing based on the comparison result stored in the register 52, respectively. Will be set.
第6図は第2図の実施例におけるレーシングチェック
のための処理ステップ説明図である。FIG. 6 is an explanatory diagram of processing steps for a racing check in the embodiment of FIG.
第6図において、まず時刻でクロックSKEW値、即ち
クロックSKEW値発生時刻(tc)のリードが行なわれ、同
時刻となるで同時にクロック−データディレイ値、即
ちイベント発生時刻(ti)のリードが行なわれる。続い
て、時刻で両者の差として時間差(ΔF)を求める。
また時刻,と同じ時刻でセットアップタイム基準
値及びホールドタイム基準値がリードされる。続いて時
刻で時間差(ΔF)とセットアップタイムとの比較判
別が行なわれ、同じ時刻で時間差(ΔF)とホールド
タイム基準値との比較判別が行なわれ、その後の同じ時
刻,,において、ディレイオーバー判定処理、セ
ットアップ判定処理、更にレーシング判定処理が行なわ
れることになる。In FIG. 6, first, the clock SKEW value, that is, the clock SKEW value generation time (tc) is read at the time, and at the same time, the clock-data delay value, that is, the event generation time (ti) is read at the same time. It is. Subsequently, a time difference (ΔF) is obtained as a difference between the two at the time.
At the same time, the setup time reference value and the hold time reference value are read. Subsequently, a comparison between the time difference (ΔF) and the set-up time is made at the time, a comparison between the time difference (ΔF) and the hold time reference value is made at the same time, and a delay over judgment is made at the same time thereafter. Processing, setup determination processing, and racing determination processing are performed.
第7図は第3図の回路モデム14を対象とした第2図の
実施例による本発明のレーシングチェックにおけるタイ
ミング条件と判定条件を示した処理説明図である。FIG. 7 is a process explanatory diagram showing timing conditions and determination conditions in the racing check of the present invention according to the embodiment of FIG. 2 for the circuit modem 14 of FIG.
即ち、第7図(a)のタイミング条件にあっては、第
3図の回路モデル14における前段のFF10に対するクロッ
ク入力CLK1、後段のFF12に対するクロック入力CLK2、FF
10に対するデータ入力D1、FF10の出力Q1、即ちFF12のデ
ータ入力D2、更に後段のFF12の出力Q2については、第7
図(b)に示す判定条件(A)(B)(C)による異常
状態と、いずれにも該当しない正常時に分けて示してい
る。That is, under the timing conditions of FIG. 7A, the clock input CLK1 to the FF10 at the preceding stage and the clock inputs CLK2 and FF to the FF12 at the subsequent stage in the circuit model 14 of FIG.
Regarding the data input D1 and the output Q1 of the FF10 for the FF10, that is, the data input D2 of the FF12 and the output Q2 of the subsequent FF12,
An abnormal state according to the determination conditions (A), (B), and (C) shown in FIG.
まず第7図において、クロック入力CLK1としてNo.1,N
o.2が入力したときのタイミング条件を説明する。First, in FIG. 7, No. 1 and N
The timing conditions when o.2 is input will be described.
FF10に対するクロック入力CLK1に対し後段のFF12に対
するクロック入力CLK2は図示のようにSKEW−1となる時
間遅れをもち、このため本発明のレーシングチェックに
あっては、クロックCLK2が立ち上がった時刻tc1がクロ
ックSKEW値発生時刻として検出される。As shown, the clock input CLK2 to the subsequent FF12 has a time delay of SKEW-1 with respect to the clock input CLK1 to the FF10 as shown in the figure. It is detected as the SKEW value occurrence time.
続いて、クロックCLK1とデータD1に基づき時刻(ti
1)のタイミングでFF10の出力Q1が立ち上がり、この時
刻(ti1)がイベント発生時刻として検出される。その
結果、レーシングディレイオーバー及びセットアップ異
常を判定するために使用する時間差(ΔF)が ΔF=ti1−tc1 として演算される。このとき時間差(ΔF)はプラスの
値をもつことから第7図(b)の(A)に示すレーシン
グ判定の対象となる。Subsequently, based on the clock CLK1 and the data D1, the time (ti
The output Q1 of the FF10 rises at the timing 1), and this time (ti1) is detected as the event occurrence time. As a result, the time difference (ΔF) used for determining the racing delay over and the setup abnormality is calculated as ΔF = ti1−tc1. At this time, since the time difference (ΔF) has a positive value, the time difference (ΔF) is a target of the racing determination shown in FIG. 7B (A).
ここで時間差ΔFが後段のFF12のホールドタイム(Ts
2)より大きければ、FF12の出力Q2は正常のタイミング
に示すようにラッチFFの出力Q1が立ち下がった後の所定
遅延後に立ち上がるタイミング条件となる。Here, the time difference ΔF is equal to the hold time (Ts
2) If it is larger, the output condition Q2 of the FF12 has a timing condition of rising after a predetermined delay after the output Q1 of the latch FF falls as shown in the normal timing.
これに対し時間差(ΔF)がFF12のホールドタイム
(Ts2)より小さかった場合には、レーシングの判定条
件(A)が成立し、FF10の出力Q1が立ち上がっている状
態で同時に次段のFF12の出力Q2も立ち上がってしまうQ2
異常に示すレーシングを生ずることになる。On the other hand, when the time difference (ΔF) is smaller than the hold time (Ts2) of the FF12, the racing determination condition (A) is satisfied, and the output of the FF12 of the next stage is simultaneously output while the output Q1 of the FF10 is rising. Q2 also starts up Q2
This will cause abnormal racing.
第7図(a)のタイミング条件における右側のNo.N及
びNo.N+1のクロックについては、ディレイオーバー及
びセットアップ異常の判定処理を示している。Regarding the clocks of No. N and No. N + 1 on the right side in the timing condition of FIG. 7A, the processing of judging the delay over and the setup abnormality is shown.
即ち、No.N及びNo.N+1のクロックCLK1,CLK2のSKEW
によってクロックSKEW値発生時刻(tcn)が検出され、
一方、No.NのクロックCLK1の立ち上がりから所定の遅延
時間でFF、1のQ1出力が立ち上がり、このQ1の立ち上が
り時点がイベント発生時刻(tin)として検出される。That is, SKEW of clocks CLK1 and CLK2 of No.N and No.N + 1
Detects the clock SKEW value generation time (tcn),
On the other hand, the Q1 output of FF, 1 rises with a predetermined delay time from the rise of the clock CLK1 of No. N, and the rising point of this Q1 is detected as the event occurrence time (tin).
このNo.N,N+1クロックの場合、イベント発生時刻
(tin)はSKEW値によって遅延が伴ったCLK2の発生時刻
(tcn)より前に発生し、その結果、 ΔF=tin−tcn で与えられる時間差(ΔF)はマイナスの値をもつこと
になる。In the case of No. N and N + 1 clocks, the event occurrence time (tin) occurs before the occurrence time (tcn) of CLK2 with a delay due to the SKEW value, and as a result, the time difference (ΔF = tin−tcn) ΔF) will have a negative value.
このように時間差(ΔF)がマイナスの値をもった場
合、第7図(b)に示すディレイオーバーの判定条件
(B)、またはセットアップ異常の判定条件(C)に関
する判定処理が行なわれる。As described above, when the time difference (ΔF) has a negative value, a determination process regarding a delay over determination condition (B) or a setup abnormality determination condition (C) shown in FIG. 7B is performed.
もしマイナスの値をもつ時間差(ΔF)の絶対値がFF
12のセットアップタイム基準値(Ts2)以上であれば、
ディレイオーバーの判定条件(B)が成立し、第7図
(a)の中に判定条件(B)で示すFF12の出力Q2の異常
を生ずる。If the absolute value of the time difference (ΔF) having a negative value is FF
If it is more than 12 setup time reference value (Ts2),
The condition (B) for determining the delay over is satisfied, and the output Q2 of the FF12 shown in FIG. 7A is abnormal.
一方、マイナスの値をもつ時間差(ΔF)の絶対値が
FF12のセットアップタイム(Ts2)より小さければ、セ
ットアップ異常の判定条件(C)が成立し、第7図
(a)のタイミング条件の中に判定条件(C)で示すよ
うにFF12のQ2出力に状態変化が起きないセットアップ異
常を生ずることになる。On the other hand, the absolute value of the time difference (ΔF) having a negative value is
If it is shorter than the setup time (Ts2) of FF12, the setup abnormality determination condition (C) is satisfied, and the state of the FF12 Q2 output is included in the timing condition of FIG. 7A as shown by the determination condition (C). A setup error that does not change will occur.
第8図は本発明のレーシングチェック方式における他
の判定処理を示した説明図であり、この実施例にあって
は、フラグチェックのみによってレーシング、ディレイ
オーバー及びセットアップ異常を判定できるようにした
ことを特徴とする。FIG. 8 is an explanatory diagram showing another determination process in the racing check method of the present invention. In this embodiment, it is determined that racing, delay over, and setup abnormalities can be determined only by a flag check. Features.
第8図において、同図(a)に示すタイミング条件及
び同図(b)に示す判定条件は第7図の場合と同じであ
る。8, the timing conditions shown in FIG. 8A and the determination conditions shown in FIG. 8B are the same as those in FIG.
これに加えて第8図にあっては、全てフラグチェック
によりレーシング、ディレイオーバー、セットアップ異
常の判定条件をみることから、クロックCLK1及びCLKに
つきセットアップタイム及びホールドタイムのチェック
イベントを縦向きの矢印で示すように発生し、更にクロ
ック変化、データ変化、異常フラグのセット・リセット
を行なっており、これらのフラグ状態によって第7図の
場合と全く同様にしてレーシング、ディレイオーバー、
セットアップ異常を判定することができる。In addition to this, in FIG. 8, since the determination conditions of racing, delay over, and setup abnormalities are all checked by flag check, the setup time and hold time check events for clocks CLK1 and CLK are indicated by vertical arrows. As shown in the figure, clock change, data change, and setting / resetting of an abnormal flag are performed. According to the state of these flags, racing, delay over,
Setup errors can be determined.
[発明の効果] 以上説明してきたように本発明によれば、論理シミュ
レーションの実行と並列に詳細遅延値に基づく各種の基
準パラメータを用いたラッチ用FF等の回路モデルに対す
るレーシングチェックを高速に処理することができ、こ
れによって論理設計モデルに対するクリティカルなタイ
ミング検証を行なうことができる。[Effects of the Invention] As described above, according to the present invention, a racing check on a circuit model such as a latch FF using various reference parameters based on a detailed delay value is performed at high speed in parallel with execution of a logic simulation. This allows critical timing verification of the logic design model to be performed.
また、論理設計モデルからテストパターンを作成する
ための検証を高速化でき、更に有効パターンを得るため
のタイミング検証ができるため、テストパターンの品質
向上による製造工程におけるLSI等の歩留りを向上する
ことができる。In addition, the speed of verification for creating test patterns from the logical design model can be increased, and the timing verification for obtaining effective patterns can be performed, thereby improving the yield of LSIs and the like in the manufacturing process by improving the quality of test patterns. it can.
第1図は本発明の原理説明図; 第2図は本発明の実施例構成図; 第3,4,5図は本発明の処理対象回路モデル説明図; 第6図は本発明の処理ステップ説明図; 第7図は本発明の処理説明図; 第8図は本発明の他の処理説明図である。 図中、 10,12:FF 14:回路モデル 16:クロックSKEW値発生時刻記憶部 18:イベント発生時刻記憶部 20:ホールドタイム基準値記憶部 22:セットアップタイム基準値記憶部 24:演算部 26:第1の比較部 28:第2の比較部 30:レーシング判定処理部 32:ディレイオーバー判定処理部 34:セットアップ異常判定処理部 36,44:メモリコントローラ 38:ファンクションコード設定部 40:デコーダ 42,50,52:レジスタ 46:チェックイベント発生制御回路部 48:チェックイベント発生時刻メモリ 54:異常ステータスレジスタ 56,58:チェックプリミティブ 1 is a diagram illustrating the principle of the present invention; FIG. 2 is a diagram illustrating the configuration of an embodiment of the present invention; FIGS. 3, 4, and 5 are diagrams illustrating a circuit model to be processed according to the present invention; FIG. FIG. 7 is an explanatory diagram of the process of the present invention; FIG. 8 is an explanatory diagram of another process of the present invention. In the figure, 10, 12: FF 14: circuit model 16: clock SKEW value occurrence time storage unit 18: event occurrence time storage unit 20: hold time reference value storage unit 22: setup time reference value storage unit 24: calculation unit 26: First comparison unit 28: Second comparison unit 30: Racing determination processing unit 32: Delay over determination processing unit 34: Setup abnormality determination processing unit 36, 44: Memory controller 38: Function code setting unit 40: Decoder 42, 50 , 52: Register 46: Check event occurrence control circuit 48: Check event occurrence time memory 54: Abnormal status register 56, 58: Check primitive
Claims (4)
のラッチ用FF(10)と第2のラッチ用FF(12)を順次接
続した回路モデル(14)を1単位として論理シミュレー
ションを実行するシミュレーション装置に於いて、 前記回路モデル(14)を構成する第1及び第2のFF(1
0,12)に対するクロック入力(CLK1,CLK2)の時間差で
定義されるSKEW値に基づき第2のFF(12)に対するクロ
ック入力(CLK2)の発生時刻をクロックSKEW値発生時刻
(tc)として格納したクロックSKEW値発生時刻記憶部
(16)と; 前記回路モデル(14)を構成する第1及び第2のFF(1
0,12)がクロック入力(CLK1)を受けてから出力(Q1)
の状態が変化するイベント発生時刻(ti)を格納したイ
ベント発生時刻記憶部(18)と; 前記回路モデル(14)を構成する第1及び第2のFF(1
0,12)のホールドタイム基準値(Th)を格納したホール
ドタイム基準値記憶部(20)と; 前記回路モデル(14)を構成する第1及び第2のFF(1
0,12)のセットアップ基準値(Ts)を格納したセットア
ップタイム基準値記憶部(22)と; 前記回路モデル(14)の論理シミュレーション実行時
に、前記イベント発生時刻記憶部(18)から読出された
イベント発生時刻(ti)から前記クロックSKEW値発生時
刻記憶部(18)から読出されたSKEW発生時刻(ts)を差
し引いて前記回路モデル(14)のクロック入力から出力
イベント発生までの遅延時間とクロックSKEW値との時間
差(ΔF)を演算する演算部(24)と; 該演算部(24)の演算時間差(ΔF)と前記ホールドタ
イム基準値(20)から読出されたホールドタイム基準値
(Th)とを比較する第1の比較部(26)と; 前記演算部(24)の演算時間差(ΔF)と前記セットア
ップタイム基準値記憶部(22)から読出されたセットア
ップタイム基準値(Ts)とを比較する第2の比較部(2
8)と; 前記第1の比較部(26)の比較結果に基づいてレーシン
グ判定するレーシング判定処理部(30)と; 前記第2の比較部(28)の比較結果に基づいてディレイ
オーバー及びセットアップ異常を判定するディレイオー
バー判定処理部(32)及びセットアップ異常判定処理部
(34)と; を備えたことを特徴とするシミュレーション装置のレー
シングチェック方式。At least a first component constituting a logical design model is provided.
A circuit model (14) in which a latch FF (10) and a second latch FF (12) are sequentially connected to each other as a unit to execute a logic simulation, wherein the circuit model (14) is configured. The first and second FFs (1
The generation time of the clock input (CLK2) for the second FF (12) is stored as the clock SKEW value generation time (tc) based on the SKEW value defined by the time difference between the clock inputs (CLK1, CLK2) for (0, 12). A clock SKEW value generation time storage unit (16); and first and second FFs (1) constituting the circuit model (14).
0,12) receives clock input (CLK1) and then outputs (Q1)
An event occurrence time storage unit (18) storing an event occurrence time (ti) at which the state of the circuit model changes; and first and second FFs (1) constituting the circuit model (14).
A hold time reference value storage unit (20) storing a hold time reference value (Th) of (0, 12); and first and second FFs (1) constituting the circuit model (14).
A setup time reference value storage unit (22) storing a setup reference value (Ts) of (0, 12); read out from the event occurrence time storage unit (18) when executing a logic simulation of the circuit model (14); By subtracting the SKEW occurrence time (ts) read from the clock SKEW value occurrence time storage unit (18) from the event occurrence time (ti), the delay time from the clock input to the output event occurrence of the circuit model (14) and the clock A calculation unit (24) for calculating a time difference (ΔF) from the SKEW value; a calculation time difference (ΔF) of the calculation unit (24) and a hold time reference value (Th) read from the hold time reference value (20) And a first comparison unit (26) that compares the calculation time difference (ΔF) of the calculation unit (24) and the setup time reference value (Ts) read from the setup time reference value storage unit (22). Second comparator for compare (2
8) ;; a racing determination processing unit (30) for determining a racing based on the comparison result of the first comparison unit (26); and delay over and setup based on the comparison result of the second comparison unit (28). A racing check method for a simulation device, comprising: a delay over determination processing section (32) for determining abnormality and a setup abnormality determination processing section (34).
回路モデル(14)を構成する第1のFF(10)の出力イベ
ントに対する演算時間差(ΔF)がプラスで且つ前記第
2のFF(12)のホールドタイム基準値(Th2)より小さ
い時に、レーシンングと判定することを特徴とする請求
項1記載のシミュレーション装置のレーシングチェック
方式。2. The racing judging section (30) has a calculation time difference (ΔF) with respect to an output event of a first FF (10) constituting the circuit model (14) which is positive and the second FF ( 2. The racing check method of the simulation apparatus according to claim 1, wherein when the hold time is smaller than the hold time reference value (Th2) of (12), racing is determined.
は、前記回路モデル(14)を構成する第1のFF(10)の
出力イベントに対する前記演算時間差(ΔF)がマイナ
スで且つ演算時間差の絶対値(|ΔF|)が前記第2のFF
(12)のセットアップタイム基準値(Ts2)以上の時、
ディレイオーバーと判定することを特徴とする請求項1
記載のシミュレーション装置のレーシングチェック方
式。3. The delay over determination processing section (34).
Means that the operation time difference (ΔF) with respect to the output event of the first FF (10) constituting the circuit model (14) is negative and the absolute value (| ΔF |) of the operation time difference is the second FF
When the setup time reference value (Ts2) of (12) is longer than
2. The method according to claim 1, wherein it is determined that the delay is over.
The racing check method of the simulation device described.
は、前記回路モデル(14)を構成する第1のFF(10)の
出力イベントに対する演算時間差(ΔF)がマイナスで
且つ演算時間差の絶対値(|ΔF|)が前記第2のFF(1
2)のセットアップタイム基準値(Ts2)より小さい時に
セットアップ異常と判定することを特徴とする請求項1
記載のシミュレーション装置のレーシングチェック方
式。4. The setup abnormality determination processing section (34).
Is that the operation time difference (ΔF) with respect to the output event of the first FF (10) constituting the circuit model (14) is negative and the absolute value (| ΔF |) of the operation time difference is the second FF (1).
2. A setup abnormality is determined when the setup time reference value (Ts2) is smaller than the setup time reference value (Ts2).
The racing check method of the simulation device described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63246913A JP2633651B2 (en) | 1988-09-28 | 1988-09-28 | Racing check method for simulation equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63246913A JP2633651B2 (en) | 1988-09-28 | 1988-09-28 | Racing check method for simulation equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0291770A JPH0291770A (en) | 1990-03-30 |
JP2633651B2 true JP2633651B2 (en) | 1997-07-23 |
Family
ID=17155614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63246913A Expired - Fee Related JP2633651B2 (en) | 1988-09-28 | 1988-09-28 | Racing check method for simulation equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2633651B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4292224B2 (en) | 2007-12-14 | 2009-07-08 | 株式会社東芝 | Manufacturing method of molds and castings |
JP4316644B2 (en) | 2007-12-26 | 2009-08-19 | 株式会社東芝 | Logic simulation device |
-
1988
- 1988-09-28 JP JP63246913A patent/JP2633651B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH0291770A (en) | 1990-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8719742B2 (en) | Conversion of circuit description to an abstract model of the circuit | |
US6199031B1 (en) | HDL simulation interface for testing and verifying an ASIC model | |
JPH0458072B2 (en) | ||
US5845064A (en) | Method for testing and verification of a CPU using a reference model | |
US6285914B1 (en) | Verification method by means of comparing internal state traces | |
US20100198574A1 (en) | Programmer View Timing Model For Performance Modeling And Virtual Prototyping | |
JPS63145549A (en) | Simulation method for logic circuit | |
JP2633651B2 (en) | Racing check method for simulation equipment | |
EP0915426A2 (en) | Formal verification of queue flow-control through model-checking | |
US7328415B2 (en) | Modeling blocks of an integrated circuit for timing verification | |
US11023357B1 (en) | Method and system for sequential equivalence checking | |
KR100321780B1 (en) | Verification method for chip function by automatic comparison of external signal of the chip | |
US7467366B2 (en) | Method for generating a timing path software monitor for identifying a critical timing path in hardware devices coupled between components | |
US20240160821A1 (en) | Information processing method, information processing apparatus, program, and non-transitory computer readable medium storing program | |
JP2000293396A (en) | Method and device for estimating system performance | |
KR100427029B1 (en) | Intergrated Circuit Design Verification Method | |
JP3123982B2 (en) | Logic simulation method | |
JP3164452B2 (en) | Test method for multiple pipelines | |
JP2914257B2 (en) | How to determine conflict behavior | |
JP2007241836A (en) | Multi-cycle path verification method | |
JP2923893B1 (en) | Hardware logic simulation device | |
JP2624135B2 (en) | Timing analysis method | |
JP2996153B2 (en) | ASIC verification method | |
JP2000122898A (en) | Method and device for simulation | |
JP2785708B2 (en) | Logic simulation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |