UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Reply

add same file in two different library like work and another xyz lib

Highlighted
Visitor
Posts: 9
Registered: ‎04-16-2018

add same file in two different library like work and another xyz lib

i want to add same vhdl/verilog library file in two different libraries in vivado synthesys using add_files XDC tcl command

Scholar
Posts: 1,120
Registered: ‎02-24-2014

Re: add same file in two different library like work and another xyz lib

Vivado doesn't seem to support this from the gui.   but I was able to use TCL to "force" a list as the library property..  I would be very careful with this, because it MAY NOT WORK, and MAY BREAK THE COMPILE.

 

set_property library [list library1 library2 library3 ] [get_files  foo.vhd]

 

But I should remind you..  work is not a "real" library...  just the local working set.  

 

Be careful with this, and please report if this actually works.

 

Don't forget to close a thread when possible by accepting a post as a solution.
Voyager
Posts: 269
Registered: ‎08-01-2012

Re: add same file in two different library like work and another xyz lib

Although this should be possible from a VHDL perspective, the main question is why?

Why not just have the entity in one library and have it called from another file using the original library?

Newbie
Posts: 4
Registered: ‎05-04-2018

Re: add same file in two different library like work and another xyz lib

it is for keeping separate libraries for simulation and synthesis.

Newbie
Posts: 4
Registered: ‎05-04-2018

Re: add same file in two different library like work and another xyz lib

it is not working...

it i set to 2nd library, it is deleting from 1st one...