KenKundert / psf_utils

Read Spectre PSF files
49 stars 14 forks source link

Psf Util Issue #4

Closed pharushi closed 3 years ago

pharushi commented 3 years ago

So I came across your library PSF_Utils. I converted the PSF raw format to ascii using psf utility.When I was trying to read the ascii file I am getting a error. "/env/lib64/python3.6/site-packages/psf_utils/parse.py:136: Rule 't_ID' returned an unknown token type 'ID'" I am unable to find what is causing the error. I think it has to do with the RESERVED tokens which are declared in "parse.py" file. I would be very helpful if you would help me in this. I am attaching my ascii file.

tran.txt

KenKundert commented 3 years ago

I have updated psf_utils on github. I think the latest version resolves your issue. Please give it a try and let me know.

pharushi commented 3 years ago

Yes, it works perfectly. Thank you!

KenKundert commented 3 years ago

I have updated pipy. Version 1.2. Thanks for the report.