diff --git a/scripts/synthesis/get_rtl.py b/scripts/synthesis/get_rtl.py index 78b44a3..728956f 100755 --- a/scripts/synthesis/get_rtl.py +++ b/scripts/synthesis/get_rtl.py @@ -86,7 +86,7 @@ def find_modules(): -import_regex = re.compile(r'^(\s*)import (\S+)::.*', re.MULTILINE) +import_regex = re.compile(r'^([ \t]*)import (\S+)::.*', re.MULTILINE) include_regex = re.compile(r'^`include "(\S+)\.(\S+)"', re.MULTILINE) def parse_file_for_dependences(filepath):