mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
SigSpec refactoring: renamed chunks and width to __chunks and __width
This commit is contained in:
parent
3b5f4ff39c
commit
a233762a81
62 changed files with 954 additions and 951 deletions
|
@ -63,7 +63,7 @@ struct SplitnetsWorker
|
|||
void operator()(RTLIL::SigSpec &sig)
|
||||
{
|
||||
sig.expand();
|
||||
for (auto &c : sig.chunks)
|
||||
for (auto &c : sig.__chunks)
|
||||
if (splitmap.count(c.wire) > 0)
|
||||
c = splitmap.at(c.wire).at(c.offset);
|
||||
sig.optimize();
|
||||
|
@ -144,7 +144,7 @@ struct SplitnetsPass : public Pass {
|
|||
continue;
|
||||
|
||||
RTLIL::SigSpec sig = p.second.optimized();
|
||||
for (auto &chunk : sig.chunks) {
|
||||
for (auto &chunk : sig.__chunks) {
|
||||
if (chunk.wire == NULL)
|
||||
continue;
|
||||
if (chunk.wire->port_id == 0 || flag_ports) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue