summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortaotieren2021-07-29 16:06:46 +0800
committertaotieren2021-07-29 16:06:46 +0800
commitdd7e09766579f70c75669c8526768f90761c8643 (patch)
tree4884155d92cf2267d35ab77f0b2f4dc1d9d9011b
downloadaur-dd7e09766579f70c75669c8526768f90761c8643.tar.gz
Update v1.0.0
-rw-r--r--.SRCINFO43
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD63
3 files changed, 108 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..110265bc433
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,43 @@
+pkgbase = csky-cpu-wujian100-open
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/T-head-Semi/wujian100_open
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = iverilog
+ depends = verilator
+ depends = gtkwave
+ optdepends = csky-debugserver-bin: C-Sky Debugger Server
+ optdepends = csky-toolchain-900-series-bin: C-Sky toolchain 900 series (RISC-V)
+ source = csky-cpu-wujian100-open::git+https://hub.fastgit.org/T-head-Semi/wujian100_open.git
+ sha256sums = SKIP
+
+pkgname = csky-cpu-wujian100-open
+ pkgdesc = C-Sky CPU wujian100 open. IC design and development should be faster,simpler and more reliable.
+ depends = csky-cpu-wujian100-open-doc
+ depends = csky-cpu-wujian100-open-fpga
+ depends = csky-cpu-wujian100-open-sdk
+ depends = csky-cpu-wujian100-open-soc
+ depends = csky-cpu-wujian100-open-test
+ depends = csky-cpu-wujian100-open-simulation
+
+pkgname = csky-cpu-wujian100-open-doc
+ pkgdesc = C-Sky CPU wujian100 open doc.
+
+pkgname = csky-cpu-wujian100-open-fpga
+ pkgdesc = C-Sky CPU wujian100 open FPGA.
+
+pkgname = csky-cpu-wujian100-open-sdk
+ pkgdesc = C-Sky CPU wujian100 open SDK.
+
+pkgname = csky-cpu-wujian100-open-soc
+ pkgdesc = C-Sky CPU wujian100 open SoC.
+ depends = csky-cpu-wujian100-open-sdk-test
+ depends = csky-cpu-wujian100-open-simulation
+
+pkgname = csky-cpu-wujian100-open-test
+ pkgdesc = C-Sky CPU wujian100 open test bench.
+
+pkgname = csky-cpu-wujian100-open-simulation
+ pkgdesc = C-Sky CPU wujian100 open simulation.
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..37bb465dc2d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*
+*.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..68981a29fc3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,63 @@
+# 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
+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)")
+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. 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."
+ 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."
+ 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."
+ 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."
+ 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."
+ 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."
+ 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