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
00758840
Commit
00758840
authored
Oct 09, 2014
by
Paweł Szostek
Committed by
Javier D. Garcia-Lasheras
Oct 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix vlog parser to correctly build dependencies on included files
parent
d79227fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
new_dep_solver.py
hdlmake/new_dep_solver.py
+1
-1
vlog_parser.py
hdlmake/vlog_parser.py
+1
-0
No files found.
hdlmake/new_dep_solver.py
View file @
00758840
...
...
@@ -85,6 +85,7 @@ def solve(fileset):
# print('\t' + str(rel))
not_satisfied
=
0
for
investigated_file
in
fset
:
logging
.
debug
(
"Dependency solver investigates
%
s (
%
d relations)"
%
(
investigated_file
,
len
(
investigated_file
.
rels
)))
for
rel
in
investigated_file
.
rels
:
if
rel
.
direction
is
DepRelation
.
PROVIDE
:
# PROVIDE relations dont have to be satisfied
continue
...
...
@@ -92,7 +93,6 @@ def solve(fileset):
continue
if
rel
.
library
()
in
global_mod
.
tool_module
.
ToolControls
()
.
get_standard_libraries
():
# dont care about standard libs
continue
satisfied_by
=
set
()
for
dep_file
in
fset
:
# if dep_file is investigated_file:
...
...
hdlmake/vlog_parser.py
View file @
00758840
...
...
@@ -29,6 +29,7 @@ import sys
import
logging
from
new_dep_solver
import
DepParser
from
dep_file
import
DepRelation
from
srcfile
import
SourceFileFactory
class
VerilogPreprocessor
(
object
):
...
...
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