JPH04134563A - Logic simulation system - Google Patents

Logic simulation system

Info

Publication number
JPH04134563A
JPH04134563A JP2257805A JP25780590A JPH04134563A JP H04134563 A JPH04134563 A JP H04134563A JP 2257805 A JP2257805 A JP 2257805A JP 25780590 A JP25780590 A JP 25780590A JP H04134563 A JPH04134563 A JP H04134563A
Authority
JP
Japan
Prior art keywords
delay
logic
delay time
input terminal
simulation
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.)
Granted
Application number
JP2257805A
Other languages
Japanese (ja)
Other versions
JP3060512B2 (en
Inventor
Masunori Sugimoto
杉本 益規
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2257805A priority Critical patent/JP3060512B2/en
Publication of JPH04134563A publication Critical patent/JPH04134563A/en
Application granted granted Critical
Publication of JP3060512B2 publication Critical patent/JP3060512B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To reduce the number of elements by adding delay time at a part of all the input terminals of logic elements constituting a logic circuit to the delay time of the logic element in a preceding step to drive the respective input terminals and executing simulation while replacing the delay of the input terminal added the delay time to the preceding step with zero. CONSTITUTION:The delay time at one part of all the input terminals of logic elements 1 and 4 constituting the logic circuit is added to the delay time of the logic element 1 in the preceding step to drive the respective input terminals, and the simulation is executed while replacing the delay of the input terminal IN added the delay time to the preceding step with zero. For example, delay elements 2 and 3 having propagation delay time d1 and d2 are inserted to the input terminal side of the logic element 4, and this delay element 2 is driven by the logic element 1 having propagation delay time (t). Next, the delay time of the logic element 1 in the preceding step is set to (t+d1) and the delay time of the delay element 2 is turned to zero. Thus, by executing the logic simulation in the state of omitting the delay element 2, the number of elements is reduced and counting time required for the simulation can be shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は論理シミュレーション方式に関し、特に論理素
子の伝搬遅延を考慮した論理シミュレーション方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a logic simulation method, and more particularly to a logic simulation method that takes into account the propagation delay of logic elements.

〔従来の技術〕[Conventional technology]

従来の論理回路における素子の論理シミュレーション方
式は、素子の一伝搬遅延を考慮して行なわれる。
A conventional logic simulation method for an element in a logic circuit is performed in consideration of one propagation delay of the element.

第3図(a)、(b)はそれぞれかかる従来の一例を説
明するための論理回路図である。
FIGS. 3(a) and 3(b) are logic circuit diagrams for explaining an example of such a conventional method.

第3図(a)に示すように、従来の論理回路は、伝搬遅
延dを持つ論理素子を表わし、二つの入力INI、IN
2を有する遅延時間Oの論理素子4と、この論理素子4
の出力に接続された伝搬遅延dを持つ遅延素子7とから
構成される。実際に、論理シミュレータとして実現する
に当っては、論理素子4の出力の変化によって生じるイ
ベントを時刻d後のイベントとしてタイムホイールに登
録することにより、遅延素子7を等価的に実現している
As shown in FIG. 3(a), the conventional logic circuit represents a logic element with a propagation delay d, and has two inputs INI, IN
2 and a logic element 4 with a delay time O of
A delay element 7 having a propagation delay d is connected to the output of the delay element 7. In actual implementation as a logic simulator, the delay element 7 is equivalently implemented by registering an event caused by a change in the output of the logic element 4 in the time wheel as an event after time d.

第3図(b)に示すように、論理シミュレータ上第3図
(a)で示した各素子は、伝搬遅延dをもった1個の論
理素子4で実現される。
As shown in FIG. 3(b), each element shown in FIG. 3(a) on the logic simulator is realized by one logic element 4 having a propagation delay d.

かかる第3図(a)、(b)の方法によると、全ての入
力端子INI、IN2から出力端子OUTまでの伝搬遅
延時間は等しくなってしまう0例えば、入力端子INI
から出力端子OUTまでの遅延時間と入力端子IN2か
ら出力端子UTまでの遅延は等しくdである。しかしな
がら、実際の論理回路においては、入力端子と出力端子
の組み合わせにより遅延時間が異なる。従って、それを
正確にシミュレートしようとする場合、第3図(a)、
(b)に基づくシミュレーション方式は使用できない。
According to the methods shown in FIGS. 3(a) and 3(b), the propagation delay times from all input terminals INI and IN2 to the output terminal OUT are equal.
The delay time from the input terminal IN2 to the output terminal OUT and the delay time from the input terminal IN2 to the output terminal UT are equal to d. However, in actual logic circuits, the delay time differs depending on the combination of input terminals and output terminals. Therefore, when trying to accurately simulate it, Fig. 3(a),
A simulation method based on (b) cannot be used.

この問題を解決するために、入力端子にも遅延を考慮し
、入力端子毎に遅延時間を変えることが行なわれる。
In order to solve this problem, delays are also taken into consideration at the input terminals, and the delay time is changed for each input terminal.

第4図はかかる従来の他の例を説明するための論理回路
図である。
FIG. 4 is a logic circuit diagram for explaining another example of such conventional technology.

第4図に示すように、この論理回路は、論理素子4の入
力端子INI側に伝搬遅延時間d1の遅延素子2を挿入
し、跋た入力端子IN2側に遅延時間d2の遅延素子3
を挿入する。ここで、論理素子4の遅延をdとすると、
入力端子INIから出力端子OUTへの遅延はdl+d
となり、入力端子IN2から出力端子OUTへの遅延は
d2+dとなる。すなわち、遅延素子2.3の遅延時間
d1とd2に差を持たせることにより、各経路の遅延時
間を異なるようにすることができる。
As shown in FIG. 4, in this logic circuit, a delay element 2 with a propagation delay time d1 is inserted on the input terminal INI side of the logic element 4, and a delay element 3 with a delay time d2 is inserted on the input terminal IN2 side of the logic element 4.
Insert. Here, if the delay of the logic element 4 is d, then
The delay from input terminal INI to output terminal OUT is dl+d
Therefore, the delay from the input terminal IN2 to the output terminal OUT is d2+d. That is, by providing a difference between delay times d1 and d2 of delay element 2.3, the delay times of each path can be made different.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の論理シミュレーション方式、特に後者の
入力端子に遅延を持たせる第4図の論理シミュレーショ
ン方式は、入力側に挿入した遅延素子2.3が第3図(
a)に示す出力側に挿入した遅延素子7と異なり、イベ
ントの処理方法の工夫で実現することはできない、この
ため、あたかも実際に素子があるかのような取り扱いが
必要になる。すなわち、後者の第4図に示す例では、遅
延素子2,3および論理素子4の3つの素子があるもの
として取り扱わなければならない、要するに、入力端子
に遅延を持たせるシミュレーション方式では、シミュレ
ーションの対象となる論理回路の素子数を等価的に増加
させることになり、シミュレーションに要する計算時間
を著しく増加させるという欠点がある。
The conventional logic simulation method described above, especially the logic simulation method shown in FIG.
Unlike the delay element 7 inserted on the output side shown in a), this cannot be realized by devising an event processing method, and therefore, it is necessary to treat it as if it were an actual element. In other words, in the latter example shown in FIG. 4, it must be treated as if there are three elements, delay elements 2 and 3, and logic element 4. In other words, in a simulation method in which the input terminal has a delay, the simulation target This effectively increases the number of elements in the logic circuit, which has the disadvantage of significantly increasing the calculation time required for simulation.

本発明の目的は、かかる論理回路の素子数の削減および
シミュレーションの計算時間の短縮等を実現することの
できる論理シミュレーション方式を提供することにある
An object of the present invention is to provide a logic simulation method that can reduce the number of elements in such a logic circuit and shorten simulation calculation time.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の論理シミュレーション式は、論理回路を構成す
る論理素子の全入力端子のうち少なくとも一部の遅延時
間を各々の入力端子を駆動する前段の論理素子の遅延時
間に加え、前段に遅延時間を加えた入力端子の遅延を零
に置き換えてシミュレーションするように構成している
The logic simulation formula of the present invention adds the delay time of at least some of all the input terminals of the logic elements constituting the logic circuit to the delay time of the logic element in the previous stage that drives each input terminal. The configuration is such that simulation is performed by replacing the added input terminal delay with zero.

〔実施例〕〔Example〕

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

第1図(a)、(b)は、それぞれ本発明の一実施例を
説明するための論理回路図である。
FIGS. 1(a) and 1(b) are logic circuit diagrams for explaining one embodiment of the present invention, respectively.

第1図(a)に示すように、本実施例は前述した第4図
に示す従来例と同様に、論理素子4の入力端子側に伝搬
遅延時間di、d2を有する遅延素子2,3を挿入する
。この遅延素子2は伝搬遅延時間tの論理素子lにより
駆動されている。
As shown in FIG. 1(a), similar to the conventional example shown in FIG. insert. This delay element 2 is driven by a logic element l having a propagation delay time t.

次に、第1図(b)に示すように、前段の論理素子1の
遅延時間を(t+dl)とし、遅延素子2の遅延時間を
零にする。このようにしても、論理回路の論理動作や伝
搬遅延時間に影響しないことは明らかである。この遅延
素子2を省いた状態で、論理シミュレーションを行えば
、素子数が少なく、シミュレーションに要する計数時間
を短縮することができる。
Next, as shown in FIG. 1(b), the delay time of the logic element 1 in the previous stage is set to (t+dl), and the delay time of the delay element 2 is set to zero. It is clear that even in this case, the logic operation of the logic circuit and the propagation delay time are not affected. If logic simulation is performed with this delay element 2 omitted, the number of elements is small and the counting time required for the simulation can be shortened.

第2図(a)、(b)はそれぞれ本発明の他の実施例を
説明するための論理回路図である。
FIGS. 2(a) and 2(b) are logic circuit diagrams for explaining other embodiments of the present invention, respectively.

第2図(a)に示すように、本実施例は論理素子4の入
力端子の遅延を表わす遅延素子2を駆動している論理素
子1が同時に論理素子5の入力端子の遅延を表わす遅延
素子6をも駆動している。
As shown in FIG. 2(a), in this embodiment, the logic element 1 driving the delay element 2 representing the delay of the input terminal of the logic element 4 simultaneously drives the delay element representing the delay of the input terminal of the logic element 5. It also drives 6.

このように、複数の遅延素子2,6を駆動している論理
素子1の場合は、最も小さな遅延時間d1を有する遅延
素子2に着目し、その遅延時間d1を駆動素子1に加算
し、大きな遅延時間d3を有する遅延素子6から遅延時
間dbを減算するとともにその遅延素子2を省略する。
In this way, in the case of logic element 1 driving multiple delay elements 2 and 6, focus on delay element 2 with the smallest delay time d1, add that delay time d1 to drive element 1, and The delay time db is subtracted from the delay element 6 having the delay time d3, and the delay element 2 is omitted.

第2図(b)に示すように、遅延時間がdl<d3の時
は、前段論理素子1の伝搬遅延時間を(d十dl”)と
し、遅延素子2を省略し、遅延素子6の遅延時間を(d
3−dl)とする。
As shown in FIG. 2(b), when the delay time is dl<d3, the propagation delay time of the preceding logic element 1 is set as (d + dl''), the delay element 2 is omitted, and the delay of the delay element 6 is Time (d
3-dl).

かかる状態の論理回路はシミュレーションにあたり、前
述した一実施例と同様の結果が得られる。
When a logic circuit in such a state is simulated, results similar to those of the above-mentioned embodiment can be obtained.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明の論理シミュレーション方
式は、論理回路を構成する論理素子の入力に接続されて
いる遅延素子を大幅に省略することができ、各素子の入
力端子と出力端子の組み合わせによる伝搬遅延時間の組
立を表現できるだけでなく、シミュレーションに要する
計算時間を短縮できるという効果がある。
As explained above, the logic simulation method of the present invention can largely omit the delay elements connected to the inputs of the logic elements constituting the logic circuit, and is based on the combination of the input terminal and output terminal of each element. This has the effect of not only being able to represent the set of propagation delay times, but also reducing the calculation time required for simulation.

ための論理回路図、第3図(a)、(b)はそれぞれ従
来の一例を説明するための論理回路図、第4図は従来の
他の例を説明するための論理回路図である。
FIGS. 3(a) and 3(b) are logic circuit diagrams for explaining one conventional example, and FIG. 4 is a logic circuit diagram for explaining another conventional example.

1.4.5・・・論理素子、2,3.6・・・遅延素子
、IN、INI、IN2・・・入力端子、OUT・・・
出力端子。
1.4.5...Logic element, 2,3.6...Delay element, IN, INI, IN2...Input terminal, OUT...
Output terminal.

Claims (1)

【特許請求の範囲】[Claims] 論理回路を構成する論理素子の全入力端子のうち少なく
とも一部の遅延時間を各々の入力端子を駆動する前段の
論理素子の遅延時間に加え、前段に遅延時間を加えた入
力端子の遅延を零に置き換えてシミュレーションするこ
とを特徴とする論理シミュレーション方式。
The delay time of at least some of all the input terminals of the logic elements constituting the logic circuit is added to the delay time of the logic element in the previous stage that drives each input terminal, and the delay of the input terminal added to the delay time of the previous stage is zero. A logical simulation method characterized by replacing the .
JP2257805A 1990-09-27 1990-09-27 Logic simulation method Expired - Lifetime JP3060512B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2257805A JP3060512B2 (en) 1990-09-27 1990-09-27 Logic simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2257805A JP3060512B2 (en) 1990-09-27 1990-09-27 Logic simulation method

Publications (2)

Publication Number Publication Date
JPH04134563A true JPH04134563A (en) 1992-05-08
JP3060512B2 JP3060512B2 (en) 2000-07-10

Family

ID=17311357

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2257805A Expired - Lifetime JP3060512B2 (en) 1990-09-27 1990-09-27 Logic simulation method

Country Status (1)

Country Link
JP (1) JP3060512B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006203416A (en) * 2005-01-19 2006-08-03 Mitsubishi Electric Corp Electronic element and method for defending decipherment attack

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006203416A (en) * 2005-01-19 2006-08-03 Mitsubishi Electric Corp Electronic element and method for defending decipherment attack

Also Published As

Publication number Publication date
JP3060512B2 (en) 2000-07-10

Similar Documents

Publication Publication Date Title
JPH04134563A (en) Logic simulation system
US5357457A (en) Adder with carry look ahead circuit
JPS58124325A (en) Shift register with variable number of delay stages
JPS59148426A (en) Circuit for controlling timing of simultaneous operation
JPH0535817A (en) Simulation method
JPS6177422A (en) Line data selector circuit
JPH01197868A (en) Logical simulation method
JPH02146813A (en) Duty factor adjustment circuit for clock signal
JPH03184175A (en) Simulation system for composite transfer switch
JPH04256177A (en) Logic simulation system
JPH02245976A (en) Logic circuit designing device
JPH0581368A (en) Mode verification method for bidirectional terminal in scan path
JPS6236575A (en) Transition analysis model system
CN118401921A (en) Reducing carry chains using AND/OR on programmable hardware
JPH03238914A (en) D flip-flop circuit
JPS6236255B2 (en)
JPH02287173A (en) Logic verification device
JPH02285433A (en) Detecting circuit for redundant circuit
JPH04205662A (en) Simulation method
JPS6095631A (en) Operating system
JPH04115364A (en) Logical simulation system
JPH05108749A (en) Logical simulating method
JPH06274570A (en) Circuit division system
JPH0366845B2 (en)
JPH0528219A (en) Logical simulator