From: Clifford Wolf Date: Wed, 14 Sep 2016 18:46:54 +0000 (+0200) Subject: Bugfix in techmap parameter handling X-Git-Tag: yosys-0.7~52^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8ad889594cb5746d3d0b1f7590eeaf63d13c64a;p=yosys.git Bugfix in techmap parameter handling --- 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;