<< x2c_Sin3Gen
General
x2c_TypeConv >>
X2C General Library
>>
General
> x2c_SinGen
x2c_SinGen
X2C Sine Wave Generator
Description
Generation of a sine wave with amplitude (A) and frequency (f).
Inports
A:
Amplitude
f:
Frequency
Outports
u:
Sine wave output
Mask Parameters
fmax:
Maximum Frequency in Hz
Offset:
Offset
Phase:
Phase [-Pi..Pi]
ts_fact:
Multiplication factor of base sampling time (in integer format).
Implementations
FiP16:
16 Bit Fixed Point
FiP32:
32 Bit Fixed Point
Float32:
32 Bit Floating Point
Float64:
64 Bit Floating Point
Report an issue
<< x2c_Sin3Gen
General
x2c_TypeConv >>