MultiCycleDivider constructor

MultiCycleDivider(
  1. MultiCycleDividerInterface interface
)

The Divider module's constructor

Implementation

MultiCycleDivider(MultiCycleDividerInterface interface)
    : dataWidth = interface.dataWidth,
      logDataWidth = log2Ceil(interface.dataWidth),
      super(name: 'divider') {
  intf = MultiCycleDividerInterface.match(interface)
    ..pairConnectIO(
      this,
      interface,
      PairRole.consumer,
      uniquify: (original) => '${super.name}_$original',
    );

  _build();
}