CosimPortConfig constructor

CosimPortConfig(
  1. int port,
  2. {bool enableLogging = false,
  3. bool throwOnUnexpectedEnd = false}
)

Creates a configuration to connect to cosimulation on port port.

By default, throwOnUnexpectedEnd is set to false because when the SV simulator is the launcher of the Dart process it is not unlikely for it to be the initiator of the end of the test as well.

Implementation

CosimPortConfig(
  this.port, {
  super.enableLogging,
  super.throwOnUnexpectedEnd = false,
});