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.
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.
In reply to VKhlyupin:
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=0ends 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:
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.
In reply to Andrew Beckett:
Thanks a lot for your response. I wasn't aware of that wildcard (*).
It solved my problem.