[go: up one dir, main page]

JP2785708B2 - Logic simulation method - Google Patents

Logic simulation method

Info

Publication number
JP2785708B2
JP2785708B2 JP6227821A JP22782194A JP2785708B2 JP 2785708 B2 JP2785708 B2 JP 2785708B2 JP 6227821 A JP6227821 A JP 6227821A JP 22782194 A JP22782194 A JP 22782194A JP 2785708 B2 JP2785708 B2 JP 2785708B2
Authority
JP
Japan
Prior art keywords
event
logic
pin
information
input
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
Application number
JP6227821A
Other languages
Japanese (ja)
Other versions
JPH0896016A (en
Inventor
和永 後藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP6227821A priority Critical patent/JP2785708B2/en
Publication of JPH0896016A publication Critical patent/JPH0896016A/en
Application granted granted Critical
Publication of JP2785708B2 publication Critical patent/JP2785708B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は論理シミュレーション方
法に関し、特にイベント駆動型の遅延シミュレーション
として用いられる論理シミュレーション方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic simulation method, and more particularly to a logic simulation method used as an event-driven delay simulation.

【0002】[0002]

【従来の技術】従来の、この種の論理シミュレーション
方法においては、一つの方法として、内部論理マクロの
構成要素であるゲートに対して、遅延量の割付けを行う
という手法が用いられている。この論理シミュレーショ
ン方法により、内部論理マクロの入力ピンから出力ピン
に至るまでの遅延データを、遅延シミュレーションによ
り反映させようとする場合には、強制的に各ゲートに遅
延値を割付けるか、或はまた内部論理マクロそのものを
一つの大きなゲートとしてモデル化し、当該遅延値を表
現する以外には方法が見当らない。このように、強制的
に遅延値を割付けるという方法においては、適切に遅延
値をゲートに配分することが必要条件となるが、この配
分を誤差なく行うことは困難であり、また論理回路中の
或る経路の遅延値を正確にモデル化することができたと
しても、その他の経路については正確にモデル化するこ
とが困難であり、このために結果的に歪が生じることが
多いのが実状である。この問題を解決するために、従来
は、ダミーゲートを発生させることにより遅延値の割付
けが行われているが、この方法では、ダミーゲートの数
だけ論理シミュレーションを行う必要があり、これに要
する時間が増大するという問題がある。
2. Description of the Related Art In a conventional logic simulation method of this type, as one method, a method of assigning a delay amount to a gate which is a component of an internal logic macro is used. According to this logic simulation method, when delay data from an input pin to an output pin of an internal logic macro is to be reflected by a delay simulation, a delay value is forcibly assigned to each gate, or Further, there is no method other than modeling the internal logic macro itself as one large gate and expressing the delay value. As described above, in the method of forcibly assigning the delay value, it is necessary to appropriately distribute the delay value to the gates. Even if it is possible to accurately model the delay value of one path, it is difficult to accurately model the other paths, which often results in distortion. It is a fact. In order to solve this problem, delay values are conventionally assigned by generating dummy gates. However, in this method, it is necessary to perform logic simulation by the number of dummy gates, and the time required for this is required. Is increased.

【0003】また、従来の他の方法としては、一つの大
きなゲートとしてモデル化する方法があるが、この方法
の場合には遅延値の割付けが容易であり、しかも誤差が
少なくすることができるという利点はあるものの、半導
体集積回路内の内部論理マクロのゲート数の拡大が顕著
になりつつある中でのモデル化は益々困難になりつつあ
る。この方法の従来技術の例としては、特開平3−15
2673号公報において「論理回路のシミュレータ」が
提案されている。当該公開特許公報による提案において
は、内部論理マクロの出力値と遅延値とを、各入力値の
組み合わせに対して全てROM内の記憶領域に保存して
おき、これらの各記憶領域のアドレスの値を、ブロック
の番号と各入力値とを連結して表わした2進数と一致さ
せて論理演算を行う技術が示されている。また本来内部
論理マクロとしては、一つの独立した回路として、それ
以前に設計され検証された論理接続を流用し、タイミン
グ部分を変更して使用している場合が多く、このモデル
化手法を使用した遅延割付け方法においては、論理部分
について記述し直さなければならないという欠点があ
る。このために、従来の設計資産の流用または使用が制
限されているのが実情である。
As another conventional method, there is a method of modeling as one large gate. In this method, it is easy to assign a delay value and it is possible to reduce an error. Despite the advantages, modeling is becoming more and more difficult as the number of gates of internal logic macros in semiconductor integrated circuits is increasing significantly. An example of the prior art of this method is disclosed in
No. 2673 proposes a "logic circuit simulator". In the proposal by the patent publication, the output value and the delay value of the internal logic macro are all stored in a storage area in the ROM for each combination of input values, and the value of the address of each of these storage areas is stored. A technique for performing a logical operation by matching a block number with a binary number expressed by connecting a block number and each input value is disclosed. Also, originally, as an internal logic macro, in many cases, a logic connection designed and verified before that was diverted and the timing part was changed and used as one independent circuit, and this modeling method was used The delay allocation method has the disadvantage that the logical part must be rewritten. For this reason, the diversion or use of the conventional design assets is limited.

【0004】従来の論理回路のシミュレーションの処理
手順を、図6を参照して説明する。まず、処理ステップ
601において、入力ピンに入力される入力パターン信
号を変化させる。次いで処理ステップ602において
は、イベント残存の有無がチェックされ、残存イベント
が存在する場合には処理ステップ606に移行してイベ
ント取り出し処理が行われる。また、処理ステップ60
2において残存イベントが存在しない場合には、処理ス
テップ603においてスケジュールデータの有無がチェ
ックされ、スケジュールデータが存在する場合には、処
理ステップ605においてイベント登録処理が行われ、
次いで処理ステップ606において、同様にイベント取
り出し処理が行われる。処理ステップ606においてイ
ベント取り出し処理が行われると、処理ステップ607
に移行して、論理接続情報を参照して演算すべきゲート
が特定され、所定の演算処理が行われる。次いで処理ス
テップ608においては、処理ステップ607における
演算処理結果によるイベント発生の有無がチェックさ
れ、イベントが発生する場合には、処理ステップ609
において、当該ゲートに割り付けられた遅延値が参照さ
れて、処理ステップ610においてスケジューリング処
理が行われて、処理ステップ602に戻る。処理ステッ
プ608においてイベントが発生せずに消滅した場合に
は、スケジューリング処理は行われず処理ステップ60
2に戻る。このように、論理シミュレーションは、処理
ステップ602および処理ステップ603を介して、イ
ベントならびにスケジュールデータが無くなるまで繰返
して処理が行われ、これらイベントならびにスケジュー
ルデータが無くなった時点において、この論理シミュレ
ーションは終了(EXIT604)する。
[0004] A procedure of a conventional logic circuit simulation will be described with reference to FIG. First, in processing step 601, the input pattern signal input to the input pin is changed. Next, in processing step 602, the presence / absence of an event remains is checked. If there is a remaining event, the flow shifts to processing step 606 to perform event fetch processing. Processing step 60
If there is no remaining event in 2, the presence or absence of schedule data is checked in processing step 603, and if there is schedule data, event registration processing is performed in processing step 605.
Next, in a processing step 606, an event fetch process is performed similarly. When the event extraction processing is performed in processing step 606, processing step 607
Then, the gate to be operated is specified with reference to the logical connection information, and a predetermined operation process is performed. Next, in processing step 608, it is checked whether or not an event has occurred according to the calculation processing result in processing step 607. If an event has occurred, processing step 609 is performed.
In, the scheduling process is performed in the processing step 610 with reference to the delay value allocated to the gate, and the process returns to the processing step 602. If the event disappears in step 608 without occurrence of an event, the scheduling process is not performed, and
Return to 2. As described above, the logic simulation is repeatedly performed until the event and the schedule data are lost through the processing steps 602 and 603. When the event and the schedule data are lost, the logic simulation ends ( EXIT 604).

【0005】[0005]

【発明が解決しようとする課題】上述した従来の論理シ
ミュレーション方法においては、前述の論理マクロの構
成要素のゲートに対して、遅延値を強制的に割り付ける
第1の方法の場合には、当該遅延値の割り付けに誤差が
生じ易く、またダミーゲートの数だけシミュレーション
時間が増加し、論理シミュレーションの所要時間が増大
するという欠点があり、また、一つの大きなゲートとし
てモデル化する第2方法の場合には、モデル化がゲート
の増大に伴ない困難になるという制約条件があり、且つ
過去の設計資産による論理部分の流用または使用が制限
されるという欠点がある。
In the above-described conventional logic simulation method, in the case of the first method in which the delay value is forcibly assigned to the gate of the component of the logic macro described above, the delay value is not changed. There is a drawback that errors are likely to occur in value assignment, the simulation time increases by the number of dummy gates, and the time required for logic simulation increases. In the case of the second method of modeling as one large gate, Has the disadvantage that modeling becomes more difficult as the number of gates increases, and the use or use of logic parts by past design assets is limited.

【0006】以下に、図2に示される論理回路の場合を
例として、従来技術の手法による問題点を明らかにす
る。図2においては、説明の便宜のために、ピンに対し
て数字の符号が付記されているが、ピン1、2、3、
7、8および9により囲まれた長方形内部が、所謂内部
論理マクロ22である。この内部論理マクロ22の構成
要素である4つのゲートを、それぞれA、B、Cおよび
Dとする。また内部論理マクロ22における入力ピンか
ら出力ピンまでの遅延データベースが図3に示されてい
る。
[0006] The problems of the prior art technique will be clarified below, taking the case of the logic circuit shown in FIG. 2 as an example. In FIG. 2, for convenience of explanation, numerals are added to the pins, but the pins 1, 2, 3,.
The inside of the rectangle surrounded by 7, 8 and 9 is a so-called internal logic macro 22. The four gates, which are components of the internal logic macro 22, are A, B, C, and D, respectively. FIG. 3 shows a delay database from the input pin to the output pin in the internal logic macro 22.

【0007】前述の第1の方法による場合には、図3の
遅延データベースに従って、各ゲートA、B、Cおよび
Dに遅延が割り付けられる。例えば、図3に示されるよ
うに、パス1においては、ピン1からピン7までに遅延
値6が割付けられ、パス2においては、ピン1からピン
8まで遅延値10が割付けられる。また、パス3におい
ては、ピン3からピン8まで遅延値10が割付けられ
る。この結果、パス4においては、ピン3からピン9ま
では遅延値6になる筈であるが、遅延データベース上に
おいては遅延値7となっているため、ダミーゲートをピ
ン5とピン9の間に挿入して、遅延1が割付けられる。
この挿入ゲートにより、シミュレーション上余分の演算
処理が必要となり、その分処理時間が増大することにな
る。
In the case of the first method, delays are allocated to the gates A, B, C and D according to the delay database shown in FIG. For example, as shown in FIG. 3, in path 1, a delay value 6 is assigned to pins 1 to 7, and in path 2, a delay value 10 is assigned to pins 1 to 8. In the path 3, a delay value 10 is assigned from the pin 3 to the pin 8. As a result, in the path 4, the delay value from the pin 3 to the pin 9 should be 6, but since the delay value is 7 in the delay database, the dummy gate is connected between the pin 5 and the pin 9. Insert and delay 1 is assigned.
This insertion gate requires extra arithmetic processing in the simulation, which increases the processing time.

【0008】また、第2の方法においては、図2に示さ
れる論理回路の場合を例として扱う場合に、4ゲートを
一つのゲートとして記述するための記述変換処理が必要
となる。例えば、特開平3−152673号公報による
提案の場合には、3入力/3出力の組合わせ全てをRO
M内の記憶領域に保存しておき、それぞれの組合わせに
対応した形で遅延データを持たせることが必要となる。
それ以外の方法においても、4ゲートとして保持されて
いる回路の接続情報を、1ゲートとして扱う場合には、
必らず接続の変換または書換えが生じることになり、処
理時間の増大を招く結果となる。
In the second method, when the logic circuit shown in FIG. 2 is used as an example, description conversion processing for describing four gates as one gate is required. For example, in the case of Japanese Patent Application Laid-Open No. 3-152873, all combinations of three inputs and three outputs are RO
It is necessary to store the data in a storage area in M and to provide delay data in a form corresponding to each combination.
In other methods, when connection information of a circuit held as four gates is treated as one gate,
The conversion or rewriting of the connection necessarily occurs, resulting in an increase in processing time.

【0009】従って、前記第1の方法および第2の方法
ともに、回路規模の増大するに伴なってモデル化および
変換が実用上困難な状況になってきている。そこで、本
発明においては、既存の論理接続と入力ピンから出力ピ
ンまでの遅延データベースを基に、ピンtoピンの遅延
シミュレーションを実現することを、解決すベき課題と
している。
Therefore, in both the first method and the second method, modeling and conversion have become practically difficult as the circuit scale increases. Therefore, it is an object of the present invention to realize a pin-to-pin delay simulation based on an existing logical connection and a delay database from an input pin to an output pin.

【0010】なお、既存の論理接続と入力ピンから出力
ピンへの遅延データベースを基に、ピンtoピンの遅延
シミュレーションを実現する方法としては、他に特開平
3−250371号公報による提案があるが、この提案
は、下記の点において問題がある。即ち、特開平3−2
50371号公報においては、内部論理マクロ内のイベ
ント伝播と内部論理マクロ間のイベント伝播を制御する
タイムホイールが、それぞれ個別に持たれているが、こ
のことにより、処理上におけるオーバーヘッドが生じ、
シミュレーション時間が増大する傾向となる。また、ブ
ロックの遅延を、予め内部論理マクロの入力端子に記憶
させておく方法がとられてはいるが、回路が大きくな
り、パスが複雑化するにつれて対応できなくなったり、
遅延の検索に要する時間がネックになる危険性が介在し
ているという欠点がある。
As a method for realizing a pin-to-pin delay simulation based on an existing logical connection and a delay database from an input pin to an output pin, there is another method proposed in Japanese Patent Application Laid-Open No. 3-250371. However, this proposal has problems in the following points. That is, Japanese Patent Laid-Open No. 3-2
In Japanese Patent No. 50371, a time wheel for controlling the event propagation in the internal logic macro and a time wheel for controlling the event propagation between the internal logic macros are individually provided.
The simulation time tends to increase. Although a method of storing the delay of the block in advance at the input terminal of the internal logic macro has been adopted, it cannot be handled as the circuit becomes large and the path becomes complicated,
There is a drawback that the risk of the time required for searching for the delay being a bottleneck is present.

【課題を解決するための手段】そのため、本発明は、複
数のゲートなどから成る論理回路と等価な論理回路モデ
ルを計算機上に構築し、入力パターン信号の時系列変化
に対応して、各時刻で、前記各ゲートの入出力ピンに発
生する変化すなわちイベント発生の時刻を示すスケジュ
ールデータに基づきイベント登録を行い、この登録され
たイベントが順に取り出され残存しなくなるまで、前記
論理回路の論理接続情報を参照して前記各ゲートの演算
処理を行い、前記各ゲートの入出力ピンの次時刻のイベ
ント発生をチェックし、イベント発生した前記各ゲート
の遅延情報を検索し、この遅延情報に基づき前記スケジ
ュールデータを設定するスケジューリング処理を行い、
前記論理回路の動作結果を表示出力する論理シミュレー
ション方法において、前記各時刻で、前記イベント発生
のチェック後、複数のゲートなどから成り既検証の論理
回路要素の1つとして用いられる内部論理マクロとして
の入出力ピンデータを示すBOUNDARY情報を検索
し、イベント発生した前記各ゲートの出力ピンが前記内
部論理マクロとしての出力ピンでないとき次時刻のイベ
ント登録を行っている。 また、前記イベント登録のと
き、イベント発生したピンに対応して、発生イベントの
変化時刻,状態値変化情報,伝搬元情報とが前記内部論
理マクロ内のピン経過情報として格納され、前記イベン
ト発生のチェック後に前記BOUNDAR Y情報と共に
検索される。
SUMMARY OF THE INVENTION Therefore, the present invention provides
A logic circuit model equivalent to a logic circuit consisting of a number of gates
A time series change of the input pattern signal
At each time, the input / output pin of each gate
Schedule that indicates the change that occurs, that is, the time of the event occurrence
Event registration based on the
Until the events that have been taken out are
Operation of each gate with reference to logical connection information of a logical circuit
Processing, and the event of the next time of the input / output pin of each gate is performed.
Check the event occurrence, and check each of the gates where the event occurred
Of the schedule, and based on the delay information,
Perform scheduling processing to set schedule data,
Logic simulation for displaying and outputting the operation result of the logic circuit
The event occurrence at each of the times.
After the check, the logic that has already been verified
As an internal logic macro used as one of the circuit elements
Search BOUNDARY information indicating input / output pin data
The output pin of each gate where an event occurs
If the output pin is not an output pin as
Account registration. In addition, the event registration
The event that occurred,
The change time, the state value change information, and the propagation source information are based on the internal theory.
Is stored as pin progress information in the
Together with the BOUNDARY information after the
Searched.

【0011】なお、前記第7の処理ステップにおいて
は、対応するピン同士間の遅延値を、ハッシュテーブル
を介して所定の遅延データベースを参照して検索するよ
うにしてもよい。
[0011] In the seventh processing step, a delay value between corresponding pins may be searched by referring to a predetermined delay database via a hash table.

【0012】[0012]

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

【0013】図1は本発明の一実施例における処理手順
を示す流れ図である。以下、図2の論理回路に対して、
入力信号として、図5(a)の入力1および図5(b)
の入力2が印加される場合を例として、本実施例による
処理手順について説明する。なお、図5(c)、
(d)、(e)、(f)、(g)、(h)および(i)
は、それぞれ、入力1および入力2の印加に対応するピ
ン1、2、3、4、5、6および8における信号のタイ
ミング図であり、図4は、それぞれ、これらのピン1、
2、3、4、5、6および8に対応する変化時刻、ピン
の状態値、BOUNDARY情報および伝播元の情報を
格納するピンテーブルを示す図である。このピンテーブ
ルの中のBOUNDARY情報には、内部論理マクロ2
2の入力ピンおよび出力ピンの区別を含む情報が格納さ
れている。また、伝播元には、最新イベントが、内部論
理マクロ22のどの入力ピンを経由してきたかを示す情
報が、当該シミュレーションを進めながら格納される。
なお、図4のピンテーブルにおいて、BOUNDARY
欄の「入力」は内部論理マクロ22の入力ピンを表わし
ており、「出力」は出力ピンを表わし、「−」はそれ以
外のものを表わしている。このBOUNDARY情報
は、論理シミュレーションの前処理である回路接続展開
処理より得られた情報である。
FIG. 1 is a flowchart showing a processing procedure in one embodiment of the present invention. Hereinafter, for the logic circuit of FIG.
As an input signal, input 1 in FIG. 5A and FIG.
The processing procedure according to the present embodiment will be described by taking as an example a case where the input 2 is applied. In addition, FIG.
(D), (e), (f), (g), (h) and (i)
Is a timing diagram of the signals at pins 1, 2, 3, 4, 5, 6, and 8 corresponding to the application of input 1 and input 2, respectively. FIG.
It is a figure which shows the change time corresponding to 2, 3, 4, 5, 6, and 8, the pin state value, the BOUNDARY information, and the pin table which stores the information of a propagation source. The BOUNDARY information in this pin table includes an internal logic macro 2
Information including the distinction between the two input pins and the output pins is stored. In the propagation source, information indicating which input pin of the internal logic macro 22 the latest event has passed is stored as the simulation proceeds.
In the pin table of FIG. 4, BOUNDARY
"Input" in the column represents an input pin of the internal logic macro 22, "output" represents an output pin, and "-" represents other things. This BOUNDARY information is information obtained by circuit connection development processing which is preprocessing of logic simulation.

【0014】以下に、図1、図2および図5を参照し、
内部論理マクロに注目して、信号印加によるシミュレー
ション手順について説明する。図2に示される論理回路
例において、入力1および入力2が、それぞれ時刻T1
において印加される場合について考えるものとする(図
5参照)。これにより、処理ステップ101において
は、入力1の印加に対応して、インバータ21を経由し
て内部論理マクロ22の入力ピン1には、時刻T1 にお
いてRISEイベントが生じ(図5(c)の500を参
照)、また入力2の印加に対応して、内部論理マクロ2
2の入力ピン2には、時刻T2 においてRISEイベン
トが生じる(図5(d)の501を参照)。この時点に
おいて、処理ステップ102においてはイベント残存の
有無のチェックが行われる。この例においては、時刻T
1 および時刻T2 においてRISEイベントが登録され
ているので、YES即ち残存イベントありと判定され
て、処理ステップ106に移行してイベント取り出し処
理が行われる。この場合、まず早い時刻T1 におけるR
ISEイベントが取り出される。このイベントの伝播先
は論理接続情報により与えられるが、本例においては当
該伝播先は図2より明らかなようにゲートAであるた
め、次の処理ステップ107においては、ゲートAによ
る論理ゲート演算が行われる。次いで処理ステップ10
8においては、イベント発生の有無がチェックされる
が、本例においては、ゲートAに対する入力値は、この
RISEイベントにより、0と0の組み合わせから0と
1の組み合わせに変化するが、処理ステップ106にお
ける演算結果は0であり、ゲートAのピン4における状
態値は変化することがなくイベントは消滅することにな
るため、イベントの発生なしと判定されて処理ステップ
102に戻る。次に、前記処理ステップ106におい
て、時間遅れの時刻T2 におけるRISEイベントが取
り出される。この場合には、このイベントによるゲート
Aに対する入力値の組み合わせは1と1となり、処理ス
テップ107における演算処理の結果、ピン4には時刻
T3 においてRISEイベントが発生する(図5(f)
の502を参照)。即ち、処理ステップ108において
イベント発生ありと判定されて、処理ステップ109に
移行する。処理ステップ109においては、前記BUN
DARY情報を参照して、ピン4が内部論理マクロ22
の出力ピンではないため、当該イベントは出力情報では
ないものと判定され、処理ステップ110において、当
該イベントに対応するイベント登録処理が行われる。こ
のイベント登録処理においては、変化時刻(T3 )およ
び状態値変化(RISE)等の情報が格納されるととも
に、併せて、ゲートAの入力元であるピン1およびピン
2の変化時刻が比較されて、その変化時刻の遅い方の入
力元であるピン2が、ピン4のイベントのトリガ−であ
ると判定されて、このイベントの伝播先として2が格納
される。この場合に、ピン2は内部論理マクロ22の入
力ピンであるため、そのまま格納される(図4の401
を参照)。そして、処理ステップ102のイベント残存
有無をチェックする処理に戻る。
Referring now to FIGS. 1, 2 and 5,
Focusing on the internal logic macro, a simulation procedure by signal application will be described. In the example of the logic circuit shown in FIG.
(See FIG. 5). As a result, in the processing step 101, in response to the application of the input 1, a RISE event occurs at the input pin 1 of the internal logic macro 22 via the inverter 21 at the time T1 (500 in FIG. 5C). ), And the internal logic macro 2
A RISE event occurs at the input pin 2 at time T2 (see 501 in FIG. 5D). At this point, in process step 102, a check is made to see if any event remains. In this example, the time T
Since the RISE event has been registered at 1 and at time T2, YES is determined, that is, there is a remaining event, and the routine proceeds to the processing step 106, where the event extracting process is performed. In this case, first, R at early time T1
An ISE event is retrieved. The propagation destination of this event is given by the logical connection information. In this example, since the propagation destination is the gate A as is clear from FIG. 2, the logical gate operation by the gate A is performed in the next processing step 107. Done. Then processing step 10
At step 8, the presence or absence of the occurrence of an event is checked. In this example, the input value to the gate A changes from the combination of 0 and 0 to the combination of 0 and 1 due to the RISE event. Is 0, the state value at the pin 4 of the gate A does not change, and the event disappears. Therefore, it is determined that no event has occurred, and the process returns to the processing step 102. Next, in the processing step 106, the RISE event at the time delay T2 is extracted. In this case, the combination of the input values to the gate A due to this event is 1 and 1, and as a result of the arithmetic processing in the processing step 107, a RISE event occurs at the pin 4 at the time T3 (FIG. 5 (f)).
502)). That is, it is determined in step 108 that an event has occurred, and the process proceeds to step 109. In processing step 109, the BUN
Referring to the DARY information, pin 4 is
Therefore, it is determined that the event is not output information, and an event registration process corresponding to the event is performed in processing step 110. In this event registration process, information such as a change time (T3) and a change in state value (RISE) are stored, and the change times of pins 1 and 2 which are the input sources of the gate A are compared. It is determined that the pin 2 which is the input source whose change time is later is the trigger of the event of the pin 4, and 2 is stored as the propagation destination of this event. In this case, since pin 2 is an input pin of the internal logic macro 22, it is stored as it is (401 in FIG. 4).
See). Then, the process returns to the process of checking whether or not the event remains in the processing step 102.

【0015】処理ステップ102においてイベント残存
ありの判定を受けて、処理ステップ106においては、
今登録が行われたピン4のイベントが取り出され、次い
で処理ステップ107において、論理接続情報により、
ゲートBおよびゲートDによる演算処理が行われるが、
この演算処理によりゲートDのピン5は変化することな
くイベントは消滅し、ゲートBのピン6は、時刻T4 に
おいて1から0に変化する(図5(h)の503を参
照)。即ち、処理ステップ108においてイベント発生
ありと判定されて、処理ステップ109に移行する。処
理ステップ109においては、前記BUNDARY情報
を参照して、ピン6が内部論理マクロ22の出力ピンで
はないため、前述の場合と同様に、当該イベントは出力
情報ではないものと判定され、処理ステップ110にお
いて、当該イベントに対応するイベント登録処理が行わ
れる。なお、このゲートBは1入力であるため、ピン6
のイベントのトリガーがピン4であることは、変化時刻
情報を見るまでもないことである。図4より明らかなよ
うに、ピン4のBUNDARY情報は「−」であるた
め、伝播元情報に格納されている番号2がピン6の伝播
元情報にコピーされる(図4の402を参照)。
In response to the determination that there is an event remaining in processing step 102, in processing step 106,
The event of pin 4 that has just been registered is extracted, and then in processing step 107, the logical connection information
The arithmetic processing by the gate B and the gate D is performed,
By this operation, the event disappears without changing the pin 5 of the gate D, and the pin 6 of the gate B changes from 1 to 0 at time T4 (see 503 in FIG. 5H). That is, it is determined in step 108 that an event has occurred, and the process proceeds to step 109. In the processing step 109, referring to the BUNDARY information, since the pin 6 is not the output pin of the internal logic macro 22, it is determined that the event is not the output information as in the case described above. In, an event registration process corresponding to the event is performed. Since this gate B has one input, the pin 6
That the event is triggered by the pin 4 means that it is not necessary to look at the change time information. As is clear from FIG. 4, since the BUNDARY information of the pin 4 is “−”, the number 2 stored in the transmission source information is copied to the transmission source information of the pin 6 (see 402 in FIG. 4). .

【0016】そして、再度処理ステップ102に戻り、
イベント残存の有無がチェックされる。イベント残存あ
りの判定を受けて、処理ステップ106においては、今
登録が行われたピン6のイベントが取り出され、次いで
処理ステップ107において、論理接続情報により、ゲ
ートCによる演算処理が行われるが、この演算処理によ
りゲートCのピン8は、時刻T5 において0から1に変
化する(図5(i)の504を参照)。即ち、処理ステ
ップ108においてイベント発生ありと判定されて、処
理ステップ109に移行する。処理ステップ109にお
いては、前記BUNDARY情報を参照して、ピン8が
内部論理マクロ22の出力ピンであるために(図4の4
03を参照)、当該イベントは出力情報であるものと判
定されて処理ステップ111に移行する、処理ステップ
111においては、入力元の変化時刻チェックにより、
ピン8のRISEイベントのトリガーがピン6のイベン
トであり、ピン6のイベントはピン2からイベントの伝
播によるものであることが伝播元情報により与えられる
(図4の403を参照)。よって、遅延データベースか
らピン2からピン8までの遅延データが参照される。こ
の場合に、本発明においては、この検索を高速にて行う
ために、ハッシュテーブル11を介して遅延データベー
12より当該遅延データが参照される。次いで処理ス
テップ112においては、前記遅延データに従ってスケ
ジューリングデータの処理が行われ、その処理後におい
て所定のシミュレーション結果が出力される。
Then, returning to the processing step 102 again,
The presence or absence of the event is checked. In response to the determination that the event remains, in step 106, the event of the pin 6 that has just been registered is extracted, and then in step 107, the arithmetic processing by the gate C is performed based on the logical connection information. By this operation, the pin 8 of the gate C changes from 0 to 1 at the time T5 (see 504 in FIG. 5I). That is, it is determined in step 108 that an event has occurred, and the process proceeds to step 109. In the processing step 109, referring to the BUNDARY information, since the pin 8 is the output pin of the internal logic macro 22, (4 in FIG. 4)
03), the event is determined to be output information, and the process proceeds to processing step 111. In processing step 111, the change time of the input source is checked.
The trigger of the RISE event of the pin 8 is the event of the pin 6, and the propagation source information gives that the event of the pin 6 is caused by the propagation of the event from the pin 2 (see 403 in FIG. 4). Therefore, the delay data from pin 2 to pin 8 is referred to from the delay database. In this case, in the present invention, in order to perform this search at high speed, the delay data is referred to from the delay database 12 via the hash table 11 . Next, in processing step 112 , scheduling data is processed according to the delay data, and after the processing, a predetermined simulation result is output.

【0017】そして処理ステップ102に戻るが、この
時点においては残存イベントも存在せず、スケジューリ
ングデータも存在しないために、シミュレーション処理
は終了(EXIT104)する。
Then, the process returns to the processing step 102. At this point, since there is no remaining event and no scheduling data exists, the simulation process ends (EXIT 104).

【0018】[0018]

【発明の効果】以上説明したように、本発明は、論理回
路と等価な論理回路モデルを計算機上に構築し、前記論
理回路に対する入力検査系列信号を上記論理回路モデル
に印加し、論理シミュレーションにより、その動作結果
を表示出力する論理シミュレーション方法に適用され
て、内部論理マクロの回路内を伝播するイベントのピン
経過情報を有し、当該内部論理マクロの出力ピンの伝播
してくるイベントに対応して、前記ピン経過情報を参照
して前記内部論理マクロのピン間遅延データベースを検
索し、当該検索データを参照して遅延を割付けることに
より、ピンtoピンの遅延を誤差なく反映した論理シミ
ュレーションを行うことが可能になるとともに、既存の
論理回路接続を流用することができ、なお且つ余分な演
算処理が不要となるために、論理シミュレーションに要
する処理時間を圧縮することができるという効果があ
る。
As described above, according to the present invention, a logic circuit model equivalent to a logic circuit is constructed on a computer, an input test sequence signal for the logic circuit is applied to the logic circuit model, and a logic simulation is performed. Is applied to a logic simulation method of displaying and outputting the operation result, and has pin progress information of an event propagating in the circuit of the internal logic macro, and corresponds to an event propagating at an output pin of the internal logic macro. By searching the inter-pin delay database of the internal logic macro with reference to the pin progress information and assigning a delay with reference to the search data, a logic simulation that reflects the pin-to-pin delay without error is performed. Can be performed, existing logic circuit connections can be used, and no extra arithmetic processing is required. In order, there is an effect that it is possible to compress the processing time required for logic simulation.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例における論理シミュレーショ
ンの流れ図である。
FIG. 1 is a flowchart of a logic simulation according to an embodiment of the present invention.

【図2】本実施例を適用する論理回路例を示す図であ
る。
FIG. 2 is a diagram illustrating an example of a logic circuit to which the present embodiment is applied.

【図3】本実施例における遅延データベース例を示す図
である。
FIG. 3 is a diagram illustrating an example of a delay database according to the present embodiment.

【図4】本実施例を適用する論理回路例のピン情報テー
ブルを示す図である。
FIG. 4 is a diagram illustrating a pin information table of a logic circuit example to which the present embodiment is applied;

【図5】本実施例を適用する論理回路例の動作を示すタ
イミング図である。
FIG. 5 is a timing chart showing an operation of an example of a logic circuit to which the present embodiment is applied.

【図6】従来例における論理シミュレーションの流れ図
である。
FIG. 6 is a flowchart of a logic simulation in a conventional example.

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

11 ハッシュテーブル 12 遅延データベース 21 インバータ 22 内部論理マクロ 101〜112、601〜610 処理ステップ DESCRIPTION OF SYMBOLS 11 Hash table 12 Delay database 21 Inverter 22 Internal logic macro 101-112, 601-610 Processing steps

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 17/50──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 17/50

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のゲートなどから成る論理回路と等
価な論理回路モデルを計算機上に構築し、入力パターン
信号の時系列変化に対応して、各時刻で、前記各ゲート
の入出力ピンに発生する変化すなわちイベント発生の時
刻を示すスケジュールデータに基づきイベント登録を行
い、この登録されたイベントが順に取り出され残存しな
くなるまで、前記論理回路の論理接続情報を参照して前
記各ゲートの演算処理を行い、前記各ゲートの入出力ピ
ンの次時刻のイベント発生をチェックし、イベント発生
した前記各ゲートの遅延情報を検索し、この遅延情報に
基づき前記スケジュールデータを設定するスケジューリ
ング処理を行い、前記論理回路の動作結果を表示出力す
る論理シミュレーション方法において、 前記各時刻で、前記イベント発生のチェック後、複数の
ゲートなどから成り既検証の論理回路要素の1つとして
用いられる内部論理マクロとしての入出力ピンデータを
示すBOUNDARY情報を検索し、イベント発生した
前記各ゲートの出力ピンが前記内部論理マクロとしての
出力ピンでないとき次時刻のイベント登録を行うことを
特徴とする 論理シミュレーション方法。
1. A logic circuit comprising a plurality of gates and the like.
A costly logic circuit model on a computer
At each time, corresponding to the time series change of the signal, each of the gates
Changes that occur at the input / output pins, that is, when an event occurs
Event registration based on schedule data
This registered event is taken out in order and remains
Until the logic connection information of the logic circuit is
Performs the arithmetic processing of each gate, and the input / output pins of each gate
Check the event occurrence at the next time of the
Search for the delay information of each of the gates,
A schedule for setting the schedule data based on the schedule
And output and display the operation result of the logic circuit.
In the logic simulation method, after checking the occurrence of the event at each time, a plurality of
As one of the verified logic circuit elements consisting of gates etc.
Input / output pin data as internal logic macro used
Search for the indicated BOUNDARY information and an event occurred
The output pin of each of the gates serves as the internal logic macro.
When not an output pin, register an event at the next time.
A featured logic simulation method.
【請求項2】 前記イベント登録のとき、イベント発生
したピンに対応して、発生イベントの変化時刻,状態値
変化情報,伝搬元情報とが前記内部論理マクロ内のピン
経過情報として格納され、前記イベント発生のチェック
後に前記BOUNDARY情報と共に検索される、請求
項1記載の論理シミュレーション方法。
2. When an event is registered, an event occurs.
Change time and status value of the event corresponding to the pin
The change information and the propagation source information correspond to the pins in the internal logic macro.
Stored as progress information to check for the occurrence of the event
The logic simulation method according to claim 1 , wherein the logic simulation method is searched later together with the BOUNDARY information .
JP6227821A 1994-09-22 1994-09-22 Logic simulation method Expired - Fee Related JP2785708B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6227821A JP2785708B2 (en) 1994-09-22 1994-09-22 Logic simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6227821A JP2785708B2 (en) 1994-09-22 1994-09-22 Logic simulation method

Publications (2)

Publication Number Publication Date
JPH0896016A JPH0896016A (en) 1996-04-12
JP2785708B2 true JP2785708B2 (en) 1998-08-13

Family

ID=16866909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6227821A Expired - Fee Related JP2785708B2 (en) 1994-09-22 1994-09-22 Logic simulation method

Country Status (1)

Country Link
JP (1) JP2785708B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60178545A (en) * 1984-02-24 1985-09-12 Hitachi Ltd Network data processing method
JPH0642253B2 (en) * 1987-10-07 1994-06-01 富士通株式会社 Critical path analysis processing method
JPH02122337A (en) * 1988-10-31 1990-05-10 Pfu Ltd accelerator
JPH04112271A (en) * 1990-08-31 1992-04-14 Fujitsu Ltd Delay analysis method
JPH05108753A (en) * 1991-10-21 1993-04-30 Oki Electric Ind Co Ltd Logical simulation system

Also Published As

Publication number Publication date
JPH0896016A (en) 1996-04-12

Similar Documents

Publication Publication Date Title
US7117466B2 (en) System and method for correlated process pessimism removal for static timing analysis
US8468475B2 (en) Conversion of circuit description to an abstract model of the circuit
US5392227A (en) System and method for generating electronic circuit simulation models having improved accuracy
US6922665B1 (en) Method and system for device-level simulation of a circuit design for a programmable logic device
JP3851357B2 (en) Timing characteristic extraction method for transistor circuit, storage medium storing timing characteristic library, LSI design method, and gate extraction method
US5909374A (en) System and method for verifying logic circuit based on signal line set affecting internal signal
US6560571B1 (en) Method and apparatus for prioritizing the order in which checks are performed on a node in an integrated circuit
US6223333B1 (en) Pattern matching method, timing analysis method and timing analysis device
US6321173B1 (en) System and method for efficient verification of functional equivalence between design models
JP2785708B2 (en) Logic simulation method
US6711728B1 (en) Function synthesizing method and apparatus, and recording medium on which program of said method is recorded
US6041168A (en) High-speed delay verification apparatus and method therefor
JP3105782B2 (en) Logic generation method for electronic circuits
JP2872216B1 (en) Macro design method
JP2845154B2 (en) How to create a logic simulation model
KR19990068124A (en) Method and apparatus for preparing a logic simulation model and recording medium for storing the same
JP3652220B2 (en) Logic circuit verification device, logic circuit verification method, and recording medium storing logic circuit verification program
JP3123982B2 (en) Logic simulation method
JP3087319B2 (en) Timing verification system
JP2996153B2 (en) ASIC verification method
JPH10116300A (en) Delay verifying method for logic circuit
JPH05143667A (en) Logical simulation system
JPH11145295A (en) Automatic disposing and wiring method
JP2002083007A (en) Device and method for verifying logic of event-driven simulator
JPH05128200A (en) Logic synthesis method and apparatus

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980428

LAPS Cancellation because of no payment of annual fees