- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 signed and unsigned of verilog
the following are the rules for determining the resulting type of an expression-----expression type depends only on the oprands .It does not depend on the left-hand(if any)-----decimal numbers are
2016-12-07 22:51:05 958
原创 FPGA定点运算
1、定点小数运算所谓定点小数,实际上就是用整数来进行小数运算。以16bit的存储单位最多可以表示0x0000到0xffff,65536种状态,如果表示无符号整数的话,就是从0到65535.如果需要表示负数的话,那么最高位就是符号位,而剩下的15位就可以表示32768种状态。对于计算机来说,符号并没有特殊的存储形式,其实是和数字一起存储的。为了使得无论是无符号还是有符号数都可以用同样的加法减法规
2016-11-11 09:20:20 4418
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人