help-gnucap
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnucap] Oscillator Simulation


From: Felix Salfelder
Subject: Re: [Help-gnucap] Oscillator Simulation
Date: Tue, 13 Sep 2016 14:37:52 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi Richard

On Tue, Sep 13, 2016 at 10:03:51PM +1000, Richard Gipps wrote:
> VCC 10 0 PULSE(0 8)

there seems to be a problem with the time zero value of that pulse
try "VCC 10 0 PULSE(0 8 1p)" instead. maybe "(0 8 0 1p)".
(not sure if this is a bug or a feature. spice implements some guessing
around zero-time transitions...)

> .OP

the tran command will care of that. there should be no difference if you
leave it out.

> .TRAN 1p {stop_time} {start_print} 1p
> .PRINT TRAN V(1)

in gnucap, the .print command actually attaches probes to the circuit.
after the simulation it's too late. but i think, generally, you can run
a simulation, attach probes, then continue.

maybe you want to try this instead

.TRAN 0 {start_print} {start_print/10}
.print tran v(nodes) v(VCC)
.TRAN {stop_time} trace=a

have fun
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]