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
f6a02063
Commit
f6a02063
authored
Mar 06, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only add the ip_repo_paths property if the dir list is not empty
parent
c7cc50b5
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 @
f6a02063
...
...
@@ -66,17 +66,18 @@ class ToolXilinx(ToolSyn):
syn_grade
=
self
.
manifest_dict
[
"syn_grade"
]
syn_package
=
self
.
manifest_dict
[
"syn_package"
]
syn_top
=
self
.
manifest_dict
[
"syn_top"
]
syn_properties
=
self
.
manifest_dict
[
"syn_properties"
]
syn_properties
=
self
.
manifest_dict
.
get
(
"syn_properties"
)
create_new
=
[]
create_new
.
append
(
self
.
_tcl_controls
[
"create"
])
synthesize_new
=
[]
par_new
=
[]
repo_string
=
'{'
+
" "
.
join
(
self
.
repo_list
)
+
'}'
properties
=
[
[
'part'
,
syn_device
+
syn_package
+
syn_grade
,
'current_project'
],
[
'target_language'
,
'VHDL'
,
'current_project'
],
[
'ip_repo_paths'
,
repo_string
,
'current_project'
],
[
'top'
,
syn_top
,
'get_property srcset [current_run]'
]]
if
not
self
.
repo_list
==
[]:
repo_string
=
'{'
+
" "
.
join
(
self
.
repo_list
)
+
'}'
properties
.
append
([
'ip_repo_paths'
,
repo_string
,
'current_fileset'
])
if
not
syn_properties
is
None
:
properties
.
extend
(
syn_properties
)
for
prop
in
properties
:
...
...
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