Forum Discussion
Luis_R_Intel
New Contributor
7 years agoIs there a way to include file with macros and small modules without having to use `include in every file?
Using the Quartus Prime software during the analysis and sythesis stage, we get compilation issues due to undefined text macros. The text macros are declared in their own file and used in other files...
AnandRaj_S_Intel
Regular Contributor
7 years agoHi Luis,
- We need to add the include (macro)files to the project and just compile for Quartus STD & LITE.
- For Quartus Pro, the compiler to search for macro file and include it during the compile process. No need to use `include in Verilog module. Please check the attached image
We recommend user to just add the `include "define.v" statement to the start of your design file and add macro file in file list.
Hope it helps! Let me know if you need any further assistance.
Regards
Anand