Home > Community > Forums > Custom IC Design > How to display Object Properties on schematics?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to display Object Properties on schematics? 

Last post Tue, Mar 25 2008 10:55 AM by archive. 3 replies.
Started by archive 25 Mar 2008 10:55 AM. Topic has 3 replies and 1826 views
Page 1 of 1 (4 items)
Sort Posts:
  • Tue, Mar 25 2008 10:55 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    How to display Object Properties on schematics? Reply

        Hi,

    I am new to Cadence Virtuoso Schematic Editor. I had a quick question.

    I have a user defined property on instances in my schematics. If I select the instance and press key 'q', it gives me a pop-up menu for 'Edit Object Properties'. There, I do see the property listed in the User Property section and having a Local Value assigned to it.

    However, the Display option next to it is off by default. I was wondering if there is a way to turn it on 'only' for this very property by default so that I don't have to go and change the 'Display->off' option to 'Display->value' by hand for every instance.

    Any help would be sincerely appreciated.

    Thank you.



    Originally posted in cdnusers.org by shubh
    • Post Points: 0
  • Tue, Mar 25 2008 1:28 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: How to display Object Properties on schematics? Reply

    I would assume that such a user property would originate from its symbol. So, I will go and open the symbol of this instance and check in Edit->properties->Cellview

    I will turn on the value option for this particular property in question and check and save my symbol. Now, it should be visible for all instances.

    RR


    Originally posted in cdnusers.org by rairaj
    • Post Points: 0
  • Tue, Mar 25 2008 2:04 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: How to display Object Properties on schematics? Reply

    rairaj,

    Thanks for responding.

    I cannot edit the symbol since it is a cell from the stdcell library. So, that option seems tough.

    If I change the 'Display->off' option to 'Display->value' option in Edit Object Properties menu of that instance, then I do see the value getting displayed on the schematic. So, I was thinking that there is a way I can make this possible at the schematic level without editing at the symbol level.

    However, I do not know how to save the preference. I also do not know how can I make it the default Display option for all instances which have a certain value to this property.

    Thanks again.


    Originally posted in cdnusers.org by shubh
    • Post Points: 0
  • Tue, Mar 25 2008 2:42 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: How to display Object Properties on schematics? Reply

    Load this code:

    procedure(CCSPropDisplay(cellname propName)
    let( (cv prop)
    cv = geGetWindowCellView()
    foreach(inst cv~>instances
    if(inst~>cellName == cellname
    then
    if(prop=dbFindProp(inst propName)
    then
    ;;check for existence of assocTextDisplay
    unless(prop~>assocTextDisplays
    dbCreateTextDisplay(prop inst list("device" "annotate")
    list("justify" "orient")
    list(xCoord(lowerLeft(inst~>bBox)) yCoord(upperRight(inst~>bBox)))
    "centerCenter" "R0" "stick" 0.0625)
    printf("\nCreated textDisplay Object")
    )
    prop~>assocTextDisplays~>isVisible =t
    )
    ) ;if
    ; dbSave(cv)
    ) ;foreach
    ) ;let
    ) ;proc


    Open your cellview. Call:

    CCSpropDisplay("mycell" "myprop")

    Replace "mycell" with actual cell whose props you are looking at and myprop is the property name.

    RR


    Originally posted in cdnusers.org by rairaj
    • Post Points: 0
Page 1 of 1 (4 items)
Sort Posts:
Started by archive at 25 Mar 2008 10:55 AM. Topic has 3 replies.