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
2
Merge Requests
2
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
6d5d5fc0
Commit
6d5d5fc0
authored
Oct 07, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: use class attribute SUPPORTED_FILES directly.
parent
bf6c6032
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
4 additions
and
11 deletions
+4
-11
diamond.py
hdlmake/tools/diamond.py
+0
-1
icestorm.py
hdlmake/tools/icestorm.py
+0
-1
ise.py
hdlmake/tools/ise.py
+0
-1
libero.py
hdlmake/tools/libero.py
+0
-1
makefile.py
hdlmake/tools/makefile.py
+2
-2
makefilesyn.py
hdlmake/tools/makefilesyn.py
+1
-1
planahead.py
hdlmake/tools/planahead.py
+0
-1
quartus.py
hdlmake/tools/quartus.py
+0
-1
vivado.py
hdlmake/tools/vivado.py
+1
-1
xilinx.py
hdlmake/tools/xilinx.py
+0
-1
No files found.
hdlmake/tools/diamond.py
View file @
6d5d5fc0
...
...
@@ -79,7 +79,6 @@ class ToolDiamond(MakefileSyn):
def
__init__
(
self
):
super
(
ToolDiamond
,
self
)
.
__init__
()
self
.
_supported_files
.
update
(
ToolDiamond
.
SUPPORTED_FILES
)
self
.
_tcl_controls
.
update
(
ToolDiamond
.
TCL_CONTROLS
)
def
_makefile_syn_tcl
(
self
):
...
...
hdlmake/tools/icestorm.py
View file @
6d5d5fc0
...
...
@@ -64,7 +64,6 @@ class ToolIcestorm(MakefileSyn):
def
__init__
(
self
):
super
(
ToolIcestorm
,
self
)
.
__init__
()
self
.
_supported_files
.
update
(
ToolIcestorm
.
SUPPORTED_FILES
)
self
.
_tcl_controls
.
update
(
ToolIcestorm
.
TCL_CONTROLS
)
def
_makefile_syn_top
(
self
):
...
...
hdlmake/tools/ise.py
View file @
6d5d5fc0
...
...
@@ -125,7 +125,6 @@ $(TCL_CLOSE)'''
def
__init__
(
self
):
super
(
ToolISE
,
self
)
.
__init__
()
self
.
_supported_files
.
update
(
ToolISE
.
SUPPORTED_FILES
)
self
.
_tcl_controls
.
update
(
ToolISE
.
TCL_CONTROLS
)
def
_makefile_syn_top
(
self
):
...
...
hdlmake/tools/libero.py
View file @
6d5d5fc0
...
...
@@ -76,7 +76,6 @@ class ToolLibero(MakefileSyn):
def
__init__
(
self
):
super
(
ToolLibero
,
self
)
.
__init__
()
self
.
_supported_files
.
update
(
ToolLibero
.
SUPPORTED_FILES
)
self
.
_tcl_controls
.
update
(
ToolLibero
.
TCL_CONTROLS
)
def
_makefile_syn_tcl
(
self
):
...
...
hdlmake/tools/makefile.py
View file @
6d5d5fc0
...
...
@@ -39,13 +39,13 @@ class ToolMakefile(object):
TOOL_INFO
=
{}
STANDARD_LIBS
=
[]
CLEAN_TARGETS
=
{}
SUPPORTED_FILES
=
{}
def
__init__
(
self
):
super
(
ToolMakefile
,
self
)
.
__init__
()
self
.
_file
=
None
self
.
_initialized
=
False
self
.
_tcl_controls
=
{}
self
.
_supported_files
=
{}
self
.
fileset
=
None
self
.
manifest_dict
=
{}
self
.
_filename
=
"Makefile"
...
...
@@ -64,7 +64,7 @@ class ToolMakefile(object):
def
get_privative_files
(
self
):
"""Get the privative format file types supported by the tool"""
return
self
.
_supported_files
return
self
.
SUPPORTED_FILES
def
makefile_setup
(
self
,
manifest_project_dict
,
fileset
,
filename
=
None
):
"""Set the Makefile configuration"""
...
...
hdlmake/tools/makefilesyn.py
View file @
6d5d5fc0
...
...
@@ -94,7 +94,7 @@ endif""")
fileset_dict
=
{}
sources_list
=
[]
fileset_dict
.
update
(
self
.
HDL_FILES
)
fileset_dict
.
update
(
self
.
_supported_files
)
fileset_dict
.
update
(
self
.
SUPPORTED_FILES
)
for
filetype
in
fileset_dict
:
file_list
=
[]
for
file_aux
in
self
.
fileset
:
...
...
hdlmake/tools/planahead.py
View file @
6d5d5fc0
...
...
@@ -61,5 +61,4 @@ class ToolPlanAhead(ToolXilinx):
def
__init__
(
self
):
super
(
ToolPlanAhead
,
self
)
.
__init__
()
self
.
_supported_files
.
update
(
ToolPlanAhead
.
SUPPORTED_FILES
)
self
.
_tcl_controls
.
update
(
ToolPlanAhead
.
TCL_CONTROLS
)
hdlmake/tools/quartus.py
View file @
6d5d5fc0
...
...
@@ -103,7 +103,6 @@ class ToolQuartus(MakefileSyn):
def
__init__
(
self
):
super
(
ToolQuartus
,
self
)
.
__init__
()
self
.
_supported_files
.
update
(
ToolQuartus
.
SUPPORTED_FILES
)
self
.
_tcl_controls
.
update
(
ToolQuartus
.
TCL_CONTROLS
)
def
_makefile_syn_top
(
self
):
...
...
hdlmake/tools/vivado.py
View file @
6d5d5fc0
...
...
@@ -60,6 +60,7 @@ class ToolVivado(ToolXilinx):
RAMFile
:
ToolXilinx
.
_XILINX_SOURCE
,
VHOFile
:
ToolXilinx
.
_XILINX_SOURCE
,
VEOFile
:
ToolXilinx
.
_XILINX_SOURCE
}
SUPPORTED_FILES
.
update
(
ToolXilinx
.
SUPPORTED_FILES
)
HDL_FILES
=
{
VHDLFile
:
ToolXilinx
.
_XILINX_SOURCE
,
...
...
@@ -81,5 +82,4 @@ class ToolVivado(ToolXilinx):
def
__init__
(
self
):
super
(
ToolVivado
,
self
)
.
__init__
()
self
.
_supported_files
.
update
(
ToolVivado
.
SUPPORTED_FILES
)
self
.
_tcl_controls
.
update
(
ToolVivado
.
TCL_CONTROLS
)
hdlmake/tools/xilinx.py
View file @
6d5d5fc0
...
...
@@ -75,7 +75,6 @@ $(TCL_CLOSE)'''
def
__init__
(
self
):
super
(
ToolXilinx
,
self
)
.
__init__
()
self
.
_supported_files
.
update
(
ToolXilinx
.
SUPPORTED_FILES
)
self
.
_tcl_controls
.
update
(
ToolXilinx
.
TCL_CONTROLS
)
def
_get_properties
(
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