• 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 iopin in Square shape? How to add nets from...

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 143
  • Views 8179
  • 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 iopin in Square shape? How to add nets from skill to it?

Sandeep Kailasa
Sandeep Kailasa over 2 years ago

Hello,

I need to add inputOutput pins in Symbol ,and also add a small net to it without making any connections to it. 

 

pinMaster=dbOpenCellViewByType("basic" "actHiInp" "symbol")

schCreateSymbolPin( cv pinMaster "gnd" "inputOutput" 1.5:-.475 "MXR90" "" nil nil "ground" )

schCreateSymbolPin( cv pinMaster "vdd" "inputOutput" 1.5:0.375 "MYR90" "" nil nil "power" )

  • 1.)  I have used above functions to add iopin's from CIW . But the symbol is in round shape . How can I get the iopin symbol like below that got generated when we create a symbol view from schematic.

When I used schCreateSymbolPin function then I am getting this form of iopin symbol like below. 

And this pin symbol is very small, I want to add a square pin symbol

  • 2.) After adding pins ,how to add a piece of net to it from skill code.

Please help me here as I am new to Skill.

Thanks in Advance!

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    Use the "square" pin template instead of "actHi". Note that this doesn't come with a leg though.The available template are defined by the variable schSymbolPinMasters and can be seen interactively in the Create->Pin command in the symbol editor. You could always define your own template and update the variable (search in the Help menu in the box at the top of the menu for schSymbolPinMasters).

    I don't know what you mean by "how to add a piece of net to it from skill code". The connectivity information is already created when you use schCreateSymbolPin - there's nothing else to be done. I don't know what "a piece of net" means.

    Andrew

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

    Thanks Andrew,

    Andrew Beckett said:
    can be seen interactively in the Create->Pin command in the symbol editor

    Yeah I checked in Symbol Editor to create a Square Pin, But it is generating a square share alone, how do i get it with net. And in which library can we find the square pins.

    Andrew Beckett said:
    "how to add a piece of net to it from skill code".

    I mean that , How can we add a net to the pin, no need to connect that pin to any other instance, I just want to add a net to it.

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

    This is the way the pin is getting added. How do i connect it Symbol and how to add a net to this pin?

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

    You're using some strange terminology, I think. "how do I get it with net" - I assume you're taking about the green line (which is not a "net" but just part of the symbol graphics)?

    Sandeep Kailasa said:
    I mean that , How can we add a net to the pin, no need to connect that pin to any other instance, I just want to add a net to it.

    I have absolutely no idea what you're asking here. It makes no sense.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Andrew Beckett
    Sandeep Kailasa said:
    And in which library can we find the square pins.

    Looking a the schSymbolPinMasters variable:

    ((0.03125 32)
    ("square"
    ("input"
    ("basic" "sympin" "symbolNN")
    )
    ("output"
    ("basic" "sympin" "symbolNN")
    )
    ("inputOutput"
    ("basic" "sympin" "symbolNN")
    )

    ... truncated...

    It's coming from the basic/sympin/symbolNN cellView.

    Andrew

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

    Yeah I want to add that green line and also add a floating net to that pin

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

    You can add a green line two ways:

    1. Create your own template symbol (copy basic/sympin/symbolNN and then add a line to it in the symbol editor; then update the schSymbolPinMasters variable to add your new template to the standard pins)
    2. Create a line using dbCreateLine(cv list("device" "drawing") list(x1:y1 x2:y2)) where x1:y1 and x2:y2 are the coordinates of the ends of the green line to draw

    I have no idea what you mean by "add a floating net to that pin". What's a "floating net" on a symbol pin?

    Andrew

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

    Thanks Andrew,

    Andrew Beckett said:
    what you mean by "add a floating net to that pin"

    This is what I mean by adding a net to the symbol.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Sandeep Kailasa
    Sandeep Kailasa said:
    This is what I mean by adding a net to the symbol.

    You wouldn't add a wire to the symbol - this makes no sense. You'd add wires in the schematic using an instance of the symbol.

    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