Table Of Contents

Matrix Multiply (Clock-Driven Logic)

Last Modified: September 10, 2016

Computes the product of two matrices.

connector_pane_image
datatype_icon

a

The first matrix to multiply.

datatype_icon

b

The second matrix to multiply.

datatype_icon

a valid

A Boolean that indicates whether the next data point to a has arrived for processing. Wire the output valid output of an upstream node to this input to transfer data from the upstream node to the a input of this node.

TRUE The next data point to a has arrived for processing.
FALSE The next data point to a has not arrived for processing.
datatype_icon

b valid

A Boolean that indicates whether the next data point to b has arrived for processing. Wire the output valid output of an upstream node to this input to transfer data from the upstream node to the b input of this node.

TRUE The next data point to b has arrived for processing.
FALSE The next data point to b has not arrived for processing.
datatype_icon

ready for output

A Boolean that defines whether downstream nodes are ready for this node to return a new value. Use a Feedback Node to wire the ready for input output of a downstream node to this input of the current node.

True Downstream nodes are ready for this node to return a new value.
False Downstream nodes are not ready for this node to return a new value.
spd-note-note
Note  

If this input is False during a given cycle, the output valid output returns False during that cycle.

Default: True

datatype_icon

c

The matrix that results from a×b.

datatype_icon

operation overflow

A Boolean that indicates whether the theoretical computed value exceeds the valid range of the output data type.

TRUE The theoretical computed value exceeds the valid range of the output data type.
FALSE The theoretical computed value does not exceed the valid range of the output data type.
datatype_icon

ready for a

A Boolean that indicates whether the node is ready to accept new input data for the a input. Use a Feedback Node to wire this output to the ready for output input of an upstream node.

TRUE The node is ready to accept new input data for a.
FALSE The node is not ready to accept new input data for a.
datatype_icon

ready for b

A Boolean that indicates whether the node is ready to accept new input data for the b input. Use a Feedback Node to wire this output to the ready for output input of an upstream node.

TRUE The node is ready to accept new input data for a.
FALSE The node is not ready to accept new input data for a.
datatype_icon

output valid

A Boolean that indicates whether this node has computed a result that downstream nodes can use. Wire this output to the input valid input of a downstream node to transfer data from the node to the downstream node.

True The node has computed a result that downstream nodes can use.
False This node has not computed a result that downstream nodes can use. Any data output returns an undefined value. The undefined value returned by a data output may differ between simulation and hardware.

Where This Node Can Run:

Desktop OS: none

FPGA: All devices


Recently Viewed Topics