slice abstract method

PortReference slice(
  1. int endIndex,
  2. int startIndex
)

Creates a slice of this port from endIndex down to startIndex.

Both indices are inclusive. For example, slice(7, 0) would create a reference to bits 7 through 0 of the port.

Implementation

PortReference slice(int endIndex, int startIndex);