• 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 Design
  3. Function to take Analog Bits Signals into Digital Bus

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 126
  • Views 9062
  • 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

Function to take Analog Bits Signals into Digital Bus

TempViator
TempViator over 2 years ago

Hi,

In searching the forums, I found old posts where Andrew Beckett provided code files for abA2DBus, a function that takes an analog bus of signals, e.g., VT("/TreakOscFreq<4:0>) and converts them to a digital bus.  In the ADE Explorer outputs list, the signal can then be named.  This is a great function to have!

This required saving two files from Andrew's posts, abA2DBus.il and abDumpWaveformsToVCSV (of which only abUnwrapFamily is called).  Using the 'fx' button, I made them Custom Functions in the Calculator as shown here:

(Sorry I don't have the links, but searching on these function names brings them up.)

I have 2 questions:

1. This conversion would seem to be a very common thing to do with control bus signals... Is this already, or ever, going to be a native Calculator function?  It is so useful it ought to be!

2. The signal plots to ViVA as Hex values. I can manually go change the radix of the signal to something else (like "Signed Decimal"), but is there a function to set the radix ahead of time so it plots to "Signed Decimal", or whatever, without my manual intervention?  This too would be a handy function, and I cannot find a way to make it work on the entire waveform.  Using numConv(value(...  allows the value to be cast to a different radix, but only for a single point in time.

Is there any updates on either of these questions?

Thanks!

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 2 years ago
    TempViator said:
    1. This conversion would seem to be a very common thing to do with control bus signals... Is this already, or ever, going to be a native Calculator function?  It is so useful it ought to be!

    I didn't file an enhancement request at the time (since it was a forum question) and in fact I never even wrote it up as an article for Cadence Online Support (I probably should). As a result, it never made it as far as an enhancement request to be a built-in function. There are many potential candidate functions that could be added, I guess...

    TempViator said:
    2. The signal plots to ViVA as Hex values. I can manually go change the radix of the signal to something else (like "Signed Decimal"), but is there a function to set the radix ahead of time so it plots to "Signed Decimal", or whatever, without my manual intervention?

    I updated the code (in the original post here) to add another argument to set the radix.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TempViator
    TempViator over 2 years ago in reply to Andrew Beckett

    Hey Andrew,

    Thanks for updating the code, that is very helpful to me, and I hope, to others.

    Having the entire conversion of analog "bits" to digital busses as a built-in function would be a good supporting function for the trimming simulations questions that lead to (?) / contributed to (?) the interest in the calcValue() function. I guess I will escalate a request if this post gets more traffic.

    Thanks Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • TempViator
    TempViator over 2 years ago in reply to Andrew Beckett

    Hey Andrew,

    Thanks for updating the code, that is very helpful to me, and I hope, to others.

    Having the entire conversion of analog "bits" to digital busses as a built-in function would be a good supporting function for the trimming simulations questions that lead to (?) / contributed to (?) the interest in the calcValue() function. I guess I will escalate a request if this post gets more traffic.

    Thanks Andrew.

    • 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