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
5685113f
Commit
5685113f
authored
Mar 17, 2016
by
Projects
Committed by
Javier D. Garcia-Lasheras
Mar 17, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not generate circular dependencies for simulated VHDL (NOTE: patch rebased by project manager)
parent
27484cf9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sim_makefile_support.py
hdlmake/tools/common/sim_makefile_support.py
+4
-2
No files found.
hdlmake/tools/common/sim_makefile_support.py
View file @
5685113f
...
...
@@ -68,7 +68,7 @@ class VsimMakefileWriter(MakefileWriter):
self
.
vlog_flags
.
append
(
self
.
__get_rid_of_vsim_incdirs
(
top_module
.
vlog_opt
))
self
.
vcom_flags
.
append
(
top_module
.
vcom_opt
)
self
.
vmap_flags
.
append
(
top_module
.
vmap_opt
)
self
.
vsim_flags
.
append
(
top_module
.
vsim_opt
)
self
.
vsim_flags
.
append
(
top_module
.
vsim_opt
)
tmp
=
"""## variables #############################
PWD := $(shell pwd)
...
...
@@ -173,6 +173,7 @@ sim_post_cmd:
self
.
write
(
"
%
s:
%
s"
%
(
os
.
path
.
join
(
vl
.
library
,
vl
.
purename
,
".
%
s_
%
s"
%
(
vl
.
purename
,
vl
.
extension
())),
vl
.
rel_path
())
)
# list dependencies, do not include the target file
for
dep_file
in
[
dfile
for
dfile
in
vl
.
depends_on
if
dfile
is
not
vl
]:
if
dep_file
in
fileset
:
# the dep_file is compiled -> we depend on marker file
name
=
dep_file
.
purename
...
...
@@ -212,7 +213,8 @@ sim_post_cmd:
self
.
write
(
"
%
s:
%
s"
%
(
os
.
path
.
join
(
lib
,
purename
,
"."
+
purename
+
"_"
+
vhdl
.
extension
()),
vhdl
.
rel_path
())
)
for
dep_file
in
vhdl
.
depends_on
:
# list dependencies, do not include the target file
for
dep_file
in
[
dfile
for
dfile
in
vhdl
.
depends_on
if
dfile
is
not
vhdl
]:
if
dep_file
in
fileset
:
# the dep_file is compiled -> we depend on marker file
name
=
dep_file
.
purename
extension
=
dep_file
.
extension
()
...
...
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