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
80c63529
Commit
80c63529
authored
Mar 18, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the synthesis device parameters from the Makefile
parent
f134c0ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
xilinx.py
hdlmake/tools/xilinx.py
+7
-8
No files found.
hdlmake/tools/xilinx.py
View file @
80c63529
...
...
@@ -34,8 +34,9 @@ class ToolXilinx(ToolSyn):
"""Class providing the interface for Xilinx Vivado synthesis"""
_XILINX_SOURCE
=
(
"add_files -norecurse $(sourcefile); "
"set_property IS_GLOBAL_INCLUDE 1 [get_files $(sourcefile)]"
)
_XILINX_SOURCE
=
(
"add_files -norecurse $(sourcefile); "
"set_property IS_GLOBAL_INCLUDE 1 [get_files $(sourcefile)]"
)
HDL_FILES
=
{
VHDLFile
:
_XILINX_SOURCE
,
...
...
@@ -83,18 +84,16 @@ $(TCL_CLOSE)'''
"""Create a Xilinx synthesis project by TCL"""
prop_val
=
'set_property "{0}" "{1}" [{2}]'
prop_opt
=
'set_property -name {{{0}}} -value {{{1}}} -objects [{2}]'
syn_device
=
self
.
manifest_dict
[
"syn_device"
]
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
.
get
(
"syn_properties"
)
project_new
=
[]
synthesize_new
=
[]
par_new
=
[]
properties
=
[
[
'part'
,
syn_device
+
syn_package
+
syn_grade
,
'current_project'
],
[
'part'
,
'$(SYN_DEVICE)'
+
'$(SYN_PACKAGE)'
+
'$(SYN_GRADE)'
,
'current_project'
],
[
'target_language'
,
'VHDL'
,
'current_project'
],
[
'top'
,
syn_top
,
'get_property srcset [current_run]'
]]
[
'top'
,
'$(TOP_MODULE)'
,
'get_property srcset [current_run]'
]]
fetchto
=
self
.
manifest_dict
.
get
(
"fetchto"
)
if
not
fetchto
is
None
:
properties
.
append
([
'ip_repo_paths'
,
fetchto
,
'current_fileset'
])
...
...
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