mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-31 00:13:18 +00:00
rtlil: represent Const strings as std::string
This commit is contained in:
parent
61ed9b6263
commit
785bd44da7
90 changed files with 947 additions and 643 deletions
|
@ -869,17 +869,17 @@ struct DffLegalizePass : public Pass {
|
|||
if (ff.has_arst) {
|
||||
if (ff.val_arst[i] == State::Sx) {
|
||||
if (!(supported & (mask << 8)))
|
||||
ff.val_arst[i] = State::S0;
|
||||
ff.val_arst.bits()[i] = State::S0;
|
||||
if (!(supported & (mask << 4)))
|
||||
ff.val_arst[i] = State::S1;
|
||||
ff.val_arst.bits()[i] = State::S1;
|
||||
}
|
||||
}
|
||||
if (ff.has_srst) {
|
||||
if (ff.val_srst[i] == State::Sx) {
|
||||
if (!(supported & (mask << 8)))
|
||||
ff.val_srst[i] = State::S0;
|
||||
ff.val_srst.bits()[i] = State::S0;
|
||||
if (!(supported & (mask << 4)))
|
||||
ff.val_srst[i] = State::S1;
|
||||
ff.val_srst.bits()[i] = State::S1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue