mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 19:21:23 +00:00
Refactoring: Renamed RTLIL::Module::cells to cells_
This commit is contained in:
parent
f9946232ad
commit
4c4b602156
61 changed files with 152 additions and 152 deletions
|
@ -80,11 +80,11 @@ static void handle_memory(RTLIL::Module *module, RTLIL::Cell *memory)
|
|||
static void handle_module(RTLIL::Design *design, RTLIL::Module *module)
|
||||
{
|
||||
std::vector<RTLIL::IdString> memcells;
|
||||
for (auto &cell_it : module->cells)
|
||||
for (auto &cell_it : module->cells_)
|
||||
if (cell_it.second->type == "$mem" && design->selected(module, cell_it.second))
|
||||
memcells.push_back(cell_it.first);
|
||||
for (auto &it : memcells)
|
||||
handle_memory(module, module->cells.at(it));
|
||||
handle_memory(module, module->cells_.at(it));
|
||||
}
|
||||
|
||||
struct MemoryUnpackPass : public Pass {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue