aboutsummaryrefslogtreecommitdiffstats
path: root/passes/opt/opt_merge.cc
diff options
context:
space:
mode:
authorZachary Snow <zach@zachjs.com>2021-06-05 16:21:09 -0400
committerZachary Snow <zachary.j.snow@gmail.com>2021-06-08 15:03:16 -0400
commit2e697f5655455fd8ce5fec40b94683a11ade24e8 (patch)
treec52389aa8feb3328e1a4c97bd5e3db303b187a96 /passes/opt/opt_merge.cc
parentc79fbfe0a130f1a2979413174c3e5688433bafe3 (diff)
downloadyosys-2e697f5655455fd8ce5fec40b94683a11ade24e8.tar.gz
yosys-2e697f5655455fd8ce5fec40b94683a11ade24e8.tar.bz2
yosys-2e697f5655455fd8ce5fec40b94683a11ade24e8.zip
verilog: check for module scope identifiers during width detection
The recent fix for case expression width detection causes the width of the expressions to be queried before they are simplified. Because the logic supporting module scope identifiers only existed in simplify, looking them up would fail during width detection. This moves the logic to a common helper used in both simplify() and detectSignWidthWorker().
Diffstat (limited to 'passes/opt/opt_merge.cc')
0 files changed, 0 insertions, 0 deletions