clone method

  1. @override
ProtectedSynchronousReadDataPortInterface<T> clone()
override

Makes a status-capable port copy.

Implementation

@override
ProtectedSynchronousReadDataPortInterface<T> clone() =>
    ProtectedSynchronousReadDataPortInterface<T>.typed(
      data,
      addrWidth,
      syndromeWidth: syndrome.width,
      correctionCountWidth: correctionCount.width,
    );