MultiCycleDividerInterface class

Internal interface to the Divider.

Inheritance

Constructors

MultiCycleDividerInterface({int dataWidth = 32})
A constructor for the divider interface.
MultiCycleDividerInterface.match(MultiCycleDividerInterface other)
A match constructor for the divider interface.

Properties

clk Logic
Clock for sequential logic.
no setter
dataWidth int
The width of the data operands and result.
final
dividend Logic
Dividend (numerator) for the division operation.
no setter
divisor Logic
Divisor (denominator) for the division operation.
no setter
divZero Logic
A Division by zero occurred.
no setter
hashCode int
The hash code for this object.
no setterinherited
isSigned Logic
Are the division operands signed.
no setter
modify ↔ (String Function(String original)?)
A function that can be used to modify all port names in a certain way.
getter/setter pairinherited
ports Map<String, Logic>
Maps from the Interface's defined port name to an instance of a Port.
no setterinherited
quotient Logic
Quotient (result) for the division operation.
no setter
readyIn Logic
The module is ready to accept new inputs.
no setter
readyOut Logic
The integrating environment is ready to accept the output of the module.
no setter
remainder Logic
Remainder (modulus) for the division operation.
no setter
reset Logic
Reset for sequential logic (active high).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subInterfaces Map<String, PairInterface>
A mapping from sub-interface names to instances of sub-interfaces.
no setterinherited
validIn Logic
Request for a new division operation to be performed.
no setter
validOut Logic
The result of the current division operation is ready.
no setter

Methods

addSubInterface<PairInterfaceType extends PairInterface>(String name, PairInterfaceType subInterface, {bool reverse = false}) → PairInterfaceType
Registers a new subInterface on this PairInterface, enabling a simple way to build hierarchical interface definitions.
inherited
conditionalDriveOther(Interface<PairDirection> other, Iterable<PairDirection> tags) Conditional
Makes this conditionally drive interface signals tagged with tags on other.
inherited
conditionalReceiveOther(Interface<PairDirection> other, Iterable<PairDirection> tags) Conditional
Makes this signals tagged with tags be driven conditionally by other.
inherited
connectIO(Module module, Interface srcInterface, {Iterable<PairDirection>? inputTags, Iterable<PairDirection>? outputTags, String uniquify(String original)?}) → void
Connects module's inputs and outputs up to srcInterface and this Interface.
inherited
driveOther(Interface<PairDirection> other, Iterable<PairDirection> tags) → void
Makes this drive interface signals tagged with tags on other.
inherited
getPorts([Iterable<PairDirection>? tags]) Map<String, Logic>
Returns all interface ports associated with the provided tags as a Map from the port name to the Logic port.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pairConnectIO(Module module, Interface<PairDirection> srcInterface, PairRole role, {String uniquify(String original)?}) → void
A simplified version of connectIO for PairInterfaces where by only specifying the role, the input and output tags can be inferred.
inherited
port(String name) Logic
Accesses a port named name.
inherited
receiveOther(Interface<PairDirection> other, Iterable<PairDirection> tags) → void
Makes this signals tagged with tags be driven by other.
inherited
setPorts(List<Logic> ports, [Iterable<PairDirection>? tags]) → void
Adds a collection of ports to this Interface, each associated with all of tags.
inherited
toString() String
A string representation of this object.
inherited
tryPort(String name) Logic?
Provides the port named name if it exists, otherwise null.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited