Forum Discussion
2 Replies
- sstrell
Super Contributor
This 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
- AnandRaj_S_Intel
Regular Contributor
Hi 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