Closed ekiwi closed 6 years ago
Thanks for the feedback. I was looking into the issue you described and think the best solution might be to use get_files "[current_bd_design].bd"
which should ensure that only the block design currently loaded is found (I hope). Would you be able to give it a try in your design and check that it works?
It works, however, I do not have the smc
components in my project any more.
Either way, this seems to be a safer way of selecting the block design.
👍
Change made. Hopefully this is sufficient.
Hi,
first at all thank you very much for the simple PYNQ overlay examples, they have been very helpful in creating my own overlays.
I based my tcl scripts on you examples and just found a tricky bug that resulted from the following line:
My problem was based on the fact that I added a AXI SmartConnect instance to my block design which in turn generates its own
.bd
file (e.g.sources_1/bd/system/ip/system_axi_smc_1_0/bd_0/bd_2721.bd
). This seems to lead to vivado trying to create a wrapper for thesmc
instead of the toplevel block design as intended. I fixed this in my project by being more specific about which block design I want to create a wrapper for:Since people will be using your scripts as a starting point (as this repo is linked from the official documentation) it might be a good idea to do something similar in the
build_all.tcl
script. This way the script won't fail if other block designs are added.