• 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. Frozen Innovus GUI while executing Tcl script to highlight...

Stats

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

Frozen Innovus GUI while executing Tcl script to highlight and zoom to wires

giuseppefe
giuseppefe over 3 years ago

Hello,

I am trying to execute the following tcl script:

proc pause {{message "Hit Enter to continue ==> "}} {
puts -nonewline $message
flush stdout
gets stdin
}

set rh_rpt_dir {...}

set layers_names "..."

foreach l $layers_names {
setLayerPreference $l -isVisible 0
}

### SHORTS CHECK

append short_rpt $rh_rpt_dir "shorts.rpt"

set fid [open $short_rpt r]

while {![eof $fid]} {

gets $fid line

regexp -nocase -- {[0-9]+ +(\w+) +(\w+) +(\w+) +(\d+\.?\d*) +(\d+\.?\d*) +(\d+\.?\d*) +(\d+\.?\d*) +(\w+) +\w+ +(\w+)} \
$line all net1 net2 layer x1 y1 x2 y2 type1 type2

highlight -color red [dbGet -p2 [dbGet -p2 top.nets.sWires.net.name $net1 ].layer.name $layer]

highlight -color blue [dbGet -p2 [dbGet -p2 top.nets.sWires.net.name $net2 ].layer.name $layer]

setLayerPreference $layer -isVisible 1

zoomTo $x1 $y1 -radius 10

redraw

pause
}

close $fid

I used the pause procedure to see the changes in highlights and zoom, but the Innovus GUI is frozen and I cannot interact with it.

How can I solve this issue? Thank you

  • Cancel
  • DimoM
    DimoM over 3 years ago

    Hi,

    instead of waiting on stdin to pause the script, you can do  

    while {![eof $fid]} {
      ...
      suspend
    }

    Then type resume to continue with the loop.

    • Cancel
    • Vote Up +1 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