• 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. Inserting text note in schematic

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 144
  • Views 25119
  • 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

Inserting text note in schematic

tyanata
tyanata over 15 years ago

Hi,

 Is there some SKILL procedure to place text note in shematic hierarchicaly in schematics without opening circuits one by one. What I mean: we have skill code difning layout dimesions (width and height) of every cell in the schematic and all this data is written in text file. But now we want the data for every particular cell layout to be written as text note in the corresponding schematic view.

  • Cancel
Parents
  • Quek
    Quek over 15 years ago

    Hi tyanata

    The following script should be able to do what you want. Save it as "addnotes.il" in the working directory and load it in ciw. Then execute it using:

    CCSaddSchNotes("myLib" "myInputFile")

    where "myLib" is the name of the schematic library and "myInputFile" is the file containing the cellnames and X/Y dimensions.

    Best regards
    Quek


    procedure( CCSaddSchNotes(myLib myFile)
       let( (inPort inLine inLineList myCell xDimen yDimen cv
        myNote xCoord yCoord)
          inPort=infile(myFile)
          while( gets(inLine inPort)
             inLineList=parseString(inLine)
             myCell=nth(0 inLineList)
             xDimen=nth(1 inLineList)
             yDimen=nth(2 inLineList)
             cv=dbOpenCellViewByType(myLib myCell "schematic" "" "a")
             myNote=strcat("Layout estimation: X=" xDimen " Y=" yDimen)
             xCoord=leftEdge(cv~>bBox)
             yCoord=bottomEdge(cv~>bBox)-0.2
             schCreateNoteLabel(cv xCoord:yCoord
            myNote "lowerLeft" "R0" "roman" 0.0625 "normalLabel")
             dbSave(cv)
             dbClose(cv)
          ) ;while
          close(inPort)
          inPort=nil
       ) ;let
    ) ;procedure

    addnotes.il
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Quek
    Quek over 15 years ago

    Hi tyanata

    The following script should be able to do what you want. Save it as "addnotes.il" in the working directory and load it in ciw. Then execute it using:

    CCSaddSchNotes("myLib" "myInputFile")

    where "myLib" is the name of the schematic library and "myInputFile" is the file containing the cellnames and X/Y dimensions.

    Best regards
    Quek


    procedure( CCSaddSchNotes(myLib myFile)
       let( (inPort inLine inLineList myCell xDimen yDimen cv
        myNote xCoord yCoord)
          inPort=infile(myFile)
          while( gets(inLine inPort)
             inLineList=parseString(inLine)
             myCell=nth(0 inLineList)
             xDimen=nth(1 inLineList)
             yDimen=nth(2 inLineList)
             cv=dbOpenCellViewByType(myLib myCell "schematic" "" "a")
             myNote=strcat("Layout estimation: X=" xDimen " Y=" yDimen)
             xCoord=leftEdge(cv~>bBox)
             yCoord=bottomEdge(cv~>bBox)-0.2
             schCreateNoteLabel(cv xCoord:yCoord
            myNote "lowerLeft" "R0" "roman" 0.0625 "normalLabel")
             dbSave(cv)
             dbClose(cv)
          ) ;while
          close(inPort)
          inPort=nil
       ) ;let
    ) ;procedure

    addnotes.il
    • 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