Dot Product

Generate dot product of two vectors (HDL Coder)

Description

The Dot Product block is available with Simulink®.

For information about the simulation behavior and block parameters, see Dot Product.

HDL Architecture

ArchitectureDescription
Linear (default)

Generates a linear chain of adders to compute the sum of products.

Tree

Generates a tree structure of adders to compute the sum of products.

HDL Block Properties

ConstrainedOutputPipeline

Number of registers to place at the outputs by moving existing delays within your design. Distributed pipelining does not redistribute these registers. The default is 0. See also ConstrainedOutputPipeline.

InputPipeline

Number of input pipeline stages to insert in the generated code. Distributed pipelining and constrained output pipelining can move these registers. The default is 0. See also InputPipeline.

OutputPipeline

Number of output pipeline stages to insert in the generated code. Distributed pipelining and constrained output pipelining can move these registers. The default is 0. See also OutputPipeline.

Was this topic helpful?