Last change
on this file since 1057 was
1016,
checked in by cfuguet, 9 years ago
|
reconf: dspin_router
- improve the code readability of the dspin_router model.
- update the unitary tests of the dspin_router to support the local
gateway hardware barrier, and the memory cache scratchpad mode.
|
-
Property svn:executable set to
*
|
File size:
684 bytes
|
Rev | Line | |
---|
[887] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | make mkconfig |
---|
| 4 | |
---|
| 5 | SOFT=build/soft.elf |
---|
| 6 | make $SOFT |
---|
| 7 | |
---|
| 8 | # batch mode => no xterm or frame buffer windows |
---|
| 9 | export SOCLIB_TTY=FILES |
---|
| 10 | export SOCLIB_FB=HEADLESS |
---|
[934] | 11 | #export SOCLIB_GDB= |
---|
[887] | 12 | export DISTRIBUTED_BOOT=1 |
---|
| 13 | PLATFORM=../../../../../platforms/tsar_generic_iob |
---|
| 14 | SIMULATOR=$PLATFORM/simul.x |
---|
[1016] | 15 | $SIMULATOR -DSOFT $SOFT \ |
---|
| 16 | -DISK /dev/null \ |
---|
| 17 | -FAULTY_ROUTER 0 1 1 \ |
---|
| 18 | -NCYCLES 20000 > output/log 2>&1 |
---|
| 19 | # -PROCID 0 \ |
---|
| 20 | # -MEMCID 0x1 \ |
---|
| 21 | # -DEBUG 3000 \ |
---|
| 22 | |
---|
[887] | 23 | soclib-cleanup-terms &> /dev/null |
---|
| 24 | mv term0 output/term |
---|
| 25 | grep -q "success" output/term |
---|
| 26 | if [ $? == 0 ]; |
---|
[1016] | 27 | then echo $(basename $PWD) ": Success"; |
---|
| 28 | else echo $(basename $PWD) ": Failure"; |
---|
[887] | 29 | fi; |
---|
Note: See
TracBrowser
for help on using the repository browser.