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.

Eldo Control Language<br />

Simulation Dynamic Control<br />

c1 4 0 1.5307n<br />

c2 3 0 1.0824n<br />

l1 3 4 1.5772u<br />

l2 2 3 .38268u<br />

r1 1 2 1<br />

v1 1 0 ac 1 pwl (0 0 1u 0 2u 1 20u 1 20.1u 0)<br />

.tran .2u 40u<br />

.plot tran v(4) (-1,1.5)<br />

.plot tran v(1) (0,1.5)<br />

.extract tran label=overshoot max(v(4)) - max(v(1))<br />

.ac dec 20 10000 100meg<br />

.option eps=1.0e-6 be<br />

.plot ac vdb(4) (-120,40)<br />

.plot ac vp(4) (-200,200)<br />

.extract ac label=max_gain max(vdb(4))<br />

.extract ac label=f_max_gain xmax(vdb(4))<br />

.end_define_testbench<br />

The output is:<br />

***** Running simulation ...<br />

***** Arguments:<br />

***** Simulation succeeded<br />

Progress=10% (current simulation time=4.0e-06)<br />

***** Simulation succeeded<br />

Progress=22% (current simulation time=8.8e-06)<br />

***** Simulation succeeded<br />

Progress=34% (current simulation time=1.4e-05)<br />

***** Simulation succeeded<br />

Progress=50% (current simulation time=2.0e-05)<br />

***** Simulation succeeded<br />

Progress=50% (current simulation time=2.0e-05)<br />

***** Simulation succeeded<br />

Progress=60% (current simulation time=2.4e-05)<br />

***** Simulation succeeded<br />

Progress=70% (current simulation time=2.8e-05)<br />

***** Simulation succeeded<br />

Progress=80% (current simulation time=3.2e-05)<br />

***** Simulation succeeded<br />

Progress=90% (current simulation time=3.6e-05)<br />

***** Simulation succeeded<br />

Progress=100% (current simulation time=4.0e-05)<br />

***** Simulation succeeded<br />

Simulation succeeded.<br />

overshoot=5.0e-02 V.<br />

max_gain=2.8e+01 dB at 2.8e+06 Hz.<br />

Eldo® User's Manual, 15.3 1017

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

Saved successfully!

Ooh no, something went wrong!