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
f134c0ca
Commit
f134c0ca
authored
Mar 18, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for Xilinx Vivado using the multi-shell approach
parent
6ea34f4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
xilinx.py
hdlmake/tools/xilinx.py
+6
-7
No files found.
hdlmake/tools/xilinx.py
View file @
f134c0ca
...
...
@@ -34,15 +34,15 @@ class ToolXilinx(ToolSyn):
"""Class providing the interface for Xilinx Vivado synthesis"""
_XILINX_SOURCE
=
(
"add_files -norecurse $
$filename
\n
"
"set_property IS_GLOBAL_INCLUDE 1 [get_files $
$filename
]"
)
_XILINX_SOURCE
=
(
"add_files -norecurse $
(sourcefile);
"
"set_property IS_GLOBAL_INCLUDE 1 [get_files $
(sourcefile)
]"
)
HDL_FILES
=
{
VHDLFile
:
_XILINX_SOURCE
,
VerilogFile
:
_XILINX_SOURCE
,
SVFile
:
_XILINX_SOURCE
}
SUPPORTED_FILES
=
{
TCLFile
:
'source $
$filename
'
}
SUPPORTED_FILES
=
{
TCLFile
:
'source $
(sourcefile)
'
}
CLEAN_TARGETS
=
{
'mrproper'
:
[
"*.bit"
,
"*.bin"
]}
...
...
@@ -53,9 +53,8 @@ reset_run {0}
launch_runs {0}
wait_on_run {0}
set result [get_property STATUS [get_runs {0}]]
set keyword [lindex [split $$result " "] end]
if {{ $$keyword != "Complete!" }} {{
puts "{0} failed"
set keyword [lindex [split '$$'result " "] end]
if {{ '$$'keyword !=
\\
"Complete!
\\
" }} {{
exit 1
}}
$(TCL_CLOSE)'''
...
...
@@ -65,7 +64,7 @@ $(TCL_CLOSE)'''
'close'
:
'exit'
,
'project'
:
'$(TCL_CREATE)
\n
'
'{0}
\n
'
'
$(TCL_FILES)
\n
'
'
source files.tcl
\n
'
'update_compile_order -fileset sources_1
\n
'
'update_compile_order -fileset sim_1
\n
'
'$(TCL_CLOSE)'
,
...
...
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