I am following the example in SpectreRF manual to simulate IP3 using swept PSS and PAC combination. I added output-referred IP3 as an output, using the Direct Plot form. When I run a nominal simulation using ADE L or XL, the IP3 output expression evaluates without any problem. But when I run a Monte Carlo analysis in ADE XL, the IP3 expression doesn't evaluate, and gives an error:
"Results pac are not available for ....../psf/mc1_separate/002. Use results() for a list of available results."
I also have other expressions using pss results. These evaluate correctly when I run the Monte Carlo without a pac analysis. But, when I include the pac analysis, 'some' of the pss-based expressions also fail to evaluate.
I searched on the Cadence support website etc, but couldn't find a solution that works.
Theee things - which version of the simulator (should appear at the top of the spectre output log), which subversion of the IC tools (Help->About in the CIW), and can you post the expression you're using in the ADE XL Outputs here?
I'll then check this in the next few days.
Thanks for the quick reply.
I am using IC6.1.5-64b.500.17 and spectre subversion 13.1.0.087.isr1.
The output expression is:
ipnVRI((v("/net054" ?result "pac") - v("/net027" ?result "pac")) '-2 '0 ?rport resultParam("PORT1:r" ?result "pac") ?epoint -50 ?measure "Output")
I'm not sure why that is failing. I tried a very similar expression with my example, using IC615 ISR17 and MMSIM131 ISR2 (so one later than you):
ipnVRI((v("/outp" ?result "pac") - v("/outm" ?result "pac")) '-2 '0 ?rport resultParam("load:r" ?result "pac") ?epoint -35 ?measure "Output")
And it worked fine in Monte Carlo...
Maybe it was a bug in that ISR - I don't have so easy access to that specific ISR at the moment since I'm at home for the Christmas break. Seems a bit unlikely though, but I know there have been some issues with the result separation stuff for monte carlo, so maybe that's it?
Can you check in the CIW:
to see what they return? I'm expecting all three to return "t".
Thanks for looking into the issue.
I checked, and all those envGetVal functions return 't'.
I also looked in the monte carlo simulation results directory, and noticed that there is no 'pac' directory. The output log file also complains that it couldn't evaluate those expressions because there is no 'pac' result.
Maybe I can try upgrading to the version that you used?
You probably wouldn't see them anyway unless you have the option to save family data (on the Monte Carlo options form) checked, as otherwise the result data gets removed after each iteration.
You could try turning that on to see if it helps (it shouldn't make any difference though, but at least you'd be able to see if the PAC results are there after simulation).
Maybe MMSIM131 ISR2 will help; not sure though.