JPH03269765A - Logic simulation processing system for register - Google Patents

Logic simulation processing system for register

Info

Publication number
JPH03269765A
JPH03269765A JP2070376A JP7037690A JPH03269765A JP H03269765 A JPH03269765 A JP H03269765A JP 2070376 A JP2070376 A JP 2070376A JP 7037690 A JP7037690 A JP 7037690A JP H03269765 A JPH03269765 A JP H03269765A
Authority
JP
Japan
Prior art keywords
register
output
input signal
change
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.)
Pending
Application number
JP2070376A
Other languages
Japanese (ja)
Inventor
Junichi Niitsuma
潤一 新妻
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 Ltd
Original Assignee
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 Ltd filed Critical Fujitsu Ltd
Priority to JP2070376A priority Critical patent/JPH03269765A/en
Publication of JPH03269765A publication Critical patent/JPH03269765A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically verify the timings of the clock input and the data input of a register by constituting a virtual circuit, which consists of a circuit which discriminates the setup time and the hold time of the register, on a simulation device together with the register. CONSTITUTION:A setup time monitor circuit 2 starts the counting operation of a setup time count part 4 by the change of a data input signal to a register 1, and the output of the count part for the change of a clock input signal to the register 1 is obtained, and it is checked whether this output has a prescribed value or not. A hold time monitor circuit 3 starts the counting operation of a hold time count part 5 by the change of the clock input signal to the register 1, and the output of the count part 5 for the change opposite to the change of the data input signal to the register 1 is obtained, and it is checked whether this output has a prescribed value or not. Thus, the timings of the clock input and the data input are automatically verified in consideration of only actually operated paths.

Description

【発明の詳細な説明】 〔概要〕 レジスタの論理シミュレーション処理方式に関し、 レジスタのクロック人力とデータ人力との自動タイミン
グ検証を行うことを目的とし、シミュレーション装置上
に、シミュレーション対象のレジスタとともに、当該レ
ジスタへのデータ入力信号の変化によりセットアツプ時
間用カウント部のカウント動作を開始し、当該レジスタ
へのクロック入力信号が変化したときの当該カウント部
の出力を求め、この出力が所定値になってぃるかどうか
を調べるセットアツプ時間監視回路と、当該レジスタへ
のクロック入力信号の前記変化によりホールド時間用カ
ウント部のカウント動作を開始し、当該レジスタへのデ
ータ人力信号の前記変化とは逆の変化が発生したときの
当該カウント部の出力を求め、この出力が所定値になっ
てい′るかどうかを調べるホールド時間監視回路とから
なる仮想回路を構築し、当該仮想回路のセットアツプ時
間監視回路の出力とホールド時間監視回路の出力により
前記検証を行なう構成を有する。
[Detailed Description of the Invention] [Summary] Regarding the logic simulation processing method for registers, the purpose of this is to automatically verify the timing of the register's clock manual and data manual. The count operation of the set-up time counter is started by a change in the data input signal to the register, the output of the counter is determined when the clock input signal to the register changes, and this output is a predetermined value. A set-up time monitoring circuit that checks whether the clock input signal to the register concerned starts counting operation of the hold time counting section due to the change in the clock input signal to the register, and a change opposite to the change in the data input signal to the register concerned. Build a virtual circuit consisting of a hold time monitoring circuit that obtains the output of the relevant counting section when the above occurs and checks whether this output is at a predetermined value. The present invention has a configuration in which the verification is performed using the output and the output of the hold time monitoring circuit.

〔産業上の利用分野〕[Industrial application field]

本発明は、論理シミュレーション処理方式、特に組合せ
回路を介して接続される各レジスタのクロック入力とデ
ータ入力との自動タイミング判定を行なう論理シミュレ
ーション処理方式に関する。
The present invention relates to a logic simulation processing method, and more particularly to a logic simulation processing method that automatically determines the timing of clock input and data input of each register connected via a combinational circuit.

〔従来の技術〕[Conventional technology]

一般に、同期回路を構成するレジスタでは、第4図(a
)に示すように、前段のレジスタ41と次段のレジスタ
43との間に多数のゲート回路からなる組合せ回路42
を備えている。そして、レジスタ41゜43への入力デ
ータはクロック人力の変化の前後で所定の時間幅安定し
ていることが必要である。
In general, the registers that make up the synchronous circuit are shown in Figure 4 (a).
), a combinational circuit 42 consisting of a large number of gate circuits is connected between the register 41 at the previous stage and the register 43 at the next stage.
It is equipped with The input data to the registers 41 and 43 must be stable for a predetermined period of time before and after changes in the clock input.

すなわち、例えばクロック入力の立ち上がりパルスでデ
ータ入力を行なう場合、第4図(b)に示すように、ク
ロック入力の変化の前の安定時間であるセットアツプ時
間t、とクロック入力の変化の後の安定時間であるホー
ルド時間thのそれぞれが所定の時間幅であることが必
要である。
In other words, for example, when data is input using the rising pulse of the clock input, as shown in FIG. It is necessary that each hold time th, which is a stabilization time, has a predetermined time width.

従来の、各レジスタのクロック入力とデータ入力とのタ
イミング判定を行うシミュレーション処理方式では、各
レジスタのクロック入力とデータ入力の状態値の変化を
記憶しておいて、シミュレーション終了後に全ての状態
値の変化について時間関係が守られているかどうかを確
かめていた。
In the conventional simulation processing method that determines the timing of the clock input and data input of each register, changes in the state values of the clock input and data input of each register are memorized, and after the simulation ends, all state values are We were checking to see if time relationships were maintained regarding changes.

ここで、例えば前段のレジスタ4工と次段のレジスタ4
3とを接続する組合せ回路42の中の一つのパスが三個
のゲートから構成され、各ゲートでの遅延時間が2ns
〜5nsであるとき、次段のレジスタ43は、クロック
入力が変わってから6nsの間はクロック入力変化前の
状態で安定し、15nsたってからはクロック入力変化
後の状態で安定し、6ns〜15nsの間は前記のいず
れの状態になっているか分からないといった状態である
ため、従来の処理方式では、組合せ回路42中のすべて
のパスの最小1最大の遅延時間を求め、この遅延時間に
対する前記時間関係をシミュレーション終了後に調べて
いた。
Here, for example, 4 registers in the previous stage and 4 registers in the next stage.
One path in the combinational circuit 42 connecting 3 is composed of three gates, and the delay time at each gate is 2 ns.
~5ns, the register 43 at the next stage is stabilized in the state before the clock input change for 6ns after the clock input changes, stabilizes in the state after the clock input change after 15ns, and remains stable for 6ns to 15ns. Since it is not known which state is in between, the conventional processing method calculates the minimum and maximum delay times of all the paths in the combinational circuit 42, and calculates the above-mentioned time with respect to this delay time. The relationship was investigated after the simulation was completed.

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

以上のように、従来の、各レジスタのクロック入力とデ
ータ人力とのタイミング判定を行うシミュレーション処
理方式では、すべてのレジスタのクロック入力とデータ
入力の状態値の変化をいったん記憶し、これを組合せ回
路中のすべてのパス(実際の用いることのないパスも含
めて)の遅延時間を考慮して、シミュレーション終了後
に全ての状態値の変化について時間関係が守られている
かどうかを確かめる順次処理を行なうため、必要な記憶
容量が膨大なものになり、大規模回路を取り扱うことが
困難であった。そこで、本発明では、レジスタの前記セ
ットアツプと前記ホールド時間の判定を行う回路からな
る仮想回路を、シミュレーション装置上に、シミュレー
ション対象のレジスタとともに構築することにより、レ
ジスタのクロック入力とデータ入力との自動タイミング
検証を行うようにしたものである。
As described above, in the conventional simulation processing method that determines the timing between the clock input of each register and the data input manually, changes in the state values of the clock input and data input of all registers are once memorized, and this is combined into a combinational circuit. To perform sequential processing to check whether the time relationships are maintained for all state value changes after the simulation ends, taking into account the delay time of all paths in the simulation (including paths that are not actually used). , the required storage capacity became enormous, making it difficult to handle large-scale circuits. Therefore, in the present invention, a virtual circuit consisting of a circuit that determines the set-up and hold times of registers is constructed on a simulation device together with the registers to be simulated, so that clock inputs and data inputs of registers can be connected. It is designed to perform automatic timing verification.

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

第1図は本発明の原理説明図である。 FIG. 1 is a diagram explaining the principle of the present invention.

第1図において、 1は、レジスタであり、前段のレジスタとの間には多数
のゲートからなる組合せ回路が接続されている。
In FIG. 1, 1 is a register, and a combinational circuit consisting of a large number of gates is connected between it and the previous register.

2は、セットアツプ時間監視回路であり、レジスタへの
データ入力信号の変化によりセットアツプ時間用カウン
ト部4のカウント動作を開始し、当該レジスタへのクロ
ック入力信号が変化したときの当該カウント部の出力を
求め、この出力が所定値になっているかどうかを調べて
いる。
2 is a set-up time monitoring circuit, which starts the counting operation of the set-up time counting section 4 when the data input signal to the register changes, and when the clock input signal to the register changes, the counting operation of the set-up time counting section 4 is started. It calculates the output and checks whether this output is a predetermined value.

3は、ホールド時間監視回路であり、レジスタ1へのク
ロック入力信号の変化によりホールド時間用カウント部
5のカウント動作を開始し、当該レジスタへのデータ入
力信号の前記変化とは逆の変化が生じたときの当該カウ
ント部5の出力を求め、この出力が所定値になっている
かどうかを調べている。ここで、セットアツプ時間用カ
ウント部4の出力が所定値になってないときは、セット
アツプ時間が守られていないことの検証であり、またホ
ールド時間用カウント部5の出力が所定値になってない
ときは、ホールド時間が守られていないことの検証であ
る。
3 is a hold time monitoring circuit, which starts the counting operation of the hold time counter 5 due to a change in the clock input signal to the register 1, and a change opposite to the above change in the data input signal to the register occurs. The output of the counting section 5 at the time of the change is determined, and it is checked whether this output is a predetermined value. Here, if the output of the set-up time counter 4 does not reach the predetermined value, it is verification that the set-up time is not observed, and if the output of the hold time counter 5 does not reach the predetermined value. If the hold time is not met, it is verification that the hold time is not respected.

〔作用〕[Effect]

本発明においては、前記セットアツプ時間と前記ホール
ド時間とに相当するカウント出力を求め、このカウント
出力が所定値になっているかどうかを調べる監視回路か
らなる仮想回路を、シミュレーション装置上に、シミュ
レーション対象のレジスタとともに構築することにより
、レジスタにおけるクロック入力とデータ入力との自動
的なタイミング検証を行っている。
In the present invention, a virtual circuit consisting of a monitoring circuit that obtains a count output corresponding to the set-up time and the hold time and checks whether this count output is a predetermined value is installed on the simulation device as a simulation target. By constructing it with a register, automatic timing verification of the clock input and data input in the register is performed.

〔実施例〕〔Example〕

第2図〜第3図を参照して本発明の詳細な説明する。 The present invention will be described in detail with reference to FIGS. 2 and 3.

第2図は前記セットアツプ時間監視回路であり、データ
入力の人力保持部21.クロック入力の人力保持部22
.カウント部23.出力評価部24等から構成されてい
る。そして、データ入力の入力保持部21は、データ入
力信号を入力としてその値を一単位時刻後に出力、すな
わち−単位時刻前のデータ入力信号の値を出力している
。また、入力保持部21の入力信号と出力信号はそれぞ
れカウント部23のEOR回路25に入力され、このE
OR回路25は、データ入力信号が「0」から「1」に
変化、すなわち入力保持部21の出力信号が「0」で入
力信号が「1」になったときに「1」を出力し、この出
力によりカウンタ26がカウント動作を開始し、カウン
ト出力は順次増加していく。そして、当該カウント出力
が所定値、例えば「10」になると、カウンタ26の出
力は「0」に固定される。また、このカウント出力は出
力評価部24に入力されている。
FIG. 2 shows the setup time monitoring circuit and the data input manual holding section 21. Clock input human power holding unit 22
.. Count section 23. It is composed of an output evaluation section 24 and the like. The data input input holding unit 21 receives the data input signal and outputs its value after one unit time, that is, outputs the value of the data input signal before -unit time. Further, the input signal and output signal of the input holding section 21 are respectively input to the EOR circuit 25 of the counting section 23, and the EOR circuit 25 of the counting section 23
The OR circuit 25 outputs "1" when the data input signal changes from "0" to "1", that is, when the output signal of the input holding section 21 becomes "0" and the input signal becomes "1", This output causes the counter 26 to start counting, and the count output increases sequentially. When the count output reaches a predetermined value, for example "10", the output of the counter 26 is fixed to "0". Further, this count output is input to the output evaluation section 24.

一方、クロック入力の入力保持部22は、クロック入力
信号を入力としてその値を一単位時刻後に出力、すなわ
ち−単位時刻前のクロック入力信号の値を出力している
。また、入力保持部22の入力信号と出力信号はそれぞ
れ出力評価部24の入力変化検出部27に入力され、こ
の入力変化検出部27は、クロック入力が「0」から「
1」に変化、すなわち入力保持部22の出力が「0」で
入力が「1」になったときに「1」を出力する。そして
、カウンタ26の出力信号と入力変化検出部27の出力
信号はそれぞれ評価回路部28に人力され、入力変化検
出部27の出力が「1」に変化したときのカウンタ26
の出力の値を調べ、当該出力の値が「0」のときはセッ
トアツプ時間が守られ、「0」以外のときはセットアツ
プ時間が守られていない旨の評価をしている。
On the other hand, the clock input input holding section 22 receives the clock input signal and outputs its value after one unit time, that is, outputs the value of the clock input signal before -unit time. Further, the input signal and output signal of the input holding section 22 are respectively input to the input change detection section 27 of the output evaluation section 24, and this input change detection section 27 detects the clock input from "0" to "
1, that is, when the output of the input holding unit 22 is 0 and the input becomes 1, it outputs 1. The output signal of the counter 26 and the output signal of the input change detection section 27 are respectively inputted to the evaluation circuit section 28, and the output signal of the counter 26 when the output of the input change detection section 27 changes to "1" is inputted to the evaluation circuit section 28.
The value of the output is checked, and when the value of the output is ``0'', it is evaluated that the set-up time has been observed, and when it is other than ``0'', it is evaluated that the set-up time has not been observed.

第3図は前記ホールド時間監視回路であり、第2図のセ
ットアツプ時間監視回路とはクロック入力の変化でカウ
ンタのカウント動作を開始させ、データ入力の(セット
アツプ時間監視のときとは逆の)変化でカウント動作を
停止させる点が異なっている。
FIG. 3 shows the hold time monitoring circuit, which is different from the setup time monitoring circuit in FIG. ) is different in that the counting operation is stopped when the change occurs.

すなわち、クロック入力の入力保持部31.デタ入力の
入力保持部32.カウント部33.出力評価部34等か
ら構成されている。そして、クロック入力の人力保持部
31は、クロック入力信号を入力としてその値を一単位
時刻後に出力、すなわち−単位時刻前のクロック入力信
号の値を出力している。
That is, the input holding unit 31 .of the clock input. Input holding unit 32 for data input. Count section 33. It is composed of an output evaluation section 34 and the like. The clock input human power holding section 31 receives the clock input signal and outputs its value after one unit time, that is, outputs the value of the clock input signal before -unit time.

また、入力保持部31の入力信号と出力信号はそれぞれ
カウント部33のEOR回路35に入力され、このFO
R回路35は、クロック入力信号が「0」から「1」に
変化、すなわち入力保持部31の出力信号が「0」で人
力信号が「1」になったときにrlJを出力し、この出
力によりカウンタ36がカウント動作を開始し、カウン
ト出力は順次増加していく。そして、当該カウント出力
が所定値、例えば「10」になると、カウンタ36の出
力は「0」に固定される。また、このカウント出力は出
力評価部34に入力されている。
Further, the input signal and output signal of the input holding section 31 are respectively input to the EOR circuit 35 of the counting section 33, and this FO
The R circuit 35 outputs rlJ when the clock input signal changes from "0" to "1", that is, when the output signal of the input holding section 31 becomes "0" and the human input signal becomes "1", and this output As a result, the counter 36 starts counting operation, and the count output increases sequentially. Then, when the count output reaches a predetermined value, for example "10", the output of the counter 36 is fixed to "0". Further, this count output is input to the output evaluation section 34.

一方、データ入力の入力保持部32は、データ入力信号
を入力としてその値を一単位時刻後に出力、すなわち−
単位時刻前のクロック入力信号の値を出力している。ま
た、入力保持部32の入力信号と出力信号はそれぞれ出
力評価部34の入力変化検出部37に入力され、この入
力変化検出部37は、データ入力が「■」から「0」に
変化、すなわち入力保持邪32の出力が「1」で入力が
「0」になったときにrlJを出力する。そして、カウ
ンタ36の出力信号と入力変化検出部37の出力信号は
それぞれ評価回路部38に入力され、入力変化検出部3
7の出力が「1」に変化したときのカウンタ36の出力
の値を調べ、当該出力の値が「0」のときはホールド時
間が守られ、「0」以外のときはホールド時間が守られ
ていない旨の評価をしている。
On the other hand, the data input input holding unit 32 receives the data input signal and outputs the value after one unit time, that is, −
The value of the clock input signal before the unit time is output. Further, the input signal and output signal of the input holding section 32 are respectively input to the input change detection section 37 of the output evaluation section 34, and this input change detection section 37 detects that the data input changes from "■" to "0", that is, When the output of the input holding circuit 32 is "1" and the input is "0", rlJ is output. The output signal of the counter 36 and the output signal of the input change detection section 37 are respectively input to the evaluation circuit section 38, and the output signal of the input change detection section 37 is input to the evaluation circuit section 38.
Check the value of the output of the counter 36 when the output of the counter 7 changes to "1", and if the value of the output is "0", the hold time is observed, and if it is other than "0", the hold time is observed. The evaluation is that it is not.

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

本発明は、レジスタのセットアツプ時間とホールド時間
のそれぞれが守られているいるかどうかの監視を行なう
回路部からなる仮想回路を、シミュレーション装置上に
、シミュレーション対象のレジスタとともに構築する構
成にしているため、実際に動作するバスのみを考慮した
、クロック入力とデータ入力の自動的なタイミング検証
を行うことができる。
The present invention has a configuration in which a virtual circuit consisting of a circuit unit that monitors whether the set-up time and hold time of the registers are observed is constructed on the simulation device together with the registers to be simulated. , it is possible to perform automatic timing verification of clock inputs and data inputs, considering only the buses that actually operate.

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

第1図は本発明の原理説明図、第2図は本発明のセット
アツプ時間監視回路を示す説明図、第3図はホールド時
間監視回路を示す説明図、第4図はレジスタのクロック
入力とデータ入力のタイミング関係を示す説明図である
。 第1図において、 1・・・レジスタ 2・・・セットアツプ時間監視回路 3・・・ホールド時間監視回路 4・・・セットアツプ時間用カウント部5・・・ホール
ド時開用カウント部
Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 is an explanatory diagram showing the setup time monitoring circuit of the invention, Fig. 3 is an explanatory diagram showing the hold time monitoring circuit, and Fig. 4 is an explanatory diagram showing the clock input of the register. FIG. 2 is an explanatory diagram showing a timing relationship of data input. In FIG. 1, 1...Register 2...Set-up time monitoring circuit 3...Hold time monitoring circuit 4...Set-up time counting section 5...Opening count section during hold

Claims (1)

【特許請求の範囲】 組合せ回路を介して接続される各レジスタについての論
理シミュレーション処理方式において、シミュレーショ
ン装置上に、シミュレーション対象のレジスタとともに
、 当該レジスタへのデータ入力信号の変化によりセットア
ップ時間用カウント部のカウント動作を開始し、当該レ
ジスタへのクロック入力信号が変化したときの当該カウ
ント部の出力を求め、この出力が所定値になっているか
どうかを調べるセットアップ時間監視回路と、 当該レジスタへのクロック入力信号の前記変化によりホ
ールド時間用カウント部のカウント動作を開始し、当該
レジスタへのデータ入力信号の前記変化とは逆の変化が
発生したときの当該カウント部の出力を求め、この出力
が所定値になっているかどうかを調べるホールド時間監
視回路とからなる仮想回路を構築し、 当該仮想回路の前記セットアップ時間監視回路の出力と
前記ホールド時間監視回路の出力により、前記レジスタ
のクロック入力とデータ入力との自動タイミング判定を
行なうことを特徴とするレジスタの論理シミュレーショ
ン処理方式。
[Claims] In a logic simulation processing method for each register connected via a combinational circuit, a setup time count section is provided on a simulation device together with a register to be simulated based on a change in a data input signal to the register. a setup time monitoring circuit that starts the counting operation of the register, determines the output of the counting section when the clock input signal to the register changes, and checks whether this output is a predetermined value, and a clock input signal to the register. The count operation of the hold time count unit is started by the change in the input signal, and the output of the count unit when a change opposite to the change in the data input signal to the register occurs is determined, and this output is determined as a predetermined value. A virtual circuit is constructed that includes a hold time monitoring circuit that checks whether the value is set, and the clock input and data input of the register are controlled by the output of the setup time monitoring circuit and the output of the hold time monitoring circuit of the virtual circuit. A register logic simulation processing method characterized by automatic timing determination.
JP2070376A 1990-03-20 1990-03-20 Logic simulation processing system for register Pending JPH03269765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2070376A JPH03269765A (en) 1990-03-20 1990-03-20 Logic simulation processing system for register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2070376A JPH03269765A (en) 1990-03-20 1990-03-20 Logic simulation processing system for register

Publications (1)

Publication Number Publication Date
JPH03269765A true JPH03269765A (en) 1991-12-02

Family

ID=13429663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2070376A Pending JPH03269765A (en) 1990-03-20 1990-03-20 Logic simulation processing system for register

Country Status (1)

Country Link
JP (1) JPH03269765A (en)

Similar Documents

Publication Publication Date Title
Ara et al. A proposal for transaction-level verification with component wrapper language
JPH03269765A (en) Logic simulation processing system for register
JP2009157659A (en) Logical simulation device
JP2690688B2 (en) Connection verification method
JPH0418677A (en) Simulation system for digital circuit
JPS6031062A (en) Pulse cycle measuring circuit
JPH0383169A (en) Logical simulator
JPH10340285A (en) Static timing verification method and system therefor
JPH02205940A (en) Watchdog timer device
JPH05108401A (en) Test pattern generating method
JPH02287173A (en) Logic verification device
JPH0755876A (en) Test method of microcomputer
JPS6215665A (en) Logic simulater
Foster Response checkers, monitors and assertions
JPH06131209A (en) Artificial error generating system
JPH0535819A (en) Timing check system
JPH04124739A (en) Emulation support system and central processing unit applying said support system
JPH0448388A (en) Logic circuit simulating method
JPH0844588A (en) Software development supporting device
JPH02184933A (en) Logical circuit simulation system
JPH01292444A (en) Pseudo fault generating system
JPH0474273A (en) Logic simulation system
JPH02212945A (en) Software logic simulator
JPH01147734A (en) Pseudo-fault timing generating circuit
JPS6359634A (en) Simulator