Home > Community > Forums > Custom IC Design > Initial condition in subcircuit

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Initial condition in subcircuit 

Last post Mon, Jul 8 2013 8:58 AM by MaK78. 3 replies.
Started by MaK78 02 Jul 2013 02:37 PM. Topic has 3 replies and 520 views
Page 1 of 1 (4 items)
Sort Posts:
  • Tue, Jul 2 2013 2:37 PM

    • MaK78
    • Top 500 Contributor
    • Joined on Fri, Apr 29 2011
    • Singapore, 00-SG
    • Posts 20
    • Points 185
    Initial condition in subcircuit Reply

    Hi,

    I have 100 copies of one cell in my high-level simulation and I wanted to define an initial condition for a node inside these cells.

    I was wondering if there is a way that I can define an initial condition for the subcircuit (maybe in its schematic or symbol definition) and after instantiation that initial condition automatically applies to all?

    I am using IC6.1.5. 

    Thanks, 

    • Post Points: 20
  • Mon, Jul 8 2013 12:20 AM

    • VKhlyupin
    • Not Ranked
    • Joined on Fri, Jul 5 2013
    • Posts 9
    • Points 120
    Re: Initial condition in subcircuit Reply

     If you need to have the same IC in all of your copies, just setup it in master cell of your inctances.

    If you need different IC for each of your copiesyou could setup it manualy during your project simulation setup.

    • Post Points: 20
  • Mon, Jul 8 2013 3:39 AM

    Re: Initial condition in subcircuit Reply

    I'm not sure what the previous response was trying to say, but in the spectre netlist you can do:

    subckt block (d e)
     I1 (d f) myinv
     I2 (e g) myinv
     ic f=3 g=0
    ends block

    However, ADE doesn't provide any way to do this - unless you created your own component to netlist an ic statement from an instance in the design, maybe.

    You can however do this:

    ic BLOCK*.f=3

    at the top level (so assuming that you have all your instances called BLOCK something, and the node inside called f, it will do an initial condition on all matching instances. ADE doesn't really have a way to define this through a form, but all you have to do is put the line in a file called "myIC.scs" (say; make sure it has a .scs suffix) and then reference this via Setup->Model Libraries or the Definition Files line on Setup->Simulation Files.

    Kind Regards,

    Andrew.

    • Post Points: 20
  • Mon, Jul 8 2013 8:58 AM

    • MaK78
    • Top 500 Contributor
    • Joined on Fri, Apr 29 2011
    • Singapore, 00-SG
    • Posts 20
    • Points 185
    Re: Initial condition in subcircuit Reply

    Hi Andrew,

    Thanks a lot for your response. I wasn't aware of that wildcard (*).

    It solved my problem. 

    Cheers,

    Mahmood 

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by MaK78 at 02 Jul 2013 02:37 PM. Topic has 3 replies.