summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/electronics.scm36
-rw-r--r--gnu/packages/hdl.scm40
2 files changed, 39 insertions, 37 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index f7fe58432ea..c1c86e98a35 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
403ensuring that a design refactor preserves correctness in all conditions.") 403ensuring that a design refactor preserves correctness in all conditions.")
404 (license license:isc))) 404 (license license:isc)))
405 405
406(define-public ieee-p1076
407 (package
408 (name "ieee-p1076")
409 (version "2019")
410 (source
411 (origin
412 (method git-fetch)
413 (uri (git-reference
414 (url "https://opensource.ieee.org/vasg/Packages/")
415 (commit (string-append "1076-" version))))
416 (file-name (git-file-name name version))
417 (sha256
418 (base32 "1va626i5ww2ziw3dghw0d2mq7mrj5dwcn0h019h77866yw2pq9xn"))))
419 (build-system copy-build-system)
420 (native-inputs (list python-minimal-wrapper nvc python-vunit))
421 (arguments
422 (list
423 ;; Not all 2019 features are supported by nvc compiler.
424 ;; pass 1055 of 1648
425 #:tests? #f
426 #:install-plan
427 #~'(("ieee" "share/ieee-p1076/ieee" #:include ("vhdl"))
428 ("std" "share/ieee-p1076/std" #:include ("vhdl")))))
429 (native-search-paths
430 (list (search-path-specification
431 (variable "FW_IEEE_p1076")
432 (separator #f)
433 (files (list "share/ieee-p1076")))))
434 (home-page "https://IEEE-P1076.gitlab.io")
435 (synopsis "VHDL libraries corresponding to the IEEE 1076 standard")
436 (description
437 "Open source materials intended for reference by the IEEE standard 1076,
438as approved and published by the @acronym{VHDL, Very High Speed Hardware
439Description Language} Analysis and Standardization Group.")
440 (license license:asl2.0)))
441
442(define-public fftgen 406(define-public fftgen
443 (let ((commit "3378b77d83a98b06184656a5cb9b54e50dfe4485") ;no releases 407 (let ((commit "3378b77d83a98b06184656a5cb9b54e50dfe4485") ;no releases
444 (revision "1")) 408 (revision "1"))
diff --git a/gnu/packages/hdl.scm b/gnu/packages/hdl.scm
index 82c96b7a6a0..ef9f1706bf9 100644
--- a/gnu/packages/hdl.scm
+++ b/gnu/packages/hdl.scm
@@ -22,7 +22,45 @@
22 #:use-module (guix gexp) 22 #:use-module (guix gexp)
23 #:use-module (guix git-download) 23 #:use-module (guix git-download)
24 #:use-module (guix packages) 24 #:use-module (guix packages)
25 #:use-module (gnu packages electronics)) 25 #:use-module (gnu packages electronics)
26 #:use-module (gnu packages python)
27 #:use-module (gnu packages python-xyz))
28
29(define-public ieee-p1076
30 (package
31 (name "ieee-p1076")
32 (version "2019")
33 (source
34 (origin
35 (method git-fetch)
36 (uri (git-reference
37 (url "https://opensource.ieee.org/vasg/Packages/")
38 (commit (string-append "1076-" version))))
39 (file-name (git-file-name name version))
40 (sha256
41 (base32 "1va626i5ww2ziw3dghw0d2mq7mrj5dwcn0h019h77866yw2pq9xn"))))
42 (build-system copy-build-system)
43 (native-inputs (list python-minimal-wrapper nvc python-vunit))
44 (arguments
45 (list
46 ;; Not all 2019 features are supported by nvc compiler.
47 ;; pass 1055 of 1648
48 #:tests? #f
49 #:install-plan
50 #~'(("ieee" "share/ieee-p1076/ieee" #:include ("vhdl"))
51 ("std" "share/ieee-p1076/std" #:include ("vhdl")))))
52 (native-search-paths
53 (list (search-path-specification
54 (variable "FW_IEEE_p1076")
55 (separator #f)
56 (files (list "share/ieee-p1076")))))
57 (home-page "https://IEEE-P1076.gitlab.io")
58 (synopsis "VHDL libraries corresponding to the IEEE 1076 standard")
59 (description
60 "Open source materials intended for reference by the IEEE standard 1076,
61as approved and published by the @acronym{VHDL, Very High Speed Hardware
62Description Language} Analysis and Standardization Group.")
63 (license license:asl2.0)))
26 64
27(define-public neorv32 65(define-public neorv32
28 (package 66 (package