{"id":26232705,"url":"https://github.com/pc2/chirpz-fpga","last_synced_at":"2026-04-20T16:03:34.934Z","repository":{"id":136811786,"uuid":"475597400","full_name":"pc2/ChirpZ-FPGA","owner":"pc2","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-30T13:03:22.000Z","size":114,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-12-29T19:22:00.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/pc2.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-29T19:49:01.000Z","updated_at":"2024-10-30T08:49:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"88e3ab91-4475-4621-a377-0767cdd45212","html_url":"https://github.com/pc2/ChirpZ-FPGA","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pc2/ChirpZ-FPGA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pc2%2FChirpZ-FPGA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pc2%2FChirpZ-FPGA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pc2%2FChirpZ-FPGA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pc2%2FChirpZ-FPGA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pc2","download_url":"https://codeload.github.com/pc2/ChirpZ-FPGA/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pc2%2FChirpZ-FPGA/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32054611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"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":"2025-03-13T00:38:11.051Z","updated_at":"2026-04-20T16:03:34.929Z","avatar_url":"https://github.com/pc2.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chirp-Z DFT\n\nSingle precision CPU implementation of 1D, 2D and 3D Chirp Z-transforms. The results are verified with FFTW.\n\n## Build\n\n### Prerequisites\n\nThe following libraries have to be loaded in noctua in order to build the target\n\n- Intel FPGA SDK for OpenCL, Nallatech BSP (tested with the following versions)\n\n   `module load intelFPGA_pro/21.2.0 nalla_pcie/20.4.0_hpc`\n\n- FFTW (tested with 3.3.8 and 3.3.9):\n  \n   `module load numlib/FFTW`\n\n- C/C++ compiler (tested with gcc 10.3.0):\n\n    `module load compiler/GCC`\n\n- CMake (tested with 3.20.1)\n\n   `module load devel/CMake`\n\n```bash\nmodule load intelFPGA_pro/21.2.0 nalla_pcie/20.4.0_hpc numlib/FFTW devel/CMake \n```\n\n### Build examples\n\n```bash\n# Release Build\ncmake -DCMAKE_BUILD_TYPE=Release ..\n\n# Debug build to print a comparison output of fftw and implementation \ncmake -DCMAKE_BUILD_TYPE=Debug ..\n\n# Build the tests and src code\nmake all\n\n# build only src \nmake chirpz\n\n# build emulation bitstream\nmake chirp1d_emulate\n\n# build hardware bitstream\nmake chirp1d_syn\n\n# build only test \nmake test_chirpz\n```\n\n\n## Execution\n\nThe arguments available to the program:\n\n```bash\nUsage:\n  Chirp-Z [OPTION...]\n  -n, --num arg    Size of FFT dim (default: 31)\n  -d, --dim arg    Number of FFT dim (default: 3)\n  -p, --path arg   Path to bitstream\n  -c, --cpu-only   CPU FFTW Only\n  -i, --iter arg   Number of iterations (default: 1)\n  -y, --noverify   No verification\n  -b, --batch arg  Num of even batches (default: 1)\n  -s, --use_svm    SVM enabled\n  -e, --emulate    toggle emulation\n  -k, --back       Toggle Backward FFT\n  -h, --help       Print usage\n```\n\nTo execute on CPU:\n\n```bash\n# 1D Chirp\n./chirpz --cpu-only -n 84 -d 1\n\n# 1D Chirp Inverse\n./chirpz --cpu-only -n 84 -d 1 -k\n\n# 2D Chirp\n./chirpz --cpu-only -n 31 -d 2\n\n# 3D Chirp\n./chirpz --cpu-only -n 3 -d 3\n\n# Run all tests\n./test_chirpz\n```\n\nTo emulate FPGA:\n\n```bash\n# 1D Chirp with batched execution for an average of iterations\n./chirpz -p \u003cemulation_bitstream_path\u003e -n 31 -d 1 --emulate --batch=3 --iter=20\n```\n\nTo run on FPGA:\n\n```bash\n./chirpz -p \u003cpath_to_bitstream\u003e -n 31 -d 1 --batch=3 --iter=20\n```\n\n## Result Interpretation\n\n- When using a `Release` build, the output would denote that it was verified with FFTW and that the output is correct or incorrect. To print the resulting array, use a `DEBUG` build.\n\n```bash\nCONFIGURATION: \n---------------\nType        : Complex to Complex\nPoints      : 31 \nBitstream   : \nIterations  : 1\nBatch       : 1\n----------------\n\n-- 1D Chirp\n-- Executing ...\n-- Verifying ...\n-- Works and verified using FFTW\n```\n\nor\n\n```bash\n...\n-- FFTW and Implementation not the same!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpc2%2Fchirpz-fpga","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpc2%2Fchirpz-fpga","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpc2%2Fchirpz-fpga/lists"}