File not found error
Hi,
I'm trying to generate AST from verilog code but I am facing the error below. I have put the complete address of the verilog file but still it is not locating it. Icarus is already installed in the system.
D:\>Python pyverilog-1.2.1/examples/example_parser.py D:\pyverilog-1.2.1\examples
Traceback (most recent call last):
File "D:\pyverilog-1.2.1\examples\example_parser.py", line 52, in <module>
main()
File "D:\pyverilog-1.2.1\examples\example_parser.py", line 43, in main
ast, directives = parse(filelist,
File "D:\pyverilog-1.2.1\pyverilog\vparser\parser.py", line 2322, in parse
ast = codeparser.parse()
File "D:\pyverilog-1.2.1\pyverilog\vparser\parser.py", line 2299, in parse
text = self.preprocess()
File "D:\pyverilog-1.2.1\pyverilog\vparser\parser.py", line 2293, in preprocess
self.preprocessor.preprocess()
File "D:\pyverilog-1.2.1\pyverilog\vparser\preprocessor.py", line 64, in preprocess
subprocess.call(cmd)
File "C:\Users\Rimsha's\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 349, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\Rimsha's\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Rimsha's\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified