aboutsummaryrefslogtreecommitdiffstats
path: root/backends/smt2/ywio.py
diff options
context:
space:
mode:
authorJannis Harder <me@jix.one>2023-02-01 12:34:35 +0100
committerJannis Harder <me@jix.one>2023-02-01 12:34:35 +0100
commit5e8263840824bc5113efdeb03d066f0889e562c8 (patch)
treecdecb6c80489303e5a438a86184c9c23a3d445fb /backends/smt2/ywio.py
parent541fdffff243bccb410de13ae3ef91797060fcd4 (diff)
downloadyosys-5e8263840824bc5113efdeb03d066f0889e562c8.tar.gz
yosys-5e8263840824bc5113efdeb03d066f0889e562c8.tar.bz2
yosys-5e8263840824bc5113efdeb03d066f0889e562c8.zip
smt2: Fix operation width computation for boolean producing cells
The output width for the boolean value should not influence the operation width. The previous incorrect width extension would still produce correct results, but could produce invalid smt2 output for reduction operators when the output width was larger than the width of the vector to which the reduction was applied. This fixes #3654
Diffstat (limited to 'backends/smt2/ywio.py')
0 files changed, 0 insertions, 0 deletions