FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6266 Discussions

Is there a way to include file with macros without having to use `include in every

ymiler
Employee
907 Views

Hi

My  Quartus Prime Pro version is 22.3

During the analysis and sythesis stage, I get compilation issues due to undefined text macros. The text macros are declared in their own file and used in other files of our design. The file is included in the project and looks to be analyzed before the other files which use the macros, yet there are still errors saying undefined text macro.

 

I serach similar cases like :

https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/Is-there-a-way-to-include-file-with-macros-and-small-modules/td-p/650653

But It didnt solve my issue 

 

I created a simple project which use only 2 files  :

Top file + header file

 

I'd like to archive and send it ove secure mail , Can you share with me link for it please ?

 

 

Labels (1)
0 Kudos
4 Replies
RichardTanSY_Intel
871 Views
0 Kudos
RichardTanSY_Intel
855 Views

Dropping a note to ask if my last reply was helpful to you?

Do you need any further assistance from my side?


Regards,

Richard Tan


0 Kudos
ymiler
Employee
805 Views
0 Kudos
RichardTanSY_Intel
781 Views

I'm pleased to know that your question has been addressed. 

Now, I will transition this thread to community support. If you have any further questions or concerns, please don't hesitate to reach out.

Thank you and have a great day!


Best Regards,

Richard Tan

 

p/s: If you find any answers from the community or Intel Support to be helpful, we encourage you to mark them as the best answer or rate them 4/5 in the survey. 


0 Kudos
Reply