rm wrong assertion

This commit is contained in:
joey0320
2023-04-17 10:05:30 -07:00
parent bb6f8be801
commit 04f4260901

View File

@@ -75,7 +75,6 @@ def dfs_update_modules(tree, common_fnames, visited, top_fnames, updated_modules
# has some child to update, but new_file wasn't generated
if (new_file is None) and len(childs_to_update) > 0:
new_file = os.path.join(args.gcpath, cur_file)
assert(cur_file not in top_fnames)
for submodule_name in childs_to_update:
if (submodule_name + ".sv") in common_fnames: