diff options
author | Marius Bakke <marius@gnu.org> | 2022-09-07 18:20:23 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-09-07 18:20:23 +0200 |
commit | 6cfb2e6270b2759fb98a0de665235bcbb9b9eccf (patch) | |
tree | 83c467772a94cbf72f96b26b08f0a29d1822b1c1 /gnu/packages/fpga.scm | |
parent | 92fdda5a6351dd5246b65165547d50d0b827cef3 (diff) | |
parent | 453e7dd8c4b9422a7c80e3b3e75589b6471f5af1 (diff) | |
download | guix-6cfb2e6270b2759fb98a0de665235bcbb9b9eccf.tar guix-6cfb2e6270b2759fb98a0de665235bcbb9b9eccf.tar.gz |
Merge branch 'master' into staging
Diffstat (limited to 'gnu/packages/fpga.scm')
-rw-r--r-- | gnu/packages/fpga.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index 06d4a10e7e..58b81bf83a 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -552,3 +552,35 @@ then compiled by a C++ compiler (GCC/Clang/etc.). The resulting executable performs the design simulation. Verilator also supports linking its generated libraries, optionally encrypted, into other simulators.") (license license:lgpl3))) + +(define-public fftgen + (let ((commit "1d75a992efd0528edea128a903aafdabe133cb08") ;no releases + (revision "0")) + (package + (name "fftgen") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ZipCPU/dblclockfft") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qq874yalzpjdwnxhc5df8a0ifywv29wcncb09945x56xplvkcmd")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;no tests + #:make-flags '("CFLAGS=-g -O2") ;default flags lack -O2 + #:phases (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") + "/bin"))) + (install-file "sw/fftgen" bin))))))) + (synopsis "Generic pipelined FFT core generator") + (description "fftgen produces @acronym{FFT, fast-Fourier transforms} +hardware designs in Verilog.") + (home-page "https://zipcpu.com/") + (license license:lgpl3+)))) |