• 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. Digital Implementation
  3. to delete all the io pins in a design and load a new io...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 92
  • Views 14632
  • 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

to delete all the io pins in a design and load a new io file

tanvis
tanvis over 9 years ago

hi, 

i am looking for the deletion of all the IO pins in my current design and loading a new IO file which has the correct pin location. Need the user guide or the command for this. I tried using deleteIoInstance - with which we will have to give a string in order to delete all the IO pins. 

Please also point me to the INnnovus user guide.

Regards

Sar

  • Cancel
  • kazad
    kazad over 9 years ago

    Hi Sar

    I assume you want to unplace the existing pins and load a new IO file. If that's the thing you are after, you can try the following procedure:

    ################################################################################
    # Procedure to unplace IO pads/pins
    # Usage: unplaceIOs {-pads | -pins}
    ################################################################################
    proc unplaceIOs {args} {

    unlogCommand dbGet

    # Select IO pads/pins
    if {[regexp {\-pads} $args]} {

    dbSet [dbGet -p top.fPlan.ios.inst.cell {.baseClass == "pad"}].pstatus unplaced

    } elseif {[regexp {\-pins} $args]} {

    # Unplace pins
    dbSet top.terms.pStatus unplaced

    # Delete associated metals as well
    deselectAll

    foreach pinPtr [dbGet -p top.terms.isSpecial 0] {

    # Unplace pins
    dbSet ${pinPtr}.pStatus unplaced

    # Get metal layer info
    set layer [regsub {[A-Za-z]} [dbGet $pinPtr.layer.name] {}]

    # Get box info
    set box [dbGet ${pinPtr}.pins.allShapes.shapes.rect]

    if {$box != 0x0} {
    set x1 [lindex $box 0]
    set y1 [lindex $box 1]
    set x2 [lindex $box 2]
    set y2 [lindex $box 3]

    eval selectPhyPin $x1 $y1 $x2 $y2 $layer [dbGet ${pinPtr}.name]
    }
    }

    # Delete selected pads/pins
    deleteSelectedFromFPlan
    deselectAll
    }

    redraw
    }

    Thanks

    Khandaker

    • 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