同步操作将从 yinxx/fpu 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Synthesiseable IEEE 754 floating point library in Verilog.
- Provides Divider, Multiplier and Adder
- Provides float_to_int and int_to_float
- Supports Denormal Numbers
- Round-to-nearest (ties to even)
- Optimised for area
- Over 100,000,000 test vectors (for each function)
To run the test suite, you will need the g++ compiler, and the icarus verilog simulator.
For each arithmetic function, a test-bench is provided. The testbench consists of a Python script run_test.py and a Simple C model used as the reference for verification. The C reference model is contained in the c_test subfolder. To recompile the C model run the following command:
~$ cd c_test ~$ g++ -o test test.cpp
The test suite consists of corner cases, edge cases, and 100,000,000 constrained random vectors. The test suite could take several days to run to completion. To run the test suite, run the following command:
~$ ./run_test.py
Each arithmetic module accepts two 32-bit data streams a and b, and outputs a data stream z. The stream interface is decribed in the chips manual manual.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。