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
c48ebd94
Commit
c48ebd94
authored
May 21, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move Quartus flow scripts from project.tcl to the files.tcl preamble
parent
8b02d04c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
quartus.py
hdlmake/tools/quartus.py
+7
-2
No files found.
hdlmake/tools/quartus.py
View file @
c48ebd94
...
...
@@ -195,7 +195,12 @@ class ToolQuartus(ToolSyn):
self
.
SET_GLOBAL_ASSIGNMENT
,
{
'name_type'
:
'TOP_LEVEL_ENTITY'
,
'name'
:
'
\\
"$(TOP_MODULE)
\\
"'
}))
self
.
_tcl_controls
[
"project"
]
=
'
\n
'
.
join
(
command_list
)
super
(
ToolQuartus
,
self
)
.
makefile_syn_tcl
()
def
makefile_syn_files
(
self
):
# Insert the Quartus standard control TCL files
command_list
=
[]
if
"quartus_preflow"
in
self
.
manifest_dict
:
path
=
path_mod
.
tclpath
(
path_mod
.
compose
(
self
.
manifest_dict
[
"quartus_preflow"
],
os
.
getcwd
()))
...
...
@@ -233,5 +238,5 @@ class ToolQuartus(ToolSyn):
command_list
.
append
(
self
.
_emit_property
(
self
.
SET_GLOBAL_ASSIGNMENT
,
{
'name_type'
:
'POST_FLOW_SCRIPT_FILE'
,
'name'
:
postflow
}))
self
.
_tcl_controls
[
"
project
"
]
=
'
\n
'
.
join
(
command_list
)
super
(
ToolQuartus
,
self
)
.
makefile_syn_
tcl
()
self
.
_tcl_controls
[
"
files
"
]
=
'
\n
'
.
join
(
command_list
)
super
(
ToolQuartus
,
self
)
.
makefile_syn_
files
()
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