From unknown Thu Jun 19 14:04:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78774 <78774@debbugs.gnu.org> To: bug#78774 <78774@debbugs.gnu.org> Subject: Status: [PATCH electronics-team v4] gnu: nextpnr: Add ecp5 and himbaechel architectures. Reply-To: bug#78774 <78774@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:04:14 +0000 retitle 78774 [PATCH electronics-team v4] gnu: nextpnr: Add ecp5 and himbae= chel architectures. reassign 78774 guix-patches submitter 78774 Cayetano Santos severity 78774 normal tag 78774 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 12 06:26:42 2025 Received: (at submit) by debbugs.gnu.org; 12 Jun 2025 10:26:42 +0000 Received: from localhost ([127.0.0.1]:56614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uPf8r-0007wa-PH for submit@debbugs.gnu.org; Thu, 12 Jun 2025 06:26:42 -0400 Received: from lists.gnu.org ([2001:470:142::17]:55344) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uPf8p-0007w1-72 for submit@debbugs.gnu.org; Thu, 12 Jun 2025 06:26:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uPf8c-0006yT-JF for guix-patches@gnu.org; Thu, 12 Jun 2025 06:26:28 -0400 Received: from confino.investici.org ([2a11:7980:1::2:0]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uPf8Y-0007a8-8U for guix-patches@gnu.org; Thu, 12 Jun 2025 06:26:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1749723977; bh=yu4By8NVKB9LVe4iUuiOx3FLoepeHG/Ld7rG4e/GYFg=; h=From:To:Cc:Subject:Date:From; b=AZ1ntQtb2wsaxPlA9lzwe42kmajVsAy/egLctcMgjjc5PH6JCjgQtiSlYEXCcaQeE ByfF9Uu9EqWrsmO+9J+bnhSQdLa4H8f/ulL/a8uxg+CBELXP+7UNB620u0Vd59wsnc dxYK4oIBxAaVpVIrsh7ssxw3+jgd7boeYkWAPMng= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4bHzG14qgdz10wr; Thu, 12 Jun 2025 10:26:17 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4bHzG13hwSz10wj; Thu, 12 Jun 2025 10:26:17 +0000 (UTC) From: Cayetano Santos To: 78390@debbugs.gnu.org Subject: [PATCH electronics-team v4] gnu: nextpnr: Add ecp5 and himbaechel architectures. Date: Thu, 12 Jun 2025 12:23:40 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-Debbugs-Cc: Cayetano Santos , Ekaitz Zarraga , Gabriel Wicki , Maxim Cournoyer Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a11:7980:1::2:0; envelope-from=csantosb@inventati.org; helo=confino.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Cayetano Santos via Guix-patches via X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) From: Cayetano Santos via Guix-patches via Change-Id: Ia4b92f6cd1693b844b35949fdc23369e958e73c1 --- As prjbeyond-db now includes a free license [0], we way produce an executable for himbaechel architecture, in addition to ecp5. [0] https://github.com/YosysHQ-GmbH/prjbeyond-db/issues/2#issuecomment-2963375264 gnu/packages/fpga.scm | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index c46631c6cd..3240cca92f 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -55,6 +55,7 @@ (define-module (gnu packages fpga) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) + #:use-module (gnu packages electronics) #:use-module (gnu packages elf) #:use-module (gnu packages flex) #:use-module (gnu packages freedesktop) @@ -437,18 +438,39 @@ (define-public nextpnr (list #:cmake cmake ;CMake 3.25 or higher is required. #:configure-flags - #~(list "-DARCH=generic;ice40" ;TODO: enable more architectures? + ;; TODO: enable more architectures? + #~(list "-DARCH=generic;ice40;ecp5;himbaechel" "-DBUILD_GUI=ON" "-DUSE_OPENMP=ON" "-DBUILD_TESTS=ON" + "-DHIMBAECHEL_UARCH=ng-ultra" + "-DHIMBAECHEL_NGULTRA_DEVICES=ng-ultra" + "-DHIMBAECHEL_PRJBEYOND_DB=/tmp/prjbeyond-db" (string-append "-DCURRENT_GIT_VERSION=nextpnr-" #$version) (string-append "-DICESTORM_INSTALL_PREFIX=" #$(this-package-input "icestorm")) + (string-append "-DTRELLIS_INSTALL_PREFIX=" + #$(this-package-input "prjtrellis")) "-DUSE_IPO=OFF") #:phases #~(modify-phases %standard-phases + ;; Required by himbaechel architecture, ng-ultra support. + (add-after 'unpack 'get-prjbeyond-db + (lambda _ + (copy-recursively + #$(origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/yosyshq-GmbH/prjbeyond-db/") + ;; We take latest commit, as indicated in nextpnr’s + ;; README.md file + (commit "06d3b424dd0e52d678087c891c022544238fb9e3"))) + (sha256 + (base32 + "17dd3cgms2fy6xvz7magdmvv92km4cqh2kz9dyjrvz5y8caqav4y"))) + "/tmp/prjbeyond-db"))) (add-after 'unpack 'unbundle-sanitizers-cmake - (lambda* (#:key inputs #:allow-other-keys) + (lambda _ (substitute* "CMakeLists.txt" ;; Use the system sanitizers-cmake module. This is made ;; necessary 'sanitizers-cmake' installing a FindPackage @@ -465,6 +487,7 @@ (define-public nextpnr corrosion eigen icestorm + prjtrellis pybind11 python qtbase-5 base-commit: 8730c8f3a86ef41d5b88df573fce9b6d73c23b0c -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 18 10:34:49 2025 Received: (at 78774-done) by debbugs.gnu.org; 18 Jun 2025 14:34:49 +0000 Received: from localhost ([127.0.0.1]:51859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uRtsH-0007h0-6R for submit@debbugs.gnu.org; Wed, 18 Jun 2025 10:34:49 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:42686) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uRtrU-0007b0-2N; Wed, 18 Jun 2025 10:34:01 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D499524D; Wed, 18 Jun 2025 16:33:51 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id e08kSz9nx9Kx; Wed, 18 Jun 2025 16:33:51 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B9CD5112; Wed, 18 Jun 2025 16:33:49 +0200 (CEST) Date: Wed, 18 Jun 2025 16:33:48 +0200 From: Andreas Enge To: Maxim Cournoyer Subject: Re: bug#78390: [PATCH electronics-team] gnu: nextpnr: Add ecp5 and himbaechel architectures. Message-ID: References: <279f0c297865b8963b03dd173d171d4d3fe2eaa7.1747051833.git.csantosb@inventati.org> <4e73f7ac01330bff25b5a95d0a3e60e0aa85d903.1747645878.git.csantosb@inventati.org> <87cyc28goy.fsf_-_@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87cyc28goy.fsf_-_@gmail.com> X-Rspamd-Server: hera X-Rspamd-Queue-Id: D499524D X-Spamd-Result: default: False [0.94 / 15.00]; BAYES_HAM(-2.94)[99.75%]; NEURAL_SPAM(1.98)[0.660]; SUSPICIOUS_RECIPS(1.50)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_FIVE(0.00)[6]; TAGGED_RCPT(0.00)[]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Action: no action X-Spamd-Bar: / X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78774-done Cc: 78390-done@debbugs.gnu.org, Gabriel Wicki , Cayetano Santos , 78774-done@debbugs.gnu.org, Ekaitz Zarraga X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, thanks for the license initiative, that has yielded a nice outcome! I have pushed v4 and am closing the issue (and its duplicate). Andreas From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 18 19:38:23 2025 Received: (at 78774-done) by debbugs.gnu.org; 18 Jun 2025 23:38:24 +0000 Received: from localhost ([127.0.0.1]:58164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uS2MH-00049U-NM for submit@debbugs.gnu.org; Wed, 18 Jun 2025 19:38:23 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:50348) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uS2MD-000483-0x; Wed, 18 Jun 2025 19:38:18 -0400 Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-31393526d0dso85625a91.0; Wed, 18 Jun 2025 16:38:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750289891; x=1750894691; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=HEZ0ieH930piar8PJZXovRd25opVKLA1gsIm5IzO/Lk=; b=MSl/uVAjs7JjX88jCngqJry+B3pC7tITciWswvksj85/KJwieg9/s06OE+lMIwe1jv ZPFESFhUue2V349AYtmJ9yvkP7voc33MRM8to8NwzUgQeeYREMvdXpGb86jgYC3v9Vw/ b94RTE7D2YtFZBZUV7gONs0El5IIgsI+teRl7CW3d1w+mbF0mSiD77w/cbsQIYmgRlWO k4TmOorx2ZyRnUDfA1YkgbbM7pn1bQ5RG+RFc2X5+o8oCxXfJst9IHuPQOSO+ZPDILVD sB0REqL+5dmOHN+JLSaiAg/N3AWYqlG667q/Uq1vyf1vCnNSIXQQjAA3hS40RDM01/hR QS+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750289891; x=1750894691; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HEZ0ieH930piar8PJZXovRd25opVKLA1gsIm5IzO/Lk=; b=GGlmLtvSbTRsb1aZa9R9Ev3HCTtnE/eP4cHOtYmm63mN/aJLBMxsyuXmfyNJ9M4jUw C2KaerfyP2X2GAs7V8fPJp1JahvQM5qYqUKaSOBv0W24AoeegkP9Gs8j3xwmfJ2/Feaw ryNtW8621qMmPsvI5oQlr0syR5qe7BXRuGXnKgO20TE24hT5X0NDg6SsQygitTExgDg9 +9J+ID8CVnm7bz9mlCdC7Uq83Ir/Swbp8kppj2IyeLNIQXotlor7OrnRmgeznNWlbNvC S7fPXN9ad4M3GvEl9HZ2i6ta2OHLV4xe33CH8wrhfntt9hErMsdHDoPch2Tv1F+xyngl SUGA== X-Forwarded-Encrypted: i=1; AJvYcCV/NlaM6fxT8taIugH53rK7oiPvjxoOc2rrTbnBi0Qyq2fZxzgQc5oo+loI0D9BcFbQOzQEDMbumzGi@debbugs.gnu.org, AJvYcCVnnPLHtcB7idhBnoS2nOqM5LOvoLhtP88vrcbCjcqftSk9cM6FLNiYO5zm6wlfxFFO3QQZSCA0qT5IhQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzyeVS6zk6wZ4b+PXi1eOlS9gvkNk25y5jWyavYAPmTQuGUHaf/ 2MuuPApnMNat1X+wnH2tTmWTFo1XvmaMfFKg63c8y0GIv5L8PcB7gjSD X-Gm-Gg: ASbGncvw+i8kAYes0qqiU3hRIvvfVrJdvpDGz5XdEQ5Rue4Mmzt49tlQjuRxGgo/teE 3S7y3svlxAXXp/TTAvgEHQhJ6vBvG7C9tUHbrW4jaPB9JyYQesboEQOa/7ojL30UrbdjOenC0L8 L2BWkojovXTwlFOuNTq39uPdCxKZQ4n2vPPuRXUGMoT9a+TJieLUDbC6qsag6e13MZD8sjBaflv t4AbT7z7zLnH0qneuLhZOG+222t0AZoVRd0N4fDb57NSxeZJOs9+YZO5LwvO4wZq6W27E4zlApM o633I9vCnh52/zvcprL2uRkutXs45pW3Ap1Ril/nGGsTgOc/KWHFeGJL9dG/Xlzj X-Google-Smtp-Source: AGHT+IFMcRZPBMJmcuKI00UKL079mZoK5/bLrTynSV0yo1YA+p/yB4jleWeq2zOiYHaL/Ftf/dVA+Q== X-Received: by 2002:a17:90b:5242:b0:313:2adc:b4c4 with SMTP id 98e67ed59e1d1-313f1daf390mr34170860a91.24.1750289890734; Wed, 18 Jun 2025 16:38:10 -0700 (PDT) Received: from terra ([2405:6586:7c0:4400:8c2a:c791:f284:c04b]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3158a335460sm633972a91.49.2025.06.18.16.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jun 2025 16:37:58 -0700 (PDT) From: Maxim Cournoyer To: Andreas Enge Subject: Re: bug#78390: [PATCH electronics-team] gnu: nextpnr: Add ecp5 and himbaechel architectures. In-Reply-To: (Andreas Enge's message of "Wed, 18 Jun 2025 16:33:48 +0200") References: <279f0c297865b8963b03dd173d171d4d3fe2eaa7.1747051833.git.csantosb@inventati.org> <4e73f7ac01330bff25b5a95d0a3e60e0aa85d903.1747645878.git.csantosb@inventati.org> <87cyc28goy.fsf_-_@gmail.com> Date: Thu, 19 Jun 2025 08:37:54 +0900 Message-ID: <87h60cr57x.fsf@terra.mail-host-address-is-not-set> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78774-done Cc: Ekaitz Zarraga , Maxim Cournoyer , 78390-done@debbugs.gnu.org, Gabriel Wicki , Cayetano Santos , 78774-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Andreas Enge writes: > Hello, > > thanks for the license initiative, that has yielded a nice outcome! > > I have pushed v4 and am closing the issue (and its duplicate). Thanks! -- Maxim