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
b0b3990a
Commit
b0b3990a
authored
Feb 14, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing hierarchical support for Icarus Verilog
parent
ceac87ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
iverilog.py
hdlmake/tools/iverilog.py
+2
-7
No files found.
hdlmake/tools/iverilog.py
View file @
b0b3990a
...
...
@@ -71,19 +71,14 @@ class ToolIVerilog(ToolSim):
self
.
writeln
(
"
\t\t
echo
\"
# IVerilog command file,"
" generated by HDLMake
\"
> run.command"
)
self
.
writeln
()
top_module
=
self
.
top_module
for
inc
in
top_module
.
get_include_dirs_list
():
for
inc
in
self
.
manifest_dict
.
get
(
"include_dirs"
,
[]):
self
.
writeln
(
"
\t\t
echo
\"
+incdir+"
+
inc
+
"
\"
>> run.command"
)
self
.
writeln
(
'
\n
'
)
self
.
makefile_sim_dep_files
()
def
makefile_sim_options
(
self
):
"""Print the IVerilog options to the Makefile"""
top_module
=
self
.
top_module
if
top_module
.
manifest_dict
[
"iverilog_opt"
]:
iverilog_opt
=
top_module
.
manifest_dict
[
"iverilog_opt"
]
else
:
iverilog_opt
=
''
iverilog_opt
=
self
.
manifest_dict
.
get
(
"iverilog_opt"
,
''
)
iverilog_string
=
string
.
Template
(
"""IVERILOG_OPT := ${iverilog_opt}
\n
"""
)
self
.
writeln
(
iverilog_string
.
substitute
(
...
...
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