Thanks for responding,
Iam giving input(phase) as 32 bit
For example 108 degrees after conversion 1.88496 in radians.
This input radians should be in the format of MSB 3 bit integers (2QN==>1sign+2 integer) and remaining bits as fractions
1.88496 in the above format as 32'b001111000.......
Output is 64 bit which includes both sine and cosine values each 32 bit
[63:32] for sine values and the output i got is 32'b00111101.............(1QN- MSB 2 bit integer ==> 1 sign+ 1integer )
format and remaining as fractions.
And the output is correct for this sine value i.e 0.951
[31:0] for cosine values and the output i got is 32'b11101101................(1QN-MSB 2 bit integer ==>1sign+1 integer) format and remaining bits as fractions
Here the output should be -0.309
But I am getting -1.687
Here I am using leds on fpga for verifying the output, input is given directly in the port declaration.