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
fe523d2c
Commit
fe523d2c
authored
Aug 01, 2016
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move Action in the class inheritance hierarchy
parent
5b14ef69
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
25 additions
and
17 deletions
+25
-17
action.py
hdlmake/action/action.py
+1
-9
check.py
hdlmake/action/check.py
+2
-1
core.py
hdlmake/action/core.py
+2
-1
qsys_hw_tcl_update.py
hdlmake/action/qsys_hw_tcl_update.py
+2
-1
simulation.py
hdlmake/action/simulation.py
+3
-1
synthesis.py
hdlmake/action/synthesis.py
+3
-1
tree.py
hdlmake/action/tree.py
+3
-1
module_pool.py
hdlmake/module_pool.py
+9
-2
No files found.
hdlmake/action/action.py
View file @
fe523d2c
...
...
@@ -24,15 +24,7 @@
import
sys
import
logging
from
hdlmake.action
import
(
ActionCheck
,
ActionCore
,
ActionTree
,
ActionSimulation
,
ActionSynthesis
,
QsysHwTclUpdate
)
class
Action
(
ActionCheck
,
ActionCore
,
ActionTree
,
ActionSimulation
,
ActionSynthesis
,
QsysHwTclUpdate
):
class
Action
(
object
):
"""This is the base class providing the common Action methods"""
def
_check_all_fetched_or_quit
(
self
):
...
...
hdlmake/action/check.py
View file @
fe523d2c
...
...
@@ -26,8 +26,9 @@ import logging
import
sys
import
re
from
.action
import
Action
class
ActionCheck
(
object
):
class
ActionCheck
(
Action
):
"""Class providing the method to check general properties"""
def
check_manifest
(
self
):
...
...
hdlmake/action/core.py
View file @
fe523d2c
...
...
@@ -31,8 +31,9 @@ import hdlmake.new_dep_solver as dep_solver
from
hdlmake.util
import
path
as
path_mod
from
hdlmake.srcfile
import
VerilogFile
,
VHDLFile
,
NGCFile
from
hdlmake.vlog_parser
import
VerilogPreprocessor
from
.action
import
Action
class
ActionCore
(
object
):
class
ActionCore
(
Action
):
"""Class that contains the methods for core actions"""
def
fetch
(
self
):
...
...
hdlmake/action/qsys_hw_tcl_update.py
View file @
fe523d2c
...
...
@@ -24,8 +24,9 @@ import os
import
shutil
import
logging
from
.action
import
Action
class
QsysHwTclUpdate
(
object
):
class
QsysHwTclUpdate
(
Action
):
def
qsys_hw_tcl_update
(
self
):
file_set
=
self
.
build_file_set
(
self
.
get_top_module
()
.
manifest_dict
[
"syn_top"
])
...
...
hdlmake/action/simulation.py
View file @
fe523d2c
...
...
@@ -33,7 +33,9 @@ from hdlmake.tools import (
ToolIVerilog
,
ToolISim
,
ToolModelsim
,
ToolActiveHDL
,
ToolRiviera
,
ToolGHDL
)
class
ActionSimulation
(
from
.action
import
Action
class
ActionSimulation
(
Action
,
ToolIVerilog
,
ToolISim
,
ToolModelsim
,
ToolActiveHDL
,
ToolRiviera
,
ToolGHDL
):
"""This class contains the simulation specific methods"""
...
...
hdlmake/action/synthesis.py
View file @
fe523d2c
...
...
@@ -34,7 +34,9 @@ from hdlmake.tools import (
ToolISE
,
ToolPlanAhead
,
ToolVivado
,
ToolQuartus
,
ToolDiamond
,
ToolLibero
)
class
ActionSynthesis
(
from
.action
import
Action
class
ActionSynthesis
(
Action
,
ToolISE
,
ToolPlanAhead
,
ToolVivado
,
ToolQuartus
,
ToolDiamond
,
ToolLibero
):
"""Class providing the public synthesis methods for the user"""
...
...
hdlmake/action/tree.py
View file @
fe523d2c
...
...
@@ -25,7 +25,9 @@ from hdlmake.util import path
import
logging
class
ActionTree
(
object
):
from
.action
import
Action
class
ActionTree
(
Action
):
"""Class providing methods to create a graph from pool and to analyze it"""
def
_generate_tree_web
(
self
,
hierarchy
,
top_id
):
...
...
hdlmake/module_pool.py
View file @
fe523d2c
...
...
@@ -34,10 +34,17 @@ from . import new_dep_solver as dep_solver
from
.util
import
path
as
path_mod
from
.
import
fetch
from
.env
import
Env
from
.action
import
Action
from
.action
import
(
ActionCheck
,
ActionCore
,
ActionTree
,
ActionSimulation
,
ActionSynthesis
,
QsysHwTclUpdate
)
class
ModulePool
(
list
,
Action
):
class
ModulePool
(
list
,
ActionCheck
,
ActionCore
,
ActionTree
,
ActionSimulation
,
ActionSynthesis
,
QsysHwTclUpdate
):
"""
The ModulePool class acts as the container for the HDLMake modules that
are progressively being added to the design hierarchy.
...
...
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