• 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. How to get the minimum & maximum value of Device parameters...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 146
  • Views 4382
  • 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

How to get the minimum & maximum value of Device parameters ?

Amar Kumar
Amar Kumar over 10 years ago

Hi,


I am writing a script to check the minimum & maximum value of the parameters of a device.

Ex:Consider a mos device.To get the minimum value of width of that particular mos i am doing as below.

cdfID = cdfGetInstCDF(mosID)

paramID_width = cdfFindParamByName(cdfID width)

minValue = paramID_width~>defValue

For most of the technology this value is equal to the minimum value,but for some it is failing.

Can you give a solution to get  minimum as well as maximum value of the parameter.

Thanks,


Amar Kumar

  • Cancel
  • psill000
    psill000 over 10 years ago


    Not sure how your script is working or the process it flows.

    Some scripts I have used the functions min(a b) and max(a b) to something similar to what you want. You can look at the functions through the cdsFinder to get a better description.

    Paul

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    Amar,

    Generally speaking, any minimum or maximum value of a parameter is checked by a CDF callback or similar - this is a bit of  SKILL code that runs when you change a parameter in a field. The limits may not be checked at all, or may be hardcoded into that function, or may be looked up from some properties stored somewhere.

    Put another way, there is no generic way to define what the minimum and maximum values of a parameter are, so you can't code a generic solution based on purely looking at the CDF parameters. Assuming that the default value is the minimum is definitely a wild assumption too!

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Amar Kumar
    Amar Kumar over 10 years ago

    Hi Andrew,

    Thank you for clearing this doubt.

    Amar.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • VadimBorisov
    VadimBorisov over 8 years ago

    delete

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Mikexay
    Mikexay over 8 years ago

    Delete! sorry about that.


    Learn Vietnamese online( free for all cadence's members ):

    Lession 1: nho ninh thuận

    • 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