guix_mirror_bot pushed a commit to branch next-master
in repository guix.

commit adf9a87c07bdb7396cf4da2c1cb7b16c48b00c72
Author: Cayetano Santos <[email protected]>
AuthorDate: Sun Jan 25 11:57:45 2026 +0100

    gnu: open-logic: Move to hdl
    
    * gnu/packages/electronics.scm (open-logic): Move from here ...
    * gnu/packages/hdl.scm: ... to here.
    
    Change-Id: I733fd20cf2059e2f4392bcbe23d6070306549ae8
---
 gnu/packages/electronics.scm | 66 --------------------------------------------
 gnu/packages/hdl.scm         | 66 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+), 66 deletions(-)

diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index dc929de2c5..a283a56a95 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -2052,72 +2052,6 @@ library, scripting API, and co-simulation capability for 
FPGA or ASIC
 verification.")
     (license license:asl2.0)))
 
-(define-public open-logic
-  (package
-    (name "open-logic")
-    (version "4.2.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-              (url "https://github.com/open-logic/open-logic/";)
-              (commit version)
-              ;; Required by the en_cl_fix submodule.
-              (recursive? #t)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "1792a6i9jq2yawipmk0nr01z092kx3kkav9v5sjf34khk3biav6q"))))
-    (outputs
-     '("out" "olo"))
-    (properties
-     `((output-synopsis "out" "Instance this design library as work")
-       (output-synopsis "olo" "Instance this design library as olo")))
-    (build-system copy-build-system)
-    (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'install 'check
-            (lambda* (#:key tests? inputs #:allow-other-keys)
-              (when tests?
-                (with-directory-excursion "3rdParty/en_cl_fix/sim"
-                  (invoke "python3" "run.py" "--simulator" "nvc"
-                          "--simulator-path"
-                          (dirname (search-input-file inputs "bin/nvc"))))
-                (with-directory-excursion "sim"
-                  (substitute* "run.py"
-                    ;; This is required to comply with current VUnit, see:
-                    ;; https://github.com/VUnit/vunit/issues/777
-                    (("compile_builtins=False, ")
-                     ""))
-                  (invoke "python3" "run.py" "--nvc" "-v"))))))
-      #:install-plan
-      #~'(;; Library work.
-          ("src" "share/open-logic/work/src"
-           #:include ("vhd"))
-          ("3rdParty" "share/open-logic/work/3rdParty"
-           #:include ("vhd"))
-          ;; Library olo.
-          ("src" "share/open-logic/olo/src"
-           #:include ("vhd") #:output "olo")
-          ("3rdParty" "share/open-logic/olo/3rdParty"
-           #:include ("vhd") #:output "olo"))))
-    (native-inputs
-     (list nvc python-matplotlib python-minimal python-vunit))
-    (native-search-paths
-     (list (search-path-specification
-             (variable "FW_OPEN_LOGIC")
-             (separator #f)
-             (files (list "share/open-logic")))))
-    (home-page "https://github.com/open-logic/open-logic/";)
-    (synopsis "Open library of VHDL standard components")
-    (description "Open Logic implements commonly used design units in a
-reusable and vendor/tool-independent way.  It is written following the VHDL
-2008 standard, but can also be used from System Verilog.")
-    (license (list license:lgpl2.1
-                   license:expat)))) ;en_cl_fix uses Expat license
-
 ;;; Required by python-vunit.
 (define osvvm-2023.04
   (package
diff --git a/gnu/packages/hdl.scm b/gnu/packages/hdl.scm
index c8ad7c2223..82c96b7a6a 100644
--- a/gnu/packages/hdl.scm
+++ b/gnu/packages/hdl.scm
@@ -87,3 +87,69 @@ chip written in platform-independent VHDL.")
      `((output-synopsis "out" "Instance this design library as work")
        (output-synopsis "neorv32" "Instance this design library as neorv32")))
     (license license:bsd-3)))
+
+(define-public open-logic
+  (package
+    (name "open-logic")
+    (version "4.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/open-logic/open-logic/";)
+              (commit version)
+              ;; Required by the en_cl_fix submodule.
+              (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1792a6i9jq2yawipmk0nr01z092kx3kkav9v5sjf34khk3biav6q"))))
+    (outputs
+     '("out" "olo"))
+    (properties
+     `((output-synopsis "out" "Instance this design library as work")
+       (output-synopsis "olo" "Instance this design library as olo")))
+    (build-system copy-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'check
+            (lambda* (#:key tests? inputs #:allow-other-keys)
+              (when tests?
+                (with-directory-excursion "3rdParty/en_cl_fix/sim"
+                  (invoke "python3" "run.py" "--simulator" "nvc"
+                          "--simulator-path"
+                          (dirname (search-input-file inputs "bin/nvc"))))
+                (with-directory-excursion "sim"
+                  (substitute* "run.py"
+                    ;; This is required to comply with current VUnit, see:
+                    ;; https://github.com/VUnit/vunit/issues/777
+                    (("compile_builtins=False, ")
+                     ""))
+                  (invoke "python3" "run.py" "--nvc" "-v"))))))
+      #:install-plan
+      #~'(;; Library work.
+          ("src" "share/open-logic/work/src"
+           #:include ("vhd"))
+          ("3rdParty" "share/open-logic/work/3rdParty"
+           #:include ("vhd"))
+          ;; Library olo.
+          ("src" "share/open-logic/olo/src"
+           #:include ("vhd") #:output "olo")
+          ("3rdParty" "share/open-logic/olo/3rdParty"
+           #:include ("vhd") #:output "olo"))))
+    (native-inputs
+     (list nvc python-matplotlib python-minimal python-vunit))
+    (native-search-paths
+     (list (search-path-specification
+             (variable "FW_OPEN_LOGIC")
+             (separator #f)
+             (files (list "share/open-logic")))))
+    (home-page "https://github.com/open-logic/open-logic/";)
+    (synopsis "Open library of VHDL standard components")
+    (description "Open Logic implements commonly used design units in a
+reusable and vendor/tool-independent way.  It is written following the VHDL
+2008 standard, but can also be used from System Verilog.")
+    (license (list license:lgpl2.1
+                   license:expat)))) ;en_cl_fix uses Expat license

Reply via email to