MultiCycleDividerInterface constructor

MultiCycleDividerInterface({
  1. int dataWidth = 32,
})

A constructor for the divider interface.

Implementation

MultiCycleDividerInterface({this.dataWidth = 32})
    : super(portsFromProvider: [
        Port('clk'),
        Port('reset'),
        Port('dividend', dataWidth),
        Port('divisor', dataWidth),
        Port('isSigned'),
        Port('validIn'),
        Port('readyOut'),
      ], portsFromConsumer: [
        Port('quotient', dataWidth),
        Port('remainder', dataWidth),
        Port('divZero'),
        Port('validOut'),
        Port('readyIn'),
      ]);