Y
yfeng0036
Guest
Hi everybody,
I am using ocean and skill to read in a file with an S21 loss curve and overlaying that curve on top of my equalizer's AC simulation results.
In Cadence 6.1.3 (where the project was initially set up), I could run the following code:
spwave = drCreateEmptyWaveform()
xvec = drCreateVec( 'double lFreq )
yvec = drCreateVec( 'double lDb )
drPutWaveformXVec( spwave xvec )
drPutWaveformYVec( spwave yvec )
plot(clip(spwave 50M 40G) clip(db20(getData("vout" ?result 'ac)) 50M 40G))
where lFreq and lDb are the list formats of the s-parameter file and "spwave" is the waveform object of the S21 file. the plot command will clip the S21 waveform object and the /vout node from the AC simuation (from 10khz -> 100ghz) and plot them both on the same subwindow.
I can also select both waveform objects in the calculator and evaluate expressions.
However, in the newer Cadence 6.1.5 environment we have been updated to, the plot command refuses to draw the db20 of the /vout node on the same subwindow as the S21 wave. Also, clipping the S21 waveform does not properly clip from 50Mhz to 40Ghz, instead it produces a flat line.
I couldn't find anything indicating this in the documentation from reading through the SKILL/ocean commands i have used. Is there a new method for what I have done in 6.1.5?
Thanks,
Yu Feng
I am using ocean and skill to read in a file with an S21 loss curve and overlaying that curve on top of my equalizer's AC simulation results.
In Cadence 6.1.3 (where the project was initially set up), I could run the following code:
spwave = drCreateEmptyWaveform()
xvec = drCreateVec( 'double lFreq )
yvec = drCreateVec( 'double lDb )
drPutWaveformXVec( spwave xvec )
drPutWaveformYVec( spwave yvec )
plot(clip(spwave 50M 40G) clip(db20(getData("vout" ?result 'ac)) 50M 40G))
where lFreq and lDb are the list formats of the s-parameter file and "spwave" is the waveform object of the S21 file. the plot command will clip the S21 waveform object and the /vout node from the AC simuation (from 10khz -> 100ghz) and plot them both on the same subwindow.
I can also select both waveform objects in the calculator and evaluate expressions.
However, in the newer Cadence 6.1.5 environment we have been updated to, the plot command refuses to draw the db20 of the /vout node on the same subwindow as the S21 wave. Also, clipping the S21 waveform does not properly clip from 50Mhz to 40Ghz, instead it produces a flat line.
I couldn't find anything indicating this in the documentation from reading through the SKILL/ocean commands i have used. Is there a new method for what I have done in 6.1.5?
Thanks,
Yu Feng