mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
- Arithmetic right shift used the MSB of the C++ type as the sign bit, instead of the MSB at the Verilog width. - Constant shift amounts with their top bit set were treated as negative, so the oversized shift was emitted as undefined behavior. - Shifts of an impure operand were replaced by zero, discarding the side effects of the operand.