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
b43601ce
Commit
b43601ce
authored
Apr 29, 2016
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add work prefix when looking for the relation providing top_module
parent
775fa2c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
new_dep_solver.py
hdlmake/new_dep_solver.py
+2
-1
No files found.
hdlmake/new_dep_solver.py
View file @
b43601ce
...
...
@@ -132,7 +132,8 @@ def make_dependency_set(fileset, top_level_entity):
assert
isinstance
(
fileset
,
SourceFileSet
)
fset
=
fileset
.
filter
(
DepFile
)
# Find the file that provides the named top level entity
top_rel
=
DepRelation
(
top_level_entity
,
DepRelation
.
PROVIDE
,
DepRelation
.
ENTITY
)
# top_rel = DepRelation(top_level_entity,DepRelation.PROVIDE, DepRelation.ENTITY)
top_rel
=
DepRelation
(
"
%
s.
%
s"
%
(
"work"
,
top_level_entity
),
DepRelation
.
PROVIDE
,
DepRelation
.
ENTITY
)
top_file
=
None
for
chk_file
in
fset
:
for
rel
in
chk_file
.
rels
:
...
...
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