• 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. Running skill code using perl script

Stats

  • Locked Locked
  • Replies 15
  • Subscribers 143
  • Views 19519
  • 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

Running skill code using perl script

anandmohan
anandmohan over 8 years ago

HI,

I have a perl code, using that perl code is it possible to execute a skill code?

If any example is provided  that will be very helpful

Regards

Anand

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    Anand,

    Well, if the wrapper script just has "virtuoso -64 &" at the end, it's not going to pass the -restore ... bit to virtuoso. You'd have to modify this wrapper script to allow you to pass in command line arguments to virtuoso. Just UNIX shell scripting - nothing to do with virtuoso...

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • anandmohan
    anandmohan over 7 years ago
    HI Andrew,

    Sorry for delay in replying to this post. (Was busy with tapeout work).

    Can you please tell me what modification I have to make in wrapper script so that command line arguments will get passed to virtuoso .

    Regards
    Anand
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Anand,

    Probably change the virtuoso line to:

    virtuoso -64 "$@" &

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • anandmohan
    anandmohan over 7 years ago
    HI Andrew,

    I modified the virtuoso invoke shell script as you instructed and opened a new virtuoso session. Then I tried to run my perl file given below

    #############################################
    test.pl:
    #!/usr/bin/perl
    print "start of program";
    system("virtuoso -restore print.il");
    print "end of program";
    ###################################################
    print.il:
    procedure(pnt()
    printf("test line")
    printf(" ends")
    #####################################################

    This time also it is opening a new virtuoso session, and in that CIW window I can see the print lines coming if call the 'pnt()' function.
    My problem is I have to avoid a new virtuoso session opening everytime if I run my perl script.



    Regards
    Anand
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    Anand,

    The way I have done this is to use an approach similar to that described in this older post. I can't do all the work for you - this just describes the principle (and it does work) but hopefully you can get the idea and run with it.

    Regards,

    Andrew.

    • 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