• 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. a procedure to generate a binary waveform for plot

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 143
  • Views 14311
  • 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

a procedure to generate a binary waveform for plot

LDIL
LDIL over 4 years ago

Hello all.

I want to create a binary displayed waveform in maestro, using SKILL.

All I saw is how to create integer waveforms, but I want them displayed in binary, by default.

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    What do you mean by a "binary displayed waveform"?

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

    Hi. The equivalent of looking at Analog To Digital in VIVA, of a bus, and then display, with a binary radix. I want to input a few waveforms and get their name

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

    You can do this with awvCreateBus() - the third argument is the radix to use. Note that there was a bug where the radix wasn't being honoured but that was fixed in IC6.1.7/ICADV12.3 ISR12, so some time ago.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to LDIL

    You can do this with awvCreateBus() - the third argument is the radix to use. Note that there was a bug where the radix wasn't being honoured but that was fixed in IC6.1.7/ICADV12.3 ISR12, so some time ago.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Children
  • LDIL
    LDIL over 4 years ago in reply to Andrew Beckett

    Hi Andrew. It looks From the documentation, it appears that a bus is created, but it does not say how is that displayed, or if it can be fed to subsequent OCEAN code. It returns no value. and I would like it to behave as an Output Expression in Maestro, in the sense that one can right-click it, and re-display, at will. This usually happens if the OCEAN code returns a waveform or a scalar.

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

    In the VIVA SKILL manual it says that it returns an o_bus.

    Did you try it? I didn't really have time today, but quickly put together an example showing that it works perfectly in a Explorer output expression. Add the attached library to your cds.lib and then open LDIL/busexample/maestro and run the simulation.

    Andrew

    https://community.cadence.com/cfs-file/__key/communityserver-discussions-components-files/48/LDIL_5F00_bus.tgz

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • LDIL
    LDIL over 4 years ago in reply to Andrew Beckett

    In the VIVA documentation it is indeed stated returns a value, in  OCEAN it is stated that the function does not return any value, which is odd for a functional language. I am writing the code s we speak. Thanks.

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

    In SKILL, every function returns something, so that's clearly an error in the OCEAN manual. Unfortunately many of the functions in the OCEAN documentation are a replica of functions documented elsewhere, but sometimes something went wrong when copying from one to another, or they got fixed in one place and not the other.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • LDIL
    LDIL over 4 years ago in reply to Andrew Beckett

    Hi A.
    It works like a charm. I did not use your code, just tool the function, and assumed that the manual's entry about the return value was wrong. May I suggest a CCR for the manual?

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

    The best thing is to use the “Feedback” on either the manual page in support.cadence.com or within cdnshelp. That will generate a task to get the documentation fixed. 

    • 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