• 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. Control waveform style options within a waveform family

Stats

  • Replies 2
  • Subscribers 149
  • Views 55
  • Members are here 0

Control waveform style options within a waveform family

SK202511261716
SK202511261716 11 hours ago

Hello all,

I'm working on a SKILL utility and I have a question about plotting options. I'm plotting three waveforms at once, with different colours and line styles. In the following examples, ywaves is a list of waveforms returned from drCreateWaveform.

Now, if I run

awvPlotWaveform(awvCreatePlotWindow() ywaves ?colors list(0xFF0000 0xFF0000 0xFF0000) ?lineStyle list(Dashed Solid Dashed))

This works well - my waves are plotted correctly: all red, with alternating style.

Here's the tricky bit: for this application it would be helpful if the waves were grouped as a family.

myfam = famCreateFamily("myvar" 'double)

i = 0

foreach(wv ywaves

    famAddValue(myfam i wv)

    i = i + 1

)

Again, this works. Running awvPlotWaveform(awvCreatePlotWindow() list(myfam)) plots the waves as a family, as you would expect. The style is solid and the colours random, since I didn't specify that information.

Now my question is, can I combine these two things? I.e. Can I keep these waveforms grouped as a family, while controlling their colour and line style individually? 

awvPlotWaveform(awvCreatePlotWindow() list(myfam) ?color list(0xFF0000) ?lineStyle '(Dashed)) has no effect: the colours are still random and the line style solid.

My tool version is IC6.1.8-64b.83

Thanks,

Stafford

  • Cancel
  • Sign in to reply
  • Andrew Beckett
    Andrew Beckett 9 hours ago

    Stafford,

    I don't know how to do this (other than plotting the individual leaves separately).You can change the colors after the event using the "Customise Trace Group" assistant, but getting them right up front I'm not sure about. I'll ask our R&D team.

    Regards,

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • SK202511261716
    SK202511261716 9 hours ago in reply to Andrew Beckett

    Thanks Andrew. If it can't be done I'll forgo the custom styles in favour of the family and I should still be able to manage. Looking forward to hearing the response from R&D

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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