mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-10 21:20:53 +00:00
Import more std:: stuff into Yosys namespace
This commit is contained in:
parent
da923c198e
commit
207736b4ee
39 changed files with 168 additions and 161 deletions
|
@ -64,7 +64,7 @@ Cell *handle_memory(Module *module, RTLIL::Memory *memory)
|
|||
for (auto &cell_it : module->cells_) {
|
||||
Cell *cell = cell_it.second;
|
||||
if (cell->type.in("$memrd", "$memwr", "$meminit") && memory->name == cell->parameters["\\MEMID"].decode_string()) {
|
||||
addr_bits = std::max(addr_bits, cell->getParam("\\ABITS").as_int());
|
||||
addr_bits = max(addr_bits, cell->getParam("\\ABITS").as_int());
|
||||
memcells.push_back(cell);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue