JPH11120212A - Method and device for designing circuit and recording medium recorded with program therefor - Google Patents
Method and device for designing circuit and recording medium recorded with program thereforInfo
- Publication number
- JPH11120212A JPH11120212A JP9277416A JP27741697A JPH11120212A JP H11120212 A JPH11120212 A JP H11120212A JP 9277416 A JP9277416 A JP 9277416A JP 27741697 A JP27741697 A JP 27741697A JP H11120212 A JPH11120212 A JP H11120212A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- cell
- description
- input
- circuit
- 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
Landscapes
- Design And Manufacture Of Integrated Circuits (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、例えばハードウェ
ア記述言語を用いてLSI等の回路の設計を行う回路設
計方法及び装置並びにそのプログラムを記録した記録媒
体に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit design method and apparatus for designing a circuit such as an LSI by using, for example, a hardware description language, and a recording medium on which the program is recorded.
【0002】[0002]
【従来の技術】図12は従来のLSI設計を行う際のフ
ローチャートである。一般にLSI設計を行う際、ハー
ドウェア記述言語(以下、HDL:Hardware Descripti
on La-nguageという)を用いて行われる。HDLとは、
設計するLSIの機能を記述するときに用いられる言語
である。図12に示すようにHDLが記述されると(S
101)、機能レベルの動作確認(以下、機能検証とい
う)が行われ(S102)、機能の確認により(S
3)、意図しない動作が発見された場合にはHDLを修
正し、再度機能検証が行われる。この機能検証の段階で
は、タイミング(遅延、セットアップ及びホールドタイ
ム)の検証は行われない。ここで、順序セルにおけるセ
ットアップタイムとは、クロック信号が入力される前に
データ(信号値)を確定させておかなければならない時
間である。もしセットアップタイム内でデータが確定し
ていない場合(つまりセットアップタイム内で信号値が
変化する場合)は、そのデータが確定される補償がな
い。2. Description of the Related Art FIG. 12 is a flowchart when a conventional LSI design is performed. Generally, when designing an LSI, a hardware description language (hereinafter, HDL: Hardware Descripti
on La-nguage). What is HDL?
This is a language used when describing the function of the LSI to be designed. When the HDL is described as shown in FIG.
101), a function level operation check (hereinafter referred to as function verification) is performed (S102), and the function is checked (S102).
3) If an unintended operation is found, the HDL is corrected and the function verification is performed again. At this stage of function verification, verification of timing (delay, setup, and hold time) is not performed. Here, the setup time in the sequential cell is a time in which data (signal value) must be determined before a clock signal is input. If the data is not determined within the setup time (that is, if the signal value changes within the setup time), there is no compensation for determining the data.
【0003】図13はHDL記述例とそのHDLにより
表されるLSI回路例を表す図である。機能検証済みH
DLは論理合成ソフト等により、図13のようなHDL
で機能記述された通りに動作するようなLSI回路図デ
ータに変換される(S104)。変換されたLSI回路
図データは回路シミュレータ等により、回路図レベルで
の動作確認(以下、回路検証という)が行われる(S1
05)。回路検証は機能検証とは違い、各素子のタイミ
ングを含んだ検証が行われる。さらに近年では、レイア
ウトツールによるレイアウト後の配線遅延データも含ん
だ検証も行われている。回路検証による確認において
(S106)、素子や配線遅延により意図しない動作が
発見された場合には、再度、LSI回路図への変換が行
われ、回路検証が行われる。またHDLを記述する段階
までもどって修正が行われる場合もある。FIG. 13 is a diagram showing an example of an HDL description and an example of an LSI circuit represented by the HDL. Function verified H
DL is HDL as shown in FIG. 13 by logic synthesis software or the like.
Is converted to LSI circuit diagram data that operates as described in (S104). The converted LSI circuit diagram data is checked for operation at the circuit diagram level (hereinafter referred to as circuit verification) by a circuit simulator or the like (S1).
05). The circuit verification differs from the function verification in that the verification including the timing of each element is performed. Further, in recent years, verification including wiring delay data after layout by a layout tool has been performed. If an unintended operation is found due to element or wiring delay in the confirmation by circuit verification (S106), conversion to an LSI circuit diagram is performed again and circuit verification is performed. In some cases, the correction may be made by returning to the stage of describing the HDL.
【0004】図14はLSI回路内部の順序セルのセッ
トアップタイムを表す図である。図において、順序回路
A部及びB部は、順序セルの集合である。クロック信号
を同期させ、組合せ回路部は、順序回路A部からの出力
された信号値を入力として、組合せ回路部の信号値の変
化を順序回路B部に伝播するものである。FIG. 14 is a diagram showing a setup time of a sequential cell in an LSI circuit. In the figure, the sequential circuits A and B are a set of sequential cells. The combinational circuit unit synchronizes the clock signal, and receives the signal value output from the sequential circuit A unit as an input and propagates a change in the signal value of the combinational circuit unit to the sequential circuit B unit.
【0005】ここで、組合せ回路部の入出力間の伝播遅
延が大きく、順序回路B部のセットアップタイムが守ら
れなければ、クロック信号が入力された時点でデータが
確定されている補償ができなくなり、回路シミュレータ
は順序回路Bの出力として不定値を出力する。不定値と
は、信号値としてHIGH又はLOWを確定できない状
態である。Here, if the propagation delay between the input and output of the combinational circuit section is large and the setup time of the sequential circuit B section is not maintained, the data cannot be compensated at the time when the clock signal is inputted. , The circuit simulator outputs an indefinite value as the output of the sequential circuit B. An undefined value is a state in which HIGH or LOW cannot be determined as a signal value.
【0006】このようにLSI回路内部においてはセッ
トアップタイム等のタイミング検証も行われるため、L
SI回路検証で実ハードウェアLSI相当の動作検証が
行える。As described above, the timing of the setup time and the like is also verified inside the LSI circuit.
The operation verification equivalent to the actual hardware LSI can be performed by the SI circuit verification.
【0007】[0007]
【発明が解決しようとする課題】しかし、回路検証の際
に行われるタイミングの検証において、LSI外部から
非同期で入力される信号には注意が必要となる。なぜな
ら、信号が非同期で入力されるため、順序セルにおい
て、セットアップタイムが守られる保証がないからであ
る。However, in the timing verification performed at the time of circuit verification, attention must be paid to signals asynchronously input from outside the LSI. This is because there is no guarantee that the setup time is maintained in the sequential cell because the signal is input asynchronously.
【0008】図15は外部からの非同期信号の入力によ
り誤動作を起こす順序セルの回路とその入出力信号のタ
イムチャートである。非同期信号が外部入力ピンから入
力された場合、順序セルのセットアップタイムが守られ
ない場合には、順序セルからの出力Qには図15のタイ
ムチャートに示すようなメタステーブルと呼ばれる信号
変化が生じ、これが回路内部に伝播することによりLS
I回路が誤動作する可能性がある。FIG. 15 is a time chart of a sequential cell circuit which malfunctions due to the input of an asynchronous signal from the outside and its input / output signals. If an asynchronous signal is input from an external input pin, and if the setup time of the sequence cell is not maintained, a signal change called metastable as shown in the time chart of FIG. 15 occurs in the output Q from the sequence cell. , Which propagates inside the circuit,
The I circuit may malfunction.
【0009】そこでメタステーブルの影響がLSI内部
に伝播しないようなLSI設計方法の実現及びその設計
を確実に行えるような装置の実現が望まれていた。Therefore, it has been desired to realize an LSI design method in which the influence of metastable does not propagate inside the LSI and to realize an apparatus which can surely perform the design.
【0010】[0010]
【課題を解決するための手段】本発明に係る回路設計方
法は、外部からの非同期信号が第1の順序セルに入力さ
れるように設計する工程と、非同期信号に基づいて第1
の順序セルから出力された信号が、第1の順序セルと同
期して動作する第2の順序セルに入力されるように設計
する工程と、第2の順序セルから出力された信号が、回
路内部に入力されるように設計する工程とを有してい
る。本発明においては、第1の順序セルに外部からの非
同期信号が入力されるように設計する。非同期信号に基
づいて第1の順序セルから出力された信号が、第1の順
序セルと同期して動作する第2の順序セルに入力される
ように設計し、第1の順序セルで発生したメタステーブ
ルが第2の順序セルのセットアップタイム以外の時間に
入力されるようにする。第2の順序セルから出力された
メタステーブルのない信号が、回路内部に入力されるよ
うに設計し、回路の誤動作を防ぎ、精度の高い回路を設
計する。A circuit design method according to the present invention includes a step of designing an external asynchronous signal to be input to a first sequential cell, and a method of designing a first sequential cell based on the asynchronous signal.
Designing a signal output from the second order cell to be input to a second order cell operating in synchronization with the first order cell; and outputting a signal output from the second order cell to a circuit. And designing the data to be input internally. In the present invention, the first sequential cell is designed to receive an asynchronous signal from the outside. The signal output from the first order cell based on the asynchronous signal is designed to be input to a second order cell that operates in synchronization with the first order cell, and is generated in the first order cell. The metastable is input at a time other than the setup time of the second ordered cell. A signal without metastable output from the second sequential cell is designed to be input into the circuit, a malfunction of the circuit is prevented, and a highly accurate circuit is designed.
【0011】また、本発明に係る回路設計装置は、あら
かじめ定められた規則に従い、設計する回路の機能を記
述して機能設計を行う段階において、クロック信号の信
号名が入力されると、その信号名のクロック信号に基づ
いて動作する順序セルの記述を検索する検索手段と、検
索手段が検索した順序セルの記述に対して、非同期で入
力される信号の信号名が記述されているかどうかを判断
し、信号名が記述されていれば、信号名に対して、順序
セルの記述が、クロック信号に同期して動作する2段以
上の接続で構成されるように記述されているかどうかを
判断し、クロック信号に同期して動作する2段以上の接
続で構成されるような記述がされていないものと判断す
れば、警告信号を出力する判断手段と、判断手段から警
告信号が送信されると警告を発する警告出力手段とを備
えている。本発明においては、検索手段がクロック信号
の信号名が入力されると、その信号名のクロック信号に
基づいて動作する順序セルの記述を検索する。判断手段
が、検索した順序セルの記述に対して、非同期で入力さ
れる信号の信号名が記述されているかどうかを判断し、
信号名が記述されていれば、信号名に対して、順序セル
の記述が、メタステーブルを回避できるようなクロック
信号に同期して動作する2段以上の接続で構成されるよ
うに記述されているかどうかを判断し、クロック信号に
同期して動作する2段以上の接続で構成されるような記
述がされていないものと判断すれば、警告信号を出力す
る。警告出力手段が警告信号が送信されると警告を発
し、メタステーブルに対する対策を機能記述段階で意識
させるようにする。In the circuit designing apparatus according to the present invention, when a signal name of a clock signal is inputted in a stage of describing a function of a circuit to be designed and performing a function design in accordance with a predetermined rule, the signal Searching means for searching for a description of a sequence cell operating based on a clock signal of a name, and determining whether a signal name of a signal input asynchronously is described for the description of the sequence cell searched by the searching means If the signal name is described, it is determined whether or not the description of the sequential cell is described in the signal name so that the description is made up of two or more connections operating in synchronization with the clock signal. If it is determined that there is no description that is composed of two or more connections operating in synchronization with the clock signal, a warning signal is output from the determination means for outputting a warning signal, and a warning signal is transmitted from the determination means. And a warning output means for issuing a warning with. In the present invention, when a signal name of a clock signal is input, a search unit searches for a description of a sequential cell that operates based on the clock signal having the signal name. The determining means determines whether or not the signal name of the signal input asynchronously is described with respect to the description of the searched order cell,
If the signal name is described, the description of the sequence cell is described in the signal name so as to be composed of two or more stages of connections that operate in synchronization with a clock signal that can avoid metastable. If it is determined that there is no description that is composed of two or more connections operating in synchronization with the clock signal, a warning signal is output. The warning output means issues a warning when the warning signal is transmitted, so that measures against metastable are made conscious at the function description stage.
【0012】また本発明に係る回路設計装置は、警告出
力手段の代わりに、判断手段から警告信号を受信する
と、順序セルの記述をクロック信号に同期して動作する
2段の接続で構成されるような記述に書き換え、その旨
を出力する記述変更手段を備えている。本発明において
は、判断手段がクロック信号に同期して動作する2段以
上の接続で構成されるような記述がされていないものと
判断した場合に、記述変更手段が、警告出力手段の代わ
りとして、警告信号に基づいてクロック信号に同期して
動作する2段の接続で構成されるような記述に書き換
え、その旨を出力し、メタステーブルに対する対策を自
動的に行い、メタステーブルを回避する。Further, the circuit design device according to the present invention is constituted by a two-stage connection which operates in synchronization with a clock signal when a warning signal is received from the judgment means instead of the warning output means. A description changing means for rewriting such a description and outputting the effect is provided. In the present invention, when the determining means determines that the description is not made up of two or more connections operating in synchronization with the clock signal, the description changing means replaces the warning output means with the description changing means. Based on the warning signal, the description is rewritten as a two-stage connection that operates in synchronization with the clock signal, and that effect is output, and a measure against metastable is automatically performed to avoid metastable.
【0013】また、本発明に係る記録媒体には、クロッ
ク信号の信号名が入力されると、その信号名のクロック
信号に基づいて動作する順序セルの記述を検索させ、検
索させた順序セルの記述に対して、非同期で入力される
信号の信号名が記述されているかどうかを判断させ、信
号名が記述されていれば、信号名に対して、クロック信
号に同期して動作する2段以上の接続で構成されるよう
に順序セルが記述されているかどうかを判断させ、クロ
ック信号に同期して動作する2段以上の接続で構成され
るような記述がされていないものと判断したときには、
警告を出力させることをコンピュータに実行させるプロ
グラムを記録する。本発明においては、クロック信号の
信号名が入力されると、その信号名のクロック信号に基
づいて動作する順序セルの記述を検索させる。また検索
させた順序セルの記述に対して、非同期で入力される信
号の信号名が記述されているかどうかを判断させ、信号
名が記述されていれば、信号名に対して、クロック信号
に同期して動作する2段以上の接続で構成されるように
順序セルが記述されているかどうかを判断させ、クロッ
ク信号に同期して動作する2段以上の接続で構成される
ような記述がされていないものと判断したときには、警
告を出力させて、メタステーブルの対策を機能記述段階
で意識させるようにする。Further, when the signal name of the clock signal is inputted to the recording medium according to the present invention, the description of the sequence cell operating based on the clock signal of the signal name is searched, and the searched sequence cell is searched for. In the description, it is determined whether or not the signal name of the signal input asynchronously is described. If the signal name is described, two or more stages that operate in synchronization with the clock signal in response to the signal name When it is determined whether or not the sequence cell is described so as to be configured by the connection of the above, and it is determined that the description is not configured so as to be configured by two or more connections operating in synchronization with the clock signal,
Record the program that causes the computer to output the alert. In the present invention, when a signal name of a clock signal is input, a description of a sequential cell operating based on the clock signal of the signal name is searched. In addition, it is determined whether or not the signal name of the signal input asynchronously is described in the description of the searched order cell. If the signal name is described, the signal name is synchronized with the clock signal. It is determined whether or not the sequence cell is described so as to be constituted by two or more stages of connections that operate in response to a clock signal. If it is determined that there is no meta-stable, a warning is output so that the user can be conscious of the meta-stable measures at the function description stage.
【0014】[0014]
実施形態1.図1は本発明の第1の実施の形態に係る回
路設計方法を実現するためのHDL記述例とそのHDL
により生成される回路図である。図において1及び2は
順序素子により構成される順序セルである。順序セル1
及び2は2段に接続され、クロック信号CLKはそれぞ
れの順序セルに入力されて、それぞれの順序セルは同期
して動作する。したがって、順序セル1及び2における
セットアップタイムは同時間で行われることになる。外
部入力ピンから入力された非同期信号IN1に基づい
て、順序セル1からは信号Q1が出力される。また信号
Q1に基づいて、順序セル2からは信号Q2が出力され
る。本実施の形態は、セットアップを守らない可能性の
ある非同期信号が入力されても、メタステーブルが生じ
ていない信号がLSI回路に入力されるような順序セル
の設計方法を提供するものである。Embodiment 1 FIG. FIG. 1 is an HDL description example for realizing the circuit design method according to the first embodiment of the present invention, and the HDL description.
FIG. 3 is a circuit diagram generated by. In the figure, reference numerals 1 and 2 denote sequential cells constituted by sequential elements. Order cell 1
And 2 are connected in two stages, the clock signal CLK is input to each of the sequential cells, and each of the sequential cells operates in synchronization. Therefore, the setup time in the order cells 1 and 2 is performed at the same time. A signal Q1 is output from the order cell 1 based on the asynchronous signal IN1 input from the external input pin. Also, based on the signal Q1, the sequence cell 2 outputs a signal Q2. The present embodiment provides a method of designing a sequential cell in which a signal free from metastable is input to an LSI circuit even when an asynchronous signal that may not follow setup is input.
【0015】図2は図1の回路図に入力される信号のタ
イムチャート例を表した図である。図1及び図2に基づ
いて順序セルを2段又はそれ以上接続した場合の各信号
の流れについて説明する。外部入力ピンからセットアッ
プが守られていない非同期信号IN1が入力されると、
順序セル1では、非同期信号IN1が不定値となってし
まい、信号Q1にはメタステーブルが現れる。メタステ
ーブルが現れた信号Q1は、そのまま順序セル2に入力
される。FIG. 2 is a diagram showing an example of a time chart of signals input to the circuit diagram of FIG. The signal flow when two or more sequential cells are connected will be described with reference to FIGS. When the asynchronous signal IN1 whose setup is not protected is input from the external input pin,
In the order cell 1, the asynchronous signal IN1 has an indefinite value, and a metastable appears in the signal Q1. The signal Q1 in which the metastable appears is input to the order cell 2 as it is.
【0016】しかし、メタステーブルが順序セル2に入
力される時点では、順序セル2では、セットアップタイ
ムではなくなっているので、順序セル2に入力される信
号Q1の信号値は確定されている。したがって順序セル
2から出力される信号Q2には、メタステーブルが発生
していない信号が出力され、この信号がLSI回路内部
に入力されることになり、順序セル1のセットアップタ
イムが守られていないために生じたメタステーブルによ
る影響を信号Q2は受けない。However, at the time when the metastable is input to the order cell 2, since the set-up time has expired in the order cell 2, the signal value of the signal Q1 input to the order cell 2 has been determined. Therefore, the signal Q2 output from the order cell 2 is a signal in which metastable is not generated, and this signal is input into the LSI circuit, and the setup time of the order cell 1 is not maintained. The signal Q2 is not affected by the metastable generated due to this.
【0017】以上のように第1の実施の形態によれば、
順序セル1及び2を2段に接続し、それらの順序セルを
同期させて動作させるように設計しているので、非同期
信号IN1が順序セル1に入力され、順序セル1から出
力される信号Q1にメタステーブルが発生したとして
も、順序セル2のセットアップタイムの時にはそのメタ
ステーブルが入力されず、順序セル2に入力される信号
Q1は確定されたものとなっているので、順序セル2か
ら出力される信号Q2には、メタステーブルが発生せ
ず、LSI回路内部にメタステーブルが発生しない信号
を入力することができ、精度の高い回路検証を行うこと
ができ、品質の高い回路を設計することができる。As described above, according to the first embodiment,
Since the order cells 1 and 2 are connected in two stages and the order cells are designed to operate in synchronization with each other, the asynchronous signal IN1 is input to the order cell 1 and the signal Q1 output from the order cell 1 is output. Even if a metastable occurs, the metastable is not input during the set-up time of the sequence cell 2, and the signal Q1 input to the sequence cell 2 is determined. A signal which does not generate metastable and which does not generate metastable inside the LSI circuit can be input as the signal Q2 to be output, and high-precision circuit verification can be performed to design a high-quality circuit. Can be.
【0018】実施形態2.図3は本発明の第2の実施の
形態に係るLSI設計方法を実現するための装置のブロ
ック図である。図において、10はLSI設計装置本体
であり、非同期入力信号警告手段11、機能検証手段1
2、回路図生成手段13及び回路検証手段14で構成さ
れている。非同期入力信号警告手段11はさらに、HD
Lに基づいて順序セルの記述を検索する検索手段11
A、その記述に非同期入力信号の記述があるかどうか判
断してその非同期入力信号に対して順序セルが、2段で
記述されているかどうかを判断し、1段以下であれば警
告信号を出力する判断手段11B、警告信号を受信する
と警告を出力する警告出力手段11Cで構成される。機
能検証手段12は、HDLに基づいて機能検証を行う。
回路図生成手段13は、HDLに基づいた回路図を生成
する。回路検証手段14は、生成された回路図に対し、
タイミング検証を含めた回路検証を行う。Embodiment 2 FIG. FIG. 3 is a block diagram of an apparatus for realizing an LSI design method according to the second embodiment of the present invention. In the figure, reference numeral 10 denotes a main body of an LSI design apparatus, which includes an asynchronous input signal warning unit 11 and a function verification unit 1.
2. It is composed of a circuit diagram generating means 13 and a circuit verifying means 14. The asynchronous input signal warning means 11 further comprises an HD
Search means 11 for searching the description of an ordered cell based on L
A: It is determined whether or not the description includes an asynchronous input signal, and it is determined whether or not the sequential cells are described in two stages for the asynchronous input signal. And a warning output unit 11C that outputs a warning when a warning signal is received. The function verification unit 12 performs function verification based on the HDL.
The circuit diagram generating means 13 generates a circuit diagram based on HDL. The circuit verification unit 14 generates the circuit diagram
Perform circuit verification including timing verification.
【0019】20は記憶手段であり、割付部品記憶手段
21、プログラム記憶手段22、設計情報記憶手段23
で構成されている。ここで、割付部品記憶手段21には
回路図生成手段13が回路図を生成する場合に参照する
割付部品のデータが記憶されている。また設計情報記憶
手段23には、設計された回路図の情報が記憶される。
30は機能記述入力手段であり、オペレータによりHD
Lが入力され、LSI設計装置10に送信する。40は
出力手段であり、本実施の形態では、例えばオペレータ
に表示を行う表示手段であるとする。Reference numeral 20 denotes a storage unit, which includes an allocated component storage unit 21, a program storage unit 22, and a design information storage unit 23.
It is composed of Here, the assigned component storage means 21 stores data of assigned components to be referred to when the circuit diagram creating means 13 creates a circuit diagram. The design information storage means 23 stores information on the designed circuit diagram.
Numeral 30 is a function description input means, which is input by the operator to the HD.
L is input and transmitted to the LSI design apparatus 10. Reference numeral 40 denotes an output unit. In the present embodiment, it is assumed that the output unit 40 is, for example, a display unit that provides a display to an operator.
【0020】メタステーブルを回避するLSI回路設計
方法は第1の実施の形態で説明したが、設計初心者によ
る不慣れや熟練者の注意不足等により、第1の実施の形
態のように順序セルが2段で構成されないようなHDL
の記述を行ってしまい、メタステーブルによる誤動作を
起こさせてしまうことが考えられる。この場合、メタス
テーブルに関しては、LSI回路図に基づいて発見する
ことができ、その際、LSI回路図を変更することで問
題を解決することは可能である。しかし、このように変
換された後のLSI回路図を変更してメタステーブルの
回避策を行った場合、HDL記述段階で記述した機能と
LSI回路図の動作との間に矛盾が生じる場合があり、
このままハードウェア化すると、本来意図する機能とハ
ードウェア化されたLSI回路の動作とが一致しないと
いう事態が生じる。そこで本実施の形態では、HDLに
よる機能記述段階で、LSI回路設計者に順序セルの多
段化を意識させた記述を行わせるようなLSI回路設計
装置を提供するものである。The LSI circuit design method for avoiding metastable has been described in the first embodiment. However, due to the inexperience of a design beginner or the lack of attention of a skilled person, the number of ordered cells is two as in the first embodiment. HDL not composed of steps
Is described, and a malfunction due to metastable may occur. In this case, the metastable can be found based on the LSI circuit diagram, and at that time, the problem can be solved by changing the LSI circuit diagram. However, when the metastable workaround is implemented by changing the LSI circuit diagram after the conversion in this way, inconsistencies may occur between the function described in the HDL description stage and the operation of the LSI circuit diagram. ,
If the hardware is used as it is, a situation arises in which the originally intended function does not match the operation of the hardware LSI circuit. Therefore, the present embodiment provides an LSI circuit design apparatus that allows an LSI circuit designer to make a description in consideration of increasing the number of sequential cells in a function description stage by HDL.
【0021】図4は図3の装置を用いたLSI設計手順
を表すフローチャートである。図3及び図4に基づいて
LSI設計動作について説明する。機能記述入力手段3
0からHDLが入力されると(S1)、非同期入力信号
警告手段11は、設計回路のクロック信号名が入力され
たときに図5に示すような動作を行う(S2)。FIG. 4 is a flowchart showing an LSI design procedure using the apparatus shown in FIG. The LSI design operation will be described with reference to FIGS. Function description input means 3
When HDL is input from 0 (S1), the asynchronous input signal warning means 11 performs an operation as shown in FIG. 5 when a clock signal name of a design circuit is input (S2).
【0022】図5は非同期入力信号警告手段11の処理
手順を表すフローチャートである。非同期入力信号警告
手段11の検索手段11Aは、LSI回路設計者からの
クロック信号名の入力があると(S11)、HDLに基
づき、そのクロック信号に基づいて動作する順序セルの
記述を検索する(S12)。判断手段11Bは、その順
序セルの記述に対して外部から入力される非同期入力信
号の記述があるかどうかを判断し、記述のある非同期入
力信号に対して以下のループを行う(S13〜S1
6)。ここでHDLにおいて、非同期入力信号には「A
SYN_IN」の記述をLSI回路設計者が入力しなけ
ればならない規則として設定しておき、判断手段11B
は、HDL記述から「ASYN_IN」と付されている
信号を抽出するようにしておく。FIG. 5 is a flowchart showing the processing procedure of the asynchronous input signal warning means 11. When the clock signal name is input from the LSI circuit designer (S11), the search unit 11A of the asynchronous input signal warning unit 11 searches for a description of a sequential cell that operates based on the clock signal based on HDL (S11). S12). The determination means 11B determines whether or not there is a description of an asynchronous input signal input from the outside with respect to the description of the ordered cell, and performs the following loop for the described asynchronous input signal (S13 to S1).
6). Here, in the HDL, the asynchronous input signal includes “A
The description of “SYN_IN” is set as a rule that must be input by the LSI circuit designer, and the determination means 11B
Extracts a signal labeled "ASYN_IN" from the HDL description.
【0023】判断手段11Bは、検索された非同期入力
信号が入力されているS11で入力されたクロック信号
名で動作している順序セルが2段以上で構成されている
かどうかをHDL記述に基づいて判断する(S14)。
ここで順序セルが1段構成の場合には警告信号を出力
し、その警告信号を受信した警告出力手段11Cは、出
力手段40に警告メッセージを出力する(S15)。図
6は順序セルが1段構成のHDL記述例とその場合の警
告メッセージ例を表す図である。順序セルが2段以上で
構成されるようにHDLが記述されていれば、判断手段
11Bは、さらに「ASYN_IN」と付されている非
同期信号について、記述されている順序セルについて2
段以上の構成であるかどうか判断を行う(S14)。The determining means 11B determines, based on the HDL description, whether or not the ordered cell operating with the clock signal name input in S11 to which the searched asynchronous input signal is input is composed of two or more stages. A determination is made (S14).
Here, when the ordered cells have a single-stage configuration, a warning signal is output, and the warning output unit 11C that has received the warning signal outputs a warning message to the output unit 40 (S15). FIG. 6 is a diagram showing an example of an HDL description in which the order cell has a single-stage configuration and an example of a warning message in that case. If the HDL is described so that the ordered cell is composed of two or more stages, the determining means 11B further determines, for the asynchronous signal denoted by “ASYN_IN”, 2 bits for the described ordered cell.
It is determined whether or not the configuration is equal to or greater than the number of stages (S14).
【0024】非同期入力信号警告手段11による順序セ
ルのHDL確認が終了すると、設計された回路に基づい
て、機能検証手段12が機能検証を行う(S3)。機能
検証により、期待していた機能が得られた場合は(S
4)、回路図生成手段13が割付部品記憶手段21に記
憶されている割付部品を割り付けて回路図を生成する
(S5)。期待していた機能が得られなかった場合は、
オペレータは期待した機能を得られるように再度HDL
を記述しなおす。When the HDL confirmation of the ordered cells by the asynchronous input signal warning unit 11 is completed, the function verification unit 12 performs function verification based on the designed circuit (S3). If the expected function is obtained by function verification (S
4) The circuit diagram generating means 13 allocates the allocated components stored in the allocated component storage means 21 to generate a circuit diagram (S5). If you don't get what you expect,
The operator re-enters HDL to obtain the expected function.
Is described again.
【0025】回路図が生成されると、回路検証手段14
により回路検証が行われる(S6)。回路検証によりタ
イミング検証等が期待通りであれば(S7)、ハードウ
ェア化を図る。期待通りでなければ、再度回路図を作成
し直して回路検証を行う。When the circuit diagram is generated, the circuit verification means 14
Performs circuit verification (S6). If timing verification or the like is expected as a result of circuit verification (S7), hardware implementation is attempted. If not as expected, a circuit diagram is created again and circuit verification is performed.
【0026】以上のように第2の実施の形態によれば、
検索手段11Aが、入力されたクロック信号名による信
号で動作する順序セルの記述を検索し、判断手段11B
がその記述にセットアップタイムを守らない非同期入力
信号の記述があるかどうか判断して、その非同期入力信
号に対して順序セルが、2段で記述されているかどうか
を判断し、1段以下であれば警告出力手段11Cが出力
手段40を介してLSI回路設計者に警告を発するよう
にしたので、LSIのメタステーブルによる誤動作をH
DL記述段階で検討することが可能である。特にメタス
テーブルに対する対策に不慣れなLSI回路設計初心者
には効果的であり、設計者の熟練度等に依らず、ハード
ウェア化されたLSIの品質の向上が期待できる。ま
た、非同期信号かどうかの区別をつけ、非同期入力信号
が入力される順序セルに対してのみ処理を行い、同期信
号に対しては処理を行わないので、処理速度をはやくす
ることができる。As described above, according to the second embodiment,
The search means 11A searches for a description of a sequential cell operated by a signal based on the input clock signal name, and determines
Determines whether there is a description of an asynchronous input signal that does not adhere to the setup time in the description, determines whether or not the sequential cell is described in two stages for the asynchronous input signal, For example, since the warning output unit 11C issues a warning to the LSI circuit designer via the output unit 40, the malfunction due to the LSI metastable is set to H.
It can be considered at the DL description stage. In particular, it is effective for beginners of LSI circuit design who are unfamiliar with measures against metastable, and improvement in the quality of hardware LSIs can be expected regardless of the level of skill of the designer. In addition, a distinction is made as to whether or not the signal is an asynchronous signal, and the processing is performed only on the sequence cells to which the asynchronous input signal is input, and the processing is not performed on the synchronous signal, so that the processing speed can be increased.
【0027】実施形態3.図7は本発明の第3の実施の
形態に係るLSI設計方法を実現するための装置のブロ
ック図である。図において図3と同じ図番を付している
ものは、第2の実施の形態で説明したことと同様の動作
を行うので説明を省略する。図において10Aは非同期
信号警告手段11の代わりに順序セル挿入手段15を備
えたLSI設計装置である。15は順序セル挿入手段で
あり、第1の実施の形態で説明した検索手段11A及び
判断手段11Bと同様の動作を行う検索手段15A及び
判断手段15Bに加え、警告出力手段11Cの代わり
に、非同期入力信号が入力される順序セルにおいて、L
SI設計者が1段以下で順序セルを構成するようなHD
Lの記述を行った場合に、自動的に順序セルを2段とし
て記述するようにHDLを書き換える記述変更手段15
Cで構成される。本実施の形態では、HDLによりLS
Iの機能記述を行った際、外部から非同期入力信号の入
力が定義されている場合、その非同期入力信号に対して
2段以上の順序セルでとらえるような記述がなされてい
ない場合、記述されたHDLに対し、自動的に順序セル
を2段にするようにHDL記述を変更する手段を設けた
ものである。Embodiment 3 FIG. 7 is a block diagram of an apparatus for realizing the LSI design method according to the third embodiment of the present invention. In the figure, the components having the same reference numerals as those in FIG. 3 perform the same operations as those described in the second embodiment, and therefore the description is omitted. In the figure, reference numeral 10A denotes an LSI design apparatus provided with a sequential cell insertion means 15 instead of the asynchronous signal warning means 11. Reference numeral 15 denotes an ordered cell insertion unit. In addition to the search unit 15A and the judgment unit 15B that perform the same operations as the search unit 11A and the judgment unit 11B described in the first embodiment, an asynchronous cell is used instead of the warning output unit 11C. In a sequence cell to which an input signal is input, L
HD in which the SI designer configures ordered cells in one or less stages
When the description of L is made, description changing means 15 for rewriting HDL so that the order cells are automatically described as two levels.
C. In the present embodiment, LS is
If the input of the asynchronous input signal is defined from the outside when the function description of I is made, and if the asynchronous input signal is not described so as to be captured by two or more sequential cells, the input is described. The HDL is provided with means for changing the HDL description so that the order cells are automatically set to two levels.
【0028】図8は図7の装置を用いたLSI設計手順
を表すフローチャートである。図8において、図4と同
じステップ番号を付しているものは同様の処理を行うの
で説明を省略する。図において、S2Aは順序セル挿入
手段15の処理を表している。FIG. 8 is a flowchart showing an LSI design procedure using the apparatus of FIG. In FIG. 8, those having the same step numbers as those in FIG. 4 perform the same processing, and thus the description thereof will be omitted. In the figure, S2A represents the processing of the ordered cell insertion means 15.
【0029】図9は順序セル挿入手段15の処理手順を
表すフローチャートである。LSI回路設計者からのH
DLによるクロック信号名の入力があると(S21)、
HDLに基づき、そのクロック信号に基づいて動作する
順序セルの記述を検索する(S22)。判断手段15B
は、その順序セルの記述に対して外部から入力される非
同期入力信号の記述があるかどうかを判断し、記述のあ
る非同期入力信号に対して以下のループを行う(S23
〜S31)。ここでHDLにおいて、非同期入力信号に
は「ASYN_IN」の記述をLSI回路設計者が入力
しなければならない規則として設定しておき、判断手段
15Bは、HDL記述から「ASYN_IN」と付され
ている信号を抽出するようにしておく。FIG. 9 is a flowchart showing the processing procedure of the ordered cell insertion means 15. H from LSI circuit designer
When a clock signal name is input by DL (S21),
Based on the HDL, the description of the ordered cell that operates based on the clock signal is searched (S22). Judgment means 15B
Determines whether there is a description of an asynchronous input signal input from the outside with respect to the description of the sequence cell, and performs the following loop for the described asynchronous input signal (S23)
To S31). Here, in the HDL, the description of “ASYN_IN” is set as a rule that must be input by the LSI circuit designer for the asynchronous input signal, and the determination unit 15B outputs the signal labeled “ASYN_IN” from the HDL description. To be extracted.
【0030】順序セル挿入手段15の判断手段15B
は、抽出された非同期入力信号が入力されているS21
で入力されたクロック信号名で動作している順序セルが
2段以上で構成されているかどうかをHDL記述に基づ
いて判断する(S24)。2段以上で構成されていれ
ば、非同期入力信号が終了するまでループを繰り返す
(S31)。順序セルが2段以上で構成されていないも
のと判断すれば、次に1段の順序セルで構成されている
かどうかをHDL記述に基づいて判断する(S25)。Determination means 15B of ordered cell insertion means 15
Is the S21 to which the extracted asynchronous input signal is input.
It is determined based on the HDL description whether or not the ordered cells operating with the clock signal name input in (2) are composed of two or more stages (S24). If there are two or more stages, the loop is repeated until the asynchronous input signal ends (S31). If it is determined that the ordered cell is not composed of two or more stages, it is next determined whether or not the ordered cell is composed of one stage of cells based on the HDL description (S25).
【0031】図10は順序セルがない場合、1段の場合
及び2段の場合のHDL記述例である。また、図11は
順序セル挿入手段で修正されたHDLの記述例とその場
合の警告メッセージ例を表す図である。1段構成の順序
セルが、非同期入力信号ASYN_IN1を入力信号と
し、Q1を出力信号とする場合に、記述変更手段15C
は、非同期入力信号ASYN_IN1を入力信号とし、
ASYN_IN1_TMPを出力信号とする順序セルを
1段目とし、ASYN_IN1_TMPを入力信号と
し、Q1を出力信号とする順序セルを2段目とするよう
に、順序セルを1段追加させる記述を自動的に行う(S
26)。HDLの修正を行った後、HDLを修正した旨
のメッセージを表示手段40又は出力手段41に出力さ
せる(S27)。FIG. 10 shows HDL description examples in the case where there is no ordered cell, the case of one stage, and the case of two stages. FIG. 11 is a diagram showing a description example of the HDL corrected by the ordered cell insertion means and a warning message example in that case. When a single-stage sequence cell uses the asynchronous input signal ASYN_IN1 as an input signal and Q1 as an output signal, the description changing means 15C
Uses the asynchronous input signal ASYN_IN1 as an input signal,
A description is automatically made so that a sequence cell is added by one stage such that a sequence cell having ASYN_IN1_TMP as an output signal is a first stage, a sequence cell having ASYN_IN1_TMP as an input signal, and a sequence cell having Q1 as an output signal is a second stage. (S
26). After the HDL is modified, a message to the effect that the HDL has been modified is output to the display means 40 or the output means 41 (S27).
【0032】S25において、HDL記述に基づいて非
同期入力信号に対して順序セルが構成されず、非同期入
力信号(図10ではASYN_IN3)が直接に他の回
路に入力される信号(IN4)と同一であると判断した
場合、記述変更手段15Cは、非同期入力信号ASYN
_IN3を入力信号とし、ASYN_IN3_TMPを
出力信号とする順序セルを1段目とし、ASYN_IN
3_TMPを入力信号とし、ASYN_IN3_TMP
2を出力信号とする順序セルを2段目とするように、順
序セルを2段追加させる記述を自動的に行う(S2
8)。またASYN_IN3の代わりにASYN_IN
3_TMP2がIN4として入力されるように置換を行
うHDLの記述を自動的に行う(S29)。HDLの修
正を行った後、HDLを修正した旨のメッセージを表示
手段40又は出力手段41に出力させる(S30)。
「ASYN_IN」のついている非同期入力信号に対し
て繰り返し行う(S31)。In S25, no sequential cell is formed for the asynchronous input signal based on the HDL description, and the asynchronous input signal (ASYN_IN3 in FIG. 10) is the same as the signal (IN4) directly input to another circuit. If it is determined that there is, the description change unit 15C outputs the asynchronous input signal ASYN
_IN3 as an input signal, and ASYN_IN3_TMP as an output signal.
3_TMP as an input signal and ASYN_IN3_TMP
A description is automatically made to add two stages of ordered cells so that the ordered cells whose output signal is 2 is the second stage (S2).
8). Also, ASYN_IN instead of ASYN_IN3
The HDL to be replaced is automatically described so that 3_TMP2 is input as IN4 (S29). After the HDL is modified, a message to the effect that the HDL has been modified is output to the display means 40 or the output means 41 (S30).
The process is repeatedly performed on the asynchronous input signal with “ASYN_IN” (S31).
【0033】以上のように第3の実施の形態によれば、
順序セル挿入手段15の検索手段15Aが、入力された
クロック信号名による信号で動作する順序セルの記述を
検索し、判断手段15Bがその記述にセットアップタイ
ムを守らない非同期入力信号の記述があるかどうか判断
して、その非同期入力信号に対して順序セルが、2段で
記述されているかどうかを判断し、1段以下であれば記
述変更手段15Cが、順序セルが2段で構成されるよう
に、HDLを書き換えて、その旨を出力手段40に出力
するようにしたので、設計したLSIのメタステーブル
による誤動作の可能性を、HDL記述段階で自動的に回
避させることが可能である。また、非同期入力信号が入
力される順序セルに対してのみ処理を行い、同期信号に
対しては処理を行わないので、処理速度をはやくするこ
とができる。As described above, according to the third embodiment,
The searching means 15A of the ordered cell inserting means 15 searches for the description of the ordered cell operated by the signal according to the input clock signal name, and the judging means 15B includes the description of the asynchronous input signal which does not adhere to the setup time. It is determined whether or not the sequence cell is described in two stages for the asynchronous input signal. If the sequence cell is one stage or less, the description changing means 15C causes the sequence cell to be configured in two stages. Since the HDL is rewritten and the fact is output to the output means 40, the possibility of a malfunction due to the metastable of the designed LSI can be automatically avoided at the HDL description stage. Further, processing is performed only on the ordered cells to which the asynchronous input signal is input, and processing is not performed on the synchronous signal, so that the processing speed can be increased.
【0034】実施形態4.なお、上述の実施の形態にお
いては、順序セルとしてDフリップフロップを例示した
が、本発明ではそれに限定されるものではなく、レジス
タとしての機能を有するものであればセルとして用いて
もよい。また、2つの順序セルは、クロックによる同期
さえとれていれば別の種類のものを2段にしても問題が
ない。Embodiment 4 FIG. In the above-described embodiment, a D flip-flop is described as an example of a sequential cell. However, the present invention is not limited to this, and any cell having a function as a register may be used. Further, as long as the two sequential cells are synchronized with each other by the clock, there is no problem even if two different cells are provided in two stages.
【0035】実施形態5.また、上述の実施の形態にお
いては、順序セルは2段にすることを前提として説明し
たが、本発明はそれに限定されるものではなく、順序セ
ルを2段以上接続させる場合にも有効である。ただ、メ
タステーブルもよる回路の誤動作の可能性に関しては、
少なくとも順序セルを2段で構成することにより回避で
きる。Embodiment 5 FIG. Further, in the above-described embodiment, the description has been made on the premise that the order cells have two stages. However, the present invention is not limited to this, and is also effective when connecting two or more order cells. . However, regarding the possibility of circuit malfunction due to metastable,
This can be avoided by configuring at least the order cells in two stages.
【0036】実施形態6.また、上述の実施の形態にお
いては、機能検証と回路検証を1つの装置で同時に行う
ようにしたが、本発明ではそれに限定されるものではな
く、別の装置で構成してもよい。また、記憶手段等がネ
ットワークを介して接続されていてもよい。Embodiment 6 FIG. Further, in the above-described embodiment, the function verification and the circuit verification are performed simultaneously by one device, but the present invention is not limited to this, and may be configured by another device. Further, storage means and the like may be connected via a network.
【0037】実施形態7.上述の実施の形態では、LS
I設計装置本体10をそれぞれの役割を持たせた手段を
設けて、動作させるようにしたが、それに限定されるも
のではなく、(実際には、)LSI設計装置本体10及
び10Aは、例えばコンピュータのCPU等で構成され
るプログラムの実行手段であり、記憶手段20のプログ
ラム記憶手段22に記憶されたHDLシミュレータや論
理合成ツールによる回路シミュレータのプログラムに基
づいてLSI設計処理を行うものと考えてもよい。Embodiment 7 In the above embodiment, LS
Although the I design apparatus main body 10 is provided with means having respective roles and operated, the present invention is not limited to this, and (in fact) the LSI design apparatus main bodies 10 and 10A are, for example, computers. Means for executing an LSI design process based on an HDL simulator or a circuit simulator program by a logic synthesis tool stored in the program storage means 22 of the storage means 20. Good.
【0038】[0038]
【発明の効果】以上のように本発明によれば、外部から
の非同期信号を第1の順序セルに入力させるように設計
し、非同期信号に基づいて第1の順序セルから出力され
た信号を、第1の順序セルと同期して動作する第2の順
序セルに入力させるように設計し、第2の順序セルから
出力された信号を、回路内部に入力させるように設計し
たので、第1の順序セルから出力された信号に発生した
メタステーブルが第2の順序セルに入力されたとして
も、第2の順序セルではデータが確定しているので、第
2の順序セルから出力された信号にはメタステーブルが
発生せず、回路内部にメタステーブルが発生しない信号
が入力され、精度の高い回路検証を行うことができ、品
質の高い回路を設計することができる。As described above, according to the present invention, an asynchronous signal from outside is designed to be input to the first sequential cell, and a signal output from the first sequential cell based on the asynchronous signal is output. , The second order cell operating in synchronization with the first order cell is designed to be input, and the signal output from the second order cell is designed to be input into the circuit. Even if the metastable generated in the signal output from the second order cell is input to the second order cell, since the data is fixed in the second order cell, the signal output from the second order cell A signal in which metastable does not occur and metastable does not occur is input into the circuit, so that highly accurate circuit verification can be performed and a high-quality circuit can be designed.
【0039】また、本発明によれば、検索手段がクロッ
ク信号の信号名が入力されると、その信号名のクロック
信号に基づいて動作する順序セルの記述を検索し、判断
手段が、検索した順序セルの記述に対して、非同期で入
力される信号の信号名が記述されているかどうかを判断
し、信号名が記述されていれば、信号名に対して、順序
セルの記述が、メタステーブルを回避できるようなクロ
ック信号に同期して動作する2段以上の接続で構成され
るように記述されているかどうかを判断し、クロック信
号に同期して動作する2段以上の接続で構成されるよう
な記述がされていないものと判断すれば、警告信号を出
力し、警告出力手段がその警告信号が送信されると警告
を発して、メタステーブルに対する対策を機能記述段階
で意識させ、修正することが可能となる。また、非同期
入力信号が入力される順序セルの記述に対してのみ処理
を行い、同期信号に対しては処理を行わないので、処理
速度をはやくすることができる。Further, according to the present invention, when the signal name of the clock signal is inputted by the search means, the search means searches the description of the sequential cell which operates based on the clock signal of the signal name, and the judgment means makes the search. It is determined whether or not the signal name of the signal input asynchronously is described in the description of the ordered cell. If the signal name is described, the description of the ordered cell is described in the metastable Is determined so as to be configured with two or more stages of connections operating in synchronization with a clock signal, and is configured with two or more stages of connections operating in synchronization with a clock signal. If it is determined that such a description has not been made, a warning signal is output, and the warning output means issues a warning when the warning signal is transmitted, and the countermeasures for metastable are made conscious at the function description stage and corrected. Rukoto is possible. Further, the processing is performed only on the description of the sequential cell to which the asynchronous input signal is input, and the processing is not performed on the synchronous signal, so that the processing speed can be increased.
【0040】また、本発明によれば、判断手段がクロッ
ク信号に同期して動作する2段以上の接続で構成される
ような記述がされていないものと判断した場合に、記述
変更手段が、警告出力手段の代わりとして、警告信号に
基づいてクロック信号に同期して動作する2段の接続で
構成されるような記述に書き換え、その旨を出力するよ
うにしたので、メタステーブルに対する対策を機能記述
段階で自動的に回避させることが可能である。また、非
同期入力信号が入力される順序セルに対してのみ処理を
行い、同期信号に対しては処理を行わないので、処理速
度をはやくすることができる。Further, according to the present invention, when the judging means judges that there is no description composed of two or more connections operating in synchronization with the clock signal, Instead of the warning output means, the description is rewritten as a two-stage connection that operates in synchronization with the clock signal based on the warning signal, and the fact is output. This can be automatically avoided at the description stage. Further, processing is performed only on the ordered cells to which the asynchronous input signal is input, and processing is not performed on the synchronous signal, so that the processing speed can be increased.
【図1】本発明の第1の実施の形態に係る回路設計方法
を実現するためのHDL記述例とそのHDLにより生成
される回路図である。FIG. 1 is an HDL description example for realizing a circuit design method according to a first embodiment of the present invention, and a circuit diagram generated by the HDL.
【図2】図1の回路図に入力される信号のタイムチャー
ト例を表した図である。FIG. 2 is a diagram illustrating an example of a time chart of signals input to the circuit diagram of FIG. 1;
【図3】本発明の第2の実施の形態に係るLSI設計方
法を実現するための装置のブロック図である。FIG. 3 is a block diagram of an apparatus for realizing an LSI design method according to a second embodiment of the present invention.
【図4】図3の装置を用いたLSI設計手順を表すフロ
ーチャートである。FIG. 4 is a flowchart illustrating an LSI design procedure using the device of FIG. 3;
【図5】非同期入力信号警告手段11の処理手順を表す
フローチャートである。FIG. 5 is a flowchart illustrating a processing procedure of an asynchronous input signal warning unit 11;
【図6】順序セルが1段構成のHDL記述例とその場合
の警告メッセージ例を表す図である。FIG. 6 is a diagram illustrating an example of an HDL description in which a sequential cell has a single-stage configuration and an example of a warning message in that case.
【図7】本発明の第3の実施の形態に係るLSI設計方
法を実現するための装置のブロック図である。FIG. 7 is a block diagram of an apparatus for realizing an LSI design method according to a third embodiment of the present invention.
【図8】図7の装置を用いたLSI設計手順を表すフロ
ーチャートである。FIG. 8 is a flowchart showing an LSI design procedure using the device of FIG. 7;
【図9】順序セル挿入手段15の処理手順を表すフロー
チャートである。FIG. 9 is a flowchart showing a processing procedure of the ordered cell insertion means 15;
【図10】順序セルがない場合、1段の場合及び2段の
場合のHDL記述例を表す図である。FIG. 10 is a diagram illustrating an example of an HDL description in the case where there is no ordered cell, in the case of one stage, and in the case of two stages.
【図11】順序セル挿入手段で修正されたHDLの記述
例とその場合の警告メッセージ例を表す図である。FIG. 11 is a diagram illustrating a description example of HDL corrected by the ordered cell insertion unit and a warning message example in that case.
【図12】従来のLSI設計を行う際のフローチャート
である。FIG. 12 is a flowchart when a conventional LSI design is performed.
【図13】HDL記述例とそのHDLにより表されるL
SI回路例を表す図である。FIG. 13 is an example of an HDL description and L represented by the HDL.
FIG. 3 is a diagram illustrating an example of an SI circuit.
【図14】LSI回路内部の順序セルのセットアップタ
イムを表す図である。FIG. 14 is a diagram illustrating a setup time of a sequence cell in an LSI circuit.
【図15】外部からの非同期信号の入力により誤動作を
起こす回路とその入出力信号のタイムチャートである。FIG. 15 is a time chart of a circuit which malfunctions due to input of an asynchronous signal from the outside and its input / output signals.
10、10A LSI設計装置本体 11 非同期入力信号警告手段 11A 検索手段 11B 判断手段 11C 警告出力手段 12 機能検証手段 13 回路図生成手段 14 回路検証手段 15 順序セル挿入手段 15A 検索手段 15B 判断手段 15C 記述変更手段 20 記憶手段 21 割付部品記憶手段 22 プログラム記憶手段 23 設計情報記憶手段 30 機能記述入力手段 40 出力手段 10, 10A LSI design apparatus body 11 Asynchronous input signal warning means 11A Search means 11B Judgment means 11C Warning output means 12 Function verification means 13 Circuit diagram generation means 14 Circuit verification means 15 Ordered cell insertion means 15A Search means 15B Judgment means 15C Description change Means 20 Storage means 21 Allocated parts storage means 22 Program storage means 23 Design information storage means 30 Function description input means 40 Output means
Claims (5)
に入力されるように設計する工程と、 前記非同期信号に基づいて前記第1の順序セルから出力
された信号が、前記第1の順序セルと同期して動作する
第2の順序セルに入力されるように設計する工程と、 前記第2の順序セルから出力された信号が、回路内部に
入力されるように設計する工程とを有することを特徴と
する回路設計方法。A step of designing an external asynchronous signal to be input to a first sequential cell; and a step of outputting a signal output from the first sequential cell based on the asynchronous signal to the first sequential cell. A step of designing so as to be input to a second order cell operating in synchronization with the order cell; and a step of designing such that a signal output from the second order cell is input into a circuit. A circuit design method comprising:
する回路の機能を記述して機能設計を行う回路設計装置
において、 クロック信号の信号名が入力されると、その信号名のク
ロック信号に基づいて動作する順序セルの記述を検索す
る検索手段と、 該検索手段が検索した前記順序セルの記述に対して、非
同期で入力される信号の信号名が記述されているかどう
かを判断し、前記信号名が記述されていれば、前記信号
名に対して、順序セルの記述が、前記クロック信号に同
期して動作する2段以上の接続で構成されるように記述
されているかどうかを判断し、前記クロック信号に同期
して動作する2段以上の接続で構成されるような記述が
されていないものと判断すれば、警告信号を出力する判
断手段と、 該判断手段から警告信号が送信されると警告を発する警
告出力手段とを備えたことを特徴とする回路設計装置。2. A circuit design apparatus for performing a function design by describing a function of a circuit to be designed in accordance with a predetermined rule, wherein when a signal name of a clock signal is input, the circuit name is determined based on the clock signal of the signal name. Searching means for searching for a description of an operating sequence cell; determining whether a signal name of a signal input asynchronously is described in the description of the sequential cell searched by the searching means, Is described, it is determined whether or not the description of the sequential cell is described in the signal name so as to be configured by two or more stages of connections operating in synchronization with the clock signal. If it is determined that the description does not include a configuration including two or more connections that operate in synchronization with the clock signal, a determination unit that outputs a warning signal; and a warning signal is transmitted from the determination unit. And a warning output means for issuing a warning.
手段から警告信号を受信すると、前記順序セルの記述
を、前記クロック信号に同期して動作する2段の接続で
構成されるような記述に書き換え、その旨を出力する記
述変更手段を備えたことを特徴とする請求項2記載の回
路設計装置。3. When a warning signal is received from the determination means instead of the warning output means, the description of the sequential cell is described as a two-stage connection which operates in synchronization with the clock signal. 3. The circuit design apparatus according to claim 2, further comprising description changing means for rewriting the information and outputting the fact.
その信号名のクロック信号に基づいて動作する順序セル
の記述を検索させ、 検索させた前記順序セルの記述に対して、非同期で入力
される信号の信号名が記述されているかどうかを判断さ
せ、前記信号名が記述されていれば、前記信号名に対し
て、前記クロック信号に同期して動作する2段以上の接
続で構成されるように順序セルが記述されているかどう
かを判断させ、前記クロック信号に同期して動作する2
段以上の接続で構成されるような記述がされていないも
のと判断したときには、警告を出力させることをコンピ
ュータに実行させる回路設計プログラムを記録した記録
媒体。4. When a signal name of a clock signal is input,
A description of the sequence cell operating based on the clock signal of the signal name is searched, and it is determined whether the signal name of the signal input asynchronously is described with respect to the searched description of the sequence cell, If the signal name is described, it is determined whether or not a sequence cell is described for the signal name so as to be configured with two or more stages of connections operating in synchronization with the clock signal, Operates in synchronization with a clock signal 2
A recording medium that records a circuit design program that causes a computer to output a warning when it is determined that the description does not include a connection of more than two stages.
段以上の接続で構成されるような記述がされていないも
のと判断したときには、警告を出力させる代わりに、前
記順序セルの記述を、前記クロック信号に同期して動作
する2段の接続で構成されるような記述に書き換えさ
せ、その旨を出力させることをコンピュータに実行させ
る回路設計プログラムを記録した請求項4記載の記録媒
体。5. An operating circuit which operates in synchronization with the clock signal.
If it is determined that the description is not made up of connections of stages or more, instead of outputting a warning, the description of the sequential cell is made up of two stages of connections operating in synchronization with the clock signal. 5. The recording medium according to claim 4, wherein a circuit design program for causing a computer to rewrite the description as described and output the fact is recorded.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9277416A JPH11120212A (en) | 1997-10-09 | 1997-10-09 | Method and device for designing circuit and recording medium recorded with program therefor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9277416A JPH11120212A (en) | 1997-10-09 | 1997-10-09 | Method and device for designing circuit and recording medium recorded with program therefor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11120212A true JPH11120212A (en) | 1999-04-30 |
Family
ID=17583255
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9277416A Pending JPH11120212A (en) | 1997-10-09 | 1997-10-09 | Method and device for designing circuit and recording medium recorded with program therefor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11120212A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100609148B1 (en) * | 1999-12-22 | 2006-08-04 | 한국전자통신연구원 | How to create a sequential circuit by comparing truth values |
| JP2008242527A (en) * | 2007-03-23 | 2008-10-09 | Sharp Corp | Behavioral synthesis apparatus, behavioral synthesis method, semiconductor integrated circuit manufacturing method, behavioral synthesis program, and readable storage medium |
| JP2010049385A (en) * | 2008-08-20 | 2010-03-04 | Renesas Technology Corp | Clock domain check method and program for clock domain check, and recording medium |
-
1997
- 1997-10-09 JP JP9277416A patent/JPH11120212A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100609148B1 (en) * | 1999-12-22 | 2006-08-04 | 한국전자통신연구원 | How to create a sequential circuit by comparing truth values |
| JP2008242527A (en) * | 2007-03-23 | 2008-10-09 | Sharp Corp | Behavioral synthesis apparatus, behavioral synthesis method, semiconductor integrated circuit manufacturing method, behavioral synthesis program, and readable storage medium |
| JP2010049385A (en) * | 2008-08-20 | 2010-03-04 | Renesas Technology Corp | Clock domain check method and program for clock domain check, and recording medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6536031B2 (en) | Method for generating behavior model description of circuit and apparatus for logic verification | |
| US6826731B2 (en) | Method of designing semiconductor integrated circuit device | |
| JP2677256B2 (en) | Delay optimization method | |
| JP2011512602A (en) | Logical conversion from synchronous to asynchronous | |
| US20090271747A1 (en) | Logic circuit designing device, logic circuit designing method and logic circuit designing program for asynchronous logic circuit | |
| JP4142176B2 (en) | Storage medium recording interface specification definition, connection verification method, and signal pattern generation method | |
| US20050251776A1 (en) | Integrated circuit design system | |
| JP2008262337A (en) | Logical equivalence verification apparatus, logical equivalence verification method, logical equivalence verification program, and recording medium | |
| JP3695428B2 (en) | Logic circuit delay optimization system, optimization method thereof, and control program | |
| JPH11120212A (en) | Method and device for designing circuit and recording medium recorded with program therefor | |
| JPH10133768A (en) | Clock system, semiconductor device, semiconductor device test method, and CAD device | |
| JP2009059024A (en) | Semiconductor integrated circuit verification device | |
| US6496962B1 (en) | Standard library generator for cell timing model | |
| JP5146369B2 (en) | Circuit design program, circuit design method, and circuit design apparatus | |
| JP5104356B2 (en) | Verification support program, verification support apparatus, and verification support method | |
| US7072821B1 (en) | Device and method for synchronizing an asynchronous signal in synthesis and simulation of a clocked circuit | |
| US7797653B2 (en) | Circuit verification apparatus, circuit verification method, and signal distribution method for the same | |
| US20240046018A1 (en) | Logic circuit design method and logic circuit designing apparatus | |
| JP2005316595A (en) | Method for verifying equivalence between circuit descriptions and program for verifying equivalence between circuit descriptions | |
| WO2025120961A1 (en) | Control circuit for asynchronous circuit, asynchronous circuit, and method for designing asynchronous circuit | |
| JP4319081B2 (en) | Low power circuit design support device | |
| JPH11259554A (en) | Logic circuit timing analysis method, logic synthesis system using the method, and recording medium on which the method is programmed and recorded | |
| US7213222B2 (en) | Method of HDL simulation considering hard macro core with negative setup/hold time | |
| JP4187485B2 (en) | Circuit design verification method, design verification apparatus, and computer program | |
| JPH11328237A (en) | Formal verification device and method for sequential circuit |