Commit 4e09765b authored by Tristan Gingold's avatar Tristan Gingold

xilinx tools: set library on source files.

From nico
parent a29e6a9f
......@@ -36,7 +36,8 @@ class ToolXilinx(MakefileSyn):
_XILINX_SOURCE = (
"add_files -norecurse {srcfile}; "
"set_property IS_GLOBAL_INCLUDE 1 [get_files {srcfile}]")
"set_property IS_GLOBAL_INCLUDE 1 [get_files {srcfile}]; "
"set_property LIBRARY {library} [get_files {srcfile}]")
HDL_FILES = {
VHDLFile: _XILINX_SOURCE,
......
......@@ -28,7 +28,7 @@ endif
all: bitstream
files.tcl:
echo "add_files -norecurse ../files/gate.vhdl; set_property IS_GLOBAL_INCLUDE 1 [get_files ../files/gate.vhdl]" >> $@
echo "add_files -norecurse ../files/gate.vhdl; set_property IS_GLOBAL_INCLUDE 1 [get_files ../files/gate.vhdl]; set_property LIBRARY work [get_files ../files/gate.vhdl]" >> $@
SYN_PRE_PROJECT_CMD :=
SYN_POST_PROJECT_CMD :=
......
......@@ -28,7 +28,7 @@ endif
all: bitstream
files.tcl:
echo "add_files -norecurse ../files/gate.vhdl; set_property IS_GLOBAL_INCLUDE 1 [get_files ../files/gate.vhdl]" >> $@
echo "add_files -norecurse ../files/gate.vhdl; set_property IS_GLOBAL_INCLUDE 1 [get_files ../files/gate.vhdl]; set_property LIBRARY work [get_files ../files/gate.vhdl]" >> $@
SYN_PRE_PROJECT_CMD :=
SYN_POST_PROJECT_CMD :=
......
......@@ -28,7 +28,7 @@ endif
all: bitstream
files.tcl:
echo "add_files -norecurse ../files/gate.vhdl; set_property IS_GLOBAL_INCLUDE 1 [get_files ../files/gate.vhdl]" >> $@
echo "add_files -norecurse ../files/gate.vhdl; set_property IS_GLOBAL_INCLUDE 1 [get_files ../files/gate.vhdl]; set_property LIBRARY work [get_files ../files/gate.vhdl]" >> $@
SYN_PRE_PROJECT_CMD :=
SYN_POST_PROJECT_CMD :=
......
......@@ -28,7 +28,7 @@ endif
all: bitstream
files.tcl:
echo "add_files -norecurse ../files/gate.vhdl; set_property IS_GLOBAL_INCLUDE 1 [get_files ../files/gate.vhdl]" >> $@
echo "add_files -norecurse ../files/gate.vhdl; set_property IS_GLOBAL_INCLUDE 1 [get_files ../files/gate.vhdl]; set_property LIBRARY work [get_files ../files/gate.vhdl]" >> $@
SYN_PRE_PROJECT_CMD :=
SYN_POST_PROJECT_CMD :=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment