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
7e4c34bd
Commit
7e4c34bd
authored
Jul 31, 2013
by
Paweł Szostek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
env.py: forge ISE path when XILINX is set
parent
a10eb48b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
env.py
src/env.py
+7
-5
No files found.
src/env.py
View file @
7e4c34bd
...
...
@@ -127,7 +127,6 @@ class Env(dict):
else
:
print
(
"quartus can't be found."
)
# determine path for ise
print
(
"
\n
### ISE synthesis ###"
)
xilinx
=
os
.
environ
.
get
(
"XILINX"
)
...
...
@@ -138,10 +137,13 @@ class Env(dict):
print
(
"Environmental variable XILINX is not set."
)
self
.
_report_and_set_hdlmake_var
(
"ise_path"
)
if
self
[
"ise_path"
]
is
not
None
and
self
[
"xilinx"
]
is
not
None
:
print
(
"HDLMAKE_ISE_PATH and XILINX can't be set at a time
\n
"
"Ignoring HDLMAKE_ISE_PATH"
)
self
[
"ise_path"
]
=
self
[
"xilinx"
]
if
self
[
"xilinx"
]
is
not
None
:
if
self
[
"ise_path"
]
is
not
None
:
print
(
"HDLMAKE_ISE_PATH and XILINX can't be set at a time
\n
"
"Ignoring HDLMAKE_ISE_PATH"
)
else
:
pass
self
[
"ise_path"
]
=
os
.
path
.
join
(
self
[
"xilinx"
],
"ISE/bin/lin"
)
if
self
[
"ise_path"
]
is
not
None
:
if
self
.
_check_in_path
(
"ise"
,
self
[
"ise_path"
]):
print
(
"ISE found in HDLMAKE_ISE_PATH:
%
s."
%
self
[
"ise_path"
])
...
...
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