LShift constructor

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

Calculates the value of in_ shifted left by shiftAmount.

Implementation

LShift(Logic in_, dynamic shiftAmount, {String name = 'lshift'})
    : super((a, shamt) => a << shamt, '<<', in_, shiftAmount,
          name: name, outputSvWidthExpansion: true);