YosysHQ / yosys

Yosys Open SYnthesis Suite
https://yosyshq.net/yosys/
ISC License
3.31k stars 860 forks source link

Bit-width type conversion causes array overflow #4277

Closed cemery123 closed 3 months ago

cemery123 commented 3 months ago

Version

Yosys 0.37+1 (git sha1 e1f4c5c9cbb, clang -fPIC -Os)

On which OS did this happen?

Linux

Reproduction Steps

read_verilog reduce.v synth

Expected Behavior

success synthesis

Actual Behavior

synthesis failed and if you comment line 175 it will be normal we think it may caused by complexity bits operation. pending-2.zip

KrystalDelusion commented 3 months ago

See #4276