• 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 Ldesign with complex variable

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 126
  • Views 15716
  • 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 Ldesign with complex variable

TotoPyx
TotoPyx over 10 years ago

Hello,

In the graphical ADEL interface, i use parametrized design variable in ADEL such as:

GAIN=15

GFB=mod(GAIN+1,2)

G15=if(GAIN==15 1 0)

during the netlist parsing, GFB is well evaluated while G15 is not parsed correctly.

Both syntax are correct in the calculator window. What is not good in my syntax, is it dependent of the simulator used (spectre or eldo)? How can I make conditional test on a variable?

Totopyx

  • Cancel
Parents
  • TotoPyx
    TotoPyx over 10 years ago
    It Works!! thanks for the help Frank
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Nandag
    Nandag over 5 years ago in reply to TotoPyx

    Hi Frank

    This solution doesn't seem to work in ADE-L when I use it to assign a string to a variable. For example:

    leak=0

    moscor=(leak==1? "top_ff" : "top_ss")

    I get a syntax error:

    Cannot run the simulation because syntax error `Unexpected quoted string ""top_ff"' was encountered at line 9, column 38.

    Is there any other way to assign a conditional string to a variable in ADE-L? I use ICADVM 18.1.500.

    Thank You

    -Nanda

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Nandag
    Nandag over 5 years ago in reply to TotoPyx

    Hi Frank

    This solution doesn't seem to work in ADE-L when I use it to assign a string to a variable. For example:

    leak=0

    moscor=(leak==1? "top_ff" : "top_ss")

    I get a syntax error:

    Cannot run the simulation because syntax error `Unexpected quoted string ""top_ff"' was encountered at line 9, column 38.

    Is there any other way to assign a conditional string to a variable in ADE-L? I use ICADVM 18.1.500.

    Thank You

    -Nanda

    • 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