mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-13 01:16:16 +00:00
Refactoring: Renamed RTLIL::Design::modules to modules_
This commit is contained in:
parent
d088854b47
commit
10e5791c5e
73 changed files with 223 additions and 223 deletions
|
@ -476,7 +476,7 @@ struct LibertyFrontend : public Frontend {
|
|||
|
||||
std::string cell_name = RTLIL::escape_id(cell->args.at(0));
|
||||
|
||||
if (design->modules.count(cell_name)) {
|
||||
if (design->modules_.count(cell_name)) {
|
||||
if (flag_ignore_redef)
|
||||
continue;
|
||||
log_error("Duplicate definition of cell/module %s.\n", RTLIL::id2cstr(cell_name));
|
||||
|
@ -564,7 +564,7 @@ struct LibertyFrontend : public Frontend {
|
|||
}
|
||||
|
||||
module->fixup_ports();
|
||||
design->modules[module->name] = module;
|
||||
design->modules_[module->name] = module;
|
||||
cell_count++;
|
||||
skip_cell:;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue