JP2000181940A - Analog/digital hybrid logic simulation method - Google Patents

Analog/digital hybrid logic simulation method

Info

Publication number
JP2000181940A
JP2000181940A JP10358822A JP35882298A JP2000181940A JP 2000181940 A JP2000181940 A JP 2000181940A JP 10358822 A JP10358822 A JP 10358822A JP 35882298 A JP35882298 A JP 35882298A JP 2000181940 A JP2000181940 A JP 2000181940A
Authority
JP
Japan
Prior art keywords
analog
function description
digital
value
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
JP10358822A
Other languages
Japanese (ja)
Inventor
Toshiya Murota
俊也 室田
Hideaki Murakami
秀明 村上
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP10358822A priority Critical patent/JP2000181940A/en
Publication of JP2000181940A publication Critical patent/JP2000181940A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently and easily perform the logic simulation of an LSI where a digital part and an analog part coexist. SOLUTION: The operation of respective analog cells to be the constituting elements of an analog circuit is described by a function description language understandable by a logic simulator first. Then, in the input part and output part of the analog cells, register variables for holding an analog signal value are made to correspond to an input terminal and an output terminal. In a connection part between the analog cells, transmission control is performed not by the signal transmission of the input terminal and the output terminal but by the transmission of the signal value between the register variables through an analog value transmission part 24. Thus, this analog/digital coexistent logic simulation method for performing the logic simulation including the analog cells is realized.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はLSI設計における
論理検証方法に関する。
The present invention relates to a logic verification method in LSI design.

【0002】[0002]

【従来の技術】LSI(Large Scale In
tegration)開発の最終工程の動作確認の1手
段として、論理シミュレーションが広く用いられてい
る。ところで、デジタル(回路)部とアナログ(回路)
部とを混載するLSIの場合、アナログ部に対しては論
理シミュレーションによる確認が行えない。そのため、
従来何らかの動作記述を作成しそれを代用する程度の方
法しか存在せず、結局、論理シミュレーションにおいて
はアナログ部との動作関連が必ずしも十分確認できなか
った。よって、アナログ部とデジタル部との接続部分に
おいて、単純な設計誤りが発生することが珍しくなかっ
た。
2. Description of the Related Art LSI (Large Scale In)
Logic As a means of confirming the operation of the final step of development, logic simulation is widely used. By the way, digital (circuit) part and analog (circuit)
In the case of an LSI in which the analog part is mounted, the analog part cannot be checked by logic simulation. for that reason,
Conventionally, there is only a method of creating some behavioral description and substituting it, and as a result, in the logic simulation, the operational relationship with the analog unit could not always be sufficiently confirmed. Therefore, it is not uncommon for a simple design error to occur at the connection between the analog unit and the digital unit.

【0003】上記問題点に対する対策として、従来技術
において以下の2つが実用上行われている。 論理シミュレータが理解できるアナログ部の機能モデ
ルを、アナログ部とデジタル部との間の動作関連チェッ
ク項目に従い開発品種LSI毎に作成する。 アナログ部の動作を回路シミュレータにより表現し、
その上で論理シミュレータと回路シミュレータの同期を
取って動作させ混載シミュレーションを可能とする。
As measures against the above problems, the following two are practically used in the prior art. A function model of the analog section that can be understood by the logic simulator is created for each development type LSI in accordance with operation-related check items between the analog section and the digital section. The operation of the analog part is expressed by a circuit simulator,
Then, the logic simulator and the circuit simulator are operated in synchronization with each other to enable mixed simulation.

【0004】図1は、上記のアナログ機能モデルの概
念図を示す。この機能モデルは、まず図2に例示される
ようなアナログ入力データ2を読み込み、その入力デー
タの各値の発生時間毎にイベントを発生して、演算部4
でアナログ回路をシミュレートする演算を施し、AD
(アナログデジタル)変換部6でアナログ信号をデジタ
ル信号に変換し出力端子に伝送する。このの方法にお
いては、開発品種毎にその都度機能モデルをモデルの仕
様検討段階から作成するのであるから、開発効率が良い
とは言い難い。また、開発効率を考慮して、アナログ回
路部を構成する部品である(汎用の)アナログセルを定
義し、それらアナログセルの機能記述モデルを予め用意
しておき、回路図どおりに接続する、という方法も検討
されたが、アナログセル間でのアナログ信号の伝達がこ
の機能記述モデルでは実現できず、結局実現化に到らな
い。
FIG. 1 is a conceptual diagram of the analog function model. This functional model first reads analog input data 2 as illustrated in FIG. 2 and generates an event for each occurrence time of each value of the input data.
Performs an operation to simulate the analog circuit with
The (analog-to-digital) converter 6 converts the analog signal into a digital signal and transmits it to an output terminal. In this method, since a functional model is created for each product type from the stage of studying the specification of the model, it is difficult to say that the development efficiency is high. In addition, in consideration of development efficiency, a (general-purpose) analog cell which is a component of the analog circuit section is defined, a function description model of the analog cell is prepared in advance, and the connection is made according to the circuit diagram. Although a method was examined, transmission of an analog signal between analog cells cannot be realized by this function description model, and eventually does not reach realization.

【0005】においては、アナログ部の規模が比較的
大きい場合、シミュレーションの全実行時間が回路シミ
ュレータの支配するところとなり、しかもかなりの実行
時間を要してしまう。
[0005] In the case where the scale of the analog section is relatively large, the total execution time of the simulation is controlled by the circuit simulator, and a considerable execution time is required.

【0006】特開平9−26,985号は、アナログ回
路を構成するユニットであるアナログセルについて実際
に動作を測定し、その入出力データに基づいて該アナロ
グセルをデジタルセルと見なしてシミュレーションを行
うことを特徴としている。アナログ部のシミュレーショ
ンにおいて時間を要しないことから有効な方法ではある
が、デジタル部からアナログ部へのデータ伝播には対応
できない。
Japanese Patent Application Laid-Open No. 9-269885 actually measures the operation of an analog cell which is a unit constituting an analog circuit, and performs a simulation by regarding the analog cell as a digital cell based on its input / output data. It is characterized by: Although it is an effective method because it does not require time in the simulation of the analog section, it cannot cope with data propagation from the digital section to the analog section.

【0007】[0007]

【発明が解決しようとする課題】上述のように、デジタ
ル部とアナログ部を混載するLSIの論理シミュレーシ
ョンを効率良く行うことができない。本発明では、予
め、アナログ信号同士を伝播できるアナログセルの機能
記述モデルと、デジタル回路の論理シミュレータとを、
それぞれLSI設計を行うCAD(Computer−
Aided Design)システムのライブラリにて
準備しておき、LSIの動作確認のための論理シミュレ
ーション時に、任意に組み合わせて使用できるようにす
ることで、効率よく容易にデジタル・アナログ混載の論
理シミュレーションを行うことを目的としている。
As described above, it is not possible to efficiently perform a logic simulation of an LSI in which a digital section and an analog section are mounted together. In the present invention, in advance, a function description model of an analog cell that can propagate analog signals and a logic simulator of a digital circuit,
CAD (Computer-
Achieve efficient and easy mixed digital / analog logic simulation by preparing it in an Aided Design system library and using it in any combination during logic simulation for LSI operation confirmation. It is an object.

【0008】[0008]

【課題を解決するための手段】アナログ回路とデジタル
回路が混在するLSIの論理シミュレーションにおい
て、まず、アナログ回路の構成要素となる各アナログセ
ルの動作を論理シミュレータが理解できる機能記述言語
で記述する。次に、上記アナログセルの入力部及び出力
部において、入力端子及び出力端子に対してアナログ信
号値を保持するレジスタ変数を対応づけ、アナログセル
間の接続部分では、上記入力端子と出力端子との信号伝
達でなく、アナログ値伝達部を通じての上記レジスタ変
数間の信号値の伝達により、伝達制御を行う。以上によ
り、アナログセルを含んだ論理シミュレーションを行う
アナログ・デジタル混在論理シミュレーション方法を実
現する。
In a logic simulation of an LSI in which an analog circuit and a digital circuit coexist, first, the operation of each analog cell which is a component of the analog circuit is described in a function description language that can be understood by a logic simulator. Next, in the input unit and the output unit of the analog cell, a register variable holding an analog signal value is associated with the input terminal and the output terminal, and at the connection between the analog cells, the input terminal and the output terminal are connected. Transmission control is performed not by signal transmission but by transmission of signal values between the register variables through an analog value transmission unit. As described above, an analog / digital mixed logic simulation method for performing a logic simulation including an analog cell is realized.

【0009】上記のアナログ・デジタル混在論理シミュ
レーション方法において、外部からのアナログ信号を読
む際に、第1のアナログセルにて、アナログ信号値を上
記アナログ値伝達部を通じて入力部のレジスタ変数に保
持し、特に外部アナログ信号を上記アナログセルが受け
入れることを可能とする。
In the mixed analog / digital logic simulation method, when reading an external analog signal, the first analog cell holds the analog signal value in the register variable of the input unit through the analog value transmitting unit. In particular, it allows the analog cells to accept external analog signals.

【0010】[0010]

【発明の実施の形態】以下、添付の図面を参照して本発
明の方法の実施形態を説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the method of the present invention will be described with reference to the accompanying drawings.

【0011】図4において、本発明のアナログ機能モデ
ルの概念図を示す。従来のアナログ機能モデルでは、ア
ナログ回路部全体を1つの機能モデルで表し、それを論
理シミュレーションにて用いていたが、本発明の機能モ
デルでは、アナログ回路部を汎用部品たるアナログセル
の機能記述モデルによる構成にて表現し、しかも、それ
らアナログセル機能記述モデル間でアナログ信号を伝播
できるようにしてある。
FIG. 4 shows a conceptual diagram of the analog function model of the present invention. In the conventional analog function model, the entire analog circuit section is represented by a single function model, which is used in logic simulation. However, in the function model of the present invention, the analog circuit section is a function description model of an analog cell as a general-purpose component. And an analog signal can be propagated between the analog cell function description models.

【0012】本発明の機能モデルは、1つ又はそれ以上
のデジタル機能記述モデルと、1つ又はそれ以上のアナ
ログ機能記述モデルと、アナログ値伝達部とから構成さ
れる。デジタル機能記述モデルは、従来技術の論理シミ
ュレータの一部を構成する。アナログ機能記述モデル
は、アナログ回路部を構成する部品であるアナログセル
をモデル化したものである。該モデル化においては、V
erilog等のハードウエア記述言語を用いて表現す
る。デジタル機能記述モデルとアナログ機能記述モデル
はいずれも、デジタルデータ出力端子、デジタルデータ
入力端子及び演算条件制御端子を備える。本発明の機能
モデルでは、これらの出力端子と入力端子を適宜接続し
て全体モデルを形成する。後で説明するように、出力端
子と入力端子との接続は、機能記述モデル間のデジタル
データの伝送を行うだけではなく、アナログ機能記述モ
デル間でのアナログ信号を受け渡しするレジスタ変数の
対応関係をも決定するものでもある。デジタル機能記述
モデルと、アナログ機能記述モデルとは、いずれもCA
Dシステムのライブラリに登録される。上記アナログ値
伝達部は、ある機能記述モデルから別の機能記述モデル
へデータを伝達する際に、両モデルのアナログ/デジタ
ル属性を読み取り、両モデルがいずれもアナログ属性を
有するものであるならば、アナログ機能記述モデル間デ
ータ伝送専用処理を行う。
[0012] The function model of the present invention comprises one or more digital function description models, one or more analog function description models, and an analog value transmission unit. The digital function description model forms part of a prior art logic simulator. The analog function description model is a model of an analog cell which is a component of the analog circuit unit. In the modeling, V
It is expressed using a hardware description language such as erilog. Each of the digital function description model and the analog function description model has a digital data output terminal, a digital data input terminal, and an operation condition control terminal. In the functional model of the present invention, these output terminals and input terminals are appropriately connected to form an overall model. As will be described later, the connection between the output terminal and the input terminal not only transmits digital data between the function description models, but also defines the correspondence between register variables for transferring analog signals between the analog function description models. Is also determined. Both the digital function description model and the analog function description model are CA
Registered in the D system library. The analog value transmission unit reads analog / digital attributes of both models when transmitting data from one function description model to another function description model, and if both models have analog attributes, Performs dedicated processing for data transmission between analog function description models.

【0013】図4においては、2つのアナログ機能記述
モデル20、22が示される。アナログ機能記述モデル
は、入力アナログデータ保持用レジスタ変数(以下、入
力レジスタ変数と言う。)及び出力アナログデータ保持
用レジスタ変数(以下、出力レジスタ変数と言う。)を
備える。これらはデジタル機能記述モデルには備わらな
いものである。特に出力レジスタ変数は各々が、後述の
アナログ/デジタル変換にて用いられるスレッショルド
(しきい値)条件を備えており、後述のように必要に応
じて該条件によりアナログ値をデジタル値に変換する。
In FIG. 4, two analog function description models 20, 22 are shown. The analog function description model includes a register variable for holding input analog data (hereinafter, referred to as an input register variable) and a register variable for holding output analog data (hereinafter, referred to as an output register variable). These are not provided in the digital function description model. In particular, each output register variable has a threshold (threshold) condition used in analog / digital conversion described later, and converts an analog value into a digital value according to the condition as necessary, as described later.

【0014】図4を用いてアナログ機能記述モデル及び
アナログ値伝達部の動作を説明する。第1のアナログ機
能記述モデル20にて、入力レジスタ変数8にアナログ
値が設定されると、演算部10にて上記アナログ値に対
し演算が施される。演算部10での演算結果はアナログ
値であり、そのアナログ値は出力レジスタ変数12に格
納される。出力レジスタ変数12にアナログ値が格納さ
れると、アナログ値伝達部24は、第1のアナログ機能
記述モデル20と第2のアナログ機能記述モデル22の
両方のアナログ/デジタル属性を判定し、いずれもがア
ナログ属性であるならば、第2のアナログ機能記述モデ
ル22内の入力レジスタ変数14に、第1のアナログ機
能記述モデル20内の出力レジスタ変数12に格納され
ているアナログ値を設定する。
The operation of the analog function description model and the analog value transmitting unit will be described with reference to FIG. When an analog value is set in the input register variable 8 in the first analog function description model 20, an operation is performed on the analog value in the operation unit 10. The operation result in the operation unit 10 is an analog value, and the analog value is stored in the output register variable 12. When the analog value is stored in the output register variable 12, the analog value transmitting unit 24 determines the analog / digital attributes of both the first analog function description model 20 and the second analog function description model 22. Is an analog attribute, the analog value stored in the output register variable 12 in the first analog function description model 20 is set to the input register variable 14 in the second analog function description model 22.

【0015】第1のアナログ機能記述モデル20の出力
端子AOUT01と第2のアナログ機能記述モデル22
の入力端子BIN01とはモデル上で接続されており、
第1のアナログ機能記述モデル20の出力端子AOUT
01にデジタル値が格納されると自動的に同じ値が第2
のアナログ機能記述モデル22の接続された入力端子B
IN01に設定、即ち伝送されるようになっている。一
方、本発明のアナログ機能記述モデルでの出力レジスタ
変数と出力端子との間、及びアナログ機能記述モデル内
部での入力端子と入力レジスタ変数との間のそれぞれ
は、モデル上で接続されていない。従って、第1のアナ
ログ機能記述モデル20の出力レジスタ変数12にアナ
ログ値が格納されたとしても、自動的に同じ値が第2の
アナログ機能記述モデル22の入力レジスタ変数14に
設定されるのではない。但し、出力レジスタ変数と出力
端子、入力端子と入力レジスタ変数を、それぞれ対応づ
ける第1の規則を各々のアナログ機能記述モデルが有し
ていることがある。その場合、アナログ値伝達部24
は、該第1の規則を判断し、それに加えて第1のアナロ
グ機能記述モデルの出力端子と第2のアナログ機能記述
モデルの入力端子との上記接続関係を判断することによ
り、出力レジスタ変数12と入力レジスタ変数14との
対応関係を判定する。そして出力端子入力端子間(例え
ば、AOUT01−BIN01間)を介さずして、上記
のようにアナログ値を伝達する。
The output terminal AOUT01 of the first analog function description model 20 and the second analog function description model 22
Is connected on the model to the input terminal BIN01 of
Output terminal AOUT of first analog function description model 20
When a digital value is stored in 01, the same value is automatically stored in the second
Input terminal B of analog function description model 22
IN01 is set, that is, transmitted. On the other hand, between the output register variable and the output terminal in the analog function description model of the present invention, and between the input terminal and the input register variable inside the analog function description model are not connected on the model. Therefore, even if an analog value is stored in the output register variable 12 of the first analog function description model 20, the same value is automatically set in the input register variable 14 of the second analog function description model 22. Absent. However, each analog function description model may have a first rule for associating an output register variable with an output terminal and an input terminal with an input register variable. In that case, the analog value transmitting unit 24
Determines the first rule and, in addition, determines the above-described connection relationship between the output terminal of the first analog function description model and the input terminal of the second analog function description model, so that the output register variable 12 And the input register variable 14 are determined. Then, the analog value is transmitted as described above without passing between the output terminal and the input terminal (for example, between AOUT01 and BIN01).

【0016】図5、図6においては、本発明のアナログ
機能モデル連結の先端と終端の概念図を示す。
FIGS. 5 and 6 are conceptual diagrams of the leading end and the trailing end of the analog function model connection of the present invention.

【0017】図5は、アナログ入力データ26を読み込
む構成を示している。アナログ値伝達部24は図2に示
されるようなアナログ信号情報をアナログ入力信号26
から読み取り、機能記述モデル28のアナログ/デジタ
ル属性を判定した上で、対応する入力レジスタ変数30
に信号値を設定する。どの入力レジスタ変数30が対応
するのか、の条件は、アナログ機能記述モデル28が備
える。
FIG. 5 shows a configuration for reading the analog input data 26. The analog value transmitting section 24 converts analog signal information as shown in FIG.
, And determines the analog / digital attribute of the function description model 28, and then determines the corresponding input register variable 30
Set the signal value to. The condition of which input register variable 30 corresponds is provided in the analog function description model 28.

【0018】図6は、アナログ機能記述モデルからデジ
タル機能記述モデルへの接続部分の動作構成を示す。ア
ナログ属性のない機能記述モデルと接続されている場
合、アナログ値伝達部24はデジタル機能記述モデル3
8と接続されていると判断する。各出力レジスタ変数に
備わる上記スレッショルド条件によりアナログ値をデジ
タル値に変換し、対応する出力端子にそのデジタル値を
設定する。ここで、出力レジスタ変数と出力端子を対応
付ける第2の規則は、上記第1の規則と同様に各アナロ
グ機能記述モデルに備わるものであるが、上記第1の規
則と異なっていてもよい。
FIG. 6 shows an operation configuration of a connection portion from the analog function description model to the digital function description model. When connected to the function description model having no analog attribute, the analog value transmitting unit 24 outputs the digital function description model 3
8 is determined to be connected. An analog value is converted into a digital value according to the threshold condition provided for each output register variable, and the digital value is set to a corresponding output terminal. Here, the second rule for associating the output register variable with the output terminal is provided in each analog function description model as in the first rule, but may be different from the first rule.

【0019】図3の簡易な回路のシミュレーション動作
を、図8のフローチャートを用いて具体的に以下説明す
る。図3の回路は、2つのアナログ入力データを選択的
に取り込み、増幅し、そして10ビットのデジタルデー
タに変換するものである。IN1は第1の被変換アナロ
グ入力信号、IN2は第2の被変換アナログ入力信号で
ある。ck1は、演算条件制御端子であるCLK1の信
号の制御を受けて第1の非変換アナログ入力信号を次の
増幅部に伝えるスイッチ回路部であり、ck2は、演算
条件制御端子であるCLK2の信号の制御を受けて第2
の非変換アナログ入力信号を次の増幅部に伝えるスイッ
チ回路部である。増幅回路amp1は抵抗rに入力され
たアナログ信号を(R/r)倍に増幅し、さらに一定の
遅延時間(ここでは1μs)の後出力する回路である。
A/D(アナログ・デジタル)コンバータadc1は増
幅回路amp1から入力されたアナログ信号を所定の演
算規則により10ビットのデジタル信号に変換し一定の
A/D変換時間(ここでは10μs)の後出力する回路
である。上記それぞれのアナログセル(ck1、ck
2、amp1、adc1)の機能記述仕様を図7に示
す。
The simulation operation of the simple circuit of FIG. 3 will be specifically described below with reference to the flowchart of FIG. The circuit of FIG. 3 selectively takes in two analog input data, amplifies it, and converts it into 10-bit digital data. IN1 is a first converted analog input signal, and IN2 is a second converted analog input signal. ck1 is a switch circuit that transmits the first non-converted analog input signal to the next amplifier under control of the signal of the operation condition control terminal CLK1, and ck2 is a signal of the CLK2 that is the operation condition control terminal. Under the control of the second
Is a switch circuit section for transmitting the non-converted analog input signal to the next amplification section. The amplifier circuit amp1 is a circuit that amplifies the analog signal input to the resistor r by (R / r) times and outputs the amplified analog signal after a certain delay time (here, 1 μs).
An A / D (analog / digital) converter adc1 converts the analog signal input from the amplifier circuit amp1 into a 10-bit digital signal according to a predetermined operation rule, and outputs it after a fixed A / D conversion time (here, 10 μs). Circuit. Each of the above analog cells (ck1, ck
2, amp1 and adc1) are shown in FIG.

【0020】図9は入力アナログデータの例である。シ
ミュレーションが開始されるとアナログ値伝達部24、
アナログセルck1、ck2が、その入力アナログデー
タを読み取りスケジューリングを行う。即ち、図9に示
すck1への信号をアナログセルck1の入力レジスタ
変数42(図7(a)参照)にスケジュール時間毎に設定
し、図9に示すck2への信号をアナログセルck2の
入力レジスタ変数42(図7(a)参照)にスケジュー
ル時間毎に設定する(図8(1))。アナログセルck
1、ck2の入力レジスタ変数42(、42)にアナロ
グ値が設定されると、アナログセルck1、ck2の演
算部52が機能記述仕様図7(a)に従い演算を実施す
る(図8(2))。アナログセルck1、ck2の演算
条件制御端子CLK1、CLK2のクロック信号は図9
に示される。当該図によれば、最初の10μs間はCL
K1がオン状態(ハイ状態)CLK2がオフ状態(ロー
状態)、次の10μs間はCLK1がオフ状態(ロー状
態)CLK2がオン状態(ハイ状態)、というように1
0μs毎にCLK1とCLK2の状態が入れ替わってお
り、従って、最初の10μsまではアナログ機能記述モ
デルck1の機能記述が実行され、アナログ機能記述モ
デルck1の出力レジスタ変数44に、アナログ機能記
述モデルck1の入力レジスタ変数42のアナログ値を
格納する。
FIG. 9 shows an example of input analog data. When the simulation is started, the analog value transmitting unit 24,
The analog cells ck1 and ck2 read the input analog data and perform scheduling. That is, the signal to ck1 shown in FIG. 9 is set to the input register variable 42 of the analog cell ck1 (see FIG. 7A) for each schedule time, and the signal to ck2 shown in FIG. A variable 42 (see FIG. 7A) is set for each schedule time (FIG. 8A). Analog cell ck
When an analog value is set in the input register variable 42 (, 42) of 1, ck2, the operation unit 52 of the analog cells ck1, ck2 performs an operation according to the function description specification FIG. 7A (FIG. 8 (2)). ). The clock signals of the operation condition control terminals CLK1 and CLK2 of the analog cells ck1 and ck2 are shown in FIG.
Is shown in According to the figure, CL is applied for the first 10 μs.
K1 is on (high state), CLK2 is off (low state), CLK1 is off (low state), CLK2 is on (high state) during the next 10 μs, and so on.
The states of CLK1 and CLK2 are switched every 0 μs. Therefore, the function description of the analog function description model ck1 is executed until the first 10 μs. The analog value of the input register variable 42 is stored.

【0021】アナログ機能記述モデルck1の出力レジ
スタ変数44の設定値が変化すると、図8の(3)、
(4)、(5)の処理となる。ここで、ck1とamp
1とはいずれもアナログ属性を備える機能記述モデルで
あることを、図8(3)の判断にて、アナログ値伝達部
24が判断し、図8(5)の処理が実行される。2つの
アナログ機能記述モデルck1とamp1とにおいて、
出力端子AOUTと入力端子AIとが接続されている。
さらに、アナログ機能記述モデルck1の出力レジスタ
変数とアナログ機能記述モデルck1の出力端子を対応
付ける規則をアナログ機能記述モデルck1は備えてお
り、アナログ機能記述モデルamp1の入力端子とアナ
ログ機能記述モデルamp1の入力レジスタ変数を対応
付ける規則をアナログ機能記述モデルamp1は備えて
いる。これらのことからアナログ値伝達部24は、アナ
ログ機能記述モデルck1の出力レジスタ変数44とア
ナログ機能記述モデルamp1の入力レジスタ変数46
との対応関係を判断しアナログ信号値を移送する。
When the set value of the output register variable 44 of the analog function description model ck1 changes, (3) in FIG.
The processes of (4) and (5) are performed. Here, ck1 and amp
8 (3), the analog value transmitting unit 24 determines that 1 is a function description model having an analog attribute, and the process of FIG. 8 (5) is executed. In two analog function description models ck1 and amp1,
The output terminal AOUT and the input terminal AI are connected.
Further, the analog function description model ck1 has a rule for associating the output register variable of the analog function description model ck1 with the output terminal of the analog function description model ck1, and the input terminal of the analog function description model amp1 and the input of the analog function description model amp1. The analog function description model amp1 has rules for associating register variables. For these reasons, the analog value transmitting unit 24 sets the output register variable 44 of the analog function description model ck1 and the input register variable 46 of the analog function description model amp1.
Is determined and the analog signal value is transferred.

【0022】アナログ機能記述モデルamp1の入力レ
ジスタ変数46にアナログ値が設定されると、アナログ
機能記述モデルamp1の演算部54が機能記述仕様図
7(b)に従い演算を実施する(図8(2))。この機
能記述仕様図7(b)によれば、アナログ機能記述モデ
ルamp1の入力レジスタ変数46の値が変動し1μm
後、該値が2倍されて出力レジスタ変数48に格納され
る。
When an analog value is set in the input register variable 46 of the analog function description model amp1, the calculation unit 54 of the analog function description model amp1 performs a calculation according to the function description specification FIG. )). According to the function description specification FIG. 7B, the value of the input register variable 46 of the analog function description model
Thereafter, the value is doubled and stored in the output register variable 48.

【0023】アナログ機能記述モデルamp1の出力レ
ジスタ変数48の設定値が変化すると、図8の(3)、
(4)、(5)の処理となる。ここで、amp1とad
c1とはいずれもアナログ属性を備える機能記述モデル
であることを、図8(3)の判断にて、アナログ値伝達
部24が判断し、図8(5)の処理が実行される。2つ
のアナログ機能記述モデルamp1とadc1とにおい
て、出力端子AOと入力端子ADINとが接続されてい
る。さらに、アナログ機能記述モデルamp1の出力レ
ジスタ変数とアナログ機能記述モデルamp1の出力端
子を対応付ける規則をアナログ機能記述モデルamp1
は備えており、アナログ機能記述モデルadc1の入力
端子とアナログ機能記述モデルadc1の入力レジスタ
変数を対応付ける規則をアナログ機能記述モデルadc
1は備えている。これらのことからアナログ値伝達部2
4は、アナログ機能記述モデルamp1の出力レジスタ
変数48とアナログ機能記述モデルadc1の入力レジ
スタ変数50との対応関係を判断しアナログ信号値を移
送する。
When the set value of the output register variable 48 of the analog function description model amp1 changes, (3) in FIG.
The processes of (4) and (5) are performed. Here, amp1 and ad
The analog value transmitting unit 24 determines that c1 is a function description model having an analog attribute in the determination of FIG. 8 (3), and the processing of FIG. 8 (5) is executed. In the two analog function description models amp1 and adc1, the output terminal AO and the input terminal ADIN are connected. Further, a rule for associating the output register variable of the analog function description model amp1 with the output terminal of the analog function description model amp1 is defined in the analog function description model amp1.
And a rule for associating the input terminal of the analog function description model adc1 with the input register variable of the analog function description model adc1 is provided.
1 is provided. From these, the analog value transmission unit 2
Reference numeral 4 determines the correspondence between the output register variable 48 of the analog function description model amp1 and the input register variable 50 of the analog function description model adc1, and transfers the analog signal value.

【0024】アナログ機能記述モデルadc1の入力レ
ジスタ変数50にアナログ値が設定されると、アナログ
機能記述モデルadc1の演算部56が機能記述仕様図
7(c)に従い演算を実施する(図8(2))。この機
能記述仕様図7(c)によれば、アナログ機能記述モデ
ルadc1の入力レジスタ変数50の値が変動し10μ
m後、該値に所定の演算が施され10ビットデジタル値
に換算され、端子D0、D1、D2・・・D9に1ビッ
トずつ設定される。
When an analog value is set in the input register variable 50 of the analog function description model adc1, the operation unit 56 of the analog function description model adc1 performs an operation according to the function description specification FIG. )). According to this function description specification FIG. 7 (c), the value of the input register variable 50 of the analog function description model
After m, the value is subjected to a predetermined operation, converted to a 10-bit digital value, and set to the terminals D0, D1, D2... D9 one bit at a time.

【0025】以下の図10は、上記の簡易な回路の具体
的シミュレーションの例において、0秒から22000
ナノ秒(10 9秒、ns)までの、それぞれのレジス
タ変数、端子での電圧値の推移である。
FIG. 10 below shows a specific simulation example of the above simple circuit from 0 second to 22000.
Nanoseconds (10 - 9 seconds, ns) to the respective register variables, a transition of the voltage value at the terminals.

【0026】上述の実施形態において、アナログ値伝達
部は、例えば、Verilogに備わるPLI(Pro
grammable Language Interf
ace)を用いて作成されるカスタマイズドプログラム
である。
In the above-described embodiment, the analog value transmitting unit is, for example, a PLI (Pro
Grammable Language Interf
ace).

【0027】上述の実施形態においては、アナログ機能
記述モデルからアナログ機能記述モデルへの接続と、ア
ナログ機能記述モデルからデジタル機能記述モデルへの
接続を、中心に説明してきたが、本発明においては、デ
ジタル機能記述モデルからアナログ機能記述モデルへの
接続も設定し得る。アナログ属性のない機能記述モデル
から接続されている場合、アナログ値伝達部24はデジ
タル機能記述モデル38から接続されていると判断す
る。各入力レジスタ変数に備わる条件によりデジタル値
をアナログ値に変換し、対応する入力レジスタ変数にそ
のアナログ値を設定する。ここで、入力端子と入力レジ
スタ変数を対応付ける第3の規則は、上記第1、第2の
規則と同様に各アナログ機能記述モデルに備わるもので
あるが、上記第1、第2の規則と異なっていてもよい。
In the above embodiment, the connection from the analog function description model to the analog function description model and the connection from the analog function description model to the digital function description model have been mainly described. A connection from the digital function description model to the analog function description model can also be set. When the connection is made from the function description model having no analog attribute, the analog value transmitting unit 24 determines that the connection is made from the digital function description model 38. The digital value is converted into an analog value according to the condition of each input register variable, and the analog value is set in the corresponding input register variable. Here, the third rule for associating an input terminal with an input register variable is provided in each analog function description model as in the first and second rules, but is different from the first and second rules. May be.

【0028】[0028]

【発明の効果】以上の説明から明らかなように、本発明
の論理シミュレーション方法によれば、以下のような効
果が得られる。
As apparent from the above description, the following effects can be obtained according to the logic simulation method of the present invention.

【0029】アナログ回路とデジタル回路が混在するL
SIの論理シミュレーションにおいて、まず、アナログ
回路の構成要素となる各アナログセルの動作を論理シミ
ュレータが理解できる機能記述言語で記述する。次に、
上記アナログセルの入力部及び出力部において、入力端
子及び出力端子に対してアナログ信号値を保持するレジ
スタ変数を対応づけ、アナログセル間の接続部分では、
上記入力端子と出力端子との信号伝達でなく、アナログ
値伝達部を通じての上記レジスタ変数間の信号値の伝達
により、伝達制御を行う。以上により、アナログセルを
含んだ論理シミュレーションを行うアナログ・デジタル
混在論理シミュレーション方法を効率よくしかも容易に
実現することができる。
L where analog circuits and digital circuits coexist
In the logic simulation of the SI, first, the operation of each analog cell that is a component of the analog circuit is described in a function description language that can be understood by a logic simulator. next,
In the input unit and the output unit of the analog cell, the input terminal and the output terminal are associated with a register variable that holds an analog signal value.
The transmission control is performed not by the signal transmission between the input terminal and the output terminal but by the transmission of the signal value between the register variables through the analog value transmission unit. As described above, an analog / digital mixed logic simulation method for performing a logic simulation including an analog cell can be efficiently and easily realized.

【0030】また、上記のアナログ・デジタル混在論理
シミュレーション方法において、外部からのアナログ信
号を読む際に、第1のアナログセルにて、アナログ信号
値を上記アナログ値伝達部を通じて入力部のレジスタ変
数に保持する。これにより、特に外部アナログ信号を上
記アナログセルが受け入れることを可能とする。よっ
て、上記のアナログ・デジタル混在論理シミュレーショ
ン方法が外部アナログ信号を入力とすることができる。
In the above analog / digital mixed logic simulation method, when reading an analog signal from the outside, the analog signal value is converted into the register variable of the input unit through the analog value transmitting unit in the first analog cell. Hold. This makes it possible in particular for the analog cells to accept external analog signals. Therefore, the above-described analog / digital mixed logic simulation method can input an external analog signal.

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

【図1】 従来技術のアナログ機能モデルの概念図であ
る。
FIG. 1 is a conceptual diagram of a conventional analog function model.

【図2】 図1のアナログ機能モデルに入力し得るよう
なアナログ入力データの例である。
FIG. 2 is an example of analog input data that can be input to the analog function model of FIG. 1;

【図3】 アナログ回路とデジタル回路が混載する簡易
な回路の例のブロック図である。
FIG. 3 is a block diagram of an example of a simple circuit in which an analog circuit and a digital circuit are mixed.

【図4】 本発明のアナログ機能モデルの概念図であ
る。
FIG. 4 is a conceptual diagram of an analog function model according to the present invention.

【図5】 本発明のアナログ機能モデル連結の先端の概
念図である。
FIG. 5 is a conceptual diagram of the tip of the analog function model connection of the present invention.

【図6】 本発明のアナログ機能モデル連結の終端の概
念図である。
FIG. 6 is a conceptual diagram of the termination of the analog function model connection of the present invention.

【図7】 図3の回路を構成する個別のアナログセルの
機能記述仕様の概念図である。
FIG. 7 is a conceptual diagram of a function description specification of individual analog cells constituting the circuit of FIG. 3;

【図8】 図4、図5及び図6に示される本発明のアナ
ログ機能記述モデルの、動作のフローチャートである。
FIG. 8 is a flowchart of the operation of the analog function description model of the present invention shown in FIGS. 4, 5 and 6;

【図9】 図3の簡易な回路に入力し得るようなアナロ
グ入力データの例である。
FIG. 9 is an example of analog input data that can be input to the simple circuit of FIG. 3;

【図10】 図3の回路の、本発明を用いたシミュレー
ションにおいて、図9のデータを入力した際の、それぞ
れのレジスタ変数、端子での電圧値の推移の一部であ
る。
10 shows a part of the transition of the voltage value at each register variable and terminal when the data of FIG. 9 is input in the simulation of the circuit of FIG. 3 using the present invention.

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

BIN01、AI、ADIN・・・入力端子、AOUT
01、AOUT、AO・・・出力端子、IN1、IN2
・・・被変換アナログ入力信号、ck1、ck2・・・
スイッチ回路アナログセル、amp1・・・増幅回路ア
ナログセル、adc1・・・A/D(アナログ・デジタ
ル)コンバータ・アナログセル、CLK1、CLK2・
・・演算条件制御端子、D0、D1、D2、D3、D
4、D5、D6、D7、D8、D9・・・端子、2、2
6・・・アナログ入力データ、4、10、16、52、
54、56・・・演算部、6・・・AD(アナログデジ
タル)変換部、8、14、30、42、46、50・・
・入力レジスタ変数、12、18、44、48・・・出
力レジスタ変数、20、22、28・・・アナログ機能
記述モデル、24・・・アナログ値伝達部、38・・・
デジタル機能モデル
BIN01, AI, ADIN ... input terminal, AOUT
01, AOUT, AO ... output terminals, IN1, IN2
... Analog input signals to be converted, ck1, ck2 ...
Switch circuit analog cell, amp1 ... Amplifier circuit analog cell, adc1 ... A / D (analog / digital) converter analog cell, CLK1, CLK2
..Operation condition control terminals, D0, D1, D2, D3, and D
4, D5, D6, D7, D8, D9 ... terminals, 2, 2
6 ... analog input data, 4, 10, 16, 52,
54, 56... Arithmetic unit, 6... AD (analog-digital) conversion unit, 8, 14, 30, 42, 46, 50,.
· Input register variables, 12, 18, 44, 48 ··· Output register variables, 20, 22, 28 ··· Analog function description model, 24 ··· Analog value transmission unit, 38 ···
Digital function model

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 アナログ回路とデジタル回路が混在する
LSIの論理シミュレーションにおいて、 アナログ回路の構成要素となる各アナログセルの動作を
論理シミュレータが理解できる機能記述言語で記述し、 上記アナログセルの入力部及び出力部において、入力端
子及び出力端子に対してアナログ信号値を保持するレジ
スタ変数を対応づけ、アナログセル間の接続部分では上
記入力端子と出力端子との信号伝達でなく、アナログ値
伝達部を通じて上記レジスタ変数間の信号値の伝達によ
り、伝達制御することで、アナログセルを含んだ論理シ
ミュレーションを行うアナログ・デジタル混在論理シミ
ュレーション方法。
In a logic simulation of an LSI in which an analog circuit and a digital circuit coexist, the operation of each analog cell that is a component of the analog circuit is described in a function description language that can be understood by a logic simulator. And in the output unit, the input terminal and the output terminal are associated with a register variable holding an analog signal value. In a connection portion between the analog cells, the signal is not transmitted between the input terminal and the output terminal, but through the analog value transmission unit. An analog / digital mixed logic simulation method for performing a logic simulation including an analog cell by controlling transmission by transmitting a signal value between the register variables.
【請求項2】 外部からのアナログ信号を読む際に、第
1のアナログセルにおいて、アナログ信号値を上記アナ
ログ値伝達部を通じて入力部のレジスタ変数に保持す
る、請求項1のアナログ・デジタル混在論理シミュレー
ション方法。
2. The mixed analog / digital logic according to claim 1, wherein, when reading an external analog signal, the analog signal value is held in a register variable of an input unit through said analog value transmitting unit in a first analog cell. Simulation method.
JP10358822A 1998-12-17 1998-12-17 Analog/digital hybrid logic simulation method Pending JP2000181940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10358822A JP2000181940A (en) 1998-12-17 1998-12-17 Analog/digital hybrid logic simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10358822A JP2000181940A (en) 1998-12-17 1998-12-17 Analog/digital hybrid logic simulation method

Publications (1)

Publication Number Publication Date
JP2000181940A true JP2000181940A (en) 2000-06-30

Family

ID=18461295

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10358822A Pending JP2000181940A (en) 1998-12-17 1998-12-17 Analog/digital hybrid logic simulation method

Country Status (1)

Country Link
JP (1) JP2000181940A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007058596A (en) * 2005-08-24 2007-03-08 Seiko Epson Corp Verification simulator and verification simulation method
JP2007058592A (en) * 2005-08-24 2007-03-08 Seiko Epson Corp Verification simulator and verification simulation method
JP2007058586A (en) * 2005-08-24 2007-03-08 Seiko Epson Corp Verification simulator and verification simulation method
JP2007264762A (en) * 2006-03-27 2007-10-11 Seiko Epson Corp Verification simulator and verification simulation method
JP2007264699A (en) * 2006-03-27 2007-10-11 Seiko Epson Corp Verification simulator and verification simulation method
JP7538906B2 (en) 2022-03-02 2024-08-22 台湾積體電路製造股▲ふん▼有限公司 Apparatus and method for optimizing integrated circuit designs

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007058596A (en) * 2005-08-24 2007-03-08 Seiko Epson Corp Verification simulator and verification simulation method
JP2007058592A (en) * 2005-08-24 2007-03-08 Seiko Epson Corp Verification simulator and verification simulation method
JP2007058586A (en) * 2005-08-24 2007-03-08 Seiko Epson Corp Verification simulator and verification simulation method
JP4561532B2 (en) * 2005-08-24 2010-10-13 セイコーエプソン株式会社 Verification simulator and verification simulation method
JP4561533B2 (en) * 2005-08-24 2010-10-13 セイコーエプソン株式会社 Verification simulator and verification simulation method
JP4577154B2 (en) * 2005-08-24 2010-11-10 セイコーエプソン株式会社 Verification simulator and verification simulation method
JP2007264762A (en) * 2006-03-27 2007-10-11 Seiko Epson Corp Verification simulator and verification simulation method
JP2007264699A (en) * 2006-03-27 2007-10-11 Seiko Epson Corp Verification simulator and verification simulation method
JP4561665B2 (en) * 2006-03-27 2010-10-13 セイコーエプソン株式会社 Verification simulator and verification simulation method
JP4561666B2 (en) * 2006-03-27 2010-10-13 セイコーエプソン株式会社 Verification simulator and verification simulation method
JP7538906B2 (en) 2022-03-02 2024-08-22 台湾積體電路製造股▲ふん▼有限公司 Apparatus and method for optimizing integrated circuit designs

Similar Documents

Publication Publication Date Title
JP2946658B2 (en) Flip-flop circuit
JP2000181940A (en) Analog/digital hybrid logic simulation method
US6218861B1 (en) Functional block and semiconductor integrated circuit architected by a plurality of functional blocks in combination
JP2967761B2 (en) Logic synthesis method and apparatus
JP2914257B2 (en) How to determine conflict behavior
JP2848098B2 (en) Logic verification device
JPH11250116A (en) Procedure for designing integrated circuit
JPS6215664A (en) Logic simulation
JP2962232B2 (en) Automatic placement and routing of scan path circuits
JPH0746123B2 (en) Integrated circuit test method
JPH08314994A (en) Logical simulation method and logical library
JPH01142848A (en) Address trapping circuit
JPH09146980A (en) Logical delay simulation method
JP2638293B2 (en) LSI and mask layout method for logic circuit
JP2001167140A (en) Simulation method for analog-digital hybrid circuit
JPH01112182A (en) Mode setting circuit
JPS6339938B2 (en)
JPH05113469A (en) Semiconductor device
JP2000236062A (en) Semiconductor integrated circuit
JPH07167925A (en) Method and device for timing verification
JPH05191270A (en) Wired-or method and wired-or circuit
JPH02232743A (en) Switch gate circuit converter
JPH0926985A (en) Simulation device and method therefor
JPH09251058A (en) Asynchronous 2-wire 2-phase type scanning circuit and diagnostic method
JPS62156578A (en) Logical processing system