fix width detection of array querying function in case and case item expressions
authorZachary Snow <zach@zachjs.com>
Thu, 16 Dec 2021 01:15:09 +0000 (18:15 -0700)
committerZachary Snow <zachary.j.snow@gmail.com>
Sat, 18 Dec 2021 04:22:08 +0000 (21:22 -0700)
commit7608985d2c6237b869a4774c6b1659282e7473ad
tree129bc1352eca95a6f789ef601a7f7d15ef373566
parent60c3ea367c942459a95e610ed98f277ce46c0142
fix width detection of array querying function in case and case item expressions

I also removed the unnecessary shadowing of `width_hint` and `sign_hint`
in the corresponding case in `simplify()`.
CHANGELOG
frontends/ast/genrtlil.cc
frontends/ast/simplify.cc
tests/simple/case_expr_extend.sv [new file with mode: 0644]
tests/simple/case_expr_query.sv [new file with mode: 0644]