• 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. Skill command for adding Verilog parameters to the CDF's...

Stats

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

Skill command for adding Verilog parameters to the CDF's.

iguerra
iguerra over 6 years ago

Hi,

I have a given Verilog view like the picture below in which there is a parameter called "delay". The function I am looking for is something similar to the one that performs the action of the tool tip text ("Build a database of instances, nets and pins found in a file"):

 Please let me know any idea on what skill code do I have to use in order  to add the corresponding Verilog parameters to the CDF's.

(Btw, I have already tried the function "ahdlUpdateViewInfo" however I am having the following prompt: "*WARNING* (DB-260007): dbOpenBag: Cannot checkout property bag", even when the cell data.dm is checked out by me)

Thanks and regards,

Ivick Guerra.

  • Cancel
Parents
  • skillUser
    skillUser over 6 years ago

    Hi Ivick,


    You should be able to save the view, or create a symbol from this view and the tool should automatically scan the view for ports and variables which will then be added as cell CDF. The Create -> Cellview From Cellview menu may help here.

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • skillUser
    skillUser over 6 years ago

    Hi Ivick,


    You should be able to save the view, or create a symbol from this view and the tool should automatically scan the view for ports and variables which will then be added as cell CDF. The Create -> Cellview From Cellview menu may help here.

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • iguerra
    iguerra over 6 years ago in reply to skillUser

    Hi Lawrence,

    The symbol already exists and no change is needed there, the idea is using a skill function in order to accomplish this task because it will be more than 200 cells for which we should perform the task manually.

    I have already updated their Verilog view but their parameters were not added to the CDF's after I checked out the updates, then this parameter will not be available at schematics when someone instantiates any of those cells.

    Do you know a skill function that adds the corresponding Verilog parameters to the CDF's (the aim it would be not open any view manually).

    Thanks and regards,

    Ivick.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 6 years ago in reply to iguerra

    Hi Ivick,

    I think the function might be ahdlUpdateViewInfo() - look for the documentation of it to make sure.

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • iguerra
    iguerra over 6 years ago in reply to skillUser

    Hi Lawrence, 

    I already tried the ahdlUpdateViewInfo  (the function returns 't') however the parameter is not added to the CDF's . Is there other function that adds  the corresponding Verilog parameters to the CDF's?

    Thanks and regards,

    Ivick.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 6 years ago in reply to iguerra

    Hi Ivick,

    The documentation said this: "During the update, ahdlUpdateViewInfo, parses the Verilog-A or SpectreHDL modules that define the specified cellviews, issues any necessary error messages and updates the cellview CDF information."  If you are not getting the CDF updated then I'm not sure what is going on, perhaps file a service request with Cadence?  Maybe it only works for Verilog-A and ignores digital Verilog

    I'm guessing now, but what about schInstallHDL() ?  I don't know if there is a SKILL API for importing digital Verilog, I could only find impHdlDisplay()

    Best regards,

    Lawrence.

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

    Lawrence, Ivick,

    The function for digital verilog (and Verilog-AMS) to re-analyse the view would be vmsUpdateCellViews. However, for digital Verilog, I don't think it updates the CDF because the support for CDF parameters with Verilog textual views is a bit limited (this is a consequence of the Verilog netlister traditionally being a "digital" rather than "analog" netlister, and it was the "analog" tools that generally deal with CDF).

    I would suggest you contact customer support.

    Regards,

    Andrew.

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

    Hi Andrew,

    Good news! I decided to give a try to "vmsUpdateCellViews" and it did update the CDF's by adding the Veirlog parameters, just as I was looking for (data.dm checked out previously to be writable).

    Thanks a lot!

    Ivick Guerra.

    • 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