Using Parameters to set Initial Conditions ?

Status
Not open for further replies.

Scott (3)

Usenet Archive
Joined
Jul 9, 2000
Messages
10
Reaction score
0
Hello,

I'm a frequency synthesizer designer that is migrating from PSpice to Analog Artist and I've encountered a difficulty in easily setting initial conditions for things like latches and flip-flops that use current mode logic (this may apply to the std. CMOS logic cells I'll use as well, I am just starting my design work from the highest frequency end).

In PSpice, I could place a PARAM in my schematic and assign a name like INIT=1 and then place an IC1 (single initial condition) further down in my schematic hierarchy with its value being {IF(@INIT==1,VCC-0.23,VCC)}. This was easy and worked great! I could even set each flip-flop separately and thus control the starting state of multiple bit prescalers and frequency dividers.

Now, in Analog Artist, I can't seem to find anything to place in the schematics to control the initial conditions, only just the Simulation...Convergence Aids...Node Set or Simulation...Convergence Aids...Initial Condition from the Analog Artist tool. With these I have to specify a value and click node after node which is really a drag.

Is there a better way? Is it possible to set the initial voltage across a capacitor from a parameter that I could define using CDF? Any and all help is greatly appreciated!

Scott
 
You can add/edit IC properties on some devices (caps, transistors). There is no "component" to place.

If your circuit won't solve without poking your fingers in the initial conditions, that leaves open the chance that it won't start right, in reality. Seen a few designs go by, that only worked because their designers forced internal nodes to get the "right answer". Didn't work so well when the "magic wire" didn't get bonded into the guts.

You could use pulse current sources that have an initial value, and go to zero at 1nS. This isn't perfect, you'll have things biased a diode past where they'd usually be in some cases, but a clock or two later and you're back on track.

There is a nodeset facility under Simulation>Convergence Aids> Initial Conditions that lets you tag wires with an arbitrary voltage. There's also a NodeSet pick; how these differ, I dunno. This might be most like what you're after.

In article <3c1547fa$>, Scott says...
Hello,

I'm a frequency synthesizer designer that is migrating from PSpice to Analog Artist and I've encountered a difficulty in easily setting initial conditions for things like latches and flip-flops that use current mode logic (this may apply to the std. CMOS logic cells I'll use as well, I am just starting my design work from the highest frequency end).

In PSpice, I could place a PARAM in my schematic and assign a name like INIT=1 and then place an IC1 (single initial condition) further down in my schematic hierarchy with its value being {IF(@INIT==1,VCC-0.23,VCC)}. This was easy and worked great! I could even set each flip-flop separately and ...
 
Thanks, I placed tiny capacitors and set their initial condition using CDF parameters. This seems to work just fine. Your comments about "magic wire" are accurate, although in this case I'm working on differential mode flip-flops that are never perfectly balanced as shown in the schematic and will always assume a valid state. I just want to force the state I desire for specific simulation cases.
Scott

"jimmyblue" wrote:

You can add/edit IC properties on some devices (caps, transistors). There is no "component" to place.

If your circuit won't solve without poking your fingers in the initial conditions, that leaves open the chance that it won't start right, in reality. Seen a few designs go by, that only worked because their designers forced internal nodes to get the "right answer". Didn't work so well when the "magic wire" didn't get bonded into the guts.

You could use pulse current sources that have an initial value, and go to zero at 1nS. This isn't perfect, you'll have things biased ...
Analog
>Artist and I've encountered a difficulty in easily setting initial
>conditions for things like latches and flip-flops that use current mode
>logic (this may apply to the std. CMOS logic cells I'll use as well, I am
>just starting my design work from the highest frequency end).
>
>In PSpice, I could place a PARAM in my schematic and assign a name like
>INIT=1 and then place an IC1 (single initial condition) further down in
my
>schematic hierarchy with its value being {IF(@INIT==1,VCC-0.23,VCC)}.
This
>was easy and worked great! I could even set each flip-flop separately
and
>thus control the starting state of multiple bit prescalers and frequency
>dividers.
>
>Now, in Analog Artist, I can't seem to find anything to place in the
>schematics to control the initial conditions, only just the
>Simulation...Convergence Aids...Node Set or Simulation...Convergence
>Aids...Initial Condition from the Analog Artist tool. With these I have
to
>specify a value and click node after node which is really a drag.
>
>Is there a better way? Is it possible to set the initial voltage across
a
>capacitor from a parameter that I could define using CDF? Any and all
help
>is greatly appreciated!
>
>Scott
>
>
 
Status
Not open for further replies.

Latest threads

Back
Top