10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The .TEMPNODE statement can also be specified outside the subcircuit.<br />

Electrothermal Simulation<br />

Verilog-A Support<br />

In the second example below, a SPICE resistor is replaced by a Verilog-A instance.<br />

• Case of $temperature specified in @initial_step<br />

Examples<br />

To avoid multiple evaluations of some variables, the @initial_step of a Verilog-A model<br />

is commonly used. In a standard (non electrothermal) simulation, the temperature of the<br />

circuit is supposed to be constant during the entire simulation.<br />

For electrothermal simulation, Eldo allows the update of the local temperature without<br />

modifying the model. All variables that are dependent of the temperature and are present<br />

only in the initial step statement, are updated at each temperature variation inside the<br />

surrounding subcircuit.<br />

This reduces the evaluation cost of the resistor model with $temperature in the @initial<br />

step compared to the first model.<br />

In the third example below, resistor1 and resistor2 give the same electrothermal<br />

simulation results.<br />

Examples of .TEMPNODE specifications with Verilog-A models:<br />

• Explicit .TEMPNODE specification—a SPICE resistor is replaced by the Verilog-A<br />

instance xra:<br />

* Verilog-A Electrothermal simulation example<br />

* I(V1) = -2.5607996733E-02<br />

* TEMP(X1) = 4.6050301765E+01 Celsius<br />

.hdl resistor.va<br />

.SUBCKT test a b thn<br />

.tempnode thn<br />

xra a b resistor RS=1k tc1 = 0.1<br />

.ENDS<br />

.option numdgt = 10<br />

v1 a 0 100<br />

* instantiate the thermal subcircuit:<br />

* 3 pins to connect<br />

x1 a b thn test<br />

r2 b 0 1k<br />

* connect the explicit thermal node<br />

* to the thermal network<br />

rthn thn 0 10<br />

.op<br />

.extract dc i(v1)<br />

.extract dc TEMP(x1)<br />

.end<br />

Eldo® User's Manual, 15.3 721

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!