cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
waid75
Visitor
Visitor
7,851 Views
Registered: ‎05-04-2016

How to move a source file from a project to a folder outside of the vivado file structure?

Jump to solution

I have a vivado 2013.4 project and I have used the default file location for all of my HDL and IP.  I need to restructure my project to line up with other projects that place all sources in specific folders and not those defaulted to by vivado.  If browse to the source files and move them, vivado is upset that the sources are gone but I can't figure out how to tell it where they have moved to.  It would be nice if it were as simple as when you move an MP3 and your player needs an update to the file location.  The right click replace file feature is not selectable (dimmed out) when the file is moved.

 

Thanks

1 Solution

Accepted Solutions
tanders
Xilinx Employee
Xilinx Employee
12,475 Views
Registered: ‎03-31-2011

First off, I'd archive the project before you change things around, so you have a known local source working copy.

 

After this:

1. remove all of the sources from the project, don't delete them from disk

2. Move the sources to where you want them.

3. Add the sources back in via Add Sources, and make sure the "copy sources into project" options is not selected/checked.

4. you should be set.

 

If you wanted to use the replace source, you'd need to copy the sources instead of moving them, so you still have a valid source to perform the change on, but this could get messy.

View solution in original post

0 Kudos
3 Replies
tanders
Xilinx Employee
Xilinx Employee
12,476 Views
Registered: ‎03-31-2011

First off, I'd archive the project before you change things around, so you have a known local source working copy.

 

After this:

1. remove all of the sources from the project, don't delete them from disk

2. Move the sources to where you want them.

3. Add the sources back in via Add Sources, and make sure the "copy sources into project" options is not selected/checked.

4. you should be set.

 

If you wanted to use the replace source, you'd need to copy the sources instead of moving them, so you still have a valid source to perform the change on, but this could get messy.

View solution in original post

0 Kudos
waid75
Visitor
Visitor
7,841 Views
Registered: ‎05-04-2016

Great thanks.  So all the configuration of the IP will remain in tact or will I have to reconfigure those parts.

0 Kudos
mloutris
Visitor
Visitor
2,440 Views
Registered: ‎11-21-2018

I am using Vivado 2018.2 and I cannot find the 'Add Sources' option. Can someone please explain how to access it?

0 Kudos