Forum Discussion
Is there a way to include file with macros without having to use `include in every
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 :
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 ?
4 Replies
- RichardT_altera
Super Contributor
Have you try using the assignment:
set_global_assignment -name VERILOG_CU_MODE MFCU
You can find a good explanation here:
Regards,
Richard Tan
- RichardT_altera
Super Contributor
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
- ymiler
Contributor
Thank you
It fixed my issue
- RichardT_altera
Super Contributor
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.