• 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. Adding Routing blockage around boundary of block

Stats

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

Adding Routing blockage around boundary of block

NaikGangadhar
NaikGangadhar over 11 years ago

Hi All,

 

I would like share the the script to create the routing blockage around the boundary of block.

 Note :

1) This is technology specific script.

2) You have edit the metal layer name as per your requirement.

 

Proc is as follows :

 proc createRouteBlkBoundray {width} {

## Create rectilinear floorplan shape

#

set fplanPolygon [dbShape -output polygon [dbGet top.fplan.boxes]]

#

# Create routing blockage around inside of block boundary with width $blkgWidth

#

set blkgWidth $width

set sizeValue [expr 0 - $blkgWidth]

set shrunkBox [dbShape $fplanPolygon SIZE $sizeValue]

set donut [dbShape $fplanPolygon ANDNOT $shrunkBox]

      foreach rect $donut {

   set xl [lindex $rect 0]

   set yl [lindex $rect 1]

   set xu [lindex $rect 2]

   set yu [lindex $rect 3]


   if [ expr $xl > $xu ] {

    set xdiff [expr $xl - $xu] 

   } else {

    set xdiff [expr $xu - $xl]

   }


   if [ expr $yl > $yu ] {

    set ydiff [expr $yl - $yu] 

   } else {

    set ydiff [expr $yu - $yl]

   }


   if {[ expr $xdiff - $width] == "0" } {

    #set layer "vertical"

               #  -layer needs to change as per your technology or as per your requirement 

    createRouteBlk -box $rect -layer {M3 M5}

   } else {

    #set layer "horizonal"

              #  -layer needs to change as per your technology or as per your requirement  

    createRouteBlk -box $rect -layer {M1 M2 M4 M6}

   }

      }


}

Usage is as follows :

 #createRouteBlkBoundray <width in um>

In case of 0.5 micron, type below 

 createRouteBlkBoundray 0.5

 

Regards,

Gangadhar Naik

 

  • Cancel
  • Jfiedler
    Jfiedler over 4 years ago

    I'm assuming this is in TLC?

    • 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