JPH04337871A - Logical simulation method and logical simulator - Google Patents

Logical simulation method and logical simulator

Info

Publication number
JPH04337871A
JPH04337871A JP3110211A JP11021191A JPH04337871A JP H04337871 A JPH04337871 A JP H04337871A JP 3110211 A JP3110211 A JP 3110211A JP 11021191 A JP11021191 A JP 11021191A JP H04337871 A JPH04337871 A JP H04337871A
Authority
JP
Japan
Prior art keywords
time
internal
event
internal time
external signal
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
JP3110211A
Other languages
Japanese (ja)
Inventor
Takamasa Okumura
隆昌 奥村
Masahiko Sudo
正彦 須藤
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.)
Fujitsu VLSI Ltd
Fujitsu Ltd
Original Assignee
Fujitsu VLSI Ltd
Fujitsu 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 Fujitsu VLSI Ltd, Fujitsu Ltd filed Critical Fujitsu VLSI Ltd
Priority to JP3110211A priority Critical patent/JPH04337871A/en
Publication of JPH04337871A publication Critical patent/JPH04337871A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To shorten logical simulation time by preventing an event processing from being executed when there is no event on a logical simulator. CONSTITUTION:When the internal time of an internal time storage part 1 coincides with the change time of an external signal input time storage part 2, an external signal input circuit part 3 inputs the signal change of external signal data. An event processing circuit part 4 inputs logical circuit data and a signal change, calculates the internal signal change of LSI, which occurs after internal time at that time, and registers the occurred internal signal change as a new event. An event counter 5 counts the number of remaining events. An internal time alteration circuit part 6 updates internal time to next change time stored in the external signal input time storage part 2 or to time obtained by adding prescribed time to internal time at that time whether the event counter 5 is zero or not when the event processing of all the events which are to be processed at internal time at that time is terminated.

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 a logic simulator for performing logic verification when designing a semiconductor logic integrated circuit. In the design of semiconductor logic integrated circuits, logic simulations are performed to verify the logic design work and to know the states of signals inside the circuit.

【0002】しかし、近年の半導体論理集積回路の規模
の増大に伴い、論理シミュレーションに要する時間は増
大する一方である。このため、論理シミュレーション時
間の短縮化を図る必要がある。
However, as the scale of semiconductor logic integrated circuits increases in recent years, the time required for logic simulation continues to increase. Therefore, it is necessary to reduce the logic simulation time.

【0003】0003

【従来の技術】従来の論理シミュレータの一時刻におけ
る処理を図4に示す。まず、ステップ11で図5に示す
イベント処理を実行し、ステップ12で期待値とシミュ
レーション結果との比較を行うストローブ処理を行う。 次のステップ13で信号変化の検出を装置外部へ通知す
るトレース処理を行った後、ステップ14で内部時刻を
そのときの内部時刻に一定時間だけ加算した時刻に更新
する現在時刻更新処理を行い、その更新した内部時刻が
終了時刻でないときにはステップ11〜14の処理を繰
り返し実行するようになっている。
2. Description of the Related Art FIG. 4 shows the processing of a conventional logic simulator at one time. First, in step 11, event processing shown in FIG. 5 is executed, and in step 12, strobe processing is executed to compare the expected value with the simulation result. In the next step 13, a trace process is performed to notify the outside of the device of the detection of a signal change, and in a step 14, a current time update process is performed to update the internal time to a time obtained by adding a certain amount of time to the internal time at that time, When the updated internal time is not the end time, steps 11 to 14 are repeatedly executed.

【0004】イベント処理は図5に示すように、ステッ
プ21で入力信号、即ち、外部信号データの信号変化が
あるか否かを判定し、入力信号があるときにはステップ
22でその入力信号をイベントとして登録する。ステッ
プ23では現在時刻に処理すべきイベント、即ち、入力
信号又はLSIの内部信号変化があるか否かを判定する
。そして、ステップ23で処理すべきイベントがあると
判定すると、ステップ24で各イベントによる信号変化
演算を行い、現在時刻以降に発生するLSIの内部信号
変化を算出するとともに、その発生した内部信号変化を
新たなイベントとして登録するようになっている。
As shown in FIG. 5, in event processing, it is determined in step 21 whether there is a signal change in the input signal, that is, external signal data, and if there is an input signal, the input signal is treated as an event in step 22. register. In step 23, it is determined whether there is an event to be processed at the current time, ie, a change in the input signal or internal signal of the LSI. If it is determined in step 23 that there is an event to be processed, then in step 24 signal change calculations due to each event are performed to calculate the internal signal changes of the LSI that occur after the current time, and also calculate the internal signal changes that have occurred. It is now registered as a new event.

【0005】[0005]

【発明が解決しようとする課題】従って、従来の論理シ
ミュレータでは、ステップ14の現在時刻更新処理にて
内部時刻はそのときの内部時刻に一定時間だけ加算した
時刻に更新され、この更新された内部時刻にイベントが
ない、即ち、外部信号データの信号変化又はLSIの内
部信号変化がない場合にもイベント処理が行われ、スト
ローブ処理、トレース処理も実行される。しかも、これ
が全ての時刻について行われるため、イベントがない時
のイベント処理に要する時間は無視できないほど増大す
るという問題点があり、回路状態が早い時刻に落ち着い
たときには、これらの処理により論理シミュレーション
の処理速度が低下するという問題点があった。
[Problem to be Solved by the Invention] Therefore, in the conventional logic simulator, in the current time update process in step 14, the internal time is updated to a time obtained by adding a certain amount of time to the internal time at that time, and this updated internal time is Event processing is performed even when there is no event at the time, that is, there is no signal change in external signal data or internal signal change in the LSI, and strobe processing and trace processing are also performed. Moreover, since this is done at all times, there is a problem that the time required for event processing when there is no event increases to a non-negligible extent, and when the circuit state has settled down at an early time, these processes will slow down the logic simulation. There was a problem that the processing speed decreased.

【0006】本発明は上記問題点を解決するためになさ
れたものであって、論理シミュレータ内にイベントがな
い場合、イベント処理が実行されるのを阻止することに
より、論理シミュレーションに要する時間の短縮化を図
ることができ、これにより、半導体論理集積回路の論理
設計期間を短縮できることを目的とする。
The present invention has been made to solve the above-mentioned problems, and it is possible to reduce the time required for logic simulation by preventing event processing from being executed when there is no event in the logic simulator. It is an object of the present invention to reduce the logic design period for semiconductor logic integrated circuits.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
、第1発明はLSIの論理回路データと、このLSIに
入力しその動作を調べるための外部信号データとを入力
し、そのときの内部時刻における外部信号データの信号
変化又はLSIの内部信号変化をそれぞれイベントとし
、そのときの内部時刻における各イベントに基づいてそ
の内部時刻以降に発生するLSIの内部信号変化を算出
するとともに、その発生した内部信号変化を新たなイベ
ントとして登録した後、そのときの内部時刻を順次更新
するようにした論理シミュレーション方法において、論
理シミュレーションの開始時期を基準として発生したイ
ベントを順次加算するとともに、処理したイベントを減
算し、任意の内部時刻におけるイベント数が零のときに
は内部時刻を外部信号データにおける次の信号変化時刻
に更新し、任意の内部時刻におけるイベント数が零以外
のときには内部時刻をそのときの内部時刻に一定時間だ
け加算した時刻に更新するようにした。
[Means for Solving the Problems] In order to achieve the above object, the first invention provides a method for inputting logic circuit data of an LSI and external signal data for inputting to this LSI and examining its operation, and A signal change in external signal data or an internal signal change in the LSI at a time is defined as an event, and based on each event at the internal time at that time, the internal signal change in the LSI that occurs after the internal time is calculated, and the change in the internal signal of the LSI that occurs after that internal time is calculated. In a logic simulation method that registers an internal signal change as a new event and then sequentially updates the internal time at that time, events that occur are sequentially added based on the start time of the logic simulation, and processed events are When the number of events at any internal time is zero, the internal time is updated to the next signal change time in the external signal data, and when the number of events at any internal time is other than zero, the internal time is updated to the internal time at that time. It is now updated at a time when a certain amount of time is added to the time.

【0008】又、第2発明は、LSIの論理回路データ
と、このLSIに入力しその動作を調べるための外部信
号データとに基づいて論理シミュレーションを実行する
論理シミュレータにおいて、論理シミュレーションにお
ける内部時刻を記憶する内部時刻記憶部と、外部信号デ
ータにおける各信号変化の変化時刻を順次記憶する外部
信号入力時刻記憶部と、内部時刻記憶部に記憶されたそ
のときの内部時刻と外部信号入力時刻記憶部に記憶され
た外部信号の変化時刻が一致したとき、外部信号データ
の信号変化を入力する外部信号入力回路部と、前記論理
回路データと外部信号入力回路部からの外部信号データ
とを入力し、内部時刻記憶部に記憶されたそのときの内
部時刻における外部信号データの信号変化又はLSIの
内部信号変化をそれぞれイベントとし、そのときの内部
時刻における各イベントに基づいてその内部時刻以降に
発生するLSIの内部信号変化を算出するとともに、そ
の発生した内部信号変化を新たなイベントとして登録す
るイベント処理回路部と、論理シミュレーションの開始
時期を基準として発生したイベントを順次加算するとと
もに、イベント処理回路部により処理されたイベントを
順次減算するイベントカウンタと、内部時刻記憶部に記
憶されたそのときの内部時刻において処理すべき全ての
イベントについてイベント処理回路部による処理が終了
したとき、イベントカウンタのカウント値が零のときに
は内部時刻記憶部の内部時刻を前記外部信号入力時刻記
憶部に記憶された次の変化時刻に更新し、イベントカウ
ンタのカウント値が零以外のときには内部時刻記憶部の
内部時刻をそのときの内部時刻に一定時間だけ加算した
時刻に更新する内部時刻変更回路部とを備えて構成した
[0008] The second invention also provides a logic simulator that executes logic simulation based on logic circuit data of an LSI and external signal data input to the LSI to check its operation. an internal time storage section for storing, an external signal input time storage section for sequentially storing change times of each signal change in external signal data, and an internal time and external signal input time storage section for storing the current internal time and external signal input time stored in the internal time storage section. an external signal input circuit section that inputs a signal change of the external signal data when change times of the external signal stored in the external signal input circuit section match, and inputs the logic circuit data and the external signal data from the external signal input circuit section; A signal change in external signal data or an internal signal change of the LSI at the current internal time stored in the internal time storage unit is defined as an event, and an LSI signal that occurs after that internal time based on each event at the current internal time. The event processing circuit calculates internal signal changes and registers the generated internal signal changes as new events.The event processing circuit calculates internal signal changes and registers the internal signal changes as new events. An event counter that sequentially subtracts processed events, and when the event processing circuit unit completes processing for all events to be processed at the current internal time stored in the internal time storage unit, the count value of the event counter is When it is zero, the internal time in the internal time storage section is updated to the next change time stored in the external signal input time storage section, and when the count value of the event counter is other than zero, the internal time in the internal time storage section is updated at that time. and an internal time changing circuit unit that updates the internal time to a time obtained by adding a certain amount of time to the internal time.

【0009】[0009]

【作用】第1及び第2発明によれば、論理シミュレーシ
ョンの開始時期を基準として発生したイベントを順次加
算するとともに、処理したイベントを減算することによ
り一時刻における回路中のイベント数を監視し、一時刻
におけるイベント数が零のときには内部時刻が外部信号
データにおける次の信号変化時刻に更新することにより
、内部時刻は一定時間ずつ進むのではなく、次の信号変
化時刻までジャンプする。従って、次の信号変化時刻ま
での間においてイベント処理を行わなくて済むばかりで
なく、イベント処理に続くストローブ処理及びトレース
処理を行わなくて済み、回路内部にイベントがない場合
の論理シミュレーションの高速化が可能となる。
[Operation] According to the first and second inventions, the number of events in a circuit at one time is monitored by sequentially adding events that have occurred based on the start time of a logic simulation and subtracting processed events; When the number of events at one time is zero, the internal time is updated to the next signal change time in the external signal data, so that the internal time jumps to the next signal change time instead of advancing by a fixed time. Therefore, not only is there no need to perform event processing until the next signal change time, there is also no need to perform strobe processing and trace processing following event processing, which speeds up logic simulation when there are no events inside the circuit. becomes possible.

【0010】0010

【実施例】以下、本発明を具体化した一実施例を図1〜
図3に従って説明する。図1に示すように、論理シミュ
レータ10は、内部時刻記憶部1、外部信号入力時刻記
憶部2、外部信号入力回路部3、イベント処理回路部4
、イベントカウンタ5、内部時刻変更回路部6、及び信
号変化出力回路部7を備えて構成されており、LSIの
論理回路データと、このLSIに入力しその動作を調べ
るための外部信号データとに基づいて論理シミュレーシ
ョンを実行するようになっている。
[Example] Hereinafter, an example embodying the present invention is shown in Figs.
This will be explained according to FIG. As shown in FIG. 1, the logic simulator 10 includes an internal time storage section 1, an external signal input time storage section 2, an external signal input circuit section 3, and an event processing circuit section 4.
, an event counter 5, an internal time change circuit section 6, and a signal change output circuit section 7. It is configured to include an event counter 5, an internal time change circuit section 6, and a signal change output circuit section 7. It is designed to perform logical simulations based on

【0011】即ち、内部時刻記憶部1は論理シミュレー
ションにおけるそのときの内部時刻(以下、現在時刻と
いう)を記憶しており、外部信号入力回路部3及びイベ
ント処理回路部4に現在時刻を出力する。外部信号入力
時刻記憶部2は外部信号入力回路部3を介して入力され
る外部信号データにおける各信号変化、即ち、立ち上が
り又は立ち下がりエッジの時刻を順次記憶するようにな
っており、外部信号入力回路部3及び内部時刻変更回路
部6にその記憶した信号変化時刻を出力するようになっ
ている。
That is, the internal time storage section 1 stores the internal time at that time in the logic simulation (hereinafter referred to as the current time), and outputs the current time to the external signal input circuit section 3 and the event processing circuit section 4. . The external signal input time storage section 2 is configured to sequentially store the times of each signal change, that is, the rising or falling edge, in the external signal data inputted via the external signal input circuit section 3. The stored signal change time is output to the circuit section 3 and the internal time change circuit section 6.

【0012】外部信号入力回路部3は前記内部時刻記憶
部1に記憶された現在時刻と外部信号入力時刻記憶部2
に記憶された信号変化時刻とが一致したとき、外部信号
データの信号変化、即ち、立ち上がり又は立ち下がりエ
ッジを入力してイベント処理回路部4に出力する。イベ
ント処理回路部4は論理回路データを入力するとともに
、前記外部信号入力回路部3からの信号変化を入力し、
内部時刻記憶部1に記憶された現在時刻における外部信
号データの信号変化又はLSIの内部信号変化をそれぞ
れイベントとし、現在時刻における各イベントに基づい
てその現在時刻以降に発生するLSIの内部信号変化を
算出するとともに、その発生した内部信号変化を新たな
イベントとして登録するようになっている。
The external signal input circuit section 3 receives the current time stored in the internal time storage section 1 and the external signal input time storage section 2.
When the signal change time stored in the external signal data coincides with the signal change time, the signal change of the external signal data, that is, the rising or falling edge is inputted and output to the event processing circuit section 4. The event processing circuit section 4 inputs logic circuit data as well as signal changes from the external signal input circuit section 3,
A signal change in external signal data or an internal signal change in the LSI at the current time stored in the internal time storage unit 1 is defined as an event, and an internal signal change in the LSI that occurs after the current time is determined based on each event at the current time. At the same time, the internal signal change that occurs is registered as a new event.

【0013】イベント処理回路部4に備えられたイベン
トカウンタ5は論理シミュレーションの開始時期を基準
として発生したイベントを順次加算するとともに、イベ
ント処理回路部4により処理されたイベントを順次減算
するようになっている。そして、イベントカウンタ5は
前記内部時刻変更回路部6にそのときどきのイベント数
を出力するようになっている。
The event counter 5 provided in the event processing circuit section 4 sequentially adds the events that have occurred based on the start time of the logic simulation, and sequentially subtracts the events processed by the event processing circuit section 4. ing. The event counter 5 outputs the number of events at any given time to the internal time change circuit section 6.

【0014】信号変化出力回路部7は前記内部時刻記憶
部1に記憶された現在時刻において処理すべき全てのイ
ベントについてイベント処理回路部4による処理が終了
したとき、イベント処理回路部4による処理結果と期待
値とを比較するストローブ処理を実行するとともに、ト
レース処理を実行し、トレースリスト8を出力するよう
になっている。
The signal change output circuit section 7 outputs the processing results of the event processing circuit section 4 when the event processing circuit section 4 has finished processing all the events to be processed at the current time stored in the internal time storage section 1. In addition to executing a strobe process to compare the value and an expected value, a trace process is executed and a trace list 8 is output.

【0015】そして、内部時刻変更回路部6は前記内部
時刻記憶部1に記憶された現在時刻における信号変化出
力回路部7による処理が終了したとき、イベントカウン
タ5のカウント値が零のときには内部時刻記憶部1の現
在時刻を前記外部信号入力時刻記憶部2に記憶された次
の変化時刻に更新し、イベントカウンタ5のカウント値
が零以外のときには内部時刻記憶部1の現在時刻をその
ときの現在時刻に一定時間だけ加算した時刻に更新する
ようになっている。
When the signal change output circuit section 7 completes processing at the current time stored in the internal time storage section 1, the internal time change circuit section 6 changes the internal time when the count value of the event counter 5 is zero. The current time in the storage unit 1 is updated to the next change time stored in the external signal input time storage unit 2, and when the count value of the event counter 5 is other than zero, the current time in the internal time storage unit 1 is updated to the current time in the internal time storage unit 1. It is updated to a time that is a certain amount of time added to the current time.

【0016】次に上記のように構成された論理シミュレ
ータ10が実施する一時刻の処理を図2に従って説明す
ると、イベント処理回路部4によりステップ31でイベ
ント処理が実行され、信号変化出力回路部7によりステ
ップ12のストローブ処理及びステップ13のトレース
処理が実行される。この後、内部時刻変更回路部6によ
りステップ32でイベントカウンタ5のカウント値が零
か否かが判定される。そして、このカウント値が零であ
るときにはステップ33にて内部時刻が次の外部信号変
化時刻に更新され、カウント値が零以外であるときには
ステップ34にて内部時刻が一定時間だけ加算した時刻
に更新される。
Next, the process performed at one time by the logic simulator 10 configured as described above will be explained with reference to FIG. Accordingly, the strobe process in step 12 and the trace process in step 13 are executed. Thereafter, the internal time change circuit unit 6 determines in step 32 whether or not the count value of the event counter 5 is zero. If this count value is zero, the internal time is updated to the next external signal change time in step 33, and if the count value is other than zero, the internal time is updated to the time added by a certain amount of time in step 34. be done.

【0017】又、図3はイベント処理回路部4のイベン
ト処理を示している。まず、ステップ41で入力信号、
即ち、外部信号データの信号変化があるか否かを判定し
、入力信号があるときにはステップ42でその入力信号
をイベントとして登録するとともに、ステップ43でイ
ベントカウンタ5のカウント値に「1」を加算する。 ステップ41〜43は入力信号の数だけ繰り返し実行さ
れる。
Further, FIG. 3 shows event processing by the event processing circuit section 4. First, in step 41, the input signal,
That is, it is determined whether or not there is a signal change in the external signal data, and if there is an input signal, the input signal is registered as an event in step 42, and "1" is added to the count value of the event counter 5 in step 43. do. Steps 41 to 43 are repeatedly executed by the number of input signals.

【0018】そして、ステップ44では現在時刻に処理
すべきイベント、即ち、入力信号又はLSIの内部信号
変化があるか否かを判定する。そして、ステップ44で
処理すべきイベントがあると判定すると、ステップ45
でイベントカウンタ5のカウント値から「1」を減算す
るとともに、ステップ46にてそのイベントによる信号
変化演算を行って現在時刻以降に発生するLSIの内部
信号変化を算出する。ステップ47でイベントが発生し
た、即ち、内部信号変化があったか否かを判定し、イベ
ントが発生したと判定すると、ステップ48でその発生
したイベントを登録するとともに、ステップ49でイベ
ントカウンタ5のカウント値に「1」を加算する。ステ
ップ44〜49は現在時刻に処理すべきイベントの数だ
け繰り返し実行される。
Then, in step 44, it is determined whether there is an event to be processed at the current time, ie, a change in an input signal or an internal signal of the LSI. If it is determined in step 44 that there is an event to be processed, step 45
At step 46, "1" is subtracted from the count value of the event counter 5, and at step 46, a signal change operation due to the event is performed to calculate the internal signal change of the LSI that occurs after the current time. In step 47, it is determined whether an event has occurred, that is, whether there has been an internal signal change. If it is determined that an event has occurred, the event that has occurred is registered in step 48, and the count value of the event counter 5 is registered in step 49. Add "1" to. Steps 44 to 49 are repeatedly executed as many times as there are events to be processed at the current time.

【0019】このように、本実施例ではイベント処理回
路部4にイベントカウンタ5を設け、信号変化出力回路
部7による処理が終了したとき、イベントカウンタ5の
カウント値が零のときには内部時刻記憶部1の現在時刻
を外部信号入力時刻記憶部2に記憶された次の変化時刻
に更新するようにしたので、内部時刻記憶部1に記憶さ
れる現在時刻は一定時間ずつ進むのではなく、次の外部
信号データの信号変化時刻までジャンプすることなる。 従って、次の信号変化時刻までの間においてイベント処
理を行わなくて済むばかりでなく、イベント処理に続く
ストローブ処理及びトレース処理を行わなくて済むため
、回路内部にイベントがない場合の論理シミュレーショ
ンに要する時間を短縮化して論理シミュレーションを高
速化することができ、これにより、半導体論理集積回路
の論理設計期間を短縮化することができる。
As described above, in this embodiment, the event counter 5 is provided in the event processing circuit section 4, and when the processing by the signal change output circuit section 7 is completed and the count value of the event counter 5 is zero, the internal time storage section Since the current time of 1 is updated to the next change time stored in the external signal input time storage unit 2, the current time stored in the internal time storage unit 1 does not advance by a fixed amount of time, but rather changes to the next change time stored in the external signal input time storage unit 2. This results in a jump to the signal change time of the external signal data. Therefore, not only is there no need to perform event processing until the next signal change time, but there is also no need to perform strobe processing and trace processing following event processing, which is required for logic simulation when there is no event inside the circuit. It is possible to shorten the time and speed up logic simulation, thereby shortening the logic design period of a semiconductor logic integrated circuit.

【0020】[0020]

【発明の効果】以上詳述したように本発明によれば、論
理シミュレータ内にイベントがない場合、イベント処理
が実行されるのを阻止することにより、論理シミュレー
ションに要する時間の短縮化を図ることができ、これに
より、半導体論理集積回路の論理設計期間を短縮できる
優れた効果がある。
[Effects of the Invention] As detailed above, according to the present invention, when there is no event in the logic simulator, event processing is prevented from being executed, thereby reducing the time required for logic simulation. This has the excellent effect of shortening the logic design period for semiconductor logic integrated circuits.

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

【図1】一実施例の論理シミュレータを示すブロック図
である。
FIG. 1 is a block diagram showing a logic simulator of one embodiment.

【図2】論理シミュレータの一時刻の処理を示すフロー
チャートである。
FIG. 2 is a flowchart showing one-time processing of a logic simulator.

【図3】一実施例のイベント処理回路部の処理を示すフ
ローチャートである。
FIG. 3 is a flowchart showing processing of an event processing circuit unit of one embodiment.

【図4】従来の論理シミュレータの一時刻の処理を示す
フローチャートである。
FIG. 4 is a flowchart showing one-time processing of a conventional logic simulator.

【図5】従来のイベント処理を示すフローチャートであ
る。
FIG. 5 is a flowchart showing conventional event processing.

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

1  内部時刻記憶部 2  外部信号入力時刻記憶部 3  外部信号入力回路部 4  イベント処理回路部 5  イベントカウンタ 6  内部時刻変更回路部 7  信号変化出力回路部 1 Internal time storage unit 2 External signal input time storage section 3 External signal input circuit section 4 Event processing circuit section 5 Event counter 6 Internal time change circuit section 7 Signal change output circuit section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  LSIの論理回路データと、このLS
Iに入力しその動作を調べるための外部信号データとを
入力し、そのときの内部時刻における外部信号データの
信号変化又はLSIの内部信号変化をそれぞれイベント
とし、そのときの内部時刻における各イベントに基づい
てその内部時刻以降に発生するLSIの内部信号変化を
算出するとともに、その発生した内部信号変化を新たな
イベントとして登録した後、そのときの内部時刻を順次
更新するようにした論理シミュレーション方法において
、論理シミュレーションの開始時期を基準として発生し
たイベントを順次加算するとともに、処理したイベント
を減算し、任意の内部時刻におけるイベント数が零のと
きには内部時刻を外部信号データにおける次の信号変化
時刻に更新し、任意の内部時刻におけるイベント数が零
以外のときには内部時刻をそのときの内部時刻に一定時
間だけ加算した時刻に更新するようにしたことを特徴と
する論理シミュレーション方法。
[Claim 1] LSI logic circuit data and this LS
Input external signal data to I and check its operation, and set a signal change in the external signal data or an internal signal change of the LSI at the internal time at that time as an event, and set each event at the internal time at that time as an event. In a logic simulation method, the internal signal change of an LSI that occurs after the internal time is calculated based on the internal time, and the internal signal change that occurs is registered as a new event, and then the internal time at that time is sequentially updated. , sequentially adds the events that occurred based on the start time of the logic simulation, subtracts the processed events, and when the number of events at any internal time is zero, updates the internal time to the next signal change time in the external signal data. However, when the number of events at any internal time is other than zero, the internal time is updated to a time obtained by adding a certain amount of time to the internal time at that time.
【請求項2】  LSIの論理回路データと、このLS
Iに入力しその動作を調べるための外部信号データとに
基づいて論理シミュレーションを実行する論理シミュレ
ータにおいて、論理シミュレーションにおける内部時刻
を記憶する内部時刻記憶部(1)と、外部信号データに
おける各信号変化の変化時刻を順次記憶する外部信号入
力時刻記憶部(2)と、内部時刻記憶部(1)に記憶さ
れたそのときの内部時刻と外部信号入力時刻記憶部(2
)に記憶された外部信号の変化時刻が一致したとき、外
部信号データの信号変化を入力する外部信号入力回路部
(3)と、前記論理回路データと外部信号入力回路部(
3)からの外部信号データとを入力し、内部時刻記憶部
(1)に記憶されたそのときの内部時刻における外部信
号データの信号変化又はLSIの内部信号変化をそれぞ
れイベントとし、そのときの内部時刻における各イベン
トに基づいてその内部時刻以降に発生するLSIの内部
信号変化を算出するとともに、その発生した内部信号変
化を新たなイベントとして登録するイベント処理回路部
(4)と、論理シミュレーションの開始時期を基準とし
て発生したイベントを順次加算するとともに、イベント
処理回路部(4)により処理されたイベントを順次減算
するイベントカウンタ(5)と、内部時刻記憶部(1)
に記憶されたそのときの内部時刻において処理すべき全
てのイベントについてイベント処理回路部(4)による
処理が終了したとき、イベントカウンタ(5)のカウン
ト値が零のときには内部時刻記憶部(1)の内部時刻を
前記外部信号入力時刻記憶部(2)に記憶された次の変
化時刻に更新し、イベントカウンタ(5)のカウント値
が零以外のときには内部時刻記憶部(1)の内部時刻を
そのときの内部時刻に一定時間だけ加算した時刻に更新
する内部時刻変更回路部と(6)を備えたことを特徴と
する論理シミュレータ。
[Claim 2] LSI logic circuit data and this LS
In a logic simulator that executes logic simulation based on external signal data input to I and used to examine its operation, an internal time storage unit (1) stores internal time in logic simulation, and each signal change in external signal data. an external signal input time storage section (2) that sequentially stores the change times of
), an external signal input circuit unit (3) inputs a signal change in external signal data when the external signal change times stored in
3), and a signal change in the external signal data or an internal signal change in the LSI at the internal time stored in the internal time storage unit (1) is respectively treated as an event. An event processing circuit unit (4) that calculates the internal signal change of the LSI that occurs after the internal time based on each event at the time, and registers the generated internal signal change as a new event, and the start of logic simulation. an event counter (5) that sequentially adds events that occur based on the time period and sequentially subtracts events that have been processed by the event processing circuit section (4); and an internal time storage section (1).
When the event processing circuit section (4) has finished processing all the events to be processed at the current internal time stored in the internal time storage section (1), if the count value of the event counter (5) is zero, the internal time storage section (1) The internal time of the event counter (5) is updated to the next change time stored in the external signal input time storage section (2), and when the count value of the event counter (5) is other than zero, the internal time of the internal time storage section (1) is updated. A logic simulator comprising (6) an internal time changing circuit unit that updates the internal time to a time obtained by adding a predetermined time to the internal time at that time.
JP3110211A 1991-05-15 1991-05-15 Logical simulation method and logical simulator Pending JPH04337871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3110211A JPH04337871A (en) 1991-05-15 1991-05-15 Logical simulation method and logical simulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3110211A JPH04337871A (en) 1991-05-15 1991-05-15 Logical simulation method and logical simulator

Publications (1)

Publication Number Publication Date
JPH04337871A true JPH04337871A (en) 1992-11-25

Family

ID=14529879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3110211A Pending JPH04337871A (en) 1991-05-15 1991-05-15 Logical simulation method and logical simulator

Country Status (1)

Country Link
JP (1) JPH04337871A (en)

Similar Documents

Publication Publication Date Title
US20070186202A1 (en) Method and apparatus for insertion of filling forms within a design layout
US9305125B2 (en) Integrated circuit design timing path verification tool
JP2017204279A (en) Method of creating fpga netlist
US6463576B1 (en) Method for designing an ASIC and ASIC designing apparatus
JPH06314311A (en) Logical simulation system
JPH04337871A (en) Logical simulation method and logical simulator
JP3472067B2 (en) Design support equipment
JPH06282353A (en) Timer device having time shortening function
JP3654941B2 (en) Logic simulation method and logic simulator
JPH0612239A (en) Apparatus for detecting inaccurate result caused by division in computer alu
JPH10186001A (en) Method and device for calculating electric power consumption of electronic circuit
JPH05216953A (en) Logic simulation method and logic simulator
JP2001155047A (en) Device and method for processing logic simulation
JP2004030228A (en) Lsi simulator and simulation method
JP3621539B2 (en) Real-time data buffer device
JP2785708B2 (en) Logic simulation method
JPH05334390A (en) Device and method for detecting critical path of hardware model
JPS59148971A (en) Simulating method of logical circuit
JPH01309141A (en) Logical simulation method
JPH05197780A (en) Clock wiring system
JPH05143667A (en) Logical simulation system
JPH05189513A (en) Logical simulation method taking delay into consideration
JPH0675809A (en) Test circuit of microcomputer
JP2003217993A (en) Simulation method
JPH04156676A (en) Logical verification method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000321