Tuesday, September 07, 2010     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: Displaying view to be used on a symbol
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
AlanJDodd
Posts: 3
Online: User is Offline
12/17/2007 12:14 AM  
Hello, If you have a symbol that refers to one of several views (e.g. schematic, veriloga, extracted) either by view list or from the hierarchy editor - is it possible to add a label that will always display the view that will be used on the symbol? It seems that it should be something similar to Hierarchy editor/Show views found but I would like it always on. Many thanks, Alan.
axp
Posts: 21
Online: User is Offline
12/17/2007 2:07 AM  
Have a look overthere: http://www.cdnusers.org/Forums/tabid/52/view/topic/postid/6248/ptarget/6321/Default.aspx


Regards,

Axel
AlanJDodd
Posts: 3
Online: User is Offline
12/17/2007 2:21 AM  
Thanks, I had read that thread before I posted but it didn't quite seem to solve my query.  Those labels seem to refer to the current level of the hierarchy; I am attempting to display the view name one level below the current (symbol) view.

Regards,

Alan.

adbeckett
Posts: 248
Online: User is Offline
12/17/2007 3:47 AM  

The following code should do what you want:

/* abWhichView.il

Author A.D.Beckett
Group Custom IC (UK), Cadence Design Systems Ltd.
Language SKILL
Date Oct 03, 2005
Modified
By

Function which can be used as a label on a symbol, to say
which view is being used in a config.

Create an ILLabel, with value "abWhichView()"

***************************************************

SCCS Info: @(#) abWhichView.il 10/03/05.15:07:34 1.1

*/

/*******************************************************************
* *
* (abWhichView [instId] [wid]) *
* *
* Returns the name of the view bound in the config, or nil *
* if there is no config. instId defaults to ilInst - the currently *
* drawn instrane, and wid defaults to the current window. *
* *
*******************************************************************/

(procedure (abWhichView @optional (instId ilInst) (wid (hiGetCurrentWindow)))
(let (pathVector bindInfo)
(setq pathVector (deGetVector wid))
(when pathVector
(setq bindInfo
(hdbBind
pathVector
(dbGetq instId libName)
(dbGetq instId cellName)
(dbGetq instId viewName)
(dbGetq instId name)
nil nil nil
))
;-----------------------------------------------------------
; The third entry in the list is the view used
;-----------------------------------------------------------
(caddr bindInfo)
) ; when
) ; let
) ; procedure

Regards,

Andrew.

AlanJDodd
Posts: 3
Online: User is Offline
12/17/2007 5:15 AM  
That's great! Thank you very much.

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

Forums > Custom IC > Custom IC Electrical Design > Displaying view to be used on a symbol


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.