The sine wave block is not supported by HDL Coder. You can see all the blocks supported by HDL Coder by running the MATLAB command 'hdllib'.
That said, there are two supported methods for computing the sine in HDL Coder. The first is to use the Simulink->Math Operations->Trigonometric Function block. This block will compute the sine using a CORDIC algorithm. You can control the number of iterations, which allows you to choose between size/speed and accuracy.
The other way of implementing the sine function in HDL Coder is to use a lookup table containing the precomputed sine wave of desired resolution and scaling. You can save chip area by having your table represent only one quadrant, and mapping this as appropriate.
Best Answer