• 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. family waveform expressions

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 15565
  • 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

family waveform expressions

markbeck
markbeck over 13 years ago

Greetings all,

I'm running IC6.1.500.6

I'm running into the problem where if I create a family waveform using the standard family waveform functions (famCreateFamily, famAddValue), it is creating plots that are not differentiated between each other in viva.

e.g.

a = family waveform created with famCreateFamily
b = family waveform created with famCreateFamily
c = 2*a
d = 2*b
plot(c d)

If I look at the plot that shows up, it lumps c and d waveforms into the same plot labeled  "(2*nil)"

I found that if I have a family waveform created with a getData() statement assigned to a variable (e.g. 'o_fam') I can pull it apart by using the command:

o_vec = drGetWaveformYVec(o_fam).

If I then query the o_vec, I can get something like:

o_vec->??
(units "" expression
    getData("/Q1C" ?resultsDir "/sim/fefan/bicmos8hp/beck_ma/TB_npn_distortion/spectre/__mod_VCB_tran_" ?result "tran")
)

If I try to pull-appart the family waveforms created with the famCreateFamily functions, I only get 'nil' when I query the y vector.

My assumption is that viva is looking at the expression embedded in the y vector and is grouping and labeling the waveforms based upon this.  

My question:
Is there a way to set the expression of a family waveform y-axis vector?

  • fam_wfm_problems.JPG
  • View
  • Hide
  • Cancel
Parents
  • markbeck
    markbeck over 13 years ago

    Ah.... I see what I was misunderstanding.  I didn't realize that when you accessed the Y vector with the drGetWaveformYVec() command, you were directly modifying the original waveform vector.

    This is exactly what I was looking for.

    Thanks,
    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • markbeck
    markbeck over 13 years ago

    Ah.... I see what I was misunderstanding.  I didn't realize that when you accessed the Y vector with the drGetWaveformYVec() command, you were directly modifying the original waveform vector.

    This is exactly what I was looking for.

    Thanks,
    Mark

    • 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