• 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 use the dbReplaceProp()?

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 15906
  • 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 use the dbReplaceProp()?

archive
archive over 19 years ago

Hi
e.g. I draw a inductance in schematic by instance from rsfq.basic
library, the property shows that:
Library Name: rsfq.basic
CellName : ind2
View Name: symbol
Instance Name: L1
PartName: ind2
Model Type: LR
Value Name: *
Value: 1.07
Model: L1*XL.
dbReplaceProp contains (g_object t_name t_propType g_value)
if I want to replace the value of inductance here by the inductance in
layout in the same cell,
is the g_object the ddGetObj("library" "cell" "schematic") , and what
is the t_name?
Thanks!




Originally posted in cdnusers.org by jren
  • Cancel
  • archive
    archive over 19 years ago

    g_object would be the database Id of the instance. So for example, if it were selected, it would
    be car(geGetSelSet()) .

    t_name is the name of the property - hard to know what the property is actually called, because the chances are it is a CDF property. You can find the current properties on the instance by doing:

    car(geGetSelSet())~>prop~>name

    If you'd used ddGetObj("library" "cell" "schematic") as the value of the g_object argument, you'd have ended up setting a cellview meta-data property (the properties that show up when you do Edit Properties from the library manager, with the cellView selected (right mouse button over the view name).

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 19 years ago

    Thanks!!
    I have a new question:
    Is there any way to get the schematic property dbId without openint the window?

    jren


    Originally posted in cdnusers.org by jren
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 19 years ago

    jren,

    Of course. You can access a cellView by using:

    cv=dbOpenCellViewByType("mylib" "mycell" "myView" "" "a")

    (the "a" stands for append mode - ifyou omit the last couple of arguments, it will open in read mode). See the documentation for more details.

    Then you can access all the instances using:

    cv~>instances

    Or you can find a named instance by name by using:

    inst=dbFindAnyInstByName(cv "I23")

    It sounds as if you could really benefit from attending a SKILL class. You can find details of these on the main Cadence web site - there is an "Education" link onthe front page.

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • archive
    archive over 19 years ago

    Andrew
    Thanks a lot! Actually, I started learning the SKILL and Cadence just a month ago, but now i have task from advisor about XL and the database thing, so there are many things I am confused with. Thanks again.

    jren


    Originally posted in cdnusers.org by jren
    • 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