mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-30 16:03:17 +00:00
Changed users of cell->connections_ to the new API (sed command)
git grep -l 'connections_' | xargs sed -i -r -e ' s/(->|\.)connections_\["([^"]*)"\] = (.*);/\1set("\2", \3);/g; s/(->|\.)connections_\["([^"]*)"\]/\1get("\2")/g; s/(->|\.)connections_.at\("([^"]*)"\)/\1get("\2")/g; s/(->|\.)connections_.push_back/\1connect/g; s/(->|\.)connections_/\1connections()/g;'
This commit is contained in:
parent
cd6574ecf6
commit
b7dda72302
61 changed files with 1201 additions and 1201 deletions
|
@ -380,7 +380,7 @@ static int select_op_expand(RTLIL::Design *design, RTLIL::Selection &lhs, std::v
|
|||
if (lhs.selected_member(mod_it.first, it.first) && limits.count(it.first) == 0)
|
||||
selected_wires.insert(it.second);
|
||||
|
||||
for (auto &conn : mod->connections_)
|
||||
for (auto &conn : mod->connections())
|
||||
{
|
||||
std::vector<RTLIL::SigBit> conn_lhs = conn.first.to_sigbit_vector();
|
||||
std::vector<RTLIL::SigBit> conn_rhs = conn.second.to_sigbit_vector();
|
||||
|
@ -396,7 +396,7 @@ static int select_op_expand(RTLIL::Design *design, RTLIL::Selection &lhs, std::v
|
|||
}
|
||||
|
||||
for (auto &cell : mod->cells)
|
||||
for (auto &conn : cell.second->connections_)
|
||||
for (auto &conn : cell.second->connections())
|
||||
{
|
||||
char last_mode = '-';
|
||||
for (auto &rule : rules) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue