Commit 00758840 authored by Pawel Szostek's avatar Pawel Szostek Committed by Javier D. Garcia Lasheras

fix vlog parser to correctly build dependencies on included files

parent d79227fe
......@@ -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
......@@ -92,7 +93,6 @@ def solve(fileset):
if rel.library() in global_mod.tool_module.ToolControls().get_standard_libraries(): # dont care about standard libs
satisfied_by = set()
for dep_file in fset:
# if dep_file is investigated_file:
......@@ -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):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment