cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
pp
Adventurer
Adventurer
252 Views
Registered: ‎09-04-2020

关于cordic ip 6.0正余弦相位格式问题

Jump to solution

 我使用的软件是2019.1,

IP核是cordic ip6.0

我对余弦的相位输入格式有疑问,请求解答

pp_0-1612077929007.png

在2Q8格式中,1位表示符号位,两位整数位,其余是小数位都没有问题,我的问题在于

011.0010_0100 为什么是3.14呢?  在我的理解应该是3.24才对啊

请求各位前辈解答我的困惑

 

0 Kudos
Reply
1 Solution

Accepted Solutions
nathanx
Moderator
Moderator
76 Views
Registered: ‎08-01-2007

"011.0010_0100", "011" is the integer part, which is equal to 3, the fractional part ".0010_0100" is equal to 1x2^(-3) + 1x2^(-6)=9/64=0.140625.

View solution in original post

2 Replies
sandrao
Community Manager
Community Manager
175 Views
Registered: ‎08-08-2007

Hi @pp 

FYI : https://forums.xilinx.com/t5/Announcements/Did-you-know-that-we-have-a-Chinese-Language-Forums/td-p/1172814

 

Thanks,
Sandy

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply
nathanx
Moderator
Moderator
77 Views
Registered: ‎08-01-2007

"011.0010_0100", "011" is the integer part, which is equal to 3, the fractional part ".0010_0100" is equal to 1x2^(-3) + 1x2^(-6)=9/64=0.140625.

View solution in original post