File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -205,13 +205,14 @@ def config_test(
205
205
}
206
206
207
207
def check_test_result (self , config , status , stats ):
208
+ burst = status ['burst_cnt' ]
208
209
errs = ""
209
210
if status ["err_cnt" ] != 0 and not config ["rand_addr" ]:
210
211
errs += f"{ status ['err_cnt' ]} words were wrong\n "
211
212
if status ["ecc_err_occ" ]:
212
213
errs += "ECC error occurred\n "
213
- if stats ['Requests' ]["rd req words" ] != stats ['Requests' ]["rd resp words" ]:
214
- errs += f"{ stats ['Requests' ]['rd req words' ] - stats ['Requests' ]['rd resp words' ]} words were not received\n "
214
+ if stats ['Requests' ]["rd req cnt" ][ - 1 ] * burst != stats ['Requests' ]["rd resp words" ][ - 1 ]:
215
+ errs += f"{ stats ['Requests' ]['rd req cnt' ][ - 1 ] * burst - stats ['Requests' ]['rd resp words' ][ - 1 ]} words were not received\n "
215
216
if not status ["test_succ" ] and errs == "" and not config ["rand_addr" ]:
216
217
errs += "Unknown error occurred\n "
217
218
return errs
You can’t perform that action at this time.
0 commit comments