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
5ae64076
Commit
5ae64076
authored
Feb 07, 2015
by
Garcia-Lasheras
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'syn-external-commands' into develop
parents
136a9380
e9dcbfd4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
19 deletions
+31
-19
diamond.py
hdlmake/tools/diamond/diamond.py
+5
-3
ise.py
hdlmake/tools/ise/ise.py
+7
-5
libero.py
hdlmake/tools/libero/libero.py
+5
-3
planahead.py
hdlmake/tools/planahead/planahead.py
+5
-3
quartus.py
hdlmake/tools/quartus/quartus.py
+5
-3
vivado.py
hdlmake/tools/vivado/vivado.py
+4
-2
No files found.
hdlmake/tools/diamond/diamond.py
View file @
5ae64076
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2013
, 2014
CERN
# Copyright (c) 2013
- 2015
CERN
# Author: Pawel Szostek (pawel.szostek@cern.ch)
# Multi-tool support by Javier D. Garcia-Lasheras (javier@garcialasheras.com)
#
...
...
@@ -61,7 +61,9 @@ $$(PROJECT)1.sty \
run.tcl
#target for performing local synthesis
local: syn_pre_cmd check_tool
local: syn_pre_cmd check_tool synthesis syn_post_cmd
synthesis:
\t\t
echo "prj_project open
\"
$$(PROJECT).ldf
\"
" > run.tcl
\t\t
echo "prj_run PAR -impl $$(PROJECT)" >> run.tcl
\t\t
echo "prj_run Export -impl $$(PROJECT) -task Bitgen" >> run.tcl
...
...
@@ -72,7 +74,7 @@ local: syn_pre_cmd check_tool
check_tool:
\t\t
${check_tool}
syn_post_cmd:
local
syn_post_cmd:
\t\t
${syn_post_cmd}
syn_pre_cmd:
...
...
hdlmake/tools/ise/ise.py
View file @
5ae64076
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2013
, 2014
CERN
# Copyright (c) 2013
- 2015
CERN
# Author: Pawel Szostek (pawel.szostek@cern.ch)
# Multi-tool support by Javier D. Garcia-Lasheras (javier@garcialasheras.com)
#
...
...
@@ -235,7 +235,9 @@ webtalk_pn.xml \
run.tcl
#target for performing local synthesis
local: syn_pre_cmd check_tool
local: syn_pre_cmd check_tool synthesis syn_post_cmd
synthesis:
\t\t
echo "project open $$(PROJECT)" > run.tcl
\t\t
echo "process run {Synthesize - XST}" >> run.tcl
\t\t
echo "process run {Translate}" >> run.tcl
...
...
@@ -247,13 +249,13 @@ local: syn_pre_cmd check_tool
check_tool:
\t\t
${check_tool}
syn_post_cmd:
local
syn_post_cmd:
\t\t
${syn_post_cmd}
syn_pre_cmd:
\t\t
${syn_pre_cmd}
#target for cleaing all intermediate stuff
#target for clea
n
ing all intermediate stuff
clean:
\t\t
rm -f $$(ISE_CRAP)
\t\t
rm -rf xst xlnx_auto_*_xdb iseconfig _xmsgs _ngo
...
...
@@ -262,7 +264,7 @@ clean:
mrproper:
\t\t
rm -f *.bit *.bin *.mcs
.PHONY: mrproper clean syn_pre_
scipt syn_post_cmd
local check_tool
.PHONY: mrproper clean syn_pre_
cmd syn_post_cmd synthesis
local check_tool
"""
)
if
top_mod
.
syn_pre_cmd
:
...
...
hdlmake/tools/libero/libero.py
View file @
5ae64076
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2013
, 2014
CERN
# Copyright (c) 2013
- 2015
CERN
# Author: Pawel Szostek (pawel.szostek@cern.ch)
# Multi-tool support by Javier D. Garcia-Lasheras (javier@garcialasheras.com)
#
...
...
@@ -61,7 +61,9 @@ LIBERO_CRAP := \
run.tcl
#target for performing local synthesis
local: syn_pre_cmd check_tool
local: syn_pre_cmd check_tool synthesis syn_post_cmd
synthesis:
\t\t
echo "open_project -file {$$(PROJECT)/$$(PROJECT).prjx}" > run.tcl
\t\t
echo "update_and_run_tool -name {GENERATEPROGRAMMINGDATA}" >> run.tcl
\t\t
echo "save_project" >> run.tcl
...
...
@@ -72,7 +74,7 @@ local: syn_pre_cmd check_tool
check_tool:
\t\t
${check_tool}
syn_post_cmd:
local
syn_post_cmd:
\t\t
${syn_post_cmd}
syn_pre_cmd:
...
...
hdlmake/tools/planahead/planahead.py
View file @
5ae64076
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2013
, 2014
CERN
# Copyright (c) 2013
- 2015
CERN
# Author: Pawel Szostek (pawel.szostek@cern.ch)
# Multi-tool support by Javier D. Garcia-Lasheras (javier@garcialasheras.com)
#
...
...
@@ -64,7 +64,9 @@ planAhead.* \
run.tcl
#target for performing local synthesis
local: syn_pre_cmd check_tool
local: syn_pre_cmd check_tool synthesis syn_post_cmd
synthesis:
\t\t
echo "open_project $$(PROJECT).ppr" > run.tcl
\t\t
echo "reset_run synth_1" >> run.tcl
\t\t
echo "reset_run impl_1" >> run.tcl
...
...
@@ -81,7 +83,7 @@ local: syn_pre_cmd check_tool
check_tool:
\t\t
${check_tool}
syn_post_cmd:
local
syn_post_cmd:
\t\t
${syn_post_cmd}
syn_pre_cmd:
...
...
hdlmake/tools/quartus/quartus.py
View file @
5ae64076
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2013
, 2014
CERN
# Copyright (c) 2013
- 2015
CERN
# Author: Pawel Szostek (pawel.szostek@cern.ch)
# Multi-tool support by Javier D. Garcia-Lasheras (javier@garcialasheras.com)
#
...
...
@@ -73,7 +73,9 @@ $$(PROJECT).sta.summary \
run.tcl
#target for performing local synthesis
local: syn_pre_cmd check_tool
local: syn_pre_cmd check_tool synthesis syn_post_cmd
synthesis:
\t\t
echo "load_package flow" > run.tcl
\t\t
echo "project_open $$(PROJECT)" >> run.tcl
\t\t
echo "execute_flow -compile" >> run.tcl
...
...
@@ -82,7 +84,7 @@ local: syn_pre_cmd check_tool
check_tool:
\t\t
${check_tool}
syn_post_cmd:
local
syn_post_cmd:
\t\t
${syn_post_cmd}
syn_pre_cmd:
...
...
hdlmake/tools/vivado/vivado.py
View file @
5ae64076
...
...
@@ -62,7 +62,9 @@ VIVADO_CRAP := \
run.tcl
#target for performing local synthesis
local: syn_pre_cmd check_tool
local: syn_pre_cmd check_tool synthesis syn_post_cmd
synthesis:
\t\t
echo "open_project $$(PROJECT).xpr" > run.tcl
\t\t
echo "reset_run synth_1" >> run.tcl
\t\t
echo "reset_run impl_1" >> run.tcl
...
...
@@ -79,7 +81,7 @@ local: syn_pre_cmd check_tool
check_tool:
\t\t
${check_tool}
syn_post_cmd:
local
syn_post_cmd:
\t\t
${syn_post_cmd}
syn_pre_cmd:
...
...
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