{"id":31563486,"url":"https://github.com/adamwalker/clash-utils","last_synced_at":"2025-10-05T04:59:41.821Z","repository":{"id":66355372,"uuid":"77606564","full_name":"adamwalker/clash-utils","owner":"adamwalker","description":"A collection of reusable Clash designs/examples","archived":false,"fork":false,"pushed_at":"2024-01-28T05:40:34.000Z","size":533,"stargazers_count":47,"open_issues_count":8,"forks_count":8,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-01-28T06:35:44.966Z","etag":null,"topics":["algorithms","crypto","dsp","fpga","hashtable"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamwalker.png","metadata":{"files":{"readme":"Readme.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"LICENSE","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":"2016-12-29T11:10:25.000Z","updated_at":"2023-12-19T17:05:53.000Z","dependencies_parsed_at":"2023-06-08T05:15:29.144Z","dependency_job_id":null,"html_url":"https://github.com/adamwalker/clash-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adamwalker/clash-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwalker%2Fclash-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwalker%2Fclash-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwalker%2Fclash-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwalker%2Fclash-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamwalker","download_url":"https://codeload.github.com/adamwalker/clash-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamwalker%2Fclash-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278411249,"owners_count":25982368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["algorithms","crypto","dsp","fpga","hashtable"],"created_at":"2025-10-05T04:59:36.863Z","updated_at":"2025-10-05T04:59:41.813Z","avatar_url":"https://github.com/adamwalker.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clash utils\n\nA collection of reusable [Clash](http://www.clash-lang.org/) designs/examples.\n\nSee [here](http://adamwalker.github.io/Building-FPGA-KVS/) and [here](http://adamwalker.github.io/FPGA-FM-Radio/) for projects built using components in this library.\n\n## Includes:\n* [Binary to BCD conversion](https://en.wikipedia.org/wiki/Double_dabble), BCD arithmetic that efficiently utilises the carry chain.\n* A [bitonic sorting network](https://en.wikipedia.org/wiki/Bitonic_sorter)\n* [CORDIC](https://en.wikipedia.org/wiki/CORDIC) for calculating trigonometric functions\n* [CRC](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) calculation\n* A [Cuckoo hash table](https://en.wikipedia.org/wiki/Cuckoo_hashing)\n* Divider\n* [FFTs](https://en.wikipedia.org/wiki/Fast_Fourier_transform)\n* A FIFO\n* [FIR](https://en.wikipedia.org/wiki/Finite_impulse_response), [IIR](https://en.wikipedia.org/wiki/Infinite_impulse_response) and [CIC](https://en.wikipedia.org/wiki/Cascaded_integrator%E2%80%93comb_filter) filters\n* [Gray code](https://en.wikipedia.org/wiki/Gray_code) conversion\n* [Hamming code](https://en.wikipedia.org/wiki/Hamming_code) encoding/decoding\n* [LFSRs](https://en.wikipedia.org/wiki/Linear-feedback_shift_register)\n* [Multi port block rams](http://www.eecg.toronto.edu/~steffan/papers/laforest_xor_fpga12.pdf)\n* Multipliers\n* [Prefix sums](https://en.wikipedia.org/wiki/Prefix_sum), [Carry lookahead adders](https://en.wikipedia.org/wiki/Carry-lookahead_adder), [Carry select adders](https://en.wikipedia.org/wiki/Carry-select_adder) and [Carry save adders](https://en.wikipedia.org/wiki/Carry-save_adder)\n* [Pseudo LRU trees](https://en.wikipedia.org/wiki/Pseudo-LRU)\n* Regular expression matching\n* [Scrambler](https://en.wikipedia.org/wiki/Scrambler)\n* [SHA3](https://en.wikipedia.org/wiki/SHA-3) and [AES](https://en.wikipedia.org/wiki/Advanced_Encryption_Standard)\n* Sine wave generation\n* Utilities for streaming data\n\nEach design has a [Hspec](https://hspec.github.io/) testsuite/specification in the [/tests](https://github.com/adamwalker/clash-utils/tree/master/tests) subdirectory. A handful of designs have [formal properties](https://symbiyosys.readthedocs.io/en/latest/) in the [/formal](https://github.com/adamwalker/clash-utils/tree/master/formal) directory.\n\n## Status\n\nFPGA proven designs are indicated in the module documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamwalker%2Fclash-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamwalker%2Fclash-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamwalker%2Fclash-utils/lists"}