3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Replaced signed_parameters API with CONST_FLAG_SIGNED

This commit is contained in:
Clifford Wolf 2013-12-04 14:24:44 +01:00
parent 93a70959f3
commit f4b46ed31e
10 changed files with 11 additions and 16 deletions

View file

@ -150,7 +150,7 @@ static bool expand_module(RTLIL::Design *design, RTLIL::Module *module, bool fla
if (design->modules.at(cell->type)->get_bool_attribute("\\blackbox"))
continue;
RTLIL::Module *mod = design->modules[cell->type];
cell->type = mod->derive(design, cell->parameters, cell->signed_parameters);
cell->type = mod->derive(design, cell->parameters);
cell->parameters.clear();
did_something = true;
}

View file

@ -259,7 +259,7 @@ static bool techmap_module(RTLIL::Design *design, RTLIL::Module *module, RTLIL::
tpl = techmap_cache[key];
} else {
if (cell->parameters.size() != 0) {
derived_name = tpl->derive(map, parameters, cell->signed_parameters);
derived_name = tpl->derive(map, parameters);
tpl = map->modules[derived_name];
log_continue = true;
}