• 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. How to load and execute a "file.il"

Stats

  • Replies 1
  • Subscribers 149
  • Views 34
  • Members are here 0

How to load and execute a "file.il"

PO202512012325
PO202512012325 11 hours ago

Hi Everyone,

I am trying to execute a simple LIST request, see below.  When I load the file into the CIW a cell.txt is created but it is empty, it does not run on the opened cell.

Does anyone have some guidance?

Thanks very much,

Patrick

let((file)
     file=outfile("cell.txt")
     foreach(obj geGetSelSet()
          when(obj~>objType=="inst"
             fprintf(file "%s\n" obj~>name)
           )
      )  
     close(file)
)

  • Cancel
  • Sign in to reply
  • Andrew Beckett
    Andrew Beckett 9 hours ago

    Provided that you have some instances selected, this should work. One thing to check - what is the order of the paths in the return value of getSkillPath() ? If this doesn't have "." at the beginning, then the outfile("cell.txt") may be creating a file somewhere other than the working directory, because the files are resolved using the SKILL path. You could use outfile("./cell.txt") to force it to the working directory instead - maybe that's it?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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