summaryrefslogtreecommitdiff
path: root/gnu/packages/electronics.scm
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2026-01-25 11:57:45 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:31:35 +0100
commitb57b68aba645181b78bbdbef4ad908d60da03aa7 (patch)
tree1dec169b7ce6ad404c4e1aea2f0313cd3fe92811 /gnu/packages/electronics.scm
parente72ccef56625fbaf8a80bea9af60bee6a0d6e806 (diff)
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 <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/electronics.scm')
-rw-r--r--gnu/packages/electronics.scm66
1 files changed, 0 insertions, 66 deletions
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