• 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 add a net between two instances in schematic.

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 9615
  • 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 add a net between two instances in schematic.

Sandeep Kailasa
Sandeep Kailasa over 2 years ago

I have the following queries , Could someone help me here as I am new to skill.

1.) I want to Add a net between 2 instances or cells. Will dbCreateNet() works here? . I had marked the instances in the below schematic.

2.) How can I add a floating net with one end connected to an instance and the other end is floating like shown below.

Thanks,

Sandeep

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    Sandeep,

    Normally you'd use schCreateWire() to create the physical wire, and then you can use schCheck() to extract connectivity and perform the schematic checks before saving with dbSave().

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Sandeep Kailasa
    Sandeep Kailasa over 2 years ago in reply to Andrew Beckett

    Hey Andrew,

    If I use schCreateWire() , I need to give list of points for drawing the net in between those 2 points. Is their any I can join to instances by their names, or using their net names.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Sandeep Kailasa
    Sandeep Kailasa over 2 years ago in reply to Andrew Beckett

    Hey Andrew,

    If I use schCreateWire() , I need to give list of points for drawing the net in between those 2 points. Is their any I can join to instances by their names, or using their net names.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Sandeep Kailasa

    Typically you'd do this by finding the pin location on the symbol and then transforming that into the coordinate system of the parent instance (for each of the two pins you wish to connect) and then calling schCreateWire. There's no API that does all of this for you, and not by net (since usually the net information wouldn't be there until you've wired up the schematics and extracted the connectivity).

    If you have the instance id and the pin name, you can do that with these functions (the second is the function you'd call):

    /***************************************************************
    *                                                              *
    *                 (CCFgetPinCentre term snap)                  *
    *                                                              *
    *         function to get the coordinates of the centre of     *
    *    the first pin figure on the specified terminal object     *
    *                                                              *
    ***************************************************************/
    (defun CCFgetPinCentre (term snap)
      (mapcar
        (lambda (ord)
          (times (round (quotient ord snap)) snap))
        ;------------------------------------------------------------
        ; Assume the first figure on the first pin is enough
        ;------------------------------------------------------------
        (centerBox (getq 
                     (car (or
                            (getq (car (getq term pins)) figs)
                            (list (getq (car (getq term pins)) fig)))) 
                     bBox))))
    
    /****************************************************************
    *                                                               *
    *  (CCFgetInstPinCoord inst termName @optional (snap 0.0625))   *
    *                                                               *
    * Given an instance id and a terminal name, get the coordinates *
    *                          of the pin.                          *
    *                                                               *
    ****************************************************************/
    
    (defun CCFgetInstPinCoord (inst termName @optional (snap 0.0625))
      (letseq 
        ((master (getq inst master))
         (term (dbFindTermByName master termName))
         (pinCentre (and term (CCFgetPinCentre term snap))))
        (and pinCentre
             (dbTransformPoint pinCentre (getq inst transform)))))
    

    Regards,

    Andrew

    • 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