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
aafedcc5
Commit
aafedcc5
authored
Jan 21, 2012
by
Paweł Szostek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change visibility for 'private' class members
parent
1ff07ff8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
dep_solver.py
src/dep_solver.py
+2
-4
No files found.
src/dep_solver.py
View file @
aafedcc5
...
...
@@ -44,7 +44,7 @@ class IDependable:
if
self
.
_dep_fixed
==
False
:
self
.
__create_deps
()
self
.
_dep_fixed
=
True
return
self
.
__dep_
provid
es
return
self
.
__dep_
requir
es
def
set_dep_requires
(
self
,
what
):
self
.
__dep_requires
=
what
...
...
@@ -129,7 +129,6 @@ class DependencySolver:
import
copy
fset
=
fileset
.
filter
(
IDependable
);
f_nondep
=
[]
done
=
False
...
...
@@ -157,7 +156,6 @@ class DependencySolver:
del
f
f_nondep
.
sort
(
key
=
lambda
f
:
f
.
dep_index
)
from
srcfile
import
VHDLFile
,
VerilogFile
for
f
in
[
file
for
file
in
fset
if
isinstance
(
file
,
VHDLFile
)]:
p
.
vprint
(
f
.
path
)
...
...
@@ -181,7 +179,7 @@ class DependencySolver:
for
req
in
f
.
dep_requires
:
pf
=
self
.
__find_provider_verilog_file
(
req
,
f
)
if
not
pf
:
p
.
rawprint
(
"Cannot
find includ
e for file "
+
str
(
f
)
+
": "
+
req
)
p
.
rawprint
(
"Cannot
depending fil
e for file "
+
str
(
f
)
+
": "
+
req
)
else
:
p
.
vprint
(
"--> "
+
pf
.
path
)
f
.
dep_depends_on
.
append
(
pf
)
...
...
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