I've come across some code that does something like:
`include "./some_path/some_file.svh"
Is this equivalent to:
`include "some_path/some_file.svh"
?
The LRM states that relative paths are considered as starting from either the compiler's current working directory or from user specified locations, so I would expect '.' to be substitutable for any of these paths.
I'm guessing the intention was to specify a path that is relative to the including file's location and someone didn't really understand what they were doing.
strace -f -o strace.log [rest of the compile command or top level script/makefile/whatever command ... ]After the compile runs, you can grepstrace.logforsome_path/some_file.svh. Running strace will make the compile take a lot longer. You'll see file open system commands that show the compiler's internal mechanism. Anyways, not an LRM answer, but may be useful in dealing with your specific compiler.