JPS6215665A - Logic simulater - Google Patents
Logic simulaterInfo
- Publication number
- JPS6215665A JPS6215665A JP60154854A JP15485485A JPS6215665A JP S6215665 A JPS6215665 A JP S6215665A JP 60154854 A JP60154854 A JP 60154854A JP 15485485 A JP15485485 A JP 15485485A JP S6215665 A JPS6215665 A JP S6215665A
- Authority
- JP
- Japan
- Prior art keywords
- input
- time
- change
- gate circuit
- timing error
- 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
Links
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、標準遅延モデルにもとづく論理シミュレータ
に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a logic simulator based on a standard delay model.
(従来技術とその問題点)
VLSIの発展と論理装置の拡大に伴って、論理シミュ
レーションの役割りは増々重要にな吟、ワークステーシ
ョン上での高速な処理が必要になってきている。この要
望に答えるために各種の論理シミュレータが開発きれて
いる(例えば、情報処理25巻10号CAD専用処理装
置に開発の例が発表きれている)、シかし、従来の論理
シミュレータは高速性を追求しているから、従来のソフ
トウェアで検証していた重要な機能をいくつか落として
いた。その一つがホールドタイミング検証機能である。(Prior art and its problems) With the development of VLSI and the expansion of logic devices, the role of logic simulation has become increasingly important, and high-speed processing on workstations has become necessary. Various logic simulators have been developed to meet this demand (for example, an example of the development has been published in Information Processing Vol. 25, No. 10, CAD-dedicated processing equipment). However, conventional logic simulators are Because we are pursuing this, we have dropped some important functions that were verified with conventional software. One of these is the hold timing verification function.
そこで、本発明の目的は、ホールドタイミングの検証機
能を有する論理シミュレータの提供にある。Therefore, an object of the present invention is to provide a logic simulator having a hold timing verification function.
(問題点を解決するための手段)
前述の問題点を解決するために本発明が提供する手段は
、標準遅延モデルの論理シミュレータであって、フリッ
プフロップのデータ入力及びクロック入力をそれぞれ人
力A及び入力Bとし、この人力Aが出力にその値の変化
を伝播きせるまでの時間を0とし、前記入力Bが出力に
その値の変化を伝播きせるまでの時間を前記フリ・7ブ
フロ・7ブのホールドタイムと同一にするゲート回路を
自動的に生成する回路自動変換装置と、前記入力Bに変
化があってから前記ホールドタイム後に前記ゲート回路
の評価を行なえるようにするタイムホイールと、前記入
力Aに変化がありきらに前記ゲート回路が前記タイムホ
イールに接続されていたとき、ホールドタイミングエラ
ー信号を発生するホールドタイミングエラー検出装置と
からなることを特徴とする。(Means for Solving the Problems) Means provided by the present invention to solve the above-mentioned problems is a standard delay model logic simulator, in which the data input and clock input of the flip-flops are performed manually by A and C, respectively. Let input B be the time it takes for this human power A to propagate the change in value to the output, and let the time it takes for the input B to propagate the change in value to the output be the an automatic circuit conversion device that automatically generates a gate circuit that is made the same as the hold time; a time wheel that allows the gate circuit to be evaluated after the hold time after a change in the input B; The present invention is characterized by comprising a hold timing error detection device that generates a hold timing error signal when there is a change in A and the gate circuit is connected to the time wheel.
(発明の概念)
本発明は、フリップフロップタイミングのエラー検出機
能を有する標準遅延モデルの論理シミュレーションに関
するものである標準遅延モデルにおいては、素子の入力
に変化が生じると、第2図に示すように、その素子は、
タイムホイールに繋がれる。タイムホイールは、時間毎
に区切られていて、その素子が繋がれる場所は現在の時
刻の所から遅延時間だけはなれた所につながれる。遅延
時間というのは、入力の変化が出力に伝わるまでの時間
をさす。(Concept of the Invention) The present invention relates to a logic simulation of a standard delay model having a flip-flop timing error detection function.In the standard delay model, when a change occurs in the input of an element, as shown in FIG. , the element is
Connected to the time wheel. The time wheel is divided by time, and the locations where the elements are connected are separated by a delay time from the current time. Delay time refers to the time it takes for a change in input to be transmitted to the output.
標準遅延モデルでは、現在の時刻の所に繋がれた素子に
ついて新しい出力を求める。そして、この出力に繋がれ
た素子を見つけ、上に述べたような処理を行なう、もし
、現在の時刻につながれた素子についての処理が全て終
了したとき、時計を進め、次の時間に対してシミュレー
ションを行なう。In the standard delay model, new outputs are determined for elements connected at the current time. Then, find the element connected to this output and perform the processing described above. When all the processing for the element connected to the current time is completed, the clock is advanced and the processing is performed for the next time. Perform a simulation.
フリップフロップのシミュレーションも、上に述べた処
理によりシミュレーションされるが、フリップフロップ
にはタイミングについての約束がある。フリップフロッ
プには、データ入力とクロック入力とがあり、クロック
入力に変化があったとき、データ入力にある信号をもと
にして出力を決めることになっている。しかし、出力を
保証するためには、第3図のタイミング図における時刻
1、に起こるクロック入力の変化から所定の時間はデー
タ入力が安定していなくてはならない。この時間Tkを
ホールドタイムと呼ぶ、もし、ホールドタイムよりも小
さい時間の中で、クロック入力の変化後、データ入力が
変化すると、出力は保証されない。そこで、このタイミ
ングが正しいかどうかを検出することが論理シミュレー
タの機能を高くする。Flip-flop simulation is also simulated by the process described above, but flip-flops have timing commitments. A flip-flop has a data input and a clock input, and when there is a change in the clock input, the output is determined based on the signal at the data input. However, in order to guarantee the output, the data input must remain stable for a predetermined period of time after the change in the clock input that occurs at time 1 in the timing diagram of FIG. This time Tk is called a hold time. If the data input changes after the clock input changes within a time shorter than the hold time, the output is not guaranteed. Therefore, detecting whether this timing is correct increases the functionality of the logic simulator.
ホールドタイミングの検出の基本的な機能は次の通りで
ある。フリップフロップに対して1つのゲート回路を設
ける。フリップフロップのデータの入力を、ゲート回路
の一方の入力とする。これを入力Aとする。又、フリッ
プフロップのクロックの入力を、ゲート回路の他方の入
力とする。これを入力Bとする。入力Aに対する遅延を
0とし入力Bに対する遅延をホールドタイムThとする
。The basic function of detecting hold timing is as follows. One gate circuit is provided for each flip-flop. The data input of the flip-flop is one input of the gate circuit. This is input A. Further, the clock input of the flip-flop is used as the other input of the gate circuit. This is input B. Let the delay for input A be 0 and the delay for input B be the hold time Th.
このようにすると、ホールドタイミングエラーが生じた
ときは、このゲート回路がタイムホイールと繋がれてい
るときにデータ入力即ち入力Aに変化が発生したときで
ある。従って、このような状況のとき、エラーとして検
出することにより、ホールドタイミングのエラーを検出
することができる。In this way, a hold timing error occurs when a change occurs in the data input, ie, input A, while this gate circuit is connected to the time wheel. Therefore, in such a situation, an error in the hold timing can be detected by detecting it as an error.
(実施例)
第1図は、本発明の一実施例の構成を示す図である。自
動変換装置1はフリップフロップに対しては、第4図の
ように回路を変換する装置である。即ち、フリップフロ
ップに対して、1つのゲート回路を用意する。このゲー
ト回路は、フリップフロップのデータ入力を、入力Aと
し、又、フリップフロップのクロック入力を入力Bとす
る。(Embodiment) FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. The automatic conversion device 1 is a device that converts the circuit of a flip-flop as shown in FIG. That is, one gate circuit is prepared for each flip-flop. This gate circuit uses input A as the data input of the flip-flop, and input B as the clock input of the flip-flop.
入力Aの遅延時間はO1入力Bの遅延時間はホールドタ
イムである。制御部4は、論理シミュレータの全体制御
を行なうものである。自動変換装置1によって作られた
回路をもとに、制御部4は、各素子をタイムホイール2
につなぐ、そして、タイムホイールを使って各素子の新
しい出力を求める、もし、出力に変化がある場合には、
この出力に繋がれた素子を、タイムホイール2に接続す
る。そのとき、繋ぐ場所はこの素子の入力に対する遅延
時間後である。ホールドタイミングエラー検出装置3は
、フリッププロップに対して作られたゲート回路がタイ
ムホイール2に接続されているか調べる。もし、そのよ
うなゲート回路があった場合には、そのデータ入力に変
化があるかどうかを制御部4より知らせてもらう、もし
、変化があった場合には、ホールドタイミングエラーと
して、制御部4に知らせる。The delay time of input A is O1 and the delay time of input B is hold time. The control unit 4 performs overall control of the logic simulator. Based on the circuit created by the automatic conversion device 1, the control unit 4 connects each element to the time wheel 2.
and use the time wheel to find the new output of each element, if there is a change in the output,
The element connected to this output is connected to the time wheel 2. At that time, the connection location is after the delay time for the input of this element. The hold timing error detection device 3 checks whether the gate circuit created for the flip-flop is connected to the time wheel 2. If there is such a gate circuit, the control unit 4 will notify you whether there is a change in the data input. If there is a change, the control unit 4 will notify you as a hold timing error. Let me know.
(発明の効果)
上述の如く、本発明の論理シミュレータによれば、ホー
ルドタイミングを検証することができる。(Effects of the Invention) As described above, according to the logic simulator of the present invention, hold timing can be verified.
第1図は本発明の一実施例の構成を示す図、第2図はタ
イムホイールの説明図、第3図はプリップフロップの入
力信号のタイミング図、第4図は自動変換装置による回
路の変換の概念を示す図である。
図中、1は自動変換装置、2はタイムホイール、3はホ
ールドタイミングエラー検出装置、4は制御部である。
代理人弁理士 本 庄 伸 介
第1図
第2図
第3図
=Fig. 1 is a diagram showing the configuration of an embodiment of the present invention, Fig. 2 is an explanatory diagram of a time wheel, Fig. 3 is a timing diagram of a flip-flop input signal, and Fig. 4 is a circuit conversion by an automatic conversion device. FIG. In the figure, 1 is an automatic conversion device, 2 is a time wheel, 3 is a hold timing error detection device, and 4 is a control section. Representative Patent Attorney Shinsuke Honjo Figure 1 Figure 2 Figure 3 =
Claims (1)
フロップのデータ入力及びクロック入力をそれぞれ入力
A及び入力Bとし、この入力Aが出力にその値の変化を
伝播させるまでの時間を0とし、前記入力Bが出力にそ
の値の変化を伝播させるまでの時間を前記フリップフロ
ップのホールドタイムと同一にするゲート回路を自動的
に生成する回路自動変換装置と、前記入力Bに変化があ
ってから前記ホールドタイム後に前記ゲート回路の評価
を行なえるようにするタイムホィールと、前記入力Aに
変化がありさらに前記ゲート回路が前記タイムホィール
に接続されていたとき、ホールドタイミングエラー信号
を発生するホールドタイミングエラー検出装置とからな
ることを特徴とする論理シミュレータ。In a standard delay model logic simulator, the data input and clock input of a flip-flop are input A and input B, respectively, the time it takes for input A to propagate a change in its value to the output is 0, and input B is the output. an automatic circuit conversion device that automatically generates a gate circuit that makes the time until a change in value is propagated equal to the hold time of the flip-flop; a time wheel that allows evaluation of a gate circuit; and a hold timing error detection device that generates a hold timing error signal when there is a change in the input A and the gate circuit is connected to the time wheel. A logic simulator characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60154854A JPS6215665A (en) | 1985-07-13 | 1985-07-13 | Logic simulater |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60154854A JPS6215665A (en) | 1985-07-13 | 1985-07-13 | Logic simulater |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6215665A true JPS6215665A (en) | 1987-01-24 |
Family
ID=15593355
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60154854A Pending JPS6215665A (en) | 1985-07-13 | 1985-07-13 | Logic simulater |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6215665A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5105374A (en) * | 1989-03-24 | 1992-04-14 | Mitsubishi Denki Kabushiki Kaisha | Circuit simulator |
-
1985
- 1985-07-13 JP JP60154854A patent/JPS6215665A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5105374A (en) * | 1989-03-24 | 1992-04-14 | Mitsubishi Denki Kabushiki Kaisha | Circuit simulator |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH04257932A (en) | Chip for emulation for digital signal processor | |
US5826061A (en) | System and method for modeling metastable state machine behavior | |
Gaj et al. | Functional modeling of RSFQ circuits using Verilog HDL | |
JPH0654474B2 (en) | Time-related error detection device and method | |
Ghosh | Behavioral-level fault simulation | |
JPS6215665A (en) | Logic simulater | |
JPS6215664A (en) | Logic simulation | |
US4616335A (en) | Apparatus for suspending a system clock when an initial error occurs | |
CN117407004B (en) | A cross-architecture, cross-system, and cross-platform software deployment method | |
Prakash et al. | Design and Verification of Advanced Peripheral Bus (APB) RAM using System Verilog | |
JP3123982B2 (en) | Logic simulation method | |
JPS5413236A (en) | Bus control system | |
JP2923893B1 (en) | Hardware logic simulation device | |
JPS62190542A (en) | Inspection system for input and output processor by simulator | |
JPH08314994A (en) | Logical simulation method and logical library | |
JPS62214375A (en) | Pulse detecting method and its circuit | |
JPS6488266A (en) | Testing system of semiconductor logic circuit | |
JPS6299837A (en) | Check system for input and output processor | |
JPS6124324A (en) | Check circuit of digital timer | |
JPS6235143B2 (en) | ||
JPS54124947A (en) | Error check system of arithmetic circuit | |
JPH04148881A (en) | Logic tester | |
JPH09146980A (en) | Logical delay simulation method | |
JPH06176095A (en) | Digital circuit simulation method | |
JPH0474273A (en) | Logic simulation system |