• 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 dump il labels associated with an instance in sc...

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 144
  • Views 14704
  • 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 dump il labels associated with an instance in schematic

pmathur
pmathur over 14 years ago
Hi Experts,

I am trying to dump all the interpreted labels associated with an instance in my test schematic. There is only one instance in this schematic. I wrote following code for this task, following piece of code when run interatively give me correct result (correct il Labels. But when I use same in my test procedure I get empty string for iilString. Seems like limitation of cdsParam( ). I am wrong or Is there an alternate way to get the task done.

=========code=====

srcCvId=geGetEditCellView()
instCDF=cdfGetInstCDF(car(srcCvId->instances))
;;Dumping IL Labels
                foreach(_illable  parseString(instCDF~>paramLabelSet)
                      _iilString=cdsParam(_illable)

                      printf("CellName=%L TestcaseName=%L ilLable=%L" cellName testcaseName _iilString)
                      fprintf(tmpport "CellName=%L TestcaseName=%L ilLable=%L" cellName testcaseName _iilString)
                      );end foreach
                fprintf(tmpport "#END IlLables \n")
;;End Dumping IL Labels

==============

Thanks & Best Regards

Prashant Mathur

 
  • Cancel
Parents
  • markbeck
    markbeck over 14 years ago

    I'd actually also like to know how to do this.

    One reason to do this, is that you wish to be able to auto generate attached labels displayed on a schematic in order to be able to manipulate / size / move them through scripts.

    When you select an instance, there is no associated labels to manipulate so you have to create them.
    i.e. if you select an instance and query it's textDisplays property, it's usually nil until you select a displayed label associated with the selected instance and move it.  Then, the textDisplay is manipulatable. 

    I tried using the ael calls to generate the labels as you suggested, but I have not had any luck.

    For example:
      d_cv = (caar geGetObjectSelectedSet())
      l_env = (list d_cv) ; create the lineage list
      x_env = aelEnvCreate('f); create the ael environment
      aelSetLineage(x_env l_env); set the lineage
      aelEnvInterpret(x_env "cdsPararm(1)") ; Returns nil....

    Is there another (better) way to generate the labels on an instance other than evaluating the .il instance labels?
    Is there something obvious about what I'm doing wrong in the ael example code?

    Thanks,
    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • markbeck
    markbeck over 14 years ago

    I'd actually also like to know how to do this.

    One reason to do this, is that you wish to be able to auto generate attached labels displayed on a schematic in order to be able to manipulate / size / move them through scripts.

    When you select an instance, there is no associated labels to manipulate so you have to create them.
    i.e. if you select an instance and query it's textDisplays property, it's usually nil until you select a displayed label associated with the selected instance and move it.  Then, the textDisplay is manipulatable. 

    I tried using the ael calls to generate the labels as you suggested, but I have not had any luck.

    For example:
      d_cv = (caar geGetObjectSelectedSet())
      l_env = (list d_cv) ; create the lineage list
      x_env = aelEnvCreate('f); create the ael environment
      aelSetLineage(x_env l_env); set the lineage
      aelEnvInterpret(x_env "cdsPararm(1)") ; Returns nil....

    Is there another (better) way to generate the labels on an instance other than evaluating the .il instance labels?
    Is there something obvious about what I'm doing wrong in the ael example code?

    Thanks,
    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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