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