From 94744ac7b0238048869f04ea36cc35314798a70b Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 26 Apr 2013 13:28:15 +0200 Subject: [PATCH] Fixed hierarchy pass for hierarchies of parametric modules --- passes/hierarchy/hierarchy.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/passes/hierarchy/hierarchy.cc b/passes/hierarchy/hierarchy.cc index b80f0d493..287f93097 100644 --- a/passes/hierarchy/hierarchy.cc +++ b/passes/hierarchy/hierarchy.cc @@ -152,6 +152,7 @@ static bool expand_module(RTLIL::Design *design, RTLIL::Module *module, bool fla RTLIL::Module *mod = design->modules[cell->type]; cell->type = mod->derive(design, cell->parameters); cell->parameters.clear(); + did_something = true; } if (did_something) -- 2.30.2