blob: 869255c8fd69026ef9e0d548309c947067417cad (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Maintainer: taotieren <admin@taotieren.com>
pkgbase=csky-cpu-wujian100-open
pkgname=($pkgbase csky-cpu-wujian100-open-doc csky-cpu-wujian100-open-fpga csky-cpu-wujian100-open-sdk csky-cpu-wujian100-open-soc csky-cpu-wujian100-open-test csky-cpu-wujian100-open-simulation )
pkgver=1.0.0
pkgrel=1
arch=('x86_64')
url='https://github.com/T-head-Semi/wujian100_open'
license=('MIT')
provides=()
#conflicts=()
depends=("iverilog" "verilator" "gtkwave")
makedepends=("git")
optdepends=("csky-debugserver-bin: C-Sky Debugger Server"
"csky-toolchain-900-series-bin: C-Sky toolchain 900 series (RISC-V)"
"vivado: FPGA/CPLD design suite for Xilinx devices")
source=("${pkgbase}::git+https://hub.fastgit.org/T-head-Semi/wujian100_open.git")
sha256sums=('SKIP')
noextract=()
package_csky-cpu-wujian100-open() {
pkgdesc="C-Sky CPU wujian100 open (ALL). IC design and development should be faster,simpler and more reliable."
depends=(csky-cpu-wujian100-open-doc csky-cpu-wujian100-open-fpga csky-cpu-wujian100-open-sdk csky-cpu-wujian100-open-soc csky-cpu-wujian100-open-test csky-cpu-wujian100-open-simulation)
}
package_csky-cpu-wujian100-open-doc() {
pkgdesc="C-Sky CPU wujian100 open doc. IC design and development should be faster,simpler and more reliable."
install -dm0755 "${pkgdir}/opt/t-head/${pkgbase}"
cp -r "${srcdir}"/${pkgbase}/{doc,README.md} "${pkgdir}/opt/t-head/${pkgbase}"
}
package_csky-cpu-wujian100-open-fpga() {
pkgdesc="C-Sky CPU wujian100 open FPGA. IC design and development should be faster,simpler and more reliable."
install -dm0755 "${pkgdir}/opt/t-head/${pkgbase}"
cp -r "${srcdir}/${pkgbase}/fpga" "${pkgdir}/opt/t-head/${pkgbase}"
}
package_csky-cpu-wujian100-open-sdk() {
pkgdesc="C-Sky CPU wujian100 open SDK. IC design and development should be faster,simpler and more reliable."
install -dm0755 "${pkgdir}/opt/t-head/${pkgbase}"
cp -r "${srcdir}/${pkgbase}/sdk" "${pkgdir}/opt/t-head/${pkgbase}"
}
package_csky-cpu-wujian100-open-soc() {
pkgdesc="C-Sky CPU wujian100 open SoC. IC design and development should be faster,simpler and more reliable."
depends=(csky-cpu-wujian100-open-sdk-test csky-cpu-wujian100-open-simulation)
install -dm0755 "${pkgdir}/opt/t-head/${pkgbase}"
cp -r "${srcdir}/${pkgbase}/soc" "${pkgdir}/opt/t-head/${pkgbase}"
}
package_csky-cpu-wujian100-open-test() {
pkgdesc="C-Sky CPU wujian100 open test bench. IC design and development should be faster,simpler and more reliable."
install -dm0755 "${pkgdir}/opt/t-head/${pkgbase}"
cp -r "${srcdir}"/${pkgbase}/{tb,regress} "${pkgdir}/opt/t-head/${pkgbase}"
}
package_csky-cpu-wujian100-open-simulation() {
pkgdesc="C-Sky CPU wujian100 open simulation. IC design and development should be faster,simpler and more reliable."
install -dm0755 "${pkgdir}/opt/t-head/${pkgbase}"
cp -r "${srcdir}"/${pkgbase}/{case,lib,tools,workdir} "${pkgdir}/opt/t-head/${pkgbase}"
}
# vim: ts=4 sw=4 et
|