Commit 01411df9 authored by Will Kamp's avatar Will Kamp

When listing files use top_module from the Manifest, overwite with --top argument.

parent e8c1f12c
......@@ -78,7 +78,7 @@ class Action(list):
action = self.config.get("action")
if action == None:
self.tool = None
self.top_entity = None
self.top_entity = self.config["top_module"]
elif action == "simulation":
self.tool = load_sim_tool(self.config.get("sim_tool"))
if (self.config.get("sim_top") == None and
......
......@@ -149,7 +149,8 @@ class ActionCore(Action):
for mod_aux in unfetched_modules:
logging.warning(
"List incomplete, module %s has not been fetched!", mod_aux)
self.top_entity = self.options.top
if self.options.top != None:
self.top_entity = self.options.top
self.build_file_set()
self.solve_file_set()
file_list = dep_solver.make_dependency_sorted_list(
......
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