Forum Discussion
Sumukh_B_Intel
New Contributor
6 years agoGetting Synthesis Error due to undefined Macros In quartus pro 18.0
Hi, Observing an error in quartus, Info: ******************************************************************* Info: Running Quartus Prime Synthesis Info: Version 18.0.0 Build 219 04/25/2018 Patches...
KhaiChein_Y_Intel
Regular Contributor
6 years agoHi,
You may refer to the Intel Quartus Prime Pro Edition Getting Started User Guide (Chapter 5.4.1) https://www.intel.com/content/www/us/en/programmable/documentation/spj1513986956763.html#jbr1442966691310. This chapter states that
Items visible only in the compilation-unit scope include macros, global declarations, and default net types. The contents of included files become part of the compilation unit of the parent file. Modules, primitives, programs, interfaces, and packages are visible in all compilation units.
Therefore, you have to use 'include for macro.
Thanks.
Best regards
KhaiY