vppreproc cannot open file
Added by Moti Litochevski almost 2 years ago
Hello Verilog-Perl, I found this great tool and while trying to use it I stumbled on weird behavior. I do not think I'm entitled to call it a bug just yet. My project is build of many files, about 60, which are listed in a text file. The files are located in different directories and are listed, with their relative directory structure. When running 'vppreproc' with the -f option I get the following error:
%Error: :0: Cannot open ../../../rtl/verilog/rx/frontend/rx_fir.v
I also tried specifying the exact directory from root but it did not help. I really want to use this tool but do not think that all files should be copied to a single directory.
I'm using the tool on cygwin running on Windows 7.
I would appreciate any idea of what I'm doing wrong, Thanks, Moti
Replies (1)
RE: vppreproc cannot open file - Added by Wilson Snyder almost 2 years ago
It certainly works with files in other directories, we do it all the time. If you're using relative paths then the paths are relative to "cwd", but absolute paths should work fine too.
If you can create a little tarball showing the problem I'll see what's wrong.
BTW, cygwin is picky about permissions and mountpoints; make sure "cat ../../../rtl/verilog/rx/frontend/rx_fir.v" works first.
(1-1/1)
![[logo]](/img/veripool_small.png)