Rate Transition

Handle transfer of data between blocks operating at different rates (HDL Coder)

Description

The Rate Transition block is available with Simulink®.

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

Best Practices

When the Rate Transition block is operating at a faster input rate and slower output rate, it is good practice to follow the Rate Transition block with a unit delay. Doing so prevents the code generator from inserting an extra bypass register in the HDL code.

See also Multirate Model Requirements for HDL Code Generation.

HDL Architecture

This block has a single, default HDL architecture.

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.

Restrictions

  • Sample rate cannot be 0 or Inf for block input or output ports.

  • Ensure data integrity during data transfer must be enabled.

  • Ensure deterministic data transfer (maximum delay) must be enabled.

Complex Data Support

This block supports code generation for complex signals.

Was this topic helpful?