• 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. K Stability Factor Simulation Results Do not show up

Stats

  • Locked Locked
  • Replies 14
  • Subscribers 63
  • Views 20843
  • 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

K Stability Factor Simulation Results Do not show up

Mehdi Nasr
Mehdi Nasr over 5 years ago

Hi, 

I have designed an LNA and am going to check the k Stability factor. When I run the s-parameters I plot the k-stability factor, but nothing shows up and the screen is black and nothing is there. So, any suggestion how can I fix this issue? 

Regards,

Mehdi

  • Cancel
  • Mehdi Nasr
    Mehdi Nasr over 5 years ago in reply to Mehdi Nasr

    This is also the whole commands when I ran the ADE L:

    Delete psf data in /ECEnet/home/student/mehdina94rm/Sim/LNA_diff_matching_finalized_tb/spectre/config/psf.

    generate netlist...

    *Error* def: function is write protected and cannot be redefined - ansCdlCompPrim

    *Error* load: error while loading file - "./.xkit/setup/x_all/cadence/xenv/skill/ansCdlCompPrim.ile" at line 0

    *Error* def: function is write protected and cannot be redefined - ansCdlCompPrim

    *Error* load: error while loading file - "./.xkit/setup/x_all/cadence/xenv/skill/ansCdlCompPrim.ile" at line 0

    Begin Incremental Netlisting Nov 5 16:48:04 2019

    End netlisting Nov 5 16:48:05 2019

    The netlist is up to date.

    Time taken to compare the design with netlist: 1.0s

    ...successful.

    compose simulator input file...

    ...successful.

    start simulator if needed...

    ...successful.

    simulate...

    INFO (ADE-3071): Simulation completed successfully.

    reading simulation data...

    ...successful.

    outputs(?result 'sp ?map nil)

    zpm('sp 1 1)

    kf(sp(1 1 ?result "sp") sp(1 2 ?result "sp") sp(2 1 ?result "sp") sp(2 2 ?result "sp"))

    ("s11" "s21" "s12" "s22")

    nil

    srrWave:0x30bd7420

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to Mehdi Nasr

    A bit odd, because I'm not sure why the zpm would be failing.What's also odd, is that the kf appears to be returning a waveform in the CIW...

    Can you provide a few more things:

    1. The PORT1 definition from the input.scs (I want to see if there's anything unusual about it)
    2. What does _getPortParamInfo() return if you invoke that in the CIW?
    3. Similarly what does ocnPrint(kf(sp(1 1 ?result "sp") sp(1 2 ?result "sp") sp(2 1 ?result "sp") sp(2 2 ?result "sp"))) show in the CIW?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Mehdi Nasr
    Mehdi Nasr over 5 years ago in reply to Andrew Beckett
    • The PORT1 definition from the input.scs (I want to see if there's anything unusual about it)  I have already deleted the other ports to eliminate the confusion.
    • What does _getPortParamInfo() return if you invoke that in the CIW? 

    _getPortParamInfo()

    ((1 68.0 "PORT5")

    (2 50.0 "PORT3")

    )

    • Similarly what does ocnPrint(kf(sp(1 1 ?result "sp") sp(1 2 ?result "sp") sp(2 1 ?result "sp") sp(2 2 ?result "sp"))) show in the CIW?

    ocnPrint(kf(sp(1 1 ?result "sp") sp(1 2 ?result "sp") sp(2 1 ?result "sp") sp(2 2 ?result "sp")))

    freq (Hz) kf(sp(1 1) sp(1 2) sp(2 1) sp(2 2))

    2G NaN

    2.00461G in

    2.00923G NaN

    2.01386G NaN

    2.01851G NaN

    2.02316G NaN

    2.02782G NaN

    2.0325G NaN

    2.03718G NaN

    2.04188G NaN

    2.04659G NaN

    2.0513G NaN

    2.05603G NaN

    2.06077G NaN

    2.06552G NaN

    2.07028G -inf

    2.07506G -inf

    2.07984G -inf

    2.08463G in

    2.08944G in

    2.09426G -inf

    2.09908G -inf

    2.10392G in

    2.10877G in

    2.11364G NaN

    2.11851G NaN

    2.12339G -inf

    2.12829G NaN

    2.13319G NaN

    2.13811G -inf

    2.14304G in

    2.14798G in

    2.15293G NaN

    2.15789G in

    2.16287G in

    2.16785G NaN

    2.17285G in

    2.17786G -inf

    2.18288G in

    2.18791G -inf

    2.19296G in

    2.19801G in

    2.20308G -inf

    2.20816G -inf

    2.21325G in

    2.21835G -inf

    2.22346G -inf

    2.22859G in

    2.23373G in

    2.23888G in

    2.24404G in

    2.24921G in

    2.25439G -inf

    2.25959G in

    2.2648G in

    2.27002G -inf

    2.27525G -inf

    2.2805G -inf

    2.28576G in

    2.29103G -inf

    2.29631G in

    2.3016G -inf

    2.30691G in

    2.31222G -inf

    2.31755G in

    2.3229G -inf

    2.32825G in

    2.33362G in

    2.339G -inf

    2.34439G in

    2.3498G in

    2.35521G in

    2.36064G in

    2.36608G in

    2.37154G in

    2.377G -inf

    2.38248G in

    2.38798G -inf

    2.39348G -inf

    2.399G -inf

    2.40453G -inf

    2.41007G -inf

    2.41563G -inf

    2.4212G -inf

    2.42678G in

    2.43237G in

    2.43798G -inf

    2.4436G -inf

    2.44923G -inf

    2.45488G in

    2.46054G -inf

    2.46621G -inf

    2.47189G -inf

    2.47759G in

    2.4833G NaN

    2.48903G in

    2.49477G in

    2.50052G in

    2.50628G in

    2.51206G in

    2.51785G in

    2.52366G in

    2.52947G -inf

    2.5353G -inf

    2.54115G in

    2.54701G in

    2.55288G -inf

    2.55876G -inf

    2.56466G -inf

    2.57057G -inf

    2.5765G in

    2.58244G in

    2.58839G in

    2.59436G NaN

    2.60034G -inf

    2.60633G -inf

    2.61234G -inf

    2.61836G in

    2.6244G NaN

    2.63045G -inf

    2.63651G in

    2.64259G in

    2.64868G in

    2.65479G NaN

    2.66091G in

    2.66704G in

    2.67319G in

    2.67935G -inf

    2.68553G -inf

    2.69172G NaN

    2.69793G NaN

    2.70415G NaN

    2.71038G NaN

    2.71663G -inf

    2.72289G -inf

    2.72917G in

    2.73546G -inf

    2.74176G in

    2.74808G -inf

    2.75442G -inf

    2.76077G NaN

    2.76713G in

    2.77351G in

    2.77991G -inf

    2.78631G NaN

    2.79274G NaN

    2.79917G NaN

    2.80563G in

    2.8121G NaN

    2.81858G NaN

    2.82508G NaN

    2.83159G NaN

    2.83812G -inf

    2.84466G NaN

    2.85122G NaN

    2.85779G NaN

    2.86438G -inf

    2.87098G NaN

    2.8776G NaN

    2.88423G NaN

    2.89088G in

    2.89754G NaN

    2.90422G in

    2.91092G -inf

    2.91763G -inf

    2.92435G in

    2.9311G NaN

    2.93785G NaN

    2.94463G in

    2.95141G NaN

    2.95822G NaN

    2.96504G -inf

    2.97187G NaN

    2.97872G in

    2.98559G NaN

    2.99247G in

    3G -inf

    t

    I have also tried a simple matching network but I got the same issue, I could generate the S11 but could not generate the Z-parameters.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to Mehdi Nasr

    OK, you're using different ports from above now (PORT5 and PORT3). The fact that there are lots of inf and NaN suggests there's a divide by zero in there somewhere. Kf is a fairly simple calculation, so something is a little awry with the s-parameters.

    Can you provide the entire netlist? If not, please contact customer support and share it there (if you can't share it in public). This is almost certainly a function of the circuit, and so we'd need to see that.

    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