Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gpetruc opened this issue Mar 5, 2018 · 4 comments
Open

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

gpetruc opened this issue Mar 5, 2018 · 4 comments
Assignees
Milestone

Comments

@gpetruc
Copy link
Contributor

gpetruc commented Mar 5, 2018

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
Copy link
Collaborator

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

@alessandrothea alessandrothea changed the title support for adding files to a project without regenerating it Support for adding files to a project without regenerating it Mar 21, 2020
@alessandrothea alessandrothea added this to the Release 1.0 milestone Mar 21, 2020
@alessandrothea
Copy link
Collaborator

Here it is
get_files -of [get_filesets sources_1]

@alessandrothea
Copy link
Collaborator

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants