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 ...
AnandRaj_S_Intel
Regular Contributor
6 years agoHi Haseeb,
Yes, you have to include `(tick) in front of include statement.
`include "parameters.v" with quotation.
without quotation we may see Error (10096): Verilog HDL Compiler Directive error at top.v(1): incorrect use of predefined text macro "include" -- expected macro field ""filename""
Regards
Anand