• 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. changing action of strokes

Stats

  • Locked Locked
  • Replies 26
  • Subscribers 144
  • Views 23564
  • 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

changing action of strokes

MOSFET
MOSFET over 16 years ago

I recently figured out how to enable strokes in Virtuoso, and was wondering if there is a Skill function that will descend into a block that a given set of coordinates is contained within?  I searched the Skill help manual for "descend", but couldn't find any functions that do what I am describing.  How can I descend into a block using a downward mouse stroke whose endpoint is inside the block?

 

Also, is it possible to define new strokes? 

  • Cancel
  • Austin CAD Guy
    Austin CAD Guy over 16 years ago

     First, I'm glad to see you are on IC6.1.

    Set your path to the software on Solaris, it can be IC5141 or an older software as the strokes editor has not changed. It is in the <CDS_INST_DIR>/tools/bin directory - in my case /net/redneck/cds/sun4v/IC5141USR6/tools/bin. The resulting file (your def.strokes file) and other SKILL necessary to support the strokes should be in your home directory or your .cadence directory. Your .cdsinit should load it from where ever it is.

     Ted

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MOSFET
    MOSFET over 16 years ago

    Austin CAD Guy said:

     First, I'm glad to see you are on IC6.1.

    Set your path to the software on Solaris, it can be IC5141 or an older software as the strokes editor has not changed. It is in the <CDS_INST_DIR>/tools/bin directory - in my case /net/redneck/cds/sun4v/IC5141USR6/tools/bin. The resulting file (your def.strokes file) and other SKILL necessary to support the strokes should be in your home directory or your .cadence directory. Your .cdsinit should load it from where ever it is.

     Ted

     

    I think I found the sted executable here:

     /usr/local/met/apps/IC5033_sun4v.ISR200312121550/tools.sun4v/vframe/bin/

     

    However, when I run "./sted", I receive the following error:

     

    "Can't initialize the selected window system".

     

    I am using rsh to connect to the Solaris machine from my Linux machine.  What do I need to do to run sted? 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Austin CAD Guy
    Austin CAD Guy over 16 years ago

    I would suspect that the rsh window does not have the display properly set. Use the command: echo $DISPLAY to show the display and make sure it is set to your system display. Rsh usually does not reset the display.

    If this does not work, you need to run a thin client which uses the native Solaris windows system.  Use VNC or some other Solaris based thin client to display back to your screen.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MOSFET
    MOSFET over 16 years ago

    Austin CAD Guy said:

    I would suspect that the rsh window does not have the display properly set. Use the command: echo $DISPLAY to show the display and make sure it is set to your system display. Rsh usually does not reset the display.

    If this does not work, you need to run a thin client which uses the native Solaris windows system.  Use VNC or some other Solaris based thin client to display back to your screen.

     

    I did a "setenv DISPLAY <myIP>:0.0", and now when I run "./sted", it just says "Segmentation fault".  How can I debug this? 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Austin CAD Guy
    Austin CAD Guy over 16 years ago

     I usually run VNC on my systems to handle the displays so is anyone who can answer the question:

    How do I get a Solaris based tool to display on a Linux box?

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • aplumb
    aplumb over 16 years ago

    Don't forget to 'xhost +' on the client side.  Also check that you can display back an xterm.

     

    Andrew. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MOSFET
    MOSFET over 16 years ago

    aplumb said:

    Don't forget to 'xhost +' on the client side.  Also check that you can display back an xterm.

     

    Andrew. 

     

    I am able to launch an xterm window when I am logged in to the Solaris machine.  I also ran "xhost +" on my local machine, but I am still getting the "Segmentation fault" error when I run "./sted". 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 16 years ago

     Hi,

    There is a new executable "stroke_editor" in the IC612 release under the tools/bin directory. This is even implemented for the Linux platform.  It looks a little different to the original "sted" but it should read and write the same format def.strokes type of file.

    Also, I tend to work with "infix" turned on, in this case, if you perform a stroke (e.g. draw a C for Copy) over the instance/item in question, the command should take the current stroke/cursor location as input for the command.

    Anyway, good luck with "stroke_editor" - it should solve your problems!

     Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Austin CAD Guy
    Austin CAD Guy over 16 years ago

     Wow! I didn't know that they had updated this. It is much nicer than sted. Thanks, Lawrence, it is a great day, I learned something new!

     Ted

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • MOSFET
    MOSFET over 16 years ago

     

    skillUser said:

     Hi,

    There is a new executable "stroke_editor" in the IC612 release under the tools/bin directory. This is even implemented for the Linux platform.  It looks a little different to the original "sted" but it should read and write the same format def.strokes type of file.

    Also, I tend to work with "infix" turned on, in this case, if you perform a stroke (e.g. draw a C for Copy) over the instance/item in question, the command should take the current stroke/cursor location as input for the command.

    Anyway, good luck with "stroke_editor" - it should solve your problems!

     Regards,

    Lawrence.

     

    Thanks for tip.  I was able to launch the stroke_editor application without any issues. 

    • 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