RShift constructor

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

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

Implementation

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