• 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. pass arrayed variable from ocean to design

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 13671
  • 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

pass arrayed variable from ocean to design

DavidLou
DavidLou over 6 years ago

hello experts,

I used arrayed variable in schematic to pass parameters from ocean script. e.g., param[0] for this device, param[1] to that device. 

in Ocean I declare them by 

               desVar( "param" "[111  1100]")

when such ocean script running, I got following error although the sim still continues. wonder if how I should fix it. 

*Error*   in the Design Variables.  AEL's message:  lexical error:
          lexical error at or near "["
*WARNING* asiiEvalDesignValList: problem with variable param

thanks,

David

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Hi David,

    There have been a number of reports of this, including CCRs 1298763 and 1544251. The design variables are expected to be expressions using the Analog Expression Language (AEL), and that doesn't have support for vectors (that's what the CCRs I mentioned are about). So what happens here is that it gives an error and then passes it through to spectre directly and spectre can still handle the vector expression.

    So for now you will just have to tolerate the error. Might be worth contacting customer support to raise a duplicate request to increase the likelihood of something being implemented sooner rather than later.

    Kind Regards,

    Andrew

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

    got it and  understood. thanks Andrew

    • 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