Pyverilog icon indicating copy to clipboard operation
Pyverilog copied to clipboard

Error running example_graphgen.py

Open zhileiren opened this issue 4 years ago • 1 comments

When executing the example as in README: python3 pyverilog/examples/example_graphgen.py -t top -s top.led test.v Got the following output: Generating LALR tables WARNING: 183 shift/reduce conflicts Traceback (most recent call last): File "Pyverilog-develop/examples/example_graphgen.py", line 107, in main() File "Pyverilog-develop/examples/example_graphgen.py", line 100, in main graphgen.generate(target, walk=options.walk, identical=options.identical, TypeError: generate() got an unexpected keyword argument 'reorder'

The reason seems related to the fixing of #72 , i.e., the example is not updated accordingly. Replacing reorder=options.reorder with do_reorder=options.reorder of line 101 of example/example_graphgen.py might resolve the issue

zhileiren avatar Jun 06 '21 13:06 zhileiren

Yes, this is still an issue. Replacing reorder=options.reorder with do_reorder=options.reorder worked for me!

jainpranav1 avatar Nov 22 '22 03:11 jainpranav1