mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-22 22:03:40 +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
|
@ -260,8 +260,8 @@ struct VlogHammerReporter
|
|||
for (int i = 0; i < int(inputs.size()); i++) {
|
||||
RTLIL::Wire *wire = module->wires.at(inputs[i]);
|
||||
for (int j = input_widths[i]-1; j >= 0; j--) {
|
||||
ce.set(RTLIL::SigSpec(wire, 1, j), bits.back());
|
||||
recorded_set_vars.append(RTLIL::SigSpec(wire, 1, j));
|
||||
ce.set(RTLIL::SigSpec::grml(wire, j), bits.back());
|
||||
recorded_set_vars.append(RTLIL::SigSpec::grml(wire, j));
|
||||
recorded_set_vals.bits.push_back(bits.back());
|
||||
bits.pop_back();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue