From d8ad889594cb5746d3d0b1f7590eeaf63d13c64a Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 14 Sep 2016 20:46:54 +0200 Subject: [PATCH] Bugfix in techmap parameter handling --- passes/techmap/techmap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index 1ab6df1dc..b2cc492b2 100644 --- a/passes/techmap/techmap.cc +++ b/passes/techmap/techmap.cc @@ -639,7 +639,7 @@ struct TechmapWorker if (techmap_cache.count(key) > 0) { tpl = techmap_cache[key]; } else { - if (cell->parameters.size() != 0) { + if (parameters.size() != 0) { derived_name = tpl->derive(map, dict(parameters.begin(), parameters.end())); tpl = map->module(derived_name); log_continue = true; -- 2.30.2