• 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. Mixed-Signal Design
  3. Schematic instance showing the config view selected.

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 64
  • Views 13013
  • 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

Schematic instance showing the config view selected.

Selcuk T
Selcuk T over 4 years ago

Is it possible to show the view selected in hierarchy editor for an instance in schematic in virtuoso? 

I have 2 views for an instance; schematic and functional. I want to see in schematic which view is used for that instance in the opened config view.

Thanks

Selcuk

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Selcuk,

    In the configured schematic, do Launch->Plugins->Hierarchy Editor, and then pick Hierarchy Editor->Show Views Found

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Selcuk T
    Selcuk T over 4 years ago in reply to Andrew Beckett

    Thanks Andrew,

    What I was looking for is more like annotating the view (the one selected HED for this instance) on the instance in virtuoso.

    Similar to showing the instance name I want to see the view selected. Is it possible?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to Selcuk T

    Well maybe this article (one of mine) might help SKILL : Adding a label to a symbol to indicate which view is used from a config - although I suspect you're wanting a visual annotation which doesn't need adding a label onto the symbol.

    You could use the code in that article together with this code here; you simply select the instances you want to annotate (or cross-select from the hierarchy editor) and call CCFannotateView() (maybe from a bindkey). You can also use CCFclearAnnotateView() to clear all the annotations.

    procedure(CCFannotateView(@key (instances geGetSelSet()) 
            (window hiGetCurrentWindow()) (lpp list("y0" "drawing"))
            (height 0.0625)
            )
        let((hs bBox)
            hs=window~>CCFannotateViewHS || 
                geCreateHilightSet(geGetEditCellView(window) lpp)
            foreach(inst instances
                when(inst~>objType=="inst"
                    bBox=dbTransformBBox(
                        dbComputeBBoxNoNLP(inst~>master) 
                        inst~>transform
                    )
                    when(bBox
                        geAddHilightLabel(hs centerBox(bBox) CCSwhichView(inst) 
                            "centerCenter" "R0" "stick" height t)
                    )
                )
            )
            hs~>enable=t
            window~>CCFannotateViewHS=hs
            t
        )
    )
    
    procedure(CCFclearAnnotateView(@key (window hiGetCurrentWindow()))
        let((hs)
            hs=window~>CCFannotateViewHS
            when(hs
                geDeleteHilightSet(hs)
                window~>CCFannotateViewHS=nil
                t
            )
        )
    )

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Selcuk T
    Selcuk T over 4 years ago in reply to Andrew Beckett

    Thanks Andrew! This is exactly what I was looking for! 

    • 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