From f3d2705f64ac3ef2dcdcd0d48eed413fb1fdab40 Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Sun, 25 Jan 2026 12:20:22 +0100 Subject: [PATCH] gnu: ieee-p1076: Move to hdl. * gnu/packages/electronics.scm (ieee-p1076): Move from here ... * gnu/packages/hdl.scm: ... to here. Change-Id: Ie3c6dcfcf7df9fff176d701c010f525aa0d283c6 Signed-off-by: Rutherther --- gnu/packages/electronics.scm | 36 -------------------------------- gnu/packages/hdl.scm | 40 +++++++++++++++++++++++++++++++++++- 2 files changed, 39 insertions(+), 37 deletions(-) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index f7fe58432ea7cdfeb0d29f4f1a9ed2132996ed9d..c1c86e98a3510c0a13f3a3f669134d031158a410 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -403,42 +403,6 @@ that a synthesis tool has not introduced functional changes into a design, or ensuring that a design refactor preserves correctness in all conditions.") (license license:isc))) -(define-public ieee-p1076 - (package - (name "ieee-p1076") - (version "2019") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://opensource.ieee.org/vasg/Packages/") - (commit (string-append "1076-" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1va626i5ww2ziw3dghw0d2mq7mrj5dwcn0h019h77866yw2pq9xn")))) - (build-system copy-build-system) - (native-inputs (list python-minimal-wrapper nvc python-vunit)) - (arguments - (list - ;; Not all 2019 features are supported by nvc compiler. - ;; pass 1055 of 1648 - #:tests? #f - #:install-plan - #~'(("ieee" "share/ieee-p1076/ieee" #:include ("vhdl")) - ("std" "share/ieee-p1076/std" #:include ("vhdl"))))) - (native-search-paths - (list (search-path-specification - (variable "FW_IEEE_p1076") - (separator #f) - (files (list "share/ieee-p1076"))))) - (home-page "https://IEEE-P1076.gitlab.io") - (synopsis "VHDL libraries corresponding to the IEEE 1076 standard") - (description - "Open source materials intended for reference by the IEEE standard 1076, -as approved and published by the @acronym{VHDL, Very High Speed Hardware -Description Language} Analysis and Standardization Group.") - (license license:asl2.0))) - (define-public fftgen (let ((commit "3378b77d83a98b06184656a5cb9b54e50dfe4485") ;no releases (revision "1")) diff --git a/gnu/packages/hdl.scm b/gnu/packages/hdl.scm index 82c96b7a6a09334991e9db14374eadabcb497c0a..ef9f1706bf9731c0205cfc9c207ca962874a4969 100644 --- a/gnu/packages/hdl.scm +++ b/gnu/packages/hdl.scm @@ -22,7 +22,45 @@ #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix packages) - #:use-module (gnu packages electronics)) + #:use-module (gnu packages electronics) + #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz)) + +(define-public ieee-p1076 + (package + (name "ieee-p1076") + (version "2019") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://opensource.ieee.org/vasg/Packages/") + (commit (string-append "1076-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1va626i5ww2ziw3dghw0d2mq7mrj5dwcn0h019h77866yw2pq9xn")))) + (build-system copy-build-system) + (native-inputs (list python-minimal-wrapper nvc python-vunit)) + (arguments + (list + ;; Not all 2019 features are supported by nvc compiler. + ;; pass 1055 of 1648 + #:tests? #f + #:install-plan + #~'(("ieee" "share/ieee-p1076/ieee" #:include ("vhdl")) + ("std" "share/ieee-p1076/std" #:include ("vhdl"))))) + (native-search-paths + (list (search-path-specification + (variable "FW_IEEE_p1076") + (separator #f) + (files (list "share/ieee-p1076"))))) + (home-page "https://IEEE-P1076.gitlab.io") + (synopsis "VHDL libraries corresponding to the IEEE 1076 standard") + (description + "Open source materials intended for reference by the IEEE standard 1076, +as approved and published by the @acronym{VHDL, Very High Speed Hardware +Description Language} Analysis and Standardization Group.") + (license license:asl2.0))) (define-public neorv32 (package