• 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. Error with getAsciiWave() in Cadence Virtuoso

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 13563
  • 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

Error with getAsciiWave() in Cadence Virtuoso

intern
intern over 9 years ago

I tried the command: plot(getAsciiWave("test.txt" 1 2)) however I get the following error:

"File /filepath/ is not readable. In order to proceed with creation of waveform object ensure that the specified file is in readable mode."

I have a text file with two large columns of data, and I want to be able to plot the data in ViVa and then plot the results of my simulation to compare the graphs.

Any help will be appreciated.

Thanks.  

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    First thing to check is that the file actually exists and is readable. Note that getAsciiFile() will use the normal SKILL mechanism of reading files without a directory using the SKILL path - so check in the CIW what:

    getSkillPath()

    returns. Does it include "." in the list? If not, it means it won't be looking in the working directory for files, and that might be why it doesn't find it. You could solve that two ways - either:

    1. setSkillPath(cons("." getSkillPath()))
    2. or change the fileName in the getAsciiWave() call to "./test.txt"

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • intern
    intern over 9 years ago
    Thanks Andrew, your solution worked. I appreciate the help.
    • 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