summaryrefslogtreecommitdiff
path: root/gnu/packages/electronics.scm
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2025-09-04 17:32:56 +0200
committerGabriel Wicki <gabriel@erlikon.ch>2025-09-22 20:11:50 +0200
commit642083da2bbf2e85cabee7d895d7fc4d981f59b4 (patch)
treed148e9120448fb03e1051a7719940b29bce29e0c /gnu/packages/electronics.scm
parent7bf508edfe129709c5b44d0e7318c5ba385055e7 (diff)
gnu: Add ieee-p1076.
* gnu/packages/electronics.scm (ieee-p1076): New variable. Change-Id: I45f4ef920f1d5768249cb542874ed012be77a13c Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
Diffstat (limited to 'gnu/packages/electronics.scm')
-rw-r--r--gnu/packages/electronics.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index cf49c267f78..49ff1ce67f7 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -248,6 +248,42 @@ individual low-level driver modules.")
(home-page "https://www.comedi.org/")
(license license:lgpl2.1)))
+(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 "IEEE-1076")
+ (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"))