Verilog Include Statement #885
richardson1959
started this conversation in
General
Replies: 1 comment 5 replies
-
Have you tried to put the verilog file and the *.dig files in the same folder? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I use an include statement in an external verilog module to pull in a separate module? It works when I run iverilog from the command line using the -I option to specify the directory containing the file to be included, but I can't seem to get it to work by passing the -I option to iverilog through a Digital verilog module. I get an error message saying it can't find the file. I've tried several different relative and absolute paths. I am using the MinGW version of Icarus Verilog on Windows, but usually I can resolve path issues (and I can get it to work from the command line). It seems as if Digital is munging the argument in some way when passing it to iverilog.
Beta Was this translation helpful? Give feedback.
All reactions