There is a parameter called rerorder,The problem is that the VerilogGraphGenerator class doesn't have the reorder parameter in the generate() method definition, but it is provided when called.
The following is part of the definition of VerilogGraphGenerator class in the /Pyverilog/pyverilog/dataflow/graphgen.py
26 class VerilogGraphGenerator(object):
..........
..........
57 def generate(self, signalname, identical=False, walk=True, step=1, do_reorder=False, delay=False):
termname = util.toTermname(signalname)
tree = self.treewalker.getTree(termname)
python3 Pyverilog/examples/example_graphgen.py -t top -s top.led test.v Generating LALR tables WARNING: 183 shift/reduce conflicts Traceback (most recent call last): File "./examples/example_graphgen.py", line 107, in
main()
File "./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'
in example_graphgen.py", line 100,
There is a parameter called rerorder,The problem is that the VerilogGraphGenerator class doesn't have the reorder parameter in the generate() method definition, but it is provided when called.
The following is part of the definition of VerilogGraphGenerator class in the /Pyverilog/pyverilog/dataflow/graphgen.py
One of the parameters is called
do_reorder