3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-12-29 23:43:23 +00:00

fixup! consteval: use newcelltypes

This commit is contained in:
Emil J. Tywoniak 2025-11-25 23:51:09 +01:00
parent ce3c23f969
commit a8509aee48

View file

@ -42,7 +42,7 @@ struct ConstEval
ConstEval(RTLIL::Module *module, RTLIL::State defaultval = RTLIL::State::Sm) : module(module), assign_map(module), defaultval(defaultval)
{
auto ct = NewCellTypes();
ct.static_cell_types = StaticCellTypes::Compat::stdcells_nomem_noff;
ct.static_cell_types = StaticCellTypes::Compat::nomem_noff;
for (auto &it : module->cells_) {
if (!ct.cell_known(it.second->type))