• 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. LSSP simulation using OCEAN scripts

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 64
  • Views 15132
  • 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

LSSP simulation using OCEAN scripts

Alex Vasjanov
Alex Vasjanov over 11 years ago

 Hello,

I'm trying to simulate large signal S-parameters (LSSP) in Cadence 6.15 and cannot seem to generate a working OCEAN script from the ADE. I get a warning that no results are available for LSSP calculations:

 WARNING(OCN-6038: results sweephblssp2_fd-sweep are not available...

Tried adding a  ocnWriteLsspToFile command but nothing changed...

I tried to use this code (everything is the result of ADE generating the script except the ocnWriteLsspToFile command. Doesn't work with and without it):

...

 analysis('hb ?oversample list("1")  ?fundfreqs list("f_rf")  ?maxharms list("3") ?errpreset "moderate"  ?param "Vin"  ?start "-20"  ?stop "10" ?sweepStep "1"  )
run()

ocnWriteLsspToFile("lssp.sp2" "/RF_in" "/PORT0/PLUS" "/RF_out" "/PORT1/PLUS" ?format "spectre" ?datafmt "realimag" ?port1 50 ?port2 40 ?result1 "sweeplssp1_lssp1_fd-sweep" ?result2 "sweeplssp2_lssp2_fd-sweep")

mag\(S11\) = db20(mag((((harmonic(v("/RF_in" ?result "sweephblssp1_hblssp1_fd-sweep") 1) + (harmonic(i("/PORT0/PLUS" ?result "sweephblssp1_hblssp1_fd-sweep") 1) * 50)) * sqrt(((50 * 1.0) / 50))) / (harmonic(v("/RF_in" ?result "sweephblssp1_hblssp1_fd-sweep") 1) - (harmonic(i("/PORT0/PLUS" ?result "sweephblssp1_hblssp1_fd-sweep") 1) * 50)))))
    
mag\(S22\) = db20(mag((((harmonic(v("/RF_out" ?result "sweephblssp2_hblssp2_fd-sweep") 1) + (harmonic(i("/PORT1/PLUS" ?result "sweephblssp2_hblssp2_fd-sweep") 1) * 40)) * sqrt(((40 * 1.0) / 40))) / (harmonic(v("/RF_out" ?result "sweephblssp2_hblssp2_fd-sweep") 1) - (harmonic(i("/PORT1/PLUS" ?result "sweephblssp2_hblssp2_fd-sweep") 1) * 40)))))

phase\(S21\) = phase((((harmonic(v("/RF_out" ?result "sweephblssp1_hblssp1_fd-sweep") 1) + (harmonic(i("/PORT1/PLUS" ?result "sweephblssp1_hblssp1_fd-sweep") 1) * 40)) * sqrt(((50 * 1.0) / 40))) / (harmonic(v("/RF_in" ?result "sweephblssp1_hblssp1_fd-sweep") 1) - (harmonic(i("/PORT0/PLUS" ?result "sweephblssp1_hblssp1_fd-sweep") 1) * 50))))

mag\(S21\) = db20(mag((((harmonic(v("/RF_out" ?result "sweephblssp1_hblssp1_fd-sweep") 1) + (harmonic(i("/PORT1/PLUS" ?result "sweephblssp1_hblssp1_fd-sweep") 1) * 40)) * sqrt(((50 * 1.0) / 40))) / (harmonic(v("/RF_in" ?result "sweephblssp1_hblssp1_fd-sweep") 1) - (harmonic(i("/PORT0/PLUS" ?result "sweephblssp1_hblssp1_fd-sweep") 1) * 50)))))

 Any clue on how to correctly set up LSSP analysis in OCEAN?

I assume that declaring a HB simulation is not enough (but the initial script is generated by ADE), though the LSSP simulation was configured using RF->LSSP wizard. No additional info found on this topic in Ocean Reference document.

Regards,

Aleksandr

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Aleksandr,

    Sounds like a bug. That said, LSSP has had a bit of an overhaul in MMSIM13.1 and IC616 - so might be worth trying that first.

    But otherwise, please report to customer support.

    Kind Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Victor Camacho
    Victor Camacho over 4 years ago in reply to Andrew Beckett

    I've also a similar problem:

    WARNING (OCN-6038): Results dc are not available for /home... Use results() for a list of available results.

    After using, dc appears among the results() so I do not understand why they aren't available

    results()
    (dcOp dcOpInfo dc model instance
    output designParamVals primitives subckts variables
    )

    Regards,
    Victor.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to Victor Camacho

    Victor,

    Please read the forum guidelines. In particular:

    1. This is an 8-year old post - the forum guidelines ask you not to post on the end of old threads
    2. Given that the results() don't contain any RF analyses, it seems unlikely that you were trying to to use large-signal s-parameters (LSSP). The LSSP doesn't need dc results, so that's another reason why this seems unlikely to be related
    3. You didn't say which tool versions you're using
    4. You didn't give any indication of what exactly you were doing - how you were trying to read the results from your script.

    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