[Top][All Lists]

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

Re: [Gnucap-devel] bug in pulse

From: Felix Salfelder
Subject: Re: [Gnucap-devel] bug in pulse
Date: Sat, 11 Jan 2014 22:36:08 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Hi Al.

On Sat, Jan 11, 2014 at 03:41:00PM -0500, al davis wrote:
> Spice compatibility isn't the issue here.  Spice does not allow 
> 0 rise or fall time.  It substitutes the user time step from the 
> tran command.

all the better.

i'm still convinced that the pulse should evaluate to iv at delay. or
more general it should evaluate to the value before a transition until
after the transition has started. (your patch does not affect this).

here's another example.

V1 1 0 pulse iv=0 pv=1

.print dc v(nodes)
.print tran v(nodes)
.tran 0 1m 1m trace=a

imo the initial DC should yield v(1)=0. consider an additional
resistor(1,2) and a capacitor(0,2). only an empty capacitor at time=0
makes sense to me. now if spice does replace rise with something
positive, it should also end up with an empty cap in .dc.


reply via email to

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