Test Programs
Demo1:
Complex
tests for demo1 (located at
/p/course/cs552-david/public/html/S12/project/tests/public/complex_demo1)
firstTest.asm
easyTest.asm
shiftTest.asm
loadStoreTest.asm
branchTest.asm
finalTest2.asm
BLTZ and BTR tests used for Demo1
BLTZ test
BTR test
Simple Random tests used in Demo 1
Simple
Random Tests - To run use wsrun.pl -list /p/course/cs552-david/public/html/S12/project/tests/public/rand_simple/all.list proc_hier_bench *.v
Random
Tests:
Simple
Random Tests - (located
at
/p/course/cs552-david/public/html/S12/project/tests/public/rand_simple/all.list
)
Complex
Random Tests - (located
at
/p/course/cs552-david/public/html/S12/project/tests/public/rand_complex/all.list
)
Random
Control Tests - (located
at
/p/course/cs552-david/public/html/S12/project/tests/public/rand_ctrl/all.list
)
Random
Memory Tests - (located
at
/p/course/cs552-david/public/html/S12/project/tests/public/rand_mem/all.list
)
Random
icache Tests - (located
at
/p/course/cs552-david/public/html/S12/project/tests/public/rand_icache/all.list
)
Random
dcache Tests - (located
at
/p/course/cs552-david/public/html/S12/project/tests/public/rand_dcache/all.list
)
Random
idcache Tests - (located
at
/p/course/cs552-david/public/html/S12/project/tests/public/rand_idcache/all.list
)
Random
Load/Store Tests - (located
at
/p/course/cs552-david/public/html/S12/project/tests/public/rand_ldst/all.list
)
Student
Tests:
Instruction
Tests - (located
at
/p/course/cs552-david/public/html/S12/project/tests/public/inst_tests/all.list
)
(only those programs which
halt are included, (and don't have unaligned accesses)
Demo2:
Complex
tests for demo2 (located at
/p/course/cs552-david/public/html/S12/project/tests/public/complex_demo2)
alignTest.asm
pipeTest.asm
stallTest.asm
perf-test-dep-zero.asm
perf-test-dep-all.asm
perf-test-dep-ld.asm
perf-test-dep-ldst.asm
perf-test-dep-waw.asm
Demo3: (make
sure you run with wsrun.pl -align)
Complex
tests for demo3 (located at
/p/course/cs552-david/public/html/S12/project/tests/public/complex_demofinal)
alignTest[1-4].asm
- (make sure you run with wsrun.pl -align)
cacheTest.asm
ultimateTest.asm
ldld.asm
ldst.asm
complex_exception_test.asm
- Last three tests only need to pass if going for extra credit
extraCreditTest.asm
simple-exception-test.asm
552Marks:
More
Info Here
How
to run tests? (examples)
Run 1 program:
Run wsrun.pl with the -prog option pointing to the assembly
file to test.
If it fails, compare/examine the
.trace files: (archsim.trace verilogsim.trace) Also, the .log files
might be useful as well.
wsrun.pl -prog
/p/course/cs552-david/public/html/S12/project/tests/public/complex_demo1/firstTest.asm
proc_hier_bench *.v
wsrun.pl -list
/p/course/cs552-david/public/html/S12/project/tests/public/complex_demo1/all.list
proc_hier_bench *.v
wsrun.pl -pipe -list
/p/course/cs552-david/public/html/S12/project/tests/public/complex_demo2/all.list
proc_hier_pbench *.v
wsrun.pl -pipe
-align -list
/p/course/cs552-david/public/html/S12/project/tests/public/complex_demo2/all.list
proc_hier_pbench *.v
wsrun.pl -pipe
-args -novopt -align -list
/p/course/cs552-david/public/html/S12/project/tests/public/complex_demo2/all.list
proc_hier_pbench *.v
|