mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-24 16:34:38 +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
|
|
@ -141,13 +141,13 @@ struct FsmData
|
|||
|
||||
log("\n");
|
||||
log(" Input signals:\n");
|
||||
RTLIL::SigSpec sig_in = cell->connections_["\\CTRL_IN"];
|
||||
RTLIL::SigSpec sig_in = cell->get("\\CTRL_IN");
|
||||
for (int i = 0; i < SIZE(sig_in); i++)
|
||||
log(" %3d: %s\n", i, log_signal(sig_in[i]));
|
||||
|
||||
log("\n");
|
||||
log(" Output signals:\n");
|
||||
RTLIL::SigSpec sig_out = cell->connections_["\\CTRL_OUT"];
|
||||
RTLIL::SigSpec sig_out = cell->get("\\CTRL_OUT");
|
||||
for (int i = 0; i < SIZE(sig_out); i++)
|
||||
log(" %3d: %s\n", i, log_signal(sig_out[i]));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue