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
378ef626
Commit
378ef626
authored
Aug 09, 2016
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Several code style fixes applied to different files
parent
1538e3ae
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
20 deletions
+8
-20
__main__.py
hdlmake/__main__.py
+5
-5
simulation.py
hdlmake/action/simulation.py
+0
-9
new_dep_solver.py
hdlmake/new_dep_solver.py
+1
-1
iverilog.py
hdlmake/tools/iverilog.py
+1
-5
__init__.py
hdlmake/util/__init__.py
+1
-0
No files found.
hdlmake/__main__.py
View file @
378ef626
...
...
@@ -160,19 +160,19 @@ def _get_parser():
usage
=
usage
,
description
=
description
)
subparsers
=
parser
.
add_subparsers
(
title
=
"commands"
,
dest
=
"command"
)
manifest_help
=
subparsers
.
add_parser
(
subparsers
.
add_parser
(
"manifest-help"
,
help
=
"print manifest file variables description"
)
make_simulation
=
subparsers
.
add_parser
(
subparsers
.
add_parser
(
"make-simulation"
,
help
=
"generate simulation makefile"
)
make_synthesis
=
subparsers
.
add_parser
(
subparsers
.
add_parser
(
"make-synthesis"
,
help
=
"generate synthesis makefile"
)
fetch
=
subparsers
.
add_parser
(
subparsers
.
add_parser
(
"fetch"
,
help
=
"fetch and/or update remote modules listed in Manifest"
)
clean
=
subparsers
.
add_parser
(
subparsers
.
add_parser
(
"clean"
,
help
=
"remove all modules fetched for direct and indirect "
"children of this module"
)
...
...
hdlmake/action/simulation.py
View file @
378ef626
...
...
@@ -66,17 +66,8 @@ class ActionSimulation(Action):
sys
.
exit
(
"Exiting"
)
tool_object
=
tool_dict
[
tool_name
]
tool_info
=
tool_object
.
TOOL_INFO
if
sys
.
platform
==
'cygwin'
:
bin_name
=
tool_info
[
'windows_bin'
]
else
:
bin_name
=
tool_info
[
'linux_bin'
]
path_key
=
tool_info
[
'id'
]
+
'_path'
name
=
tool_info
[
'name'
]
self
.
env
.
check_tool
(
tool_object
)
if
self
.
env
[
path_key
]
is
None
and
self
.
env
.
options
.
force
is
not
True
:
logging
.
error
(
"Can't generate a "
+
name
+
" makefile. "
+
bin_name
+
" not found."
)
sys
.
exit
(
"Exiting"
)
logging
.
info
(
"Generating "
+
name
+
" makefile for simulation."
)
top_module
=
self
.
get_top_module
()
fset
=
self
.
build_file_set
(
top_module
.
manifest_dict
[
"sim_top"
],
...
...
hdlmake/new_dep_solver.py
View file @
378ef626
...
...
@@ -38,7 +38,7 @@ class DepParser(object):
def
parse
(
self
,
dep_file
):
"""Base dummy interface method for the HDL parse execution"""
raise
pass
def
solve
(
fileset
,
standard_libs
=
None
):
"""Function that Parses and Solves the provided HDL fileset. Note
...
...
hdlmake/tools/iverilog.py
View file @
378ef626
...
...
@@ -39,11 +39,7 @@ class ToolIVerilog(ToolSim):
'windows_bin'
:
'iverilog'
,
'linux_bin'
:
'iverilog'
}
STANDARD_LIBS
=
[
'std'
,
'ieee'
,
'ieee_proposed'
,
'vl'
,
'synopsys'
,
'simprim'
,
'unisim'
,
'unimacro'
,
'aim'
,
'cpld'
,
'pls'
,
'xilinxcorelib'
,
'aim_ver'
,
'cpld_ver'
,
'simprims_ver'
,
'unisims_ver'
,
'uni9000_ver'
,
'unimacro_ver'
,
'xilinxcorelib_ver'
,
'secureip'
]
STANDARD_LIBS
=
[
'std'
,
'ieee'
,
'ieee_proposed'
,
'vl'
,
'synopsys'
]
HDL_FILES
=
[
VerilogFile
,
VHDLFile
,
SVFile
]
...
...
hdlmake/util/__init__.py
View file @
378ef626
"""This package provides common utils... but not used ad package yet!"""
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