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
c3d259de
Commit
c3d259de
authored
Mar 12, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor Quartus so that it supports the new project stage
parent
600dc408
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
quartus.py
hdlmake/tools/quartus.py
+8
-11
No files found.
hdlmake/tools/quartus.py
View file @
c3d259de
...
...
@@ -60,17 +60,14 @@ class ToolQuartus(ToolSyn):
'mrproper'
:
[
"*.sof"
,
"*.pof"
,
"*.jam"
,
"*.jbc"
,
"*.ekp"
,
"*.jic"
]}
TCL_CONTROLS
=
{
'create'
:
'load_package flow
\
\
n'
TCL_CONTROLS
=
{
'create'
:
'load_package flow
\n
'
'project_new $(PROJECT)'
,
'open'
:
'load_package flow
\
\
n'
'open'
:
'load_package flow
\n
'
'project_open $(PROJECT)'
,
'save'
:
''
,
'close'
:
''
,
'synthesize'
:
''
,
'translate'
:
''
,
'map'
:
''
,
'par'
:
''
,
'bitstream'
:
'execute_flow -compile'
,
'project'
:
'$(TCL_CREATE)
\n
'
'$(TCL_FILES)'
,
'bitstream'
:
'$(TCL_OPEN)
\n
'
'execute_flow -compile'
,
'install_source'
:
''
}
SET_GLOBAL_INSTANCE
=
0
...
...
@@ -154,7 +151,7 @@ class ToolQuartus(ToolSyn):
self
.
manifest_dict
[
"syn_package"
]
+
self
.
manifest_dict
[
"syn_grade"
])
.
upper
()
command_list
=
[]
command_list
.
append
(
self
.
_tcl_controls
[
"
create
"
])
command_list
.
append
(
self
.
_tcl_controls
[
"
project
"
])
command_list
.
append
(
_emit_property
(
self
.
SET_GLOBAL_ASSIGNMENT
,
name_type
=
'FAMILY'
,
...
...
@@ -205,7 +202,7 @@ class ToolQuartus(ToolSyn):
command_list
.
append
(
_emit_property
(
self
.
SET_GLOBAL_ASSIGNMENT
,
name_type
=
'POST_FLOW_SCRIPT_FILE'
,
name
=
postflow
))
self
.
_tcl_controls
[
"
create
"
]
=
'
\n
'
.
join
(
command_list
)
self
.
_tcl_controls
[
"
project
"
]
=
'
\n
'
.
join
(
command_list
)
super
(
ToolQuartus
,
self
)
.
makefile_syn_tcl
()
def
makefile_syn_files
(
self
):
...
...
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