Sine Wave

Generate continuous or discrete sine wave (HDL Coder)

Description

The Sine Wave block is available with DSP System Toolbox™.

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

HDL Architecture

This block has a single, default HDL architecture.

Restrictions

For HDL code generation, you must select the following Sine Wave block settings:

  • Computation method: Table lookup

  • Sample mode: Discrete

Output:

  • The output port cannot have data types single or double.

Complex Data Support

This block supports code generation for complex signals.

Was this topic helpful?