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
a02f00dc
Commit
a02f00dc
authored
Aug 26, 2016
by
Piotr Miedzik
Committed by
Javier D. Garcia-Lasheras
Aug 26, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tag support to Quartus
parent
b65b0cf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
quartus.py
hdlmake/tools/quartus.py
+10
-6
No files found.
hdlmake/tools/quartus.py
View file @
a02f00dc
...
...
@@ -42,8 +42,8 @@ class ToolQuartus(ToolSyn):
TOOL_INFO
=
{
'name'
:
'Quartus'
,
'id'
:
'quartus'
,
'windows_bin'
:
'quartus
-t
'
,
'linux_bin'
:
'quartus
-t
'
,
'windows_bin'
:
'quartus'
,
'linux_bin'
:
'quartus'
,
'project_ext'
:
'qsf'
}
STANDARD_LIBS
=
[
'altera'
,
'altera_mf'
,
'lpm'
,
'ieee'
,
'std'
]
...
...
@@ -59,9 +59,9 @@ class ToolQuartus(ToolSyn):
'mrproper'
:
[
"*.sof"
,
"*.pof"
,
"*.jam"
,
"*.jbc"
,
"*.ekp"
,
"*.jic"
,
"*.qsf"
,
"*.qpf"
]}
TCL_CONTROLS
=
{
'create'
:
'load_package flow
\\
n'
TCL_CONTROLS
=
{
'create'
:
'
-t
load_package flow
\\
n'
'project_new $(PROJECT)'
,
'open'
:
'load_package flow
\\
n'
'open'
:
'
-t
load_package flow
\\
n'
'project_open $(PROJECT)'
,
'save'
:
''
,
'close'
:
''
,
...
...
@@ -69,7 +69,7 @@ class ToolQuartus(ToolSyn):
'translate'
:
''
,
'map'
:
''
,
'par'
:
''
,
'bitstream'
:
'execute_flow -compile'
,
'bitstream'
:
'
-t
execute_flow -compile'
,
'install_source'
:
''
}
SET_GLOBAL_INSTANCE
=
0
...
...
@@ -96,7 +96,7 @@ class ToolQuartus(ToolSyn):
import
re
def
_emit_property
(
command
,
what
=
None
,
name
=
None
,
name_type
=
None
,
from_
=
None
,
to_
=
None
,
section_id
=
None
):
from_
=
None
,
to_
=
None
,
section_id
=
None
,
tag_
=
None
):
"""Emit a formated property for Altera Quartus TCL"""
words
=
[]
words
.
append
(
dict
([(
b
,
a
)
for
a
,
b
in
...
...
@@ -110,6 +110,9 @@ class ToolQuartus(ToolSyn):
if
from_
is
not
None
:
words
.
append
(
"-from"
)
words
.
append
(
from_
)
if
tag_
is
not
None
:
words
.
append
(
"-tag"
)
words
.
append
(
to_
)
if
to_
is
not
None
:
words
.
append
(
"-to"
)
words
.
append
(
to_
)
...
...
@@ -126,6 +129,7 @@ class ToolQuartus(ToolSyn):
"^EP3C.*$"
:
"Cyclone III"
,
"^EP4CE.*$"
:
"Cyclone IV E"
,
"^EP4CGX.*$"
:
"Cyclone IV GX"
,
"^5A.*$"
:
"Arria V"
,
"^5S.*$"
:
"Stratix V"
}
if
family
is
None
:
for
key
in
family_names
:
...
...
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