aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-03-03 10:05:37 +0100
committerClifford Wolf <clifford@clifford.at>2013-03-03 10:05:37 +0100
commit4fcb9a7b9907cd0242ce6f9c4a3855ba20ca9017 (patch)
tree3b15a9e704ca03e5bb0aceb306f4fe1c12dd61e5 /passes
parent5bed90ae3a83c6ff456607e1b5541308ce9bcab9 (diff)
downloadyosys-4fcb9a7b9907cd0242ce6f9c4a3855ba20ca9017.tar.gz
yosys-4fcb9a7b9907cd0242ce6f9c4a3855ba20ca9017.tar.bz2
yosys-4fcb9a7b9907cd0242ce6f9c4a3855ba20ca9017.zip
Implemented general handler for selection arguments
Diffstat (limited to 'passes')
-rw-r--r--passes/hierarchy/hierarchy.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/passes/hierarchy/hierarchy.cc b/passes/hierarchy/hierarchy.cc
index 9ba1594df..e6150af54 100644
--- a/passes/hierarchy/hierarchy.cc
+++ b/passes/hierarchy/hierarchy.cc
@@ -188,8 +188,9 @@ struct HierarchyPass : public Pass {
log_cmd_error("Module `%s' not found!\n", args[argidx].c_str());
continue;
}
- log_cmd_error("Unkown option %s.\n", args[argidx].c_str());
+ break;
}
+ extra_args(args, argidx, design, false);
if (top_mod != NULL)
hierarchy(design, top_mod);