Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
879eca7f
Commit
879eca7f
authored
Nov 17, 2016
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hack a known Vivado issue by using IS_GLOBAL_INCLUDE
parent
6255c9ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
xilinx.py
hdlmake/tools/xilinx.py
+4
-3
No files found.
hdlmake/tools/xilinx.py
View file @
879eca7f
...
...
@@ -80,12 +80,13 @@ class ToolXilinx(ToolSyn):
self
.
writeln
(
"define TCL_FILES"
)
tmp
=
"add_files -norecurse {0}"
tcl
=
"source {0}"
hack
=
"set_property IS_GLOBAL_INCLUDE 1 [get_files {0}]"
for
file_aux
in
self
.
fileset
:
if
isinstance
(
file_aux
,
TCLFile
):
line
=
tcl
.
format
(
file_aux
.
rel_path
(
))
self
.
writeln
(
tcl
.
format
(
file_aux
.
rel_path
()
))
else
:
line
=
tmp
.
format
(
file_aux
.
rel_path
(
))
self
.
writeln
(
line
)
self
.
writeln
(
tmp
.
format
(
file_aux
.
rel_path
()
))
self
.
writeln
(
hack
.
format
(
file_aux
.
rel_path
())
)
self
.
writeln
(
'update_compile_order -fileset sources_1'
)
self
.
writeln
(
'update_compile_order -fileset sim_1'
)
self
.
writeln
(
"endef"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment