A Design Space Exploration Framework for ANN-Based Fault Detection in Hardware Systems. (3rd December 2017)