• 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. point to point routing with specified routing length.

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 92
  • Views 14190
  • 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

point to point routing with specified routing length.

suresh84
suresh84 over 14 years ago

 Hi,

        can anyone please tell me how to route nets with specified length (say 100um) between 2 terms which are less than 100um apart using SOC Encounter.

 Regards,

suresh

  • Cancel
  • kazad
    kazad over 14 years ago

    Hi Suresh

    The routing length can not be shorter than the manhattan length - you can check the manhattan length with the embedded procedure. By setting net attribute NR can be guided to make the routing as short as possible:

    setAttribute -net <net_name> -avoid_detour true

     

    # Procedure to report Manhattan length of a given net
    ###########################################
    proc getManhattanLength {netName} {

        set first 1

        set netPtr [dbGetNetByName $netName]
        dbForEachNetTerm $netPtr termPtr {

            set termLoc [dbTermLoc $termPtr]
            set X [lindex $termLoc 0]
            set Y [lindex $termLoc 1]

            if { $first == 1 } {
                set min_x $X
                set max_x $X
                set min_y $Y
                set max_y $Y

                set first 0

            } else {

                if { $X < $min_x } { set min_x $X }
                if { $max_x < $X } { set max_x $X }
                if { $Y < $min_y } { set min_y $Y }
                if { $max_y < $Y } { set max_y $Y }
            }
        }

        set manhattan [expr (($max_x - $min_x) + ($max_y - $min_y)) * [dbHeadMicronPerDBU]]
        return $manhattan
    }

     

    # Procedure to report routing length of a given net

    ###########################################

    proc getNetLength {netName} {

        set wireLength 0
        set netPtr [dbGetNetByName $netName]

        if {$netPtr != "0x0"} {

            dbForEachNetWire $netPtr segmentPtr {
                set segLength [expr [dbWireLen $segmentPtr]*[dbHeadMicronPerDBU]]
                set wireLength [expr $wireLength + $segLength]
            }
        }

        return $wireLength
    }

     

    Thanks

    Khandaker

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • suresh84
    suresh84 over 14 years ago

    Hi Khandaker,

                         Thanks for the reply. My case is to intentionally detour the route by specified length. The length is always greater than manhattan distance.

     Regards

    suresh

     

    • 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