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
b3d2e969
Commit
b3d2e969
authored
May 24, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaning superfluous Modelsim-like stuff from generic Module
parent
bbb13c08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
module.py
hdlmake/module/module.py
+0
-24
No files found.
hdlmake/module/module.py
View file @
b3d2e969
...
...
@@ -90,30 +90,6 @@ class Module(ModuleContent):
"""
logging
.
debug
(
"Process manifest at: "
+
os
.
path
.
dirname
(
self
.
path
))
super
(
Module
,
self
)
.
process_manifest
()
self
.
_set_simulation_options
()
def
_set_simulation_options
(
self
):
"""This set the simulation option for all the files in the Module."""
from
hdlmake.srcfile
import
VerilogFile
,
VHDLFile
,
SVFile
include_dirs_list
=
self
.
get_include_dirs_list
()
for
file_aux
in
self
.
files
:
if
isinstance
(
file_aux
,
VerilogFile
):
if
"vsim_opt"
in
self
.
manifest_dict
:
file_aux
.
vsim_opt
=
self
.
manifest_dict
[
"vsim_opt"
]
else
:
file_aux
.
vsim_opt
=
''
file_aux
.
include_dirs
=
include_dirs_list
elif
isinstance
(
file_aux
,
SVFile
):
if
"vsim_opt"
in
self
.
manifest_dict
:
file_aux
.
vsim_opt
=
self
.
manifest_dict
[
"vsim_opt"
]
else
:
file_aux
.
vsim_opt
=
''
file_aux
.
include_dirs
=
include_dirs_list
elif
isinstance
(
file_aux
,
VHDLFile
):
if
"vcom_opt"
in
self
.
manifest_dict
:
file_aux
.
vcom_opt
=
self
.
manifest_dict
[
"vcom_opt"
]
else
:
file_aux
.
vcom_opt
=
''
def
get_include_dirs_list
(
self
):
"""Private method that processes the included directory list"""
...
...
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