If statement usage in cadence spectre

S

SANTHOSHNAIK H

Guest
I am doing some simulation in spectre, i want to do some initialisation for some node.
i want to do this through if condition
example
if($time == 1u){
rvddp vddp vss resistor r=1
} else {
rvddp vddp vss resistor r=1e9
}

this one i am using as initialisation for vddp node

here i want access simulation time, but i am getting error.
can any body tell how to do this, or how access simulation time.


thanks in advance
 
On Tuesday, December 20, 2016 at 1:28:11 PM UTC+1, SANTHOSHNAIK H wrote:
I am doing some simulation in spectre, i want to do some initialisation for some node.
i want to do this through if condition
example
if($time == 1u){
rvddp vddp vss resistor r=1
} else {
rvddp vddp vss resistor r=1e9
}

this one i am using as initialisation for vddp node

here i want access simulation time, but i am getting error.
can any body tell how to do this, or how access simulation time.


thanks in advance

Hi,

I don't know how to access the simulation time, but you could do the same by using the "Dynamic Parameter" function in the transient.
Specify the resistance as a parameter and add it to the dynamic parameter option (you find it in the GUI where you specify the transient run).

Best regards,
Christian
 

Welcome to EDABoard.com

Sponsor

Back
Top