Skip to content

Shift Left

Bitwise left shift on an integer signal: out = in << shift. Equivalent to multiplying by 2^shift (overflow bits past the MSB are discarded).

Category: Digital Logic / Bits

Ports

NameDirectionValue typeNotes
ininputint
outoutputint

Parameters

NameLabelTypeDefaultUnitsDescription
shiftShiftint1Number of bit positions to shift left. out = in << shift. Equivalent to multiplying by 2^shift; bits shifted past the MSB are discarded.