Forum Discussion
Nurina
Regular Contributor
4 years agoHi,
As far as I know there isn't a way to have global directives. You'll have to add `include "features.vh" to all the modules using the features.vh header file.
Regards,
Nurina
- jlats24 years ago
Occasional Contributor
Thank you for your reply.
It looks like having, `include "features.vh" at the top of each of my modules is one solution.
I also noticed that in Quartus > assignments > settings > Verilog HDL input and add MACRO =1 will add the following to the QSF:
set_global_assignment -name VERILOG_MACRO "MYMACRO=1"
which will allow directives to engage in all modules.