Any expert of Cadence tools.
I have question about OCEAN function, evmQpsk() in ADE.
When I use following OCEAN Script to plot Trajectory, Constellation and EVM,
Informations of EVM value and Numbers of Symbol to be used in calculation of EVM will be showed
as SubwindowTitle of Subwindow-2.
But SubwindowTitle of Subwindow-2 is overridden by SubwindowTitle of Subwindow-1.
Why is SubwindowTitle of Subwindow-2 overridden by SubwindowTitle of Subwindow-1 ?
If I change
x = clip( Isig, Tstart, Tstop )
y = clip( Qsig, Tstart, Tstop )to
x = sample( Isig, Tstart, Tstop, "linear", Tsymb/16 )
y = sample( Qsig, Tstart, Tstop, "linear", Tsymb/16 ),
Informations of EVM value and Numbers of Symbol are showed as SubwindowTitle of Subwindow-2
without being overridden by SubwindowTitle of Subwindow-1.
Is there any method to get EVM value and Numbers of Symbol as string or numeric data from results of evmQpsk() ?
Any expert of Cadence tools, teach me.
Quote:procedure( xy_plot( x, y, label, plot_style )
let( ( nc, ns, wf )
nc = drGetWaveformYVec( x )
ns = drGetWaveformYVec( y )
wf = drCreateWaveform( nc, ns )
wf->plotStyle = stringToSymbol( plot_style )
plot( wf, ?expr list(label) )
) ; let end
) ; procedure end
ocnWaveformTool( 'wavescan )
Rsymb = 1.0M
Tsymb = 1.0/Rsymb
Num_Symbols = 512
Tstart = 8.5*Tsymb
Tstop = Tstart + Num_Symbols*Tsymb
wid = newWindow()
bid = currentSubwindow(1)
addSubwindowTitle( "Aho_Cadence" )
x = clip( Isig, Tstart, Tstop )
y = clip( Qsig, Tstart, Tstop )
/*
x = sample( Isig, Tstart, Tstop, "linear", Tsymb/16 )
y = sample( Qsig, Tstart, Tstop, "linear", Tsymb/16 )
*/
xy_plot( x, y, "Trajectory", "joined" )
x = sample( Isig, Tstart, Tstop, "linear", Tsymb )
y = sample( Qsig, Tstart, Tstop, "linear", Tsymb )
xy_plot( x, y, "Constellation", "scatterplot" )
addSubwindow()
bid = currentSubwindow(2)
x = clip( Isig, nil, Tstop )
y = clip( Qsig, nil, Tstop )
boke = evmQpsk( x, y, Tstart, Tsymb, t, nil, nil, t )
plot( boke, ?expr list("kasu") )