mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-15 06:01:28 +00:00
Refactoring: Renamed RTLIL::Module::wires to wires_
This commit is contained in:
parent
d7916a49af
commit
f9946232ad
50 changed files with 191 additions and 191 deletions
|
@ -14,7 +14,7 @@ struct MyPass : public Pass {
|
|||
log("Modules in current design:\n");
|
||||
for (auto &mod : design->modules)
|
||||
log(" %s (%zd wires, %zd cells)\n", RTLIL::id2cstr(mod.first),
|
||||
mod.second->wires.size(), mod.second->cells.size());
|
||||
mod.second->wires_.size(), mod.second->cells.size());
|
||||
}
|
||||
} MyPass;
|
||||
|
||||
|
@ -58,8 +58,8 @@ struct Test2Pass : public Pass {
|
|||
|
||||
RTLIL::Module *module = design->modules.at("\\test");
|
||||
|
||||
RTLIL::SigSpec a(module->wires.at("\\a")), x(module->wires.at("\\x")),
|
||||
y(module->wires.at("\\y"));
|
||||
RTLIL::SigSpec a(module->wires_.at("\\a")), x(module->wires_.at("\\x")),
|
||||
y(module->wires_.at("\\y"));
|
||||
log("%d %d %d\n", a == x, x == y, y == a); // will print "0 0 0"
|
||||
|
||||
SigMap sigmap(module);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue