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
ffa53083
Commit
ffa53083
authored
Apr 10, 2014
by
Pawel Szostek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement --force switch handling
parent
1ea61641
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
17 deletions
+14
-17
ise_makefile.py
hdlmake/action/ise_makefile.py
+4
-2
ise_project.py
hdlmake/action/ise_project.py
+10
-15
No files found.
hdlmake/action/ise_makefile.py
View file @
ffa53083
...
...
@@ -31,8 +31,10 @@ class GenerateISEMakefile(Action):
def
run
(
self
):
logging
.
info
(
"Generating makefile for local synthesis."
)
ise_path
=
global_mod
.
env
[
"ise_path"
]
if
global_mod
.
env
[
"ise_path"
]:
ise_path
=
global_mod
.
env
[
"ise_path"
]
else
:
ise_path
=
""
global_mod
.
makefile_writer
.
generate_ise_makefile
(
top_mod
=
self
.
modules_pool
.
get_top_module
(),
ise_path
=
ise_path
)
...
...
hdlmake/action/ise_project.py
View file @
ffa53083
...
...
@@ -41,21 +41,16 @@ class GenerateISEProject(Action):
def
_check_env
(
self
):
env
=
self
.
env
if
self
.
env
[
"ise_path"
]
is
None
:
logging
.
error
(
"Can't generate an ISE project. ISE not found."
)
quit
()
else
:
if
not
env
[
"ise_version"
]:
logging
.
error
(
"Xilinx version cannot be deduced. Cannot generate ISE "
"project file properly. Please use syn_ise_version in the manifest "
"or set"
)
sys
.
exit
(
"Exiting"
)
else
:
logging
.
info
(
"Generating project for ISE v.
%
s"
%
env
[
"ise_version"
])
def
_to_bcd
(
self
,
integer
):
assert
integer
>=
0
and
integer
<=
0
if
not
self
.
options
.
force
:
if
self
.
env
[
"ise_path"
]
is
None
:
logging
.
error
(
"Can't generate an ISE project. ISE not found."
)
quit
()
if
not
env
[
"ise_version"
]:
logging
.
error
(
"Xilinx version cannot be deduced. Cannot generate ISE "
"project file properly. Please use syn_ise_version in the manifest "
"or set"
)
sys
.
exit
(
"Exiting"
)
logging
.
info
(
"Generating project for ISE v.
%
s"
%
env
[
"ise_version"
])
def
run
(
self
):
self
.
_check_all_fetched_or_quit
()
...
...
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