How to set variable in the analysis statement? (Ocean script)

Status
Not open for further replies.

pbs681

Full Member level 3
Joined
Aug 19, 2004
Messages
173
Helped
15
Reputation
30
Reaction score
3
Trophy points
1,298
Activity points
1,278
hi all,

I am trying to get risetime for my signal using ocean script.... but I don't know how to set variable in the analysis statement... below is the line in my script that have prob


RiseT = riseTime(VT("/OUT") 0 nil vdd t 10 90 nil "time" nil nil )

when I run, its return me this error:
*Error* eval: unbound variable - vdd
*Error* load: error while loading file - "script.ocn"

pls help!!
 

unbound variable in ocean script

May be you have several items/devices called "vdd" ?
E.g. a pin called "vdd" and/or a vdc source called "vdd" and your variable "vdd". In this case ocean resp. the simulator cannot differentiate between those.
So you should rename the others.
 

loading ocean script

erikl said:
May be you have several items/devices called "vdd" ?
E.g. a pin called "vdd" and/or a vdc source called "vdd" and your variable "vdd". In this case ocean resp. the simulator cannot differentiate between those.
So you should rename the others.

thanks erikl.... I have checked already, there is no others using this variable.... how is actually we set the varible? is it

desVar( vdd 1.8 )
 

Re: ocean script help!

pbs681 said:
is it desVar( vdd 1.8 )

I think the parameter should be in (double) quotes: "vdd" .
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…