• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. RF Design
  3. Monte Carlo Problem with Swept PSS and PAC

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 63
  • Views 15030
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Monte Carlo Problem with Swept PSS and PAC

vjain83
vjain83 over 11 years ago

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. 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    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.

    Regards,

    Andrew 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • vjain83
    vjain83 over 11 years ago

    Hi Andrew,

    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")

    Thanks,

    Vipul 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Hi Vipul,

    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:

    envGetVal("adexl.monte" "enableMonteCarloSeparateDir")

    and:

    envGetVal("adexl.monte"  "savedatainseparatedir")

    and:

    envGetVal("adexl.monte" "useNewMCPostProcessing")

    to see what they return? I'm expecting all three to return "t".

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • vjain83
    vjain83 over 11 years ago

    Hi Andrew,

    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?

     Thanks,

    Vipul 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Hi Vipul,

    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.

    Regards,

    Andrew 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information