From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uMwQMzXJ/mIsXgEAbAwnHQ (envelope-from ) for ; Fri, 19 Aug 2022 01:20:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wH/sMjXJ/mLwcgEAauVa8A (envelope-from ) for ; Fri, 19 Aug 2022 01:20:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 64CBC18871 for ; Fri, 19 Aug 2022 01:20:21 +0200 (CEST) Received: from localhost ([::1]:46372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOooG-0005uA-7A for larch@yhetil.org; Thu, 18 Aug 2022 19:20:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOony-0005ro-Cu for guix-patches@gnu.org; Thu, 18 Aug 2022 19:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38903) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOony-0006Uc-2p for guix-patches@gnu.org; Thu, 18 Aug 2022 19:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOonx-0005GX-Ug for guix-patches@gnu.org; Thu, 18 Aug 2022 19:20:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57291] New package: fftgen Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 Aug 2022 23:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57291 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 57291@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166086478720212 (code B ref -1); Thu, 18 Aug 2022 23:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2022 23:19:47 +0000 Received: from localhost ([127.0.0.1]:56885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOonj-0005Fw-Fs for submit@debbugs.gnu.org; Thu, 18 Aug 2022 19:19:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:39382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOonf-0005Fm-0h for submit@debbugs.gnu.org; Thu, 18 Aug 2022 19:19:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOone-0005dg-SL for guix-patches@gnu.org; Thu, 18 Aug 2022 19:19:42 -0400 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]:35235) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOonc-0006DU-7F for guix-patches@gnu.org; Thu, 18 Aug 2022 19:19:42 -0400 Received: from silvi (unknown [85.195.207.206]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA id C45F3400EC for ; Fri, 19 Aug 2022 01:18:44 +0200 (CEST) Date: Fri, 19 Aug 2022 01:18:41 +0200 From: Gabriel Wicki Message-ID: <20220818231841.vncyowy57s2awb74@silvi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=129.132.2.15; envelope-from=gabriel@erlikon.ch; helo=chimborazo.ee.ethz.ch X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660864821; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=G1N5SKhIRGLtvbQ8n0Qy8QfIgbvvdw270pneVHa/zhw=; b=YyHvsTvKxLn3w0oYB5BjvLU+y2lKds5oIJtrPvi1c03ysdPM/GYkXKmDJ+HC4LZ0cBgV+e JuGXlxTdpKYeROr632CqlZRqKtGpki6SeuOO+Dw05nZIAqJ+hMyeIim3oxmdcFEsZZG3nj kkxwN/70nZi4InOijnr3n4ieMsMNcPUaFiPLaS5SAjdphcZO4XicdT/rXrHa+J8LMIoeeX EzDVRNFurbZRoYdJLzJSJAVliWsMz9vnsqA8Z2fkAzbZarghcOhJbFZ6X3r1EF6tzL1v4C jHICTC6c5MMi8yABJLv2ox6UeuoTJ+ZjQVWlWIw8fujqXo7T0cqcn8OgdVsu8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660864821; a=rsa-sha256; cv=none; b=I8y7eiIQJWsbcLhp9YA2c4HEuBJV3cP4FhG3JHaYUCkaOmWM2j++w0IWYKnPVGk0kdQFVP WSoYkF2welITlUXrD8MP0GQfrA7LUSyO/junlvGjpY0AuBiPVARcOX6RrRKEpdc+hGSoUL E07k7E/uNE+1cQ7f6pb9RHWU/jP+23O1SP73IjkkZp9WJEvY9+G/v4hUCsonzpFoxnwlAw lhFjsAGr1Ufv+z7t1U1Qe4ckfy2KZaRSX7fBSzG7sL46okrccKsbPuxlQQWbYcXord+QBN KFTn4PZ7VaOFl/7OcyKKkeZO4j5dA0LYXEEc7vyWl5AbKRvrfhIeFYewA9CxLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 64CBC18871 X-Spam-Score: -2.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: j56Y4pAVmExK Hi! I've stumbled upon this beautiful little piece of software that let's you generate FFT designs in Verilog. Since it's free software I thought I'd ready it up for my favorite distribution! Thanks for merging! gabriel >From 189ae40cb6104ac703f0171e32fe88208f9fcc25 Mon Sep 17 00:00:00 2001 From: Gabriel Wicki Date: Fri, 19 Aug 2022 01:14:06 +0200 Subject: [PATCH] gnu: Add fftgen. * gnu/packages/fpga.scm (fftgen): New variable. --- gnu/packages/fpga.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index 06d4a10e7e..e1ae577c65 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -552,3 +552,34 @@ (define-public verilator 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") + (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 + (string-take commit 8))) + (sha256 + (base32 + "0qq874yalzpjdwnxhc5df8a0ifywv29wcncb09945x56xplvkcmd")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #: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) #t)))))) + (synopsis "Generic Pipelined FFT Core Generator") + (description "fftgen produces FFT hardware designs in Verilog.") + (home-page "https://zipcpu.com/") + (license license:lgpl3)))) -- 2.36.1