cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
adieux7
Visitor
Visitor
257 Views
Registered: ‎04-13-2021

Submodules still show red question marks after included

I used `include  to include all my submodules in Vivado 2020.1. And synthesis worked fine:

adieux7_1-1618337553242.png

 

However, in Vivado those submodules are still showing red question marks, nor can I click those files to go to them. But if I add the submodule (IP_Controller) by "+" in Vivado GUI, if shows up with the green dot  and I am able to go to the file.

adieux7_2-1618337694371.png

 

Any advice? 

 

 

0 Kudos
3 Replies
dpaul24
Scholar
Scholar
242 Views
Registered: ‎08-07-2014

@adieux7 ,

Take note of the default library under which the sub-modules are getting compiled!

Be uniform, compile all modules under xil_defaultlib.

------------FPGA enthusiast------------
Consider giving "Kudos" if you like my answer. Please mark my post "Accept as solution" if my answer has solved your problem

0 Kudos
adieux7
Visitor
Visitor
176 Views
Registered: ‎04-13-2021

How do I compile all modules under xil_defaultlib? 

0 Kudos
bandi
Moderator
Moderator
154 Views
Registered: ‎09-15-2016

Hi @adieux7 

Can you please try using the absolute path to include the files? Also, make sure that all the files are compiled to xil_defaultlib from the source file settings and from its properties as shown below. If you are still facing issues then please share the test case to check this issue at our end.

lib.JPG

 

 

Thanks & Regards,
Sravanthi B
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos