A systematic framework to analyze the design space of DNN accelerators