From b57b68aba645181b78bbdbef4ad908d60da03aa7 Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Sun, 25 Jan 2026 11:57:45 +0100 Subject: gnu: open-logic: Move to hdl * gnu/packages/electronics.scm (open-logic): Move from here ... * gnu/packages/hdl.scm: ... to here. Change-Id: I733fd20cf2059e2f4392bcbe23d6070306549ae8 Signed-off-by: Rutherther --- gnu/packages/electronics.scm | 66 -------------------------------------------- 1 file changed, 66 deletions(-) (limited to 'gnu/packages/electronics.scm') diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index d19a32cb942..f7fe58432ea 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -2056,72 +2056,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 -- cgit v1.3