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
af6ace83
Commit
af6ace83
authored
May 20, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert Quartus postmodule, preflow and postflow script paths to a TCL friendly format
parent
6a677d55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
quartus.py
hdlmake/tools/quartus.py
+6
-6
No files found.
hdlmake/tools/quartus.py
View file @
af6ace83
...
...
@@ -197,8 +197,8 @@ class ToolQuartus(ToolSyn):
'name'
:
'
\\
"$(TOP_MODULE)
\\
"'
}))
# Insert the Quartus standard control TCL files
if
"quartus_preflow"
in
self
.
manifest_dict
:
path
=
path_mod
.
compose
(
self
.
manifest_dict
[
"quartus_preflow"
],
os
.
getcwd
())
path
=
path_mod
.
tclpath
(
path_mod
.
compose
(
self
.
manifest_dict
[
"quartus_preflow"
],
os
.
getcwd
())
)
if
not
os
.
path
.
exists
(
path
):
logging
.
error
(
"quartus_preflow file listed in "
+
os
.
getcwd
()
+
" doesn't exist: "
...
...
@@ -209,9 +209,9 @@ class ToolQuartus(ToolSyn):
{
'name_type'
:
'PRE_FLOW_SCRIPT_FILE'
,
'name'
:
preflow
}))
if
"quartus_postmodule"
in
self
.
manifest_dict
:
path
=
path_mod
.
compose
(
path
=
path_mod
.
tclpath
(
path_mod
.
compose
(
self
.
manifest_dict
[
"quartus_postmodule"
],
os
.
getcwd
())
os
.
getcwd
())
)
if
not
os
.
path
.
exists
(
path
):
logging
.
error
(
"quartus_postmodule file listed in "
+
os
.
getcwd
()
+
" doesn't exist: "
...
...
@@ -222,8 +222,8 @@ class ToolQuartus(ToolSyn):
{
'name_type'
:
'POST_MODULE_SCRIPT_FILE'
,
'name'
:
postmodule
}))
if
"quartus_postflow"
in
self
.
manifest_dict
:
path
=
path_mod
.
compose
(
self
.
manifest_dict
[
"quartus_postflow"
],
os
.
getcwd
())
path
=
path_mod
.
tclpath
(
path_mod
.
compose
(
self
.
manifest_dict
[
"quartus_postflow"
],
os
.
getcwd
())
)
if
not
os
.
path
.
exists
(
path
):
logging
.
error
(
"quartus_postflow file listed in "
+
os
.
getcwd
()
+
" doesn't exist: "
...
...
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