8000 Attribute error in parser · Issue #125 · PyHDI/Pyverilog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Attribute error in parser #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
KatCe opened this issue Oct 15, 2023 · 0 comments
Open

Attribute error in parser #125

KatCe opened this issue Oct 15, 2023 · 0 comments

Comments

@KatCe
Copy link
KatCe commented Oct 15, 2023

Hello, the following file could not be parsed:

https://github.com/KatCe/pyverilog_issue_125/blob/main/picorv32_sv2v_out.v

Got the following error:

Pyverilog/pyverilog/vparser/parser.py", line 1589, in p_if_statement_woelse
    p[0].end_lineno = p[5].end_lineno
AttributeError: 'ForStatement' object has no attribute 'end_lineno'

Pyverilog commit: 81838bc


My setup:
Python 3.9.5
iverilog/focal,now 10.3-1build1 amd64 [installed]
Name: Jinja2
Version: 3.1.2
Name: ply
Version: 3.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0