Maximum

Find maximum values in input or sequence of inputs (HDL Coder)

Description

The Maximum block is available with DSP System Toolbox™.

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

HDL Architecture

This block has multi-cycle implementations that introduce additional latency in the generated code. To see the added latency, view the generated model or validation model. See Generated Model and Validation Model.

ArchitectureAdditional cycles of latencyDescription
default
Tree
0

Generates a tree structure of comparators.

Cascade1, when block has a single vector input port.This implementation is optimized for latency * area, with medium speed. See Cascade Architecture Best Practices.

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.

InstantiateStages

Generate a VHDL® entity or Verilog® module for each cascade stage. The default is off. See also InstantiateStages.

SerialPartition

Specify partitions for Cascade-serial implementations as a vector of the lengths of each partition. The default setting uses the minimum number of stages. See also SerialPartition.

Was this topic helpful?