diff --git a/scripts/synthesis/get_rtl.py b/scripts/synthesis/get_rtl.py index e6fb8a0..78b44a3 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'^import (\S+)::.*', re.MULTILINE) +import_regex = re.compile(r'^(\s*)import (\S+)::.*', re.MULTILINE) include_regex = re.compile(r'^`include "(\S+)\.(\S+)"', re.MULTILINE) def parse_file_for_dependences(filepath):