• 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. ADE Explorer Variables to VerilogA Parameter Arrays

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 15630
  • 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

ADE Explorer Variables to VerilogA Parameter Arrays

Tjaart
Tjaart over 6 years ago

With reference to this post:

https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/20875/how-to-pass-array-of-parameters-through-cdf-down-to-a-veriloga-code

It seems like the GUI of the new ADE Explorer tool does not allow lists (eg.: [1.1 2.0 3]) to be passed to the Spectre netlist as a parameter containing a list of values.

I get an invalid expression error message from the GUI when I try to input the list to an ADE Explorer variable. It the asks me to specify the parameter using double quotes. When I do this however, the Spectre netlist initializes the Spectre parameter to a string (eg.: myparam="[1.1 2 0.3]"). I then get a spectre error message: "A vector is expected as the value for parameter 'myparam'".

I have tried playing around with variants using commas, a single quote at the start, curly bracktes etc, but have not been able to get it running.

Is there an updated way to pass parameter arrays to VerilogA modules from variables declared in the new ADE Explorer GUI?

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

    You can use strcat("1.1 2 0.3]") instead. The issue is that strictly speaking vector parameters weren't supported before because the expression language was "AEL" (Analog Expression Language) which didn't support vectors - however, the unsupported syntax in the AEL expressions just got passed directly to the simulator. In Explorer/Assembler, they are treated as SKILL expressions, and hence the issue - we can workaround this by using strcat() around the vector (in quotes).

    I recently wrote an article with some code to automatically convert such vector parameters to have the strcat around them: How to convert design variables which are spectre vectors to work with Explorer/Assembler

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tjaart
    Tjaart over 6 years ago in reply to Andrew Beckett

    Thanks a lot Andrew.

    Your suggestion is working on my side and your article is useful and interesting.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Tjaart
    Tjaart over 6 years ago in reply to Andrew Beckett

    Thanks a lot Andrew.

    Your suggestion is working on my side and your article is useful and interesting.

    • 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