blob: 176295a6a21128470f4c68f64ef5b103c3ca1b72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
(define-module (riscv)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system gnu)
#:use-module (gnu packages bootloaders) ; For spike
)
(define-public spike
(package
(name "spike")
(version "1.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/riscv/riscv-isa-sim.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (base32 "1hcl01nj96s3rkz4mrq747s5lkw81lgdjdimb8b1b9h8qnida7ww"))))
(propagated-inputs
`(("dtc" ,dtc)))
(build-system gnu-build-system)
(home-page "https://github.com/riscv/riscv-isa-sim")
(description "Spike, the RISC-V ISA Simulator, implements a functional
model of one or more RISC-V harts.")
(synopsis "RISC-V ISA Simulator")
(license license:gpl3+)))
|