The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Simulators >> Circuit Simulators >> ocean script data access question https://designers-guide.org/forum/YaBB.pl?num=1325724957 Message started by hiSkill_11 on Jan 4th, 2012, 4:55pm |
Title: ocean script data access question Post by hiSkill_11 on Jan 4th, 2012, 4:55pm I encounter a problem when i run pss pnoise with ocean script. I can plot the waveform with the command plot(i("/R0/PLUS") ?result "pss-tran.pss")) in the CIW. But when I run the i("/R0/PLUS") ?result "pss-tran.pss") it shows the warning as following. >> WARNING (OCN-6055): The output '/R0/PLUS' you selected does not exist. Type outputs() to see the list of available outputs or type help('i) for more information on the 'i' command. nil So, i can't further clip and average the waveform of i("/R0/PLUS") ?result "pss-tran.pss"). It gives the error like >> *Error* clip: can't handle clip(nil 9.9e-05 0.0001). But the pss and pnoise analysis are completed sccessfully. and I can plot phase noise and pss-tran result. The problem is that I can not clip the current waveform of /R0/PLUS and average it since it returns nil. How can i fix it? I post the code here. .... resultsDir(strcat(resultDir "/" designName "/spectre/config")) .... openResults(strcat(resultDir "/" designName "/spectre/config/psf")) when(v("/extal" ?result "pss-fd.pss") ibias = average(clip(i("/R0/PLUS" ?result "pss-tran.pss") 0.000099 0.0001)) .... More interesting thing is that I can run this script successfully with presimulation netlist(schematic view). But when I run the post simulation using config view, It failed. |
Title: Re: ocean script data access question Post by boe on Jan 5th, 2012, 2:13am hiSkill_11 wrote on Jan 4th, 2012, 4:55pm:
- B O E |
Title: Re: ocean script data access question Post by hiSkill_11 on Jan 6th, 2012, 1:37am boe wrote on Jan 5th, 2012, 2:13am:
The R0 is from analogLib for measure the current purpose, not layout devices. So, for pre sim and post sim, they see the same R0. Thanks. In addition, when I open a new CIW, and execute the script, it works fine. But if I do something in the CIW like edit schematic, layout, simulation, then execute the script, it possiblely happened. |
Title: Re: ocean script data access question Post by boe on Jan 6th, 2012, 4:52am hiSkill_11 wrote on Jan 4th, 2012, 4:55pm:
Maybe a bug if restarting of CIW solved it. - B O E |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |