mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
fmt: fuzz, fix (remove extraneous + incorrect fill)
"blk + chunks" is often an overrun, plus the fill is unnecessary; we throw blk away immediately.
This commit is contained in:
parent
9f9561379b
commit
2ae551c0af
4 changed files with 67 additions and 1 deletions
|
@ -654,7 +654,6 @@ struct value : public expr_base<value<Bits>> {
|
|||
}
|
||||
|
||||
std::copy(blk, blk + origLen, data);
|
||||
std::fill(blk + origLen, blk + chunks, 0);
|
||||
}
|
||||
|
||||
static chunk::type getShiftedBlock(const value<Bits> &num, size_t x, size_t y) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue