mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Bugfix in techmap parameter handling
This commit is contained in:
parent
d39db41df8
commit
d8ad889594
|
@ -639,7 +639,7 @@ struct TechmapWorker
|
||||||
if (techmap_cache.count(key) > 0) {
|
if (techmap_cache.count(key) > 0) {
|
||||||
tpl = techmap_cache[key];
|
tpl = techmap_cache[key];
|
||||||
} else {
|
} else {
|
||||||
if (cell->parameters.size() != 0) {
|
if (parameters.size() != 0) {
|
||||||
derived_name = tpl->derive(map, dict<RTLIL::IdString, RTLIL::Const>(parameters.begin(), parameters.end()));
|
derived_name = tpl->derive(map, dict<RTLIL::IdString, RTLIL::Const>(parameters.begin(), parameters.end()));
|
||||||
tpl = map->module(derived_name);
|
tpl = map->module(derived_name);
|
||||||
log_continue = true;
|
log_continue = true;
|
||||||
|
|
Loading…
Reference in a new issue