Article ID: 000078379 Content Type: Troubleshooting Last Reviewed: 09/12/2012

In the ALTFP_SINCOS core, the sine of 210 degrees gives the wrong value.

Environment

    Quartus® II Subscription Edition
BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

You may see this problem when implementing a sine function using the ALTFP_SINCOS Megacore in Quartus® II software versions 11.0 and 11.0SP1. 

Resolution

To workaround this, change the <altfp_sincos_variant_file_name>.vhd file, line 22850 as follows:

Change from:
wire_mantissanorm_add_datab <= ( "0000000000000000000000" & mantissanormnode_w(12));

Change to:
wire_mantissanorm_add_datab <= ( "0000000000000000000000" & mantissanormnode_w(11));

Related Products

This article applies to 1 products

Intel® Programmable Devices

1