ARShift constructor

ARShift(
  1. Logic in_,
  2. dynamic shiftAmount,
  3. {String name = 'arshift'}
)

Calculates the value of in_ shifted right (arithmetically) by shiftAmount.

Implementation

ARShift(Logic in_, dynamic shiftAmount, {String name = 'arshift'})
    : // Note: >>> vs >> is backwards for SystemVerilog and Dart
      super((a, shamt) => a >> shamt, '>>>', in_, shiftAmount,
          name: name, signed: true);