From CS552 Course Wiki: Spring 2013

Main: Test programs

On this page... (hide)

  1. 1. Simple tests (testprograms/public/inst_tests)
  2. 2. Complex tests for demo1 (testprograms/public/complex_demo1)
  3. 3. Random tests used in demo1
  4. 4. Complex tests for demo2 (testprograms/public/complex_demo2)
  5. 5. Tests for final demo
    1. 5.1 Simple tests
    2. 5.2 Exhaustive tests
  6. 6. Programs required for final submission (for final demo).

All programs can also be accessed through the file system from this directory:

/u/k/a/karu/courses/cs552/spring2013/handouts/testprograms/public/*/*.asm

1.  Simple tests (testprograms/public/inst_tests)

A list file with all the program names on a line: all.list

Or copy from here: /u/k/a/karu/courses/cs552/spring2013/handouts/testprograms/public/inst_tests/all.list

See -list option.?

  1. add_0.asm
  2. add_1.asm
  3. add_2.asm
  4. addi_0.asm
  5. addi_1.asm
  6. addi_2.asm
  7. addi_3.asm
  8. andn_0.asm
  9. andn_1.asm
  10. andn_2.asm
  11. andni_0.asm
  12. andni_1.asm
  13. andni_2.asm
  14. andni_3.asm
  15. andni_4.asm
  16. beqz_0.asm
  17. bltz_0.asm
  18. bltz_1.asm
  19. bltz_2.asm
  20. bltz_3.asm
  21. bnez_0.asm
  22. bnez_2.asm
  23. bnez_3.asm
  24. bnez_4.asm
  25. bnez_5.asm
  26. bnez_6.asm
  27. btr_0.asm
  28. btr_1.asm
  29. btr_2.asm
  30. btr_3.asm
  31. btr_4.asm
  32. btr_5.asm
  33. btr_6.asm
  34. btr_7.asm
  35. btr_8.asm
  36. j_0.asm
  37. j_1.asm
  38. j_2.asm
  39. j_3.asm
  40. j_4.asm
  41. jal_0.asm
  42. jal_10.asm
  43. jal_11.asm
  44. jal_12.asm
  45. jal_15.asm
  46. jal_16.asm
  47. jal_17.asm
  48. jal_19.asm
  49. jal_1.asm
  50. jal_22.asm
  51. jal_24.asm
  52. jal_25.asm
  53. jal_26.asm
  54. jal_27.asm
  55. jal_28.asm
  56. jal_29.asm
  57. jal_2.asm
  58. jal_30.asm
  59. jal_31.asm
  60. jal_32.asm
  61. jal_33.asm
  62. jal_35.asm
  63. jal_36.asm
  64. jal_3.asm
  65. jal_4.asm
  66. jal_5.asm
  67. jal_6.asm
  68. jal_8.asm
  69. jalr_0.asm
  70. jalr_11.asm
  71. jalr_12.asm
  72. jalr_13.asm
  73. jalr_14.asm
  74. jalr_15.asm
  75. jalr_16.asm
  76. jalr_17.asm
  77. jalr_18.asm
  78. jalr_19.asm
  79. jalr_1.asm
  80. jalr_27.asm
  81. jalr_28.asm
  82. jalr_29.asm
  83. jalr_2.asm
  84. jalr_30.asm
  85. jalr_31.asm
  86. jalr_32.asm
  87. jalr_33.asm
  88. jalr_34.asm
  89. jalr_36.asm
  90. jalr_3.asm
  91. jalr_4.asm
  92. jalr_5.asm
  93. jalr_6.asm
  94. jalr_7.asm
  95. jr_0.asm
  96. lbi_0.asm
  97. lbi_1.asm
  98. ld_0.asm
  99. ld_1.asm
  100. ld_2.asm
  101. ld_3.asm
  102. rol_0.asm
  103. rol_1.asm
  104. roli_0.asm
  105. roli_1.asm
  106. roli_2.asm
  107. roli_3.asm
  108. roli_4.asm
  109. ror_0.asm
  110. ror_1.asm
  111. ror_2.asm
  112. ror_3.asm
  113. ror_4.asm
  114. ror_6.asm
  115. rori_0.asm
  116. sco_0.asm
  117. sco_1.asm
  118. sco_2.asm
  119. seq_0.asm
  120. seq_1.asm
  121. seq_2.asm
  122. seq_3.asm
  123. seq_4.asm
  124. seq_5.asm
  125. seq_6.asm
  126. seq_7.asm
  127. seq_8.asm
  128. seq_9.asm
  129. siic_0.asm
  130. slbi_0.asm
  131. slbi_1.asm
  132. slbi_2.asm
  133. sle_0.asm
  134. sle_1.asm
  135. sle_2.asm
  136. sle_3.asm
  137. sle_4.asm
  138. sle_5.asm
  139. sle_6.asm
  140. sll_0.asm
  141. sll_1.asm
  142. sll_2.asm
  143. sll_3.asm
  144. sll_4.asm
  145. slli_0.asm
  146. slli_1.asm
  147. slli_2.asm
  148. slt_0.asm
  149. slt_1.asm
  150. slt_2.asm
  151. slt_5.asm
  152. srli_0.asm
  153. srli_1.asm
  154. srli_2.asm
  155. st_0.asm
  156. st_10.asm
  157. st_1.asm
  158. st_2.asm
  159. st_3.asm
  160. st_4.asm
  161. st_5.asm
  162. st_6.asm
  163. st_7.asm
  164. st_8.asm
  165. st_9.asm
  166. stu_0.asm
  167. stu_1.asm
  168. stu_2.asm
  169. sub_0.asm
  170. sub_1.asm
  171. sub_2.asm
  172. sub_3.asm
  173. sub_4.asm
  174. sub_5.asm
  175. sub_6.asm
  176. sub_7.asm
  177. subi_0.asm
  178. subi_1.asm
  179. subi_2.asm
  180. xor_0.asm
  181. xor_1.asm
  182. xor_2.asm
  183. xor_3.asm
  184. xor_4.asm
  185. xor_5.asm
  186. xor_6.asm
  187. xori_0.asm
  188. xori_10.asm
  189. xori_11.asm
  190. xori_12.asm
  191. xori_13.asm
  192. xori_1.asm
  193. xori_2.asm
  194. xori_3.asm
  195. xori_4.asm
  196. xori_5.asm
  197. xori_6.asm
  198. xori_7.asm
  199. xori_8.asm
  200. xori_9.asm

2.  Complex tests for demo1 (testprograms/public/complex_demo1)

A list file with all the program names on a line: all.list

Or copy from here: ~karu/courses/cs552/spring2013/handouts/testprograms/public/complex_demo1/all.list

  1. branchTest.asm
  2. easyTest.asm
  3. firstTest.asm
  4. loadStoreTest.asm
  5. shiftTest.asm

3.  Random tests used in demo1


4.  Complex tests for demo2 (testprograms/public/complex_demo2)

all.list

  1. pipeTest.asm
  2. stallTest.asm
  3. alignTest.asm
  4. perf-test-dep-all.asm
  5. perf-test-dep-ld.asm
  6. perf-test-dep-ldst.asm
  7. perf-test-dep-waw.asm
  8. perf-test-dep-zero.asm

Tests below are visible now

5.  Tests for final demo

For the final demo, there are several more tests provided. All are are subdirectories from: ~karu/courses/cs552/spring2013/handouts/testprograms/public/

There are two categories of tests:

5.1  Simple tests

When you just begin adding a new feature. Use these tests to make sure basic functionality is still there. I recommend you use these tests as you start integrating different memories to your processor.

  1. inst_tests

5.2  Exhaustive tests

I recommend, that you run all of these when you make a large change to your processor. When you believe stalling instruction memory is complete for example, run all of these and make sure they all pass. similarly when your data-cache is fully integrated run them all and make sure your processor works.

6.  Programs required for final submission (for final demo).

Your submission must include the following:

You can use the script run-final-all.sh to run all the required tests. It will create all these summary.log files. Running all the tests will take about 40 minutes. So plan ahead!

If you look closely, you will see that rand_final has a mix of tests from all the categories.

rand_mem and rand_simple are intentionally left out to reduce the time it takes to run all simulations

Retrieved from http://pages.cs.wisc.edu/~karu/courses/cs552/spring2013/wiki/index.php/Main/TestPrograms
Page last modified on January 23, 2013, at 04:30 PM