to change the name of waveform curves in OCEAN?

C

comp.cad.cadence

Guest
Hello, folks

Please look at the following OCEAN script:

;; set the DC analysis
analysis('dc ?saveOppoint t ?param "vgs" ?start "0"
?stop "1.8" )
desVar( "vgs" 1 )
desVar( "vds" 1 )
saveOption( 'save "all" )
save( 'all )
temp( 27 )

;; run parametric simulation
paramAnalysis("vds" ?start 0.6 ?stop 1.8 ?step 1.2)
paramRun()

;; plot the waveform "wy against "wx"
wy = deriv(i("/TN0/D"))
wx = i("/TN0/D")

ocnYvsYplot( ?wavex wx ?wavey wy )
awvSetXAxisLabel( awvGetCurrentWindow() "Ids(A)" )

It just does the parametric simulation of the variable "vds" around the
DC sweep analysis. And then plot the waveform "wy" against the waveform
"wx" by using the OCEAN function ocnVvsYplot. But the bummer is that
the name of each curve is very lengthy one like

vds:"600m" value(deriv(i("/TN0/D" ?result "dc")) "vds"
0.6)/value(i("/TN0/D" ?result "dc") "vds" 0.6)

instead of a succinct expression such as vds:"600m" vds:"1.8" ...

If just the function plot is used, this problem can be fixed just by
leaving null in the list() as shown below
plot( i("/TN0/D") ?expr list("") )

But with the function ocnYvsYplot, I haven't figured out how. Don't
like to change the names for each waveform curve manually from GUI of
waveform window. Anyone cares to give me some idea? Thinks a lot!

-Andy
 
On 20 Dec 2005 18:05:39 -0800, "comp.cad.cadence" <wudhead@yahoo.com> wrote:

Hello, folks

Please look at the following OCEAN script:

;; set the DC analysis
analysis('dc ?saveOppoint t ?param "vgs" ?start "0"
?stop "1.8" )
desVar( "vgs" 1 )
desVar( "vds" 1 )
saveOption( 'save "all" )
save( 'all )
temp( 27 )

;; run parametric simulation
paramAnalysis("vds" ?start 0.6 ?stop 1.8 ?step 1.2)
paramRun()

;; plot the waveform "wy against "wx"
wy = deriv(i("/TN0/D"))
wx = i("/TN0/D")

ocnYvsYplot( ?wavex wx ?wavey wy )
awvSetXAxisLabel( awvGetCurrentWindow() "Ids(A)" )

It just does the parametric simulation of the variable "vds" around the
DC sweep analysis. And then plot the waveform "wy" against the waveform
"wx" by using the OCEAN function ocnVvsYplot. But the bummer is that
the name of each curve is very lengthy one like

vds:"600m" value(deriv(i("/TN0/D" ?result "dc")) "vds"
0.6)/value(i("/TN0/D" ?result "dc") "vds" 0.6)

instead of a succinct expression such as vds:"600m" vds:"1.8" ...

If just the function plot is used, this problem can be fixed just by
leaving null in the list() as shown below
plot( i("/TN0/D") ?expr list("") )

But with the function ocnYvsYplot, I haven't figured out how. Don't
like to change the names for each waveform curve manually from GUI of
waveform window. Anyone cares to give me some idea? Thinks a lot!

-Andy
Andy,

Have you tried using the ?exprx and ?expry arguments to ocnYvsYplot()
function? I've not read the documentation or tried these, so not sure
whether it's expecting a string or a list of strings as the argument.

Andrew.
 
Andrew Beckett wrote:
On 20 Dec 2005 18:05:39 -0800, "comp.cad.cadence" <wudhead@yahoo.com> wrote:

Hello, folks

Please look at the following OCEAN script:

;; set the DC analysis
analysis('dc ?saveOppoint t ?param "vgs" ?start "0"
?stop "1.8" )
desVar( "vgs" 1 )
desVar( "vds" 1 )
saveOption( 'save "all" )
save( 'all )
temp( 27 )

;; run parametric simulation
paramAnalysis("vds" ?start 0.6 ?stop 1.8 ?step 1.2)
paramRun()

;; plot the waveform "wy against "wx"
wy = deriv(i("/TN0/D"))
wx = i("/TN0/D")

ocnYvsYplot( ?wavex wx ?wavey wy )
awvSetXAxisLabel( awvGetCurrentWindow() "Ids(A)" )

It just does the parametric simulation of the variable "vds" around the
DC sweep analysis. And then plot the waveform "wy" against the waveform
"wx" by using the OCEAN function ocnVvsYplot. But the bummer is that
the name of each curve is very lengthy one like

vds:"600m" value(deriv(i("/TN0/D" ?result "dc")) "vds"
0.6)/value(i("/TN0/D" ?result "dc") "vds" 0.6)

instead of a succinct expression such as vds:"600m" vds:"1.8" ...

If just the function plot is used, this problem can be fixed just by
leaving null in the list() as shown below
plot( i("/TN0/D") ?expr list("") )

But with the function ocnYvsYplot, I haven't figured out how. Don't
like to change the names for each waveform curve manually from GUI of
waveform window. Anyone cares to give me some idea? Thinks a lot!

-Andy

Andy,

Have you tried using the ?exprx and ?expry arguments to ocnYvsYplot()
function? I've not read the documentation or tried these, so not sure
whether it's expecting a string or a list of strings as the argument.

Andrew.
The arguments of ?exprx and ?expry have nothing to do with what I asked
about. The example from the OCEAN reference is repeated as below:

ex="VT('/vin')"
ey="VT('/vout')"
ocnYvsYplot(?exprx ex ?expry ey ?titleList '("simpleWave") ?colorList
'(3))

It just plots expression ey against expression ex with the title being
simpleWave and the color being 3.
Maybe, the argument of ?titleList is the only one I can play with?

(
ocnYvsYPlot([?wavex o_wavex ?wavey o_wavey] [?exprx o_exprx ?expry
o_expry]
[?title l_titleList] [?color l_colorList])

l_titleList: List of waveform titles. If the waveform is simple, only
one label will be required. If the waveform is param, a list of labels
needs to be provided.
)

I'm new to OCEAN/SKILL, so I wonder if there should be a method to make
it.

-Andy
 

Welcome to EDABoard.com

Sponsor

Back
Top