mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: verilator: Improve style.
* gnu/packages/fpga.scm (verilator)[arguments]: Use G-Expressions. Change-Id: I3c04b4a632baaa8f2ff2f79354954fccafbbfd4a Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
3282a001e9
commit
3d55f5c6b9
1 changed files with 22 additions and 20 deletions
|
@ -795,29 +795,31 @@ using different abstraction levels.")
|
||||||
(list perl python systemc))
|
(list perl python systemc))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(replace 'bootstrap
|
#~(modify-phases %standard-phases
|
||||||
(lambda _ (invoke "autoconf")))
|
(replace 'bootstrap
|
||||||
(add-after 'unpack 'adjust-source
|
(lambda _ (invoke "autoconf")))
|
||||||
(lambda _
|
(add-after 'unpack 'adjust-source
|
||||||
(substitute* "bin/verilator"
|
(lambda _
|
||||||
(("/bin/echo") "echo"))))
|
(substitute* "bin/verilator"
|
||||||
(add-before 'check 'disable-gdb-safe-path
|
(("/bin/echo") "echo"))))
|
||||||
(lambda _
|
(add-before 'check 'disable-gdb-safe-path
|
||||||
(setenv "HOME" (getcwd))
|
(lambda _
|
||||||
(mkdir-p (string-append (getcwd) "/.config/gdb"))
|
(setenv "HOME" (getcwd))
|
||||||
(with-output-to-file (string-append (getcwd) "/.config/gdb/gdbinit")
|
(mkdir-p (string-append (getcwd) "/.config/gdb"))
|
||||||
(lambda ()
|
(with-output-to-file
|
||||||
(display "set auto-load safe-path /"))))))
|
(string-append (getcwd) "/.config/gdb/gdbinit")
|
||||||
#:test-target "test"))
|
(lambda ()
|
||||||
|
(display "set auto-load safe-path /"))))))
|
||||||
|
#:test-target "test"))
|
||||||
(home-page "https://www.veripool.org/verilator/")
|
(home-page "https://www.veripool.org/verilator/")
|
||||||
(synopsis "Verilog/SystemVerilog simulator")
|
(synopsis "Verilog/SystemVerilog simulator")
|
||||||
(description
|
(description
|
||||||
"Verilator transforms the specified Verilog or SystemVerilog code by reading it,
|
"Verilator transforms the specified Verilog or SystemVerilog code by
|
||||||
performing lint checks, and optionally inserting assertion checks and
|
reading it, performing lint checks, and optionally inserting assertion checks
|
||||||
coverage-analysis points. It outputs single- or multi-threaded @file{.cpp}
|
and coverage-analysis points. It outputs single- or multi-threaded
|
||||||
and @file{.h} files.")
|
@file{.cpp} and @file{.h} files.")
|
||||||
(license license:lgpl3)))
|
(license license:lgpl3)))
|
||||||
|
|
||||||
(define-public fftgen
|
(define-public fftgen
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue