• 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. Some Calculator Functions in MDL, Using a Variable in M...

Stats

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

Some Calculator Functions in MDL, Using a Variable in MDL

baltacican87
baltacican87 over 6 years ago

Hello,

I am using Virtuoso version IC6.1.7.

I would like to implement the following functions of the calculator in an MDL file:

- rshift (or any type of time shift)

- settlingTime

- firstVal

- xval

- xmin

- ymin

How can I do that?

Moreover, I would like to use the variables that I define in ADE L in the expressions inside MDL file. How can I do that?

Many thanks in advance.

Best regards,

Can

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

    Hi Can,

    OCEAN function Equivalent MDL
    rshift I don't believe there is one. This would require an enhancement request
    settlingTime settlingtime
    firstVal V(out) @ min(xval(V(out)))
    xval xval
    xmin argmin
    ymin min

    For the time shift I couldn't find this ever having come up before as being an issue.

    For design variables in ADE, you can just reference those in your MDL expressions, provided they are used in the circuit somewhere. If they are not used, they get filtered out (from my experiments).

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Hi Can,

    OCEAN function Equivalent MDL
    rshift I don't believe there is one. This would require an enhancement request
    settlingTime settlingtime
    firstVal V(out) @ min(xval(V(out)))
    xval xval
    xmin argmin
    ymin min

    For the time shift I couldn't find this ever having come up before as being an issue.

    For design variables in ADE, you can just reference those in your MDL expressions, provided they are used in the circuit somewhere. If they are not used, they get filtered out (from my experiments).

    Regards,

    Andrew

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

    Hi Andrew,

    Many thanks for the eplanations.

    Best regards,

    Can

    • 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