Merge pull request #4042 from YosysHQ/verific_cell

Verific: Add attributes to module instantiation
This commit is contained in:
Miodrag Milanović 2023-11-23 11:38:01 +01:00 committed by GitHub
commit 5e603c2241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1980,6 +1980,7 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::ma
}
RTLIL::Cell *cell = module->addCell(inst_name, inst_type);
import_attributes(cell->attributes, inst);
if (inst->IsPrimitive() && mode_keep)
cell->attributes[ID::keep] = 1;