excisting vivado projects
el3ctrician opened this issue · 1 comments
el3ctrician commented
Hello,
is there is a way to use the scripts with existing vivado projects in order to migrate them to git ? some sort of copying sources and organizing everything to create it ?
Thanks
barbedo commented
Hey,
I don't have a script that does exactly that, sorry.
But you can try to do something like the following:
- Move everything under
project_name.srcs
(and*.sdk
or whatever you want to track) to outside of the default Vivado project tree (e.g.mv top_dir/project_name/project_name.srcs/* top_dir/srcs/
) - Rename the project folder to
vivado_project
(e.g.top_dir/project_name/project_name.*
totop_dir/vivado_project/project_name.*
). - Open Vivado and re-add the sources to the project without copying them.
- Run
wproj
to generate the Tcl project script, copy everything minus thevivado_project
folder to another folder and try to source the project script from there. This way you can check if it's correctly regenerating the project.
Tell me if you have any trouble. I may try to add a converter one day.