Syntax error
Traceback (most recent call last):
File "task_parse.py", line 5, in <module>
ast, direct = parse(vfiles, [], [])
File "/home/vdodeja2/.local/lib/python3.7/site-packages/pyverilog/vparser/parser.py", line 2322, in parse
ast = codeparser.parse()
File "/home/vdodeja2/.local/lib/python3.7/site-packages/pyverilog/vparser/parser.py", line 2300, in parse
ast = self.parser.parse(text, debug=debug)
File "/home/vdodeja2/.local/lib/python3.7/site-packages/pyverilog/vparser/parser.py", line 77, in parse
return self.parser.parse(text, lexer=self.lexer, debug=debug)
File "/home/vdodeja2/.local/lib/python3.7/site-packages/pyverilog/vparser/ply/yacc.py", line 265, in parse
return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
File "/home/vdodeja2/.local/lib/python3.7/site-packages/pyverilog/vparser/ply/yacc.py", line 1047, in parseopt_notrack
tok = self.errorfunc(errtoken)
File "/home/vdodeja2/.local/lib/python3.7/site-packages/pyverilog/vparser/parser.py", line 2272, in p_error
self._coord(p.lineno))
File "/home/vdodeja2/.local/lib/python3.7/site-packages/pyverilog/vparser/plyparser.py", line 55, in _parse_error
raise ParseError("%s: %s" % (coord, msg))
pyverilog.vparser.plyparser.ParseError: :25: before: (
Unable to parse task calls using pyverilog.
Failure signature: (fail.log)
Verilog code: (task_example.v)
Python script to parse the verilog (task_parse.py)
Environment: OS: Ubuntu 18.04.5 LTS Python version: 3.7 PyVerilog version: 1.2.1
Attaching above files: task_failure.zip