• 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. accessing db and executing SKILL from the Unix shell

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 16072
  • 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

accessing db and executing SKILL from the Unix shell

jaleco
jaleco over 12 years ago

I am trying to run some skill code to access db information from a bash script, but cannot get the script to run successfully.  Can anyone describe the proper way to perform a simple db access from a shell?

My attempt was somthing like this:

#!/bin/bash

./start_cadence_virtuoso -nograph < find_coords.il

(or alternatively include the skill code in the bash script, but neither format seems to work)

A simple find_coords.il skill script might look like this:

cv=dbOpenCellViewByType("mylib" "mycell" "layout")

foreach( inst cv~>instances

if(inst~>cellName == "specific_cell" then

printf("%L\n" inst~>xy) ; this would be printed to an output file or as needed once the script was functional

); if

); foreach

dbClose(cv)

exit

  • Cancel
Parents
  • skillUser
    skillUser over 12 years ago

    Forgot to mention that "virtuoso" supports the -load and -replay command line options.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • skillUser
    skillUser over 12 years ago

    Forgot to mention that "virtuoso" supports the -load and -replay command line options.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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