| Inports
| |
| A | Amplitude |
| f | Frequency |
| Outports
| |
| u | Sine wave output phase u |
| v | Sine wave output phase v |
| w | Sine wave output phase w |
| Mask Parameters | |
| fmax | Maximum Frequency in Hz |
| Offset | Offset |
| ts_fact | Multiplication factor of base sampling time (in integer format) |
Generation of a 3 sine waves with amplitude (A) and frequency (f).
Calculation fixed point implementation:

Calculation floating point implementation (parameter f_max is ignored):

| FiP8 | 8 Bit Fixed Point Implementation |
| FiP16 | 16 Bit Fixed Point Implementation |
| FiP32 | 32 Bit Fixed Point Implementation |
| Float32 | 32 Bit Floating Point Implementation |
| Float64 | 64 Bit Floating Point Implementation |
| Name | FiP8 |
| ID | 432 |
| Revision | 1.0 |
| C filename | Sin3Gen_FiP8.c |
| H filename | Sin3Gen_FiP8.h |
8 Bit Fixed Point Implementation
| Controller Parameters | |
| delta_phi | Angle increment |
| offset | Amplitude offset |
| phi | Current angle |
Data Structure:
| Name | FiP16 |
| ID | 433 |
| Revision | 1.0 |
| C filename | Sin3Gen_FiP16.c |
| H filename | Sin3Gen_FiP16.h |
16 Bit Fixed Point Implementation
| Controller Parameters | |
| delta_phi | Angle increment |
| offset | Amplitude offset |
| phi | Current angle |
Data Structure:
| Name | FiP32 |
| ID | 434 |
| Revision | 1.0 |
| C filename | Sin3Gen_FiP32.c |
| H filename | Sin3Gen_FiP32.h |
32 Bit Fixed Point Implementation
| Controller Parameters | |
| delta_phi | Angle increment |
| offset | Amplitude offset |
| phi | Current angle |
Data Structure:
| Name | Float32 |
| ID | 435 |
| Revision | 0.1 |
| C filename | Sin3Gen_Float32.c |
| H filename | Sin3Gen_Float32.h |
32 Bit Floating Point Implementation
| Controller Parameters | |
| delta_phi | Angle increment |
| offset | Amplitude offset |
| phi | Current angle |
Data Structure:
| Name | Float64 |
| ID | 436 |
| Revision | 0.1 |
| C filename | Sin3Gen_Float64.c |
| H filename | Sin3Gen_Float64.h |
64 Bit Floating Point Implementation
| Controller Parameters | |
| delta_phi | Angle increment |
| offset | Amplitude offset |
| phi | Current angle |
Data Structure: