-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathscript-test.sh
executable file
·17 lines (12 loc) · 1.16 KB
/
script-test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
################################################
# TEST NO SPM SPM ARCH
./build/X86/gem5.debug --stats-file=test-nospm-spmarch.txt --debug-flags=PseudoInst --debug-file=test-nospm-spmarch.out configs/spm/se.py --cpu-type=timing --mem-size=4GB --caches -c tests/test-progs/spm/test_dir/testn
# TEST NO SPM CONVENTIONAL ARCH
./build/X86/gem5.debug --stats-file=test-nospm-convarch.txt --debug-flags=PseudoInst --debug-file=test-nospm-convarch.out configs/example/se.py --cpu-type=timing --mem-size=4GB --caches -c tests/test-progs/spm/test_dir/testn
################################################
# TEST With SPM
# Default (5/10)
#./build/X86/gem5.debug --stats-file=test-spm.txt --debug-flags=PseudoInst --debug-file=test-spm.out configs/spm/se.py --cpu-type=timing --mem-size=4GB --caches --scratchpad=1 --spm-size-1=8MB --spm-type-1=1 -c tests/test-progs/spm/test_dir/test
# 2/2ns
./build/X86/gem5.debug --stats-file=test-spm.txt --debug-flags=PseudoInst --debug-file=test-spm.out configs/spm/se.py --cpu-type=timing --mem-size=4GB --caches --scratchpad=1 --spm-size-1=8MB --spm-type-1=1 --spm-r-lat-1=2ns --spm-w-lat-1=2ns -c tests/test-progs/spm/test_dir/test