{"id":13537090,"url":"https://github.com/dawsonjon/fpu","last_synced_at":"2026-01-28T14:02:48.591Z","repository":{"id":12360328,"uuid":"15008590","full_name":"dawsonjon/fpu","owner":"dawsonjon","description":"synthesiseable ieee 754 floating point library in verilog ","archived":false,"fork":false,"pushed_at":"2023-03-13T18:44:03.000Z","size":102,"stargazers_count":584,"open_issues_count":12,"forks_count":151,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-03-23T21:47:09.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Verilog","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dawsonjon.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2013-12-07T16:16:44.000Z","updated_at":"2025-03-23T12:57:43.000Z","dependencies_parsed_at":"2024-01-07T01:45:19.760Z","dependency_job_id":null,"html_url":"https://github.com/dawsonjon/fpu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dawsonjon/fpu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsonjon%2Ffpu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsonjon%2Ffpu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsonjon%2Ffpu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsonjon%2Ffpu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dawsonjon","download_url":"https://codeload.github.com/dawsonjon/fpu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsonjon%2Ffpu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T09:00:54.953Z","updated_at":"2026-01-28T14:02:48.574Z","avatar_url":"https://github.com/dawsonjon.png","language":"Verilog","funding_links":[],"categories":["Accelerators","Verilog","硬件_其他"],"sub_categories":["网络服务_其他"],"readme":"IEEE 754 floating point arithmetic\n==================================\n\nSynthesiseable IEEE 754 floating point library in Verilog.\n\n\t+ Provides Divider, Multiplier and Adder\n\t+ Provides float_to_int and int_to_float\n\t+ Supports Denormal Numbers\n\t+ Round-to-nearest (ties to even)\n\t+ Optimised for area\n\t+ Over 100,000,000 test vectors (for each function)\n\nTest\n====\n\nDependencies\n------------\nTo run the test suite, you will need the g++ compiler, and the icarus verilog\nsimulator.\n\nProcedure\n---------\n\nFor each arithmetic function, a test-bench is provided. The testbench consists\nof a Python script run_test.py and a Simple C model used as the reference for\nverification. The C reference model is contained in the c_test subfolder. To\nrecompile the C model run the following command::\n\t\n\t~$ cd c_test\n\t~$ g++ -o test test.cpp\n\nThe test suite consists of corner cases, edge cases, and 100,000,000\nconstrained random vectors. The test suite could take several days to run to\ncompletion. To run the test suite, run the following command::\n\n\t~$ ./run_test.py\n\nInterface\n=========\n\nEach arithmetic module accepts two 32-bit data streams a and b, and outputs a\ndata stream z.  The stream interface is decribed in the `chips manual\n\u003chttp://dawsonjon.github.io/Chips-2.0/language_reference/index.html#physical-interface\u003e`_\nmanual.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdawsonjon%2Ffpu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdawsonjon%2Ffpu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdawsonjon%2Ffpu/lists"}