File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,3 +17,16 @@ source /ecad/tools/vlsi.bashrc
1717
1818cd $LOCAL_SIM_DIR
1919make -j$LOCAL_MAKE_NPROC -C $LOCAL_SIM_DIR CONFIG=$MX_CICONFIG
20+
21+ cd $LOCAL_CHECKOUT_DIR
22+ chown -R $( whoami) .
23+ git config --global --add safe.directory $LOCAL_CHECKOUT_DIR
24+ git config --global --add safe.directory ' *'
25+ rm -rf $RISCV /lib/libgemmini.so
26+ git submodule update --init software/libgemmini
27+ make -C software/libgemmini install
28+
29+ TESTS_DIR=$LOCAL_CHIPYARD_DIR /generators/gemmini/software/gemmini-rocc-tests
30+ cd $TESTS_DIR
31+ ./build_spike.sh
32+ ./build.sh
Original file line number Diff line number Diff line change @@ -19,24 +19,8 @@ source env.sh
1919# Put Synopsys VCS (and its license server) on PATH for the sims/vcs run.
2020source /ecad/tools/vlsi.bashrc
2121
22- # Install the in-repo libgemmini.so over chipyard's stale copy.
23- cd $LOCAL_CHECKOUT_DIR
24- chown -R $( whoami) .
25- git config --global --add safe.directory $LOCAL_CHECKOUT_DIR
26- git config --global --add safe.directory ' *'
27- rm -rf $RISCV /lib/libgemmini.so
28- git submodule update --init software/libgemmini
29- make -C software/libgemmini install
30-
3122TESTS_DIR=$LOCAL_CHIPYARD_DIR /generators/gemmini/software/gemmini-rocc-tests
3223
33- # Build both binary flavours:
34- # build_spike/ -> -DSPIKE_SIM ROCC-only path
35- # build/ -> default MMIO path used by RTL
36- cd $TESTS_DIR
37- ./build_spike.sh
38- ./build.sh
39-
4024PASS=()
4125FAIL=()
4226
You can’t perform that action at this time.
0 commit comments