From: Luke Kenneth Casson Leighton Date: Sun, 22 Jul 2018 08:26:11 +0000 (+0100) Subject: add minitest stand-in for now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0455cb8e6a251f6448621faaeab25d6b19c13203;p=shakti-iclass.git add minitest stand-in for now --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..378eac2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..9c4476f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "src/peripherals"] + path = src/peripherals + url = gitolite3@libre-riscv.org:shakti-peripherals.git +[submodule "src/pinmux"] + path = src/pinmux + url = gitolite3@libre-riscv.org:pinmux.git diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..265399b --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +all: spec_to_pinmux pinmux_to_bsv gen_verilog + @echo making minitest + +spec_to_pinmux: + @mkdir -p build + @cd src/pinmux/ && python src/pinmux_generator.py -s minitest \ + -o ../../build/minitest +pinmux_to_bsv: + @mkdir -p build + @cd src/pinmux/ && python src/pinmux_generator.py \ + -o ../../build/minitest +gen_verilog: + @echo making minitest verilog + @make -C build/minitest/bsv_src gen_verilog diff --git a/bin/gitmoduleupdate.sh b/bin/gitmoduleupdate.sh new file mode 100755 index 0000000..d823df7 --- /dev/null +++ b/bin/gitmoduleupdate.sh @@ -0,0 +1,5 @@ +#!/bin/sh +git submodule init +git submodule update +cd src/peripherals && git checkout master && git pull +cd ../pinmux && git checkout master && git pull diff --git a/src/peripherals b/src/peripherals new file mode 160000 index 0000000..7dfbba6 --- /dev/null +++ b/src/peripherals @@ -0,0 +1 @@ +Subproject commit 7dfbba622da759890ef294c6b7f9113476d272de diff --git a/src/pinmux b/src/pinmux new file mode 160000 index 0000000..f548b72 --- /dev/null +++ b/src/pinmux @@ -0,0 +1 @@ +Subproject commit f548b72cadf68afa8890cd552f4ac2933120ff90