Forum Discussion
HUl_H
New Contributor
6 years agoHow to add/include header file in a module containing just the parameters?
I have a parameters.v file which contains only the parameters. When i add this file inside a module like this, module test(); include "parameters.v" endmodule Quartus is giving me error. Syntax ...
sstrell
Super Contributor
6 years agoThis is a compiler directive, so you need a "tick" (on the tilde key on US keyboards, not an apostrophe), and it should be before the module declaration, not after, and no quotes:
`include parameters.v
module test();
etc.
#iwork4intel