• 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. Getting variable names from schematic view

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 17712
  • 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

Getting variable names from schematic view

trdastidar
trdastidar over 14 years ago

 Hi,

I am trying to integrate a third party tool into the Cadence environment, and have some questions on the APIs available for the task. I am not new to programming in general, but definitely new to SKILL. If someone can help me identify the SKILL APIs that can do the jobs that I mention next, it will be immensely helpful.

What I need are:

1. SKILL function to get all variable names from a cell view.
    Input: lib, cell, view name.
    Output: List of variables, and their values, if any.

2. SKILL function to set values to variables in a cell view.

Both of them are possible to do from Artist. Some of the Artist specific SKILL APIs can do this (sevCopyCellViewVariables and sevCopyVariablesToCellView.) However, they require the Artist window to be open. What I need is a function which can be invoked in the background, and can do the job without the corresponding Artist or Schematic window being open.

Thanks in advance

  • Cancel
Parents
  • trdastidar
    trdastidar over 14 years ago

    trdastidar said:
     cv = asiGetCurrentSession()

     

    stdobj@0x19a14024

    artGetDesignVarList(cv)

    *Error* eval: undefined function - artGetDesignVarList

     

     

    Then I looked up the manual, and it seems that the correct function name is artGetCellViewDesignVarList

    But even then it doesn't work.

     
    cvid = asiGetTopCellView(cv)

    db:0x15aae292

    artGetCellViewDesignVarList(cvid)

    nil

     

    Am I doing something wrong?

     

     

     

     

    Sorry, I jumped the gun here. This sequence of commands does seem to work.

     sv = (sevStartSession ?design nil ?lib "mylib" ?cell "mycell" ?view "schematic")
    cv = asiGetCurrentSession()
    sevCopyCellViewVariables(sv)
    asiGetDesignVarList(cv)

    However, the ddGetObj()->designVarList still doesn't seem to work, though that will be the preferred method to go.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • trdastidar
    trdastidar over 14 years ago

    trdastidar said:
     cv = asiGetCurrentSession()

     

    stdobj@0x19a14024

    artGetDesignVarList(cv)

    *Error* eval: undefined function - artGetDesignVarList

     

     

    Then I looked up the manual, and it seems that the correct function name is artGetCellViewDesignVarList

    But even then it doesn't work.

     
    cvid = asiGetTopCellView(cv)

    db:0x15aae292

    artGetCellViewDesignVarList(cvid)

    nil

     

    Am I doing something wrong?

     

     

     

     

    Sorry, I jumped the gun here. This sequence of commands does seem to work.

     sv = (sevStartSession ?design nil ?lib "mylib" ?cell "mycell" ?view "schematic")
    cv = asiGetCurrentSession()
    sevCopyCellViewVariables(sv)
    asiGetDesignVarList(cv)

    However, the ddGetObj()->designVarList still doesn't seem to work, though that will be the preferred method to go.

     

    • 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