Energy aware architecture exploration of a CGRA template