Reliability analysis of deep learning accelerators via software-level fault injection