WO2012169000A1 - Analog circuit simulator and analog circuit verification method - Google Patents

Analog circuit simulator and analog circuit verification method Download PDF

Info

Publication number
WO2012169000A1
WO2012169000A1 PCT/JP2011/062981 JP2011062981W WO2012169000A1 WO 2012169000 A1 WO2012169000 A1 WO 2012169000A1 JP 2011062981 W JP2011062981 W JP 2011062981W WO 2012169000 A1 WO2012169000 A1 WO 2012169000A1
Authority
WO
WIPO (PCT)
Prior art keywords
analog
function
variable information
model
node
Prior art date
Application number
PCT/JP2011/062981
Other languages
French (fr)
Japanese (ja)
Inventor
聡 松原
Original Assignee
富士通株式会社
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 富士通株式会社 filed Critical 富士通株式会社
Priority to JP2013519251A priority Critical patent/JP5768880B2/en
Priority to PCT/JP2011/062981 priority patent/WO2012169000A1/en
Publication of WO2012169000A1 publication Critical patent/WO2012169000A1/en
Priority to US14/095,142 priority patent/US9009636B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/36Circuit design at the analogue level
    • G06F30/367Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods

Definitions

  • the present invention relates to an analog circuit simulator and an analog circuit verification method for verifying the function of an analog circuit.
  • an analog circuit simulator such as SPICE (Simulation Program with Integrated Circuit Emphasis, registered trademark) is used for functional verification of an analog circuit.
  • SPICE Simulation Program with Integrated Circuit Emphasis, registered trademark
  • Such an analog circuit simulator can calculate analog characteristics with high accuracy, but uses a huge memory for calculation.
  • the number of calculation steps is small, it takes tens of thousands of times longer than the verification time in the normal operation model, and cannot be used for verification of a large-scale circuit. For this reason, an operation model in which an analog circuit is expressed in a hardware description language is generally used.
  • the circuit is divided into blocks, and the current variable of the current variable independent element is excluded from the internal variable of the block between the external nodes of the block.
  • Patent Document 1 For example, refer to Patent Document 1 below.
  • Patent Document 2 In order to simulate a transient state of a signal waveform in a circuit in which an analog circuit and a digital circuit coexist by numerical calculation, there is a technique of dividing an analog circuit into a plurality of circuit blocks and modeling (for example, Patent Document 2 below). reference.).
  • the disclosed analog circuit simulator and analog circuit verification method are intended to solve the above-described problems, and an object of the present invention is to easily and functionally verify an analog circuit having an impedance.
  • the disclosed technology searches for an analog circuit from design data, searches for an analog node to which the analog circuits are connected, and the searched analog node.
  • a variable information collecting unit that collects variable information of voltage and current related to input and output
  • a function converting unit that converts variable information of the analog node into a time function, and performing the calculation of the time function every time a predetermined event occurs
  • a simulation execution unit that executes simulation of the analog node.
  • FIG. 1 is a block diagram illustrating a configuration of an analog circuit simulator according to an embodiment.
  • FIG. 2 is a flowchart showing the processing operation of the analog circuit simulator according to the embodiment.
  • FIG. 3 is a diagram illustrating an example of an analog model.
  • FIG. 4 is a timing chart showing the operation of the simulator.
  • FIG. 5A is a circuit diagram illustrating an example of a functionalization model.
  • FIG. 5-2 is a diagram for explaining the functionalization of the upper layer of FIG. 5-1.
  • FIG. 5C is a diagram illustrating the current waveform of FIG.
  • FIG. 6 is a circuit diagram showing another model example of functionalization.
  • FIG. 7A is a circuit diagram illustrating still another example of functionalization.
  • FIG. 7-2 is a diagram for explaining the functionalization of the upper layer of FIG. 7-1.
  • FIG. 7C is a diagram illustrating the current waveform of FIG.
  • FIG. 8 is a circuit diagram showing still another model example of functionalization.
  • FIG. 1 is a block diagram illustrating a configuration of an analog circuit simulator according to an embodiment.
  • the analog circuit simulator 100 includes a CPU 101, memories 102 and 103, and the like.
  • the CPU 101 operates the apparatus as an analog circuit simulator by executing an analog circuit verification program (not shown) stored in a memory (not shown) such as a ROM.
  • design data 104 of the designed circuit and variable-function correspondence information 105 are stored.
  • the design data 104 includes a digital circuit model included in the circuit and an analog circuit model.
  • the CPU 101 has each function of reading design data 104 by executing a program, modeling a circuit, and executing a simulation.
  • the search unit 1 reads the design data 104 such as a net list, searches for an analog circuit in the highest hierarchy of the circuit to be verified, and further outputs an analog port (output of the analog circuit in the previous stage).
  • the analog nodes to which the inputs of the analog circuits in the subsequent stage are connected are searched, and the extracted analog nodes are stored in the memory 1 (121).
  • the search unit 2 (112) sequentially searches the analog nodes stored in the memory 1 (121), searches for model names corresponding to each analog node, and stores the searched model names in the memory 2 (122). Store.
  • the variable information collection unit 113 collects variable information corresponding to the model name stored in the memory 2 (122) from the variable information group corresponding to the model prepared in advance, and stores it in the memory 3 (123).
  • the variable information includes a voltage variable and a current variable that are determined in advance corresponding to the model name.
  • the variable information collection unit 113 stores variable information (voltage variable and current variable) corresponding to the model name in the memory 3 (123).
  • the function conversion unit 114 reads variable information (voltage variable and current variable) corresponding to the model name from the memory 3 (123), and converts the variable information into a function of a predetermined time corresponding to the variable. Since the circuit configuration is determined from the information on the voltage variable and current variable of the model, the function converter 114 determines the time function of the voltage and current corresponding to the model. Then, the voltage and current of the analog node are converted into a function of time, and the converted function is stored in the memory 4 (124).
  • the function conversion process is not always necessary, and a function corresponding to a plurality of models may be prepared in advance, and a function corresponding to the model may be selected.
  • the model processing unit 115 reads the current and voltage functions from the memory 4 (124), and obtains the current value and voltage value of the model at the occurrence of a predetermined event. Among the functions obtained by the function conversion unit 114, Extract only the value when the event occurred.
  • the predetermined event occurs, in the simulation performed by the simulation execution unit 116, for example, the current value and voltage value of the model when the event occurs at the next stage of the model is output to the simulation execution unit 116.
  • the function of the voltage value and the current value only at the starting point of the cycle operation of the next stage FF circuit is extracted, and the corrected model is the memory 5 (125).
  • the simulation execution unit 116 performs a simulation for verifying the function of the analog circuit. Based on the corrected model stored in the memory 5 (125), an operation based on the function of the voltage value and the current value only at the time of event occurrence is performed. Execute. For example, the simulation execution unit 116 can execute a simulation using a model expressed in a hardware description language such as a general-purpose Verilog. However, continuous analysis of the transient state in the analog circuit is not performed, and analysis is performed only when a predetermined event occurs. As a result, event-driven voltage / current analysis in consideration of impedance (voltage and current) can be performed on the analog circuit while being discrete in time, and functional verification is performed at high speed.
  • a hardware description language such as a general-purpose Verilog
  • FIG. 2 is a flowchart showing the processing operation of the analog circuit simulator according to the embodiment.
  • the process shown in FIG. 2 describes the pre-process before the simulation execution by the simulation execution unit 116.
  • the design data 104 is read from the memory 102 by the search unit 1 (111), an analog circuit is searched in the highest hierarchy of the circuit to be verified, and the analog ports (the output at the previous stage and the input at the subsequent stage) are connected to each other.
  • An analog node to be searched is searched (step S201).
  • the extracted analog node is stored in the memory 1 (121).
  • the search unit 2 (112) searches the analog nodes stored in the memory 1 (121) sequentially, and searches for the model name corresponding to each analog node (step S202).
  • the searched model name is stored in the memory 2 (122).
  • variable information collecting unit 113 collects variable information corresponding to the model name stored in the memory 2 (122) (step S203).
  • the collected variable information is stored in the memory 3 (123).
  • the function conversion unit 114 reads variable information (voltage variable and current variable) corresponding to the model name from the memory 3 (123), and converts the variable information into a function of a predetermined time corresponding to the variable (step S204). ). Thereby, the converted voltage and current of the analog node are converted into a function of time, and the converted function is stored in the memory 4 (124). Thus, the preprocessing ends.
  • simulation execution is performed in the simulation execution unit 116.
  • the model processing unit 115 reads out the current and voltage functions from the memory 4 (124), and simulates the value at the time of the event out of the functions obtained by the function conversion unit 114 every time a predetermined event occurs.
  • the data is output to the execution unit 116.
  • the simulation execution unit 116 only needs to have a general-purpose simulator function, and can execute a calculation based on a function of a voltage value and a current value only when an event occurs and output a calculation result.
  • the analog circuit simulator is realized by the cooperation of the analog circuit model and the simulator. 1-1.
  • a voltage variable and a current variable are given to the analog port of each analog circuit.
  • An analog node to which analog ports are connected is searched for in the highest hierarchy of the circuit to be verified. 1-3.
  • the voltage and current of the analog node are converted into functions of time from the relationship between the voltage variable and current variable of all models connected to each analog node. 2.
  • a necessary analog value (voltage value, current value) is calculated by a function, and a verification result is obtained.
  • FIG. 3 is a diagram illustrating an example of an analog model.
  • the model 300 shown in the figure is an example in which the analog port input of the model 2 (302) having the grounded resistor 302a is connected to the analog port output of the model 1 (301) including the power supply 301a and the operational amplifier 301b.
  • R2 is an input impedance
  • R1 is an output impedance.
  • the search unit 1 (111) to the variable information collection unit (113) search for the voltage variable V1- (I1 ⁇ R1) and the current variable I1 for the output port of the model 1.
  • a voltage variable I2 ⁇ R2 and a current variable I2 are obtained.
  • FIG. 4 is a timing chart showing the operation of the simulator. As shown in the model 300 in FIG. 3, an example in which changes in voltage and current remain within one cycle during simulation execution by the simulation execution unit 116 will be described.
  • the simulation execution unit 116 sets the value of the above function only at the times t0, t1, t2, t3,... As the event occurs, in accordance with the cycle of one cycle corresponding to the rising edge of the next stage FF input clock. Calculate it. In this way, the simulation execution unit 116 does not calculate the entire transient characteristic, but in accordance with the model after processing stored in the memory 5 (125), the timings t0, t1, t2, t3 of designated events. By performing the function calculation f (t) only when..., The calculation of the simulation execution unit 116 can be easily executed with a low load.
  • Vn (t) V1 + (V2 ⁇ V1) ( ⁇ 1) n (f (t ⁇ t n ) ⁇ f (t ⁇ t n ⁇ 1 ) + f (t ⁇ t n ⁇ 2 )) And it is sufficient. In this way, it is only necessary to add functions for the number of cycles that are affected.
  • FIG. 5A is a circuit diagram illustrating an example of a functionalization model.
  • the model 500 shown in the figure is an example in which the analog port input of the model 2 (502) having the grounded capacitor 502a is connected to the analog port output of the model 1 (501) including the power source 501a and the operational amplifier 501b.
  • the output impedance R1 and the total capacitance C2 are included.
  • Search unit 1 (111) to variable information collection unit (113) search for and obtain voltage variable V1-I1 ⁇ R1 and current variable I1 for the output port of model 1. Further, the voltage variable I2 / j ⁇ C2 and the current variable I2 are searched for the input port of the model 2. Then, the function conversion unit 114 converts the function into an upper layer function.
  • Fig. 5-2 is a diagram for explaining the functionalization of the upper layer of Fig. 5-1
  • Fig. 5-3 is a diagram showing the current waveform of Fig. 5-2.
  • a resistor R1 is connected to a power source 501a via a switch 510, and a grounded capacitor C2 is connected.
  • the voltage V1 of this model 500 is
  • the function converter 114 converts the voltage V and the current i into time functions. Then, when the simulation is executed by the simulation execution unit 116, when an event occurs in the next stage (see FIG. 4), a value to which the above function is applied is output as a model output, and the simulation is executed.
  • the switch 510 shown in FIG. 5B repeats the switch operation that opens and closes every event execution, thereby obtaining a waveform corresponding to the output of the model shown in FIG.
  • FIG. 6 is a circuit diagram showing another model example of functionalization.
  • a model 1 (601) of the model 600 shown in the figure is connected to an analog port output of a model 1 (601) composed of a power source 601a and an operational amplifier 601b as an analog port input of a model 2 (602A to 602N).
  • a capacitor 602a is connected.
  • the function converter 114 performs the voltage V and the current i.
  • FIG. 7-1 is a circuit diagram showing still another model example of functionalization.
  • the model 700 shown is an example in which the analog port input of the model 2 (702) having the grounded voltage dividing resistor 702a is connected to the analog port output of the model 1 (701) including the power source 701a and the operational amplifier 701b.
  • the search unit 1 (111) to the variable information collection unit (113) search for and obtain the voltage variable V1-I1 ⁇ R1 and the current variable I1 for the output port of the model 1. Further, the voltage variable I2 ⁇ R2 and the current variable I2 are searched for the input port of the model 2. Then, the function conversion unit 114 converts the function into an upper layer function.
  • FIG. 7-2 is a diagram for explaining the functionalization of the upper layer of FIG. 7-1
  • FIG. 7-3 is a diagram showing the current waveform of FIG. 7-2.
  • the function converter 114 uses the current i and voltage V as functions.
  • the current and voltage are DC values independent of time (values independent of time).
  • FIG. 8 is a diagram showing still another model example of functionalization.
  • the model 800 shown in the figure is an example in which the analog port output of the operational amplifier 802a having no input load is connected to the analog port output of the model 1 (801) including the power source 801a and the operational amplifier 801b. is there.
  • Functionalization can be applied even in a model in which the influence of impedance does not occur at a node, such as the model 800, or when it is not necessary to calculate impedance. As described above, when the impedance calculation is not necessary, the model output can be used as it is.
  • the function conversion unit 114 the voltage and current of the output port of the model 1 can be used as a function in the upper layer as they are.
  • FIG. 9 is a timing chart showing discrete modeling of an analog circuit.
  • the analog circuit having impedance is discretely modeled in time by the components of the search unit 1 (111) to the model processing unit 115.
  • the simulation execution unit 116 only needs to perform an operation when an event occurs, so that the verification time can be significantly reduced.
  • the conventional simulation for example, Verilog-A
  • the time on the horizontal axis is continuously verified with respect to the voltage fluctuation on the vertical axis shown in FIG.
  • the model of the previous stage is generated only when an event such as every operation timing in the next stage circuit (FF) occurs (for each point shown in the figure) by discrete modeling of the analog circuit. It suffices to perform an operation using the value obtained by applying the obtained function as an output. As a result, the verification time can be greatly shortened.
  • analog circuits are modeled, current and voltage variables are collected for circuits having impedance when input / output ports are connected, and these currents and voltages are temporally changed at higher levels. Is converted into a function. This makes it possible to verify the function of an analog circuit having impedance easily and in a short time. Also, the simulation time can be greatly shortened by performing simulation calculations only when an event occurs. These enable functional verification not only for digital circuits but also for large-scale mixed signal designs including analog circuits. In addition, the function verification of the analog circuit can be performed using a general-purpose simulation calculation method.
  • Analog circuit simulator 101 CPU 102, 103 Memory 104 Design data 105 Variable-function correspondence information 111 Search unit 1 112 Search unit 2 113 Variable information collection unit 114 Function conversion unit 115 Model processing unit 116 Simulation execution unit 121 to 125 Memory 1 to 5

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

This analog circuit simulator (100) includes search units (111 and 112) for retrieving an analog circuit from design data in order to retrieve an analog node in which analog circuits are connected to each other, a variable information collection unit (113) for collecting variable information for a voltage and a current related to input and output of the retrieved analog node, a function conversion unit (114) for converting variable information for an analog node to a function of time, and a simulation execution unit (116) which computes the function of time at each time of occurrence of a predetermined event in order to perform a simulation of the analog node.

Description

アナログ回路シミュレータおよびアナログ回路検証方法Analog circuit simulator and analog circuit verification method
 本発明は、アナログ回路を機能検証するアナログ回路シミュレータおよびアナログ回路検証方法に関する。 The present invention relates to an analog circuit simulator and an analog circuit verification method for verifying the function of an analog circuit.
 従来、アナログ回路の機能検証には、SPICE(Simulation Program with Integrated Circuit Emphasis、登録商標)などのアナログ回路シミュレータが使用されている。このようなアナログ回路シミュレータは、アナログ特性を高精度に計算できるが、演算のために、膨大なメモリを使用する。また、計算ステップ数が細かいため、通常の動作モデルでの検証時間の数万倍以上もかかり、大規模回路の検証には使えなかった。このため、アナログ回路をハードウェア記述言語で表記した動作モデルを用いるのが一般的におこなわれている。 Conventionally, an analog circuit simulator such as SPICE (Simulation Program with Integrated Circuit Emphasis, registered trademark) is used for functional verification of an analog circuit. Such an analog circuit simulator can calculate analog characteristics with high accuracy, but uses a huge memory for calculation. In addition, since the number of calculation steps is small, it takes tens of thousands of times longer than the verification time in the normal operation model, and cannot be used for verification of a large-scale circuit. For this reason, an operation model in which an analog circuit is expressed in a hardware description language is generally used.
 たとえば、回路をブロック分割する回路分割型シミュレーションの行列定数化方式について、ブロック分割された回路をコンパイルし、ブロックの外部ノード間に電流変数独立な素子の電流変数をブロックの内部変数から除外しシミュレーションをおこなう技術がある(たとえば、下記特許文献1参照。)。また、アナログ回路とデジタル回路が混在する回路における信号波形の過渡状態を数値演算によりシミュレーションするために、アナログ回路を複数の回路ブロックに分割し、モデル化する技術がある(たとえば、下記特許文献2参照。)。 For example, for the matrix constantization method of circuit division type simulation that divides the circuit into blocks, the circuit is divided into blocks, and the current variable of the current variable independent element is excluded from the internal variable of the block between the external nodes of the block. (For example, refer to Patent Document 1 below). Further, in order to simulate a transient state of a signal waveform in a circuit in which an analog circuit and a digital circuit coexist by numerical calculation, there is a technique of dividing an analog circuit into a plurality of circuit blocks and modeling (for example, Patent Document 2 below). reference.).
特開平6-124317号公報JP-A-6-124317 特開2010-92434号公報JP 2010-92434 A
 しかしながら、アナログ回路の機能検証には、アナログ回路をハードウェア記述言語で記述した、高抽象度な動作モデルに置き換えて、シミュレーションする必要がある。しかし、大規模検証で用いられているハードウェア記述言語では、inputとoutput定義により信号が流れる方向が明確に定められるため、モデル外部との相互作用や、インピーダンスをもつ回路の機能をハードウェア記述言語では表現できないという課題があった。 However, in order to verify the function of an analog circuit, it is necessary to perform a simulation by replacing the analog circuit with a high abstraction behavior model described in a hardware description language. However, in the hardware description language used in large-scale verification, the direction of the signal flow is clearly determined by the input and output definitions, so the interaction with the outside of the model and the function of the circuit with impedance are described in hardware. There was a problem that it could not be expressed in language.
 たとえば、オペアンプの出力outputに、接地された抵抗のinputが接続されて所定のインピーダンスをもつ回路構成の場合、オペアンプのoutputの接続先回路が決まらないと、outputとinputのノードの電圧・電流が定まらないことになる。このため、たとえば、インピーダンスをもつ回路の機能検証は、アナログ回路シミュレータが使用されることとなり、膨大な時間がかかっていた。 For example, in the case of a circuit configuration in which a grounded resistor input is connected to the output of the operational amplifier and has a predetermined impedance, if the output destination circuit of the operational amplifier is not determined, the voltage and current of the output and input nodes are It will not be determined. For this reason, for example, an analog circuit simulator is used to verify the function of a circuit having an impedance, and it takes an enormous amount of time.
 開示のアナログ回路シミュレータおよびアナログ回路検証方法は、上述した問題点を解消するものであり、インピーダンスをもつアナログ回路を簡単かつ短時間で機能検証できることを目的とする。 The disclosed analog circuit simulator and analog circuit verification method are intended to solve the above-described problems, and an object of the present invention is to easily and functionally verify an analog circuit having an impedance.
 上述した課題を解決し、目的を達成するため、開示技術は、設計データからアナログ回路を探索し、前記アナログ回路同士が接続されるアナログノードを探索する探索部と、前記探索されたアナログノードの入出力に関する電圧と電流の変数情報を収集する変数情報収集部と、前記アナログノードの変数情報を時間関数に変換する関数変換部と、所定のイベント発生時毎に前記時間関数の演算をおこない、前記アナログノードのシミュレーションを実行するシミュレーション実行部と、を含む。 In order to solve the above-described problems and achieve the object, the disclosed technology searches for an analog circuit from design data, searches for an analog node to which the analog circuits are connected, and the searched analog node. A variable information collecting unit that collects variable information of voltage and current related to input and output, a function converting unit that converts variable information of the analog node into a time function, and performing the calculation of the time function every time a predetermined event occurs, A simulation execution unit that executes simulation of the analog node.
 開示のアナログ回路シミュレータおよびアナログ回路検証方法によれば、インピーダンスをもつアナログ回路を簡単かつ短時間で機能検証できるという効果を奏する。 According to the disclosed analog circuit simulator and analog circuit verification method, there is an effect that an analog circuit having impedance can be verified easily and in a short time.
図1は、実施の形態によるアナログ回路シミュレータの構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of an analog circuit simulator according to an embodiment. 図2は、実施の形態によるアナログ回路シミュレータの処理動作を示すフローチャートである。FIG. 2 is a flowchart showing the processing operation of the analog circuit simulator according to the embodiment. 図3は、アナログモデルの一例を示す図である。FIG. 3 is a diagram illustrating an example of an analog model. 図4は、シミュレータの動作を示すタイミングチャートである。FIG. 4 is a timing chart showing the operation of the simulator. 図5-1は、関数化のモデル例を示す回路図である。FIG. 5A is a circuit diagram illustrating an example of a functionalization model. 図5-2は、図5-1の上位階層の関数化を説明する図である。FIG. 5-2 is a diagram for explaining the functionalization of the upper layer of FIG. 5-1. 図5-3は、図5-2の電流波形を示す図である。FIG. 5C is a diagram illustrating the current waveform of FIG. 図6は、関数化の他のモデル例を示す回路図である。FIG. 6 is a circuit diagram showing another model example of functionalization. 図7-1は、関数化のさらに他のモデル例を示す回路図である。FIG. 7A is a circuit diagram illustrating still another example of functionalization. 図7-2は、図7-1の上位階層の関数化を説明する図である。FIG. 7-2 is a diagram for explaining the functionalization of the upper layer of FIG. 7-1. 図7-3は、図7-2の電流波形を示す図である。FIG. 7C is a diagram illustrating the current waveform of FIG. 図8は、関数化のさらに他のモデル例を示す回路図である。FIG. 8 is a circuit diagram showing still another model example of functionalization. 図9は、アナログ回路の離散モデル化を示すタイミングチャートである。FIG. 9 is a timing chart showing discrete modeling of an analog circuit.
(装置構成)
 以下に添付図面を参照して、開示技術の好適な実施の形態を詳細に説明する。図1は、実施の形態によるアナログ回路シミュレータの構成を示すブロック図である。アナログ回路シミュレータ100は、CPU101と、メモリ102,103等を含み構成される。CPU101は、ROM等のメモリ(不図示)に格納されたアナログ回路検証用のプログラム(不図示)を実行することにより、装置をアナログ回路シミュレータとして動作させる。
(Device configuration)
Hereinafter, preferred embodiments of the disclosed technology will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram illustrating a configuration of an analog circuit simulator according to an embodiment. The analog circuit simulator 100 includes a CPU 101, memories 102 and 103, and the like. The CPU 101 operates the apparatus as an analog circuit simulator by executing an analog circuit verification program (not shown) stored in a memory (not shown) such as a ROM.
 図示の第1メモリ102には、設計した回路の設計データ104と、変数-関数対応情報105が格納される。設計データ104は、回路に含まれるデジタル回路モデル、およびアナログ回路モデルからなる。 In the illustrated first memory 102, design data 104 of the designed circuit and variable-function correspondence information 105 are stored. The design data 104 includes a digital circuit model included in the circuit and an analog circuit model.
 CPU101は、プログラム実行により、設計データ104を読み出し、回路をモデル化して、シミュレーション実行する各機能を有する。機能別に説明すると、探索部1(111)は、ネットリスト等の設計データ104を読み出し、この検証対象回路の最上位階層でアナログ回路を探索し、さらに、アナログポート(前段のアナログ回路のoutputと後段のアナログ回路のinput)同士が接続されるアナログノードを探索し、抽出したアナログノードをメモリ1(121)に格納する。 The CPU 101 has each function of reading design data 104 by executing a program, modeling a circuit, and executing a simulation. When described by function, the search unit 1 (111) reads the design data 104 such as a net list, searches for an analog circuit in the highest hierarchy of the circuit to be verified, and further outputs an analog port (output of the analog circuit in the previous stage). The analog nodes to which the inputs of the analog circuits in the subsequent stage are connected are searched, and the extracted analog nodes are stored in the memory 1 (121).
 探索部2(112)は、メモリ1(121)に格納されたアナログノードを順次探索し、一つ一つのアナログノードに対応したモデル名を探索し、探索したモデル名をメモリ2(122)に格納する。 The search unit 2 (112) sequentially searches the analog nodes stored in the memory 1 (121), searches for model names corresponding to each analog node, and stores the searched model names in the memory 2 (122). Store.
 変数情報収集部113は、メモリ2(122)に格納されたモデル名に対応する変数情報をあらかじめ用意されたモデルに対応する変数情報群から収集し、メモリ3(123)に格納する。この変数情報とは、モデル名に対応してあらかじめ定められた電圧変数と、電流変数からなる。変数情報収集部113は、モデル名に対応する変数情報(電圧変数および電流変数)をメモリ3(123)に格納する。 The variable information collection unit 113 collects variable information corresponding to the model name stored in the memory 2 (122) from the variable information group corresponding to the model prepared in advance, and stores it in the memory 3 (123). The variable information includes a voltage variable and a current variable that are determined in advance corresponding to the model name. The variable information collection unit 113 stores variable information (voltage variable and current variable) corresponding to the model name in the memory 3 (123).
 関数変換部114は、メモリ3(123)からモデル名に対応した変数情報(電圧変数および電流変数)を読み出し、この変数に対応してあらかじめ定められた時間の関数に変換する。モデルの電圧変数、電流変数の情報から回路構成が決まるため、関数変換部114は、モデルに対応する電圧、電流の時間関数が定まる。そして、アナログノードの電圧、電流を時間の関数に変換し、変換した関数をメモリ4(124)に格納する。関数への変換処理は、必ず必要ではなく、複数のモデルに対応した関数があらかじめ用意され、モデルに対応した関数を選択する構成としてもよい。 The function conversion unit 114 reads variable information (voltage variable and current variable) corresponding to the model name from the memory 3 (123), and converts the variable information into a function of a predetermined time corresponding to the variable. Since the circuit configuration is determined from the information on the voltage variable and current variable of the model, the function converter 114 determines the time function of the voltage and current corresponding to the model. Then, the voltage and current of the analog node are converted into a function of time, and the converted function is stored in the memory 4 (124). The function conversion process is not always necessary, and a function corresponding to a plurality of models may be prepared in advance, and a function corresponding to the model may be selected.
 モデル加工部115は、メモリ4(124)から電流、電圧の関数を読み出し、所定のイベント発生時におけるモデルの電流値、電圧値を得るために、関数変換部114で得られた関数のうち、イベント発生時の値のみを抽出する。この所定のイベント発生時とは、シミュレーション実行部116がおこなうシミュレーションにおいて、たとえば、モデルの次段でのイベント発生時におけるモデルの電流値、電圧値をシミュレーション実行部116に出力することを指す。たとえば、モデルのアナログ回路動作のサイクル動作にあわせて、次段のFF回路のサイクル動作の起点時のみの電圧値、および電流値の関数を抽出し、修正後のモデルは、メモリ5(125)に格納される。 The model processing unit 115 reads the current and voltage functions from the memory 4 (124), and obtains the current value and voltage value of the model at the occurrence of a predetermined event. Among the functions obtained by the function conversion unit 114, Extract only the value when the event occurred. When the predetermined event occurs, in the simulation performed by the simulation execution unit 116, for example, the current value and voltage value of the model when the event occurs at the next stage of the model is output to the simulation execution unit 116. For example, in accordance with the cycle operation of the analog circuit operation of the model, the function of the voltage value and the current value only at the starting point of the cycle operation of the next stage FF circuit is extracted, and the corrected model is the memory 5 (125). Stored in
 シミュレーション実行部116は、アナログ回路を機能検証するシミュレーションを実行するものであり、メモリ5(125)に格納された修正後のモデルにより、イベント発生時のみの電圧値および電流値の関数に基づく演算を実行する。たとえば、シミュレーション実行部116は、汎用のヴェリログ(Verilog)等のハードウェア記述言語で表現されたモデルを用いてシミュレーションを実行することができる。但し、アナログ回路における過渡的な状態の連続解析はおこなわず、所定のイベント発生時のみの解析をおこなう。これにより、アナログ回路について、時間的に離散的でありながら、インピーダンス(電圧および電流)を考慮したイベントドリブンな電圧、電流解析がおこなえ、機能検証を高速におこなう。 The simulation execution unit 116 performs a simulation for verifying the function of the analog circuit. Based on the corrected model stored in the memory 5 (125), an operation based on the function of the voltage value and the current value only at the time of event occurrence is performed. Execute. For example, the simulation execution unit 116 can execute a simulation using a model expressed in a hardware description language such as a general-purpose Verilog. However, continuous analysis of the transient state in the analog circuit is not performed, and analysis is performed only when a predetermined event occurs. As a result, event-driven voltage / current analysis in consideration of impedance (voltage and current) can be performed on the analog circuit while being discrete in time, and functional verification is performed at high speed.
(装置動作)
 図2は、実施の形態によるアナログ回路シミュレータの処理動作を示すフローチャートである。図2に示す処理は、シミュレーション実行部116におけるシミュレーション実行をおこなう以前の前処理について記載したものである。はじめに、探索部1(111)によりメモリ102から設計データ104を読み出し、この検証対象回路の最上位階層でアナログ回路を探索し、さらに、アナログポート(前段のoutputと後段のinput)同士が接続されるアナログノードを探索する(ステップS201)。抽出したアナログノードをメモリ1(121)に格納する。
(Device operation)
FIG. 2 is a flowchart showing the processing operation of the analog circuit simulator according to the embodiment. The process shown in FIG. 2 describes the pre-process before the simulation execution by the simulation execution unit 116. First, the design data 104 is read from the memory 102 by the search unit 1 (111), an analog circuit is searched in the highest hierarchy of the circuit to be verified, and the analog ports (the output at the previous stage and the input at the subsequent stage) are connected to each other. An analog node to be searched is searched (step S201). The extracted analog node is stored in the memory 1 (121).
 つぎに、探索部2(112)により、メモリ1(121)に格納されたアナログノードを順次探索し、一つ一つのアナログノードに対応したモデル名を探索する(ステップS202)。探索したモデル名はメモリ2(122)に格納する。 Next, the search unit 2 (112) searches the analog nodes stored in the memory 1 (121) sequentially, and searches for the model name corresponding to each analog node (step S202). The searched model name is stored in the memory 2 (122).
 その後、変数情報収集部113により、メモリ2(122)に格納されたモデル名に対応する変数情報を収集する(ステップS203)。収集した変数情報はメモリ3(123)に格納する。 Thereafter, the variable information collecting unit 113 collects variable information corresponding to the model name stored in the memory 2 (122) (step S203). The collected variable information is stored in the memory 3 (123).
 そして、関数変換部114は、メモリ3(123)からモデル名に対応した変数情報(電圧変数および電流変数)を読み出し、この変数に対応してあらかじめ定められた時間の関数に変換する(ステップS204)。これにより、変換後のアナログノードの電圧、電流は時間の関数に変換され、変換した関数はメモリ4(124)に格納される。以上により前処理は終了する。 Then, the function conversion unit 114 reads variable information (voltage variable and current variable) corresponding to the model name from the memory 3 (123), and converts the variable information into a function of a predetermined time corresponding to the variable (step S204). ). Thereby, the converted voltage and current of the analog node are converted into a function of time, and the converted function is stored in the memory 4 (124). Thus, the preprocessing ends.
 前処理の後は、シミュレーション実行部116におけるシミュレーション実行がおこなわれる。この際、モデル加工部115により、メモリ4(124)から電流、電圧の関数を読み出し、所定のイベント発生時毎に、関数変換部114で得られた関数のうち、イベント発生時の値をシミュレーション実行部116に出力する。これにより、シミュレーション実行部116は、汎用のシミュレータの機能を有すればよく、イベント発生時のみの電圧値および電流値の関数に基づく演算を実行し、演算結果を出力できる。 After the preprocessing, simulation execution is performed in the simulation execution unit 116. At this time, the model processing unit 115 reads out the current and voltage functions from the memory 4 (124), and simulates the value at the time of the event out of the functions obtained by the function conversion unit 114 every time a predetermined event occurs. The data is output to the execution unit 116. Thus, the simulation execution unit 116 only needs to have a general-purpose simulator function, and can execute a calculation based on a function of a voltage value and a current value only when an event occurs and output a calculation result.
 上述したように、本実施の形態によりアナログ回路シミュレータは、アナログ回路モデルと、シミュレータの連携により実現されている。
1-1.アナログ回路モデルでは、各アナログ回路のアナログポートに電圧変数と、電流変数を与える。
1-2.検証対象回路の最上位階層で、アナログポート同士が接続されるアナログノードを探索する。
1-3.そして、各アナログノードに接続されている全モデルの電圧変数と電流変数の関係から、アナログノードの電圧、電流を時間の関数に変換する。
2.シミュレータでは、イベント発生時に、必要なアナログ値(電圧値、電流値)を関数により演算し、検証結果を得る。
As described above, the analog circuit simulator according to the present embodiment is realized by the cooperation of the analog circuit model and the simulator.
1-1. In the analog circuit model, a voltage variable and a current variable are given to the analog port of each analog circuit.
1-2. An analog node to which analog ports are connected is searched for in the highest hierarchy of the circuit to be verified.
1-3. Then, the voltage and current of the analog node are converted into functions of time from the relationship between the voltage variable and current variable of all models connected to each analog node.
2. In the simulator, when an event occurs, a necessary analog value (voltage value, current value) is calculated by a function, and a verification result is obtained.
(アナログモデルについて)
 上述した各構成部の処理内容について説明する。はじめにアナログモデルについて説明する。図3は、アナログモデルの一例を示す図である。図示のモデル300は、電源301aと、オペアンプ301bからなるモデル1(301)のアナログポートoutputに、接地された抵抗302aを有するモデル2(302)のアナログポートinputが接続された例である。このモデル300では、R2が入力インピーダンス、R1が出力インピーダンスとなる。探索部1(111)~変数情報収集部(113)では、モデル1のoutputポートについて、電圧変数V1-(I1×R1)と、電流変数I1を探索して得る。また、モデル2のinputポートについて、電圧変数I2×R2と、電流変数I2を得る。
(About analog models)
The processing content of each component described above will be described. First, the analog model will be described. FIG. 3 is a diagram illustrating an example of an analog model. The model 300 shown in the figure is an example in which the analog port input of the model 2 (302) having the grounded resistor 302a is connected to the analog port output of the model 1 (301) including the power supply 301a and the operational amplifier 301b. In this model 300, R2 is an input impedance and R1 is an output impedance. The search unit 1 (111) to the variable information collection unit (113) search for the voltage variable V1- (I1 × R1) and the current variable I1 for the output port of the model 1. For the input port of model 2, a voltage variable I2 × R2 and a current variable I2 are obtained.
(シミュレータの動作について)
 図4は、シミュレータの動作を示すタイミングチャートである。図3のモデル300に示したように、シミュレーション実行部116によるシミュレーション実行時に、電圧、電流の変化が1サイクル以内に留まる場合の例について説明する。このときの電圧の過渡変化V(t)は、下記の関数
 V(t)=V1+(V2-V1)[1/2+(ft-tk)-1/2)×(-1)k]
で表される。
(About simulator operation)
FIG. 4 is a timing chart showing the operation of the simulator. As shown in the model 300 in FIG. 3, an example in which changes in voltage and current remain within one cycle during simulation execution by the simulation execution unit 116 will be described. The voltage transient V (t) at this time is expressed by the following function V (t) = V1 + (V2−V1) [1/2 + (ft−tk) −1/2) × (−1) k ]
It is represented by
 モデル300に対する入力の結果、出力は基準電圧V1に対し過渡的に電圧がV2までRC特性の関数にしたがって増大する。ここで、シミュレーション実行部116は、次段のFF入力クロックの立ち上がり時に対応した1サイクルの周期にあわせて、イベント発生時として時期t0,t1,t2,t3,…の時期のみ上記関数の値を計算すればよい。このように、シミュレーション実行部116は、過渡特性全体を計算するのではなく、メモリ5(125)に格納された加工後のモデルにしたがい、指定されたイベントのタイミングt0,t1,t2,t3,…のときのみ関数演算f(t)をおこなうことにより、シミュレーション実行部116の計算を簡単に低負荷で実行できるようになる。 As a result of the input to the model 300, the output increases transiently with respect to the reference voltage V1 up to V2 according to a function of the RC characteristic. Here, the simulation execution unit 116 sets the value of the above function only at the times t0, t1, t2, t3,... As the event occurs, in accordance with the cycle of one cycle corresponding to the rising edge of the next stage FF input clock. Calculate it. In this way, the simulation execution unit 116 does not calculate the entire transient characteristic, but in accordance with the model after processing stored in the memory 5 (125), the timings t0, t1, t2, t3 of designated events. By performing the function calculation f (t) only when..., The calculation of the simulation execution unit 116 can be easily executed with a low load.
 また、他のモデルへの対応例について説明する。シミュレーション実行時に、電圧、電流の変化(関数値)が複数サイクルにまたがり、他のサイクルに影響する場合には、下記の関数を用いる。1.影響が無限に続く場合には、下記式で表せる。(-1)は、波形の反転に相当する。 Also, examples of correspondence to other models will be described. When the simulation is executed, if the voltage and current changes (function values) extend over multiple cycles and affect other cycles, the following functions are used. 1. If the effect continues indefinitely, it can be expressed as: (-1) corresponds to waveform inversion.
Figure JPOXMLDOC01-appb-M000001
Figure JPOXMLDOC01-appb-M000001
 また、影響が3サイクルまで及ぶ場合には、
 Vn(t)=V1+(V2-V1)(-1)n(f(t-tn)-f(t-tn-1)+f(t-tn-2))
 とすればよい。このように、影響が及ぶサイクル数だけ関数を加算していけばよい。
Also, if the impact is up to 3 cycles,
Vn (t) = V1 + (V2−V1) (− 1) n (f (t−t n ) −f (t−t n−1 ) + f (t−t n−2 ))
And it is sufficient. In this way, it is only necessary to add functions for the number of cycles that are affected.
(関数化の具体例について)
 図5-1は、関数化のモデル例を示す回路図である。図示のモデル500は、電源501aと、オペアンプ501bからなるモデル1(501)のアナログポートoutputに、接地された容量502aを有するモデル2(502)のアナログポートinputが接続された例である。この例では、出力インピーダンスR1と総容量C2で構成される。探索部1(111)~変数情報収集部(113)では、モデル1のoutputポートについて、電圧変数V1-I1×R1と、電流変数I1を探索して得る。また、モデル2のinputポートについて、電圧変数I2/jωC2と、電流変数I2を探索して得る。そして、関数変換部114では、上位階層での関数に変換する。
(Specific examples of functionalization)
FIG. 5A is a circuit diagram illustrating an example of a functionalization model. The model 500 shown in the figure is an example in which the analog port input of the model 2 (502) having the grounded capacitor 502a is connected to the analog port output of the model 1 (501) including the power source 501a and the operational amplifier 501b. In this example, the output impedance R1 and the total capacitance C2 are included. Search unit 1 (111) to variable information collection unit (113) search for and obtain voltage variable V1-I1 × R1 and current variable I1 for the output port of model 1. Further, the voltage variable I2 / jωC2 and the current variable I2 are searched for the input port of the model 2. Then, the function conversion unit 114 converts the function into an upper layer function.
 図5-2は、図5-1の上位階層の関数化を説明する図、図5-3は、図5-2の電流波形を示す図である。図5-2に示すように、上位階層で表した関数では、電源501aにスイッチ510を介して抵抗R1が接続されるとともに、接地された容量C2が接続されてなる。このモデル500の電圧V1は、 Fig. 5-2 is a diagram for explaining the functionalization of the upper layer of Fig. 5-1, and Fig. 5-3 is a diagram showing the current waveform of Fig. 5-2. As shown in FIG. 5B, in the function expressed in the upper hierarchy, a resistor R1 is connected to a power source 501a via a switch 510, and a grounded capacitor C2 is connected. The voltage V1 of this model 500 is
Figure JPOXMLDOC01-appb-M000002
Figure JPOXMLDOC01-appb-M000002
と表すことができ、両辺を微分して、
 R1(di/dt)+1/C2・i=0
 1/i・(di/dt)=-1/C21
  両辺を積分して、
 1n|i|=-t/C21+A (A:積分定数)
 i=eA ・e-(t/C2R1)
Which can be expressed as:
R 1 (di / dt) + 1 / C 2 · i = 0
1 / i · (di / dt) = − 1 / C 2 R 1
Integrate both sides,
1n | i | = −t / C 2 R 1 + A (A: integral constant)
i = e A · e- (t / C2R1)
Figure JPOXMLDOC01-appb-M000003
Figure JPOXMLDOC01-appb-M000003
 V=V1-Riから From V = V1-Ri
Figure JPOXMLDOC01-appb-M000004
Figure JPOXMLDOC01-appb-M000004
となる。関数変換部114では、電圧Vと電流iをそれぞれ時間の関数に変換する。そして、シミュレーション実行部116によるシミュレーション実行時に、次段でのイベント発生時(図4参照)に、モデル出力として上記の関数を適用した値を出力し、シミュレーション実行させる。なお、図5-2に示すスイッチ510は、イベント実行毎に開閉するスイッチ動作を繰り返すことにより、図4のモデルの出力に相当する波形が得られる。 It becomes. The function converter 114 converts the voltage V and the current i into time functions. Then, when the simulation is executed by the simulation execution unit 116, when an event occurs in the next stage (see FIG. 4), a value to which the above function is applied is output as a model output, and the simulation is executed. The switch 510 shown in FIG. 5B repeats the switch operation that opens and closes every event execution, thereby obtaining a waveform corresponding to the output of the model shown in FIG.
 図6は、関数化の他のモデル例を示す回路図である。図示のモデル600のモデル1(601)は、電源601aと、オペアンプ601bからなるモデル1(601)のアナログポートoutputに、モデル2(602A~602N)のアナログポートinputとして、並列に複数N個の容量602aが接続されている。このように、並列に接続する場合、モデル2は、容量602aの容量値の総和Cで関数化すればよい。すなわち、容量C=C2×Nとする。これにより、関数変換部114は、電圧Vと、電流iについて、 FIG. 6 is a circuit diagram showing another model example of functionalization. A model 1 (601) of the model 600 shown in the figure is connected to an analog port output of a model 1 (601) composed of a power source 601a and an operational amplifier 601b as an analog port input of a model 2 (602A to 602N). A capacitor 602a is connected. As described above, when connected in parallel, the model 2 may be converted into a function by the sum C of the capacitance values of the capacitor 602a. That is, the capacity C = C2 × N. As a result, the function converter 114 performs the voltage V and the current i.
Figure JPOXMLDOC01-appb-M000005
Figure JPOXMLDOC01-appb-M000005
とする時間の関数に変換する。 To a function of time.
 図7-1は、関数化のさらに他のモデル例を示す回路図である。図示のモデル700は、電源701aと、オペアンプ701bからなるモデル1(701)のアナログポートoutputに、接地された分圧抵抗702aを有するモデル2(702)のアナログポートinputが接続された例である。探索部1(111)~変数情報収集部(113)では、モデル1のoutputポートについて、電圧変数V1-I1×R1と、電流変数I1を探索して得る。また、モデル2のinputポートについて、電圧変数I2×R2と、電流変数I2を探索して得る。そして、関数変換部114では、上位階層での関数に変換する。 FIG. 7-1 is a circuit diagram showing still another model example of functionalization. The model 700 shown is an example in which the analog port input of the model 2 (702) having the grounded voltage dividing resistor 702a is connected to the analog port output of the model 1 (701) including the power source 701a and the operational amplifier 701b. . The search unit 1 (111) to the variable information collection unit (113) search for and obtain the voltage variable V1-I1 × R1 and the current variable I1 for the output port of the model 1. Further, the voltage variable I2 × R2 and the current variable I2 are searched for the input port of the model 2. Then, the function conversion unit 114 converts the function into an upper layer function.
 図7-2は、図7-1の上位階層の関数化を説明する図、図7-3は、図7-2の電流波形を示す図である。図7-2に示すモデル700は、
 電圧Vは、V=(R2・V1)/(R1+R2)
 電流iは、i=V1/(R1+R2)
で示される。関数変換部114は、上記の電流i、電圧Vを関数として用いる。図7-3に示すように、このモデル700は、電流、および電圧は、時間に独立なDC値(時間に依存しない値)となる。
FIG. 7-2 is a diagram for explaining the functionalization of the upper layer of FIG. 7-1, and FIG. 7-3 is a diagram showing the current waveform of FIG. 7-2. The model 700 shown in FIG.
The voltage V is V = (R2 · V1) / (R1 + R2)
The current i is i = V1 / (R1 + R2)
Indicated by The function converter 114 uses the current i and voltage V as functions. As shown in FIG. 7C, in this model 700, the current and voltage are DC values independent of time (values independent of time).
 図8は、関数化のさらに他のモデル例を示す図である。図示のモデル800は、電源801aと、オペアンプ801bからなるモデル1(801)のアナログポートoutputに、入力負荷が何もついていないオペアンプ802aのモデル2(802)のアナログポートinputが接続された例である。このモデル800のように、ノードにおいてインピーダンスの影響が生じないモデル、あるいはインピーダンスを算出する必要がない場合においても関数化を適用することができる。このように、インピーダンス演算が必要ない場合においては、モデル出力をそのまま使用することができる。 FIG. 8 is a diagram showing still another model example of functionalization. The model 800 shown in the figure is an example in which the analog port output of the operational amplifier 802a having no input load is connected to the analog port output of the model 1 (801) including the power source 801a and the operational amplifier 801b. is there. Functionalization can be applied even in a model in which the influence of impedance does not occur at a node, such as the model 800, or when it is not necessary to calculate impedance. As described above, when the impedance calculation is not necessary, the model output can be used as it is.
 図8の構成の場合、探索部1(111)~変数情報収集部(113)では、モデル1のoutputポートについて、電圧変数V=V1と、電流変数i=V1/R1を探索して得るだけでよい。そして、関数変換部114では、モデル1のoutputポートの電圧、電流をそのまま上位階層での関数として用いることができる。 In the case of the configuration of FIG. 8, the search unit 1 (111) to the variable information collection unit (113) are simply obtained by searching the output port of the model 1 for the voltage variable V = V1 and the current variable i = V1 / R1. It's okay. In the function conversion unit 114, the voltage and current of the output port of the model 1 can be used as a function in the upper layer as they are.
 図9は、アナログ回路の離散モデル化を示すタイミングチャートである。上述したように、探索部1(111)~モデル加工部115の各構成により、インピーダンスをもつアナログ回路について、時間的に離散モデル化をおこなう。これにより、シミュレーション実行部116は、イベント発生時にのみ演算をおこなえばよいため、検証時間を大幅に短縮することができるようになる。従来のシミュレーション(たとえば、Verilog-A)では、図7に示す縦軸の電圧変動に対し、横軸の時間について連続的に検証をおこなっている。これに対し、上記実施の形態では、アナログ回路の離散モデル化により、次段回路(FF)等での動作タイミング毎などのイベント発生時のみ(図中点で示すポイント毎に)、前段のモデル出力に対して、求めた関数を適用した値を出力として演算をおこなうだけでよい。これにより、検証時間を大幅に短縮することができるようになる。 FIG. 9 is a timing chart showing discrete modeling of an analog circuit. As described above, the analog circuit having impedance is discretely modeled in time by the components of the search unit 1 (111) to the model processing unit 115. As a result, the simulation execution unit 116 only needs to perform an operation when an event occurs, so that the verification time can be significantly reduced. In the conventional simulation (for example, Verilog-A), the time on the horizontal axis is continuously verified with respect to the voltage fluctuation on the vertical axis shown in FIG. On the other hand, in the above embodiment, the model of the previous stage is generated only when an event such as every operation timing in the next stage circuit (FF) occurs (for each point shown in the figure) by discrete modeling of the analog circuit. It suffices to perform an operation using the value obtained by applying the obtained function as an output. As a result, the verification time can be greatly shortened.
 以上説明した開示技術によれば、アナログ回路をモデル化し、入出力ポートを接続したときのインピーダンスをもつ回路について、電流と電圧の変数を収集し、上位階層でこれら電流と電圧を時間的に変化する関数に変換する。これにより、インピーダンスをもつアナログ回路を簡単かつ短時間で機能検証できるようになる。また、イベント発生時だけシミュレーションの演算をおこなうことにより、検証時間を大幅に短縮できるようになる。これらにより、デジタル回路だけではなく、アナログ回路を含む大規模なミックスドシグナル設計に対する機能検証が可能となる。また、汎用のシミュレーション演算の手法を用いてアナログ回路の機能検証をおこなうことができる。 According to the disclosed technology described above, analog circuits are modeled, current and voltage variables are collected for circuits having impedance when input / output ports are connected, and these currents and voltages are temporally changed at higher levels. Is converted into a function. This makes it possible to verify the function of an analog circuit having impedance easily and in a short time. Also, the simulation time can be greatly shortened by performing simulation calculations only when an event occurs. These enable functional verification not only for digital circuits but also for large-scale mixed signal designs including analog circuits. In addition, the function verification of the analog circuit can be performed using a general-purpose simulation calculation method.
 100 アナログ回路シミュレータ
 101 CPU
 102,103 メモリ
 104 設計データ
 105 変数-関数対応情報
 111 探索部1
 112 探索部2
 113 変数情報収集部
 114 関数変換部
 115 モデル加工部
 116 シミュレーション実行部
 121~125 メモリ1~5
100 Analog circuit simulator 101 CPU
102, 103 Memory 104 Design data 105 Variable-function correspondence information 111 Search unit 1
112 Search unit 2
113 Variable information collection unit 114 Function conversion unit 115 Model processing unit 116 Simulation execution unit 121 to 125 Memory 1 to 5

Claims (7)

  1.  設計データからアナログ回路を探索し、前記アナログ回路同士が接続されるアナログノードを探索する探索部と、
     前記探索されたアナログノードの入出力に関する電圧と電流の変数情報を収集する変数情報収集部と、
     前記アナログノードの変数情報を時間関数に変換する関数変換部と、
     所定のイベント発生時毎に前記時間関数の演算をおこない、前記アナログノードのシミュレーションを実行するシミュレーション実行部と、
     を備えたことを特徴とするアナログ回路シミュレータ。
    A search unit that searches for analog circuits from design data and searches for analog nodes to which the analog circuits are connected;
    A variable information collecting unit for collecting voltage and current variable information related to input and output of the searched analog node;
    A function converter that converts the variable information of the analog node into a time function;
    Performing a calculation of the time function every time a predetermined event occurs, and executing a simulation of the analog node;
    An analog circuit simulator characterized by comprising:
  2.  前記探索部は、あらかじめ用意された前記アナログノードに対応するモデル名および電圧と電流の変数情報を用いて前記モデル名に対応する前記変数情報を探索することを特徴とする請求項1に記載のアナログ回路シミュレータ。 2. The search unit according to claim 1, wherein the search unit searches for the variable information corresponding to the model name using a model name corresponding to the analog node prepared in advance and voltage and current variable information. Analog circuit simulator.
  3.  前記関数変換部は、前記アナログノードを前記モデルの上位階層で、電圧および電流の前記変数情報を集計し、前記変数情報に対応してあらかじめ用意した時間の関数に変換することを特徴とする請求項1に記載のアナログ回路シミュレータ。 The function conversion unit aggregates the variable information of voltage and current in the upper layer of the model and converts the analog node into a function of time prepared in advance corresponding to the variable information. Item 4. The analog circuit simulator according to Item 1.
  4.  前記シミュレーション実行部は、対象とする前記アナログノードの次段回路のイベント発生の周期で前記時間関数の演算をおこなうことを特徴とする請求項1に記載のアナログ回路シミュレータ。 2. The analog circuit simulator according to claim 1, wherein the simulation execution unit performs the calculation of the time function at an event occurrence cycle of a next-stage circuit of the target analog node.
  5.  前記シミュレーション実行部は、前記イベント発生の周期の1サイクル内で前記アナログノードの関数値が収束する場合には、1サイクル単位で演算することを特徴とする請求項4に記載のアナログ回路シミュレータ。 5. The analog circuit simulator according to claim 4, wherein the simulation execution unit performs calculation in units of one cycle when the function value of the analog node converges within one cycle of the event generation period.
  6.  前記シミュレーション実行部は、前記アナログノードの関数値の収束が前記イベント発生の周期の複数サイクルにまたがる場合には、前記またがるサイクル数分の関数を加算し演算することを特徴とする請求項4に記載のアナログ回路シミュレータ。 5. The simulation execution unit according to claim 4, wherein when the convergence of the function value of the analog node extends over a plurality of cycles of the event generation period, the simulation execution unit adds and calculates a function corresponding to the number of cycles over which the event has occurred. The analog circuit simulator described.
  7.  設計データからアナログ回路を探索し、前記アナログ回路同士が接続されるアナログノードを探索する探索工程と、
     前記探索されたアナログノードの入出力に関する電圧と電流の変数情報を収集する変数情報収集工程と、
     前記アナログノードの変数情報を時間関数に変換する関数変換工程と、
     所定のイベント発生時毎に前記時間関数の演算をおこない、前記アナログノードのシミュレーションを実行するシミュレーション実行工程と、
     を含むことを特徴とするアナログ回路検証方法。
    Searching for analog circuits from design data, searching for analog nodes to which the analog circuits are connected, and
    A variable information collecting step of collecting voltage and current variable information related to input and output of the searched analog node;
    A function conversion step of converting the variable information of the analog node into a time function;
    A simulation execution step of performing the calculation of the time function every time a predetermined event occurs, and executing a simulation of the analog node;
    An analog circuit verification method comprising:
PCT/JP2011/062981 2011-06-06 2011-06-06 Analog circuit simulator and analog circuit verification method WO2012169000A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2013519251A JP5768880B2 (en) 2011-06-06 2011-06-06 Analog circuit simulator and analog circuit verification method
PCT/JP2011/062981 WO2012169000A1 (en) 2011-06-06 2011-06-06 Analog circuit simulator and analog circuit verification method
US14/095,142 US9009636B2 (en) 2011-06-06 2013-12-03 Analog circuit simulator and analog circuit verification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/062981 WO2012169000A1 (en) 2011-06-06 2011-06-06 Analog circuit simulator and analog circuit verification method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/095,142 Continuation US9009636B2 (en) 2011-06-06 2013-12-03 Analog circuit simulator and analog circuit verification method

Publications (1)

Publication Number Publication Date
WO2012169000A1 true WO2012169000A1 (en) 2012-12-13

Family

ID=47295607

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/062981 WO2012169000A1 (en) 2011-06-06 2011-06-06 Analog circuit simulator and analog circuit verification method

Country Status (3)

Country Link
US (1) US9009636B2 (en)
JP (1) JP5768880B2 (en)
WO (1) WO2012169000A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10223483B1 (en) * 2016-12-23 2019-03-05 Intel Corporation Methods for determining resistive-capacitive component design targets for radio-frequency circuitry

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03166751A (en) * 1989-11-27 1991-07-18 Kawasaki Steel Corp Simulator for large scale integrated circuit
JP2001167140A (en) * 1999-12-08 2001-06-22 Matsushita Electronics Industry Corp Simulation method for analog-digital hybrid circuit

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2578668B1 (en) * 1985-03-08 1989-06-02 Hennion Bernard ELECTRONIC CIRCUIT SIMULATION SYSTEM
JP2884951B2 (en) 1992-10-14 1999-04-19 日本電気株式会社 Matrix formulation for circuit-division simulation
US5732192A (en) * 1994-11-30 1998-03-24 The United States Of America As Represented By The Administrator Of The National Aeronautics And Space Administration Global qualitative flow-path modeling for local state determination in simulation and analysis
WO2002056145A2 (en) * 2001-01-11 2002-07-18 P C Krause And Associates Inc Circuit simulation
US7085700B2 (en) * 2001-06-20 2006-08-01 Cadence Design Systems, Inc. Method for debugging of analog and mixed-signal behavioral models during simulation
US7818158B2 (en) * 2005-09-21 2010-10-19 Synopsys, Inc. Method for symbolic simulation of circuits having non-digital node voltages
US8418098B2 (en) * 2007-12-28 2013-04-09 Taiwan Semiconductor Manufacturing Company, Ltd. Advisory system for verifying sensitive circuits in chip-design
WO2009103089A1 (en) * 2008-02-15 2009-08-20 Invensys Systems, Inc. System and method for autogenerating simulations for process control system checkout and operator training
US8443329B2 (en) * 2008-05-16 2013-05-14 Solido Design Automation Inc. Trustworthy structural synthesis and expert knowledge extraction with application to analog circuit design
JP5219078B2 (en) 2008-10-10 2013-06-26 学校法人 中央大学 Simulation method by numerical calculation of analog circuit and simulation method by numerical calculation of switching power supply circuit
US8434037B2 (en) * 2008-11-26 2013-04-30 Texas Instruments Incorporated Sub-circuit pattern recognition in integrated circuit design
US8341567B1 (en) * 2008-12-29 2012-12-25 Cadence Design Systems, Inc. Boolean satisfiability based verification of analog circuits
US8401828B1 (en) * 2010-07-15 2013-03-19 Cadence Design Systems, Inc. Methods and systems for analog object fetch in mixed-signal simulation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03166751A (en) * 1989-11-27 1991-07-18 Kawasaki Steel Corp Simulator for large scale integrated circuit
JP2001167140A (en) * 1999-12-08 2001-06-22 Matsushita Electronics Industry Corp Simulation method for analog-digital hybrid circuit

Also Published As

Publication number Publication date
US20140096096A1 (en) 2014-04-03
JP5768880B2 (en) 2015-08-26
US9009636B2 (en) 2015-04-14
JPWO2012169000A1 (en) 2015-02-23

Similar Documents

Publication Publication Date Title
US5469366A (en) Method and apparatus for determining the performance of nets of an integrated circuit design on a semiconductor design automation system
US7555417B2 (en) Selectively reducing the number of cell evaluations in a hardware simulation
US7979820B1 (en) Temporal replicant simulation
US8886508B2 (en) Circuit simulation acceleration using model caching
US20210173993A1 (en) Machine Learning Based Methods and Apparatus for Integrated Circuit Design Delay Calculation and Verification
US11755807B2 (en) Method for predicting delay at multiple corners for digital integrated circuit
CN107290977A (en) Backward discrete state event-driven simulation of power electronic method, equipment and medium
De Jonghe et al. Characterization of analog circuits using transfer function trajectories
EP1894130A1 (en) Mixed-domain analog/rf simulation
CN114707445A (en) Integrated circuit synthesis method and device, computer equipment and storage medium
CN112883672B (en) Digital modeling method and device for mixed signal circuit
KR20080079558A (en) Method and apparatus for analyzing circuit model by reduction and computer-readable program product
CN107844678B (en) Spice simulation method containing IP/Memory time sequence path
JP5768880B2 (en) Analog circuit simulator and analog circuit verification method
Dong et al. Automated extraction of broadly applicable nonlinear analog macromodels from SPICE-level descriptions
WO2023284088A9 (en) Circuit design method based on artificial intelligence, and implementation system
Pan et al. Transient analysis of on-chip power distribution networks using equivalent circuit modeling
JP3296320B2 (en) Gate delay calculation device and recording medium recording gate delay calculation program
JPH07287051A (en) Input data creation device for logic simulation
US20090222253A1 (en) System and Method for Switch-Level Linear Simulation Using Verilog
Hoelldampf et al. Using analog circuit behavior to generate SystemC events for an acceleration of mixed-signal simulation
KR100475014B1 (en) How to calculate delay time of interconnect
JP2002032427A (en) Device and method for connection verification of lsi and medium with connection verifying program recorded thereon
JPH04199278A (en) Simulation device for blocking circuit
Bousquet et al. SystemC-AMS high-level modeling of linear analog blocks with power consumption information

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11867435

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2013519251

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11867435

Country of ref document: EP

Kind code of ref document: A1