mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-24 14:53:42 +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
|
@ -179,7 +179,7 @@ struct OptRmdffPass : public Pass {
|
|||
mux_drivers.clear();
|
||||
|
||||
std::vector<std::string> dff_list;
|
||||
for (auto &it : mod_it.second->cells) {
|
||||
for (auto &it : mod_it.second->cells_) {
|
||||
if (it.second->type == "$mux" || it.second->type == "$pmux") {
|
||||
if (it.second->get("\\A").size() == it.second->get("\\B").size())
|
||||
mux_drivers.insert(assign_map(it.second->get("\\Y")), it.second);
|
||||
|
@ -202,8 +202,8 @@ struct OptRmdffPass : public Pass {
|
|||
}
|
||||
|
||||
for (auto &id : dff_list) {
|
||||
if (mod_it.second->cells.count(id) > 0 &&
|
||||
handle_dff(mod_it.second, mod_it.second->cells[id]))
|
||||
if (mod_it.second->cells_.count(id) > 0 &&
|
||||
handle_dff(mod_it.second, mod_it.second->cells_[id]))
|
||||
total_count++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue