mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-20 08:24:50 +00:00
Update passes/opt to avoid bits()
This commit is contained in:
parent
d4e2fa0c4f
commit
bab72e0af7
10 changed files with 71 additions and 56 deletions
|
@ -213,7 +213,7 @@ struct OptLutInsPass : public Pass {
|
|||
}
|
||||
lidx |= val << j;
|
||||
}
|
||||
new_lut.bits()[i] = lut[lidx];
|
||||
new_lut.set(i, lut[lidx]);
|
||||
}
|
||||
// For lattice, and gowin do not replace with a const driver — the nextpnr
|
||||
// packer requires a complete set of LUTs for wide LUT muxes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue