• 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. Custom IC SKILL
  3. Creating a complex waveform out of 2 real waveforms

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 144
  • Views 5982
  • 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

Creating a complex waveform out of 2 real waveforms

mars32
mars32 over 2 years ago

Hello, I am using Cadence Virtuoso. I was wanting to see Yopt (or Zopt) on a smith chart. I am doing an s-parameter simulation where it gives me Gopt and Bopt., where Yopt= Gopt+ j * Bopt. I was attempting to plot it using the calculator with:

getData("/Gopt" ?result "sp_noise")+(j*getData("/Bopt" ?result "sp_noise"))

but that gave me an error. I tried using complex as well and that gave me an error so I was wondering if there was a way to do it? 

  • Cancel
Parents
  • ShawnLogan
    ShawnLogan over 2 years ago

    Dear mars32,

    mars32 said:

    I was attempting to plot it using the calculator with:

    getData("/Gopt" ?result "sp_noise")+(j*getData("/Bopt" ?result "sp_noise"))

    but that gave me an error. I tried using complex as well and that gave me an error so I was wondering if there was a way to do it? 

    There is an ocean function gmin() that I think may provide some help. The syntax is as follows:

    gmin( o_Gopt o_Bopt f_zref)

    where:
    Gopt is the optimum source conductance
    Bopt is the optimum source susceptance
    f_zref is the reference impedance

    and it returns:

    yOpt = o_Gopt + (complex 0 1) * o_Bopt
    return ( 1 / f_zref(1) - yOpt ) / ( 1 / f_zref(1) + yOpt )

    Hence, in your case:

    Gopt = getData("Gopt")
    Bopt = getData("Bopt")

    Zref = zref(1 ?result "sp")

    plot(gmin(Gopt Bopt Zref))

    The full function reference is at URL:


    https://support.cadence.com/apex/techpubDocViewerPage?xmlName=oceanref.xml&title=OCEAN%20Reference%20--%20Predefined%20and%20Waveform%20(Calculator)%20Functions%20-%20gmin&hash=pgfId-1030337&c_version=ICADVM20.1&path=oceanref/oceanrefICADVM20.1/chap10.html#pgfId-1030337

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ShawnLogan
    ShawnLogan over 2 years ago

    Dear mars32,

    mars32 said:

    I was attempting to plot it using the calculator with:

    getData("/Gopt" ?result "sp_noise")+(j*getData("/Bopt" ?result "sp_noise"))

    but that gave me an error. I tried using complex as well and that gave me an error so I was wondering if there was a way to do it? 

    There is an ocean function gmin() that I think may provide some help. The syntax is as follows:

    gmin( o_Gopt o_Bopt f_zref)

    where:
    Gopt is the optimum source conductance
    Bopt is the optimum source susceptance
    f_zref is the reference impedance

    and it returns:

    yOpt = o_Gopt + (complex 0 1) * o_Bopt
    return ( 1 / f_zref(1) - yOpt ) / ( 1 / f_zref(1) + yOpt )

    Hence, in your case:

    Gopt = getData("Gopt")
    Bopt = getData("Bopt")

    Zref = zref(1 ?result "sp")

    plot(gmin(Gopt Bopt Zref))

    The full function reference is at URL:


    https://support.cadence.com/apex/techpubDocViewerPage?xmlName=oceanref.xml&title=OCEAN%20Reference%20--%20Predefined%20and%20Waveform%20(Calculator)%20Functions%20-%20gmin&hash=pgfId-1030337&c_version=ICADVM20.1&path=oceanref/oceanrefICADVM20.1/chap10.html#pgfId-1030337

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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