Wednesday, February 08, 2012     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: How to use the dbReplaceProp()?
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
jren
Posts: 9
Online: User is Offline
6/13/2006 1:00 PM  
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!



adbeckett
Posts: 248
Online: User is Offline
6/13/2006 2:43 PM  
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.

jren
Posts: 9
Online: User is Offline
6/14/2006 11:30 AM  
Thanks!!
I have a new question:
Is there any way to get the schematic property dbId without openint the window?

jren

adbeckett
Posts: 248
Online: User is Offline
6/15/2006 1:36 AM  
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.
jren
Posts: 9
Online: User is Offline
6/15/2006 7:31 AM  
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

Posting to forums is available to community members only.
Login or Register

Forums > Custom IC > Shared code - SKILL > How to use the dbReplaceProp()?


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.