log_assert(Q.wire);
auto it = Q.wire->attributes.find(ID(init));
if (it != Q.wire->attributes.end()) {
- initval.append(it->second[Q.offset]);
+ auto &i = it->second[Q.offset];
+ initval.append(i);
+ i = State::Sx;
}
else
initval.append(State::Sx);
log_assert(Q.wire);
auto it = Q.wire->attributes.find(ID(init));
if (it != Q.wire->attributes.end()) {
- initval.append(it->second[Q.offset]);
+ auto &i = it->second[Q.offset];
+ initval.append(i);
+ i = State::Sx;
}
else
initval.append(State::Sx);