mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 06:13:41 +00:00
Refactoring {SigSpec|SigChunk}(RTLIL::Wire *wire, ..) constructor -- step 2/3
This commit is contained in:
parent
260c19ec5a
commit
a8d3a68971
15 changed files with 33 additions and 47 deletions
|
@ -118,7 +118,7 @@ struct BlifDumper
|
|||
for (auto &it : inputs) {
|
||||
RTLIL::Wire *wire = it.second;
|
||||
for (int i = 0; i < wire->width; i++)
|
||||
fprintf(f, " %s", cstr(RTLIL::SigSpec(wire, 1, i)));
|
||||
fprintf(f, " %s", cstr(RTLIL::SigSpec::grml(wire, i)));
|
||||
}
|
||||
fprintf(f, "\n");
|
||||
|
||||
|
@ -126,7 +126,7 @@ struct BlifDumper
|
|||
for (auto &it : outputs) {
|
||||
RTLIL::Wire *wire = it.second;
|
||||
for (int i = 0; i < wire->width; i++)
|
||||
fprintf(f, " %s", cstr(RTLIL::SigSpec(wire, 1, i)));
|
||||
fprintf(f, " %s", cstr(RTLIL::SigSpec::grml(wire, i)));
|
||||
}
|
||||
fprintf(f, "\n");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue