ipbus / ipbb

IPbus Builder Tool
GNU General Public License v3.0
12 stars 12 forks source link

Support for adding files to a project without regenerating it #32

Open gpetruc opened 6 years ago

gpetruc commented 6 years ago

It would be good to have a feature to allow adding new files to a project (either re-scanning the dep files or with some ipbb command), without having to recreate the project, as the latter is slow because requires regenerating all ip cores.

alessandrothea commented 4 years ago

First step: figure out how to retrieve from Vivado the list of source files, constraints and ips

alessandrothea commented 4 years ago

Here it is get_files -of [get_filesets sources_1]

alessandrothea commented 4 years ago

Now, xcis are a different story. xcis are copied into the project and referenced in each ip fileset. But the xci has memory of its origin

report_property  [get_files /home/ale/devel/dune/dataflow/proj/zcu102_wibtor/zcu102_wibtor/zcu102_wibtor.srcs/sources_1/ip/temac_gbe_v9_0/temac_gbe_v9_0.xci]
...
IMPORTED_FROM              file     true       /home/ale/devel/dune/dataflow/src/ipbus-firmware/components/ipbus_eth/firmware/cgn/temac_gbe_v9_0.xci
alessandrothea commented 4 years ago

And this is the one liner get_property IMPORTED_FROM [get_files -of [get_filesets temac_gbe_v9_0] temac_gbe_v9_0.xci]