• 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. Help on skill code for to create wire for instance symb...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 17383
  • 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

Help on skill code for to create wire for instance symbol

narendra046
narendra046 over 13 years ago

Hi Friends,

                  I have many standard cells & having Schematics .Each schematic only  have one instance symbol like AND or NAND or INV gates.I want to draw wire for every input & outpus of instance symbol & then I want to put pins for every wire.I tried to do this job by using skill code but I did not got it.. plz review my skill progrmme & plz let me know if any improvements in this... or  

 If you have any idea plz let me know.........

procedure(MyInstancePins( libName viewName "tt" )
        let( ( d_libId d_cvId l_cellList l_instanceList )

d_libId = ddGetObj( libName )
l_cellList = setof(
                d_cell d_libId~>cells
                member( viewName d_cell~>views~>name )
                )

foreach( d_cell l_cellList

     d_cvId = dbOpenCellViewByType( libName d_cell~>name viewName nil "a" )

     l_instanceList = setof( d_shape d_cvId~>shapes  d_shape~>objType == "InstPin" )

     foreach( d_InstPin l_instanceList

          dbCreateNet(cvId "wire" d_InstPin)

);foreach
      schCheck(cvId)
   dbSave( d_cvId )
   dbClose( d_cvId )


);foreach
);let

);;end of MyInstancePins

Thanks

Narendra

  • Cancel
  • dmay
    dmay over 13 years ago

    You'll need to do more than just create the net. You'll need to do a combination of the following commands:

    dbCreateNet
    dbCreateTerm
    schCreatePin : You'll need to pass this the cellview id of your pins (from your basic library?)
    If you want wires and labels, you'll need:
    schCreateWire
    schCreateWireLabel

    Sorry I don't have time to give you any sample code. Also, in 6.1.5, there is a feature to do this interactively:
    schHiCreateWireStubs() (Under the Create menu)

    Derek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • narendra046
    narendra046 over 13 years ago
    Hi dmay,
                  Thanks for your response........I also tried with some commands which you sent. But I cant understand what inputs we have to give for to Run that commands..............

    May be whenever you have a time, plz spent for me to write coding....

    Thanks
    Narendra

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Quek
    Quek over 13 years ago

    Hi Narendra

    Would you please use the original thread instead of creating multiple threads? Thanks. : )

    /forums/T/20508.aspx


    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • kamit
    kamit over 13 years ago

     

    I'd suggest Narendra to either request for skill training (basic and/or Advanced) or create a service request with Support.

    Check out available trainings at:

    http://www.cadence.com/training/in/Pages/default.aspx#lnktop

    Cheers,

    -kamit

    • 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