admin管理员组文章数量:1344319
Accroding to the Wikipedia Fixed-point arithmetic. I'm doing a fixed-point implementation with 8-bit integers. Numbers are originally floating point numbers (like -0.125). Due to implementation on hardware, there is no floating point numbers, it must be represented by an integer, I already been converted to integers. For example, if Q(6,3) becomes -0.125 * (2^3) = -1 or Q(2,6) = -0.125*(2^6) = -8.
Below is the correct output for five different input cases. For example, when
本文标签: verilogIncorrect outputs for the 8bit fixedpointStack Overflow
版权声明:本文标题:verilog - Incorrect outputs for the 8-bit fixed-point - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743763855a2534876.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论