A reconfigurable architecture mapping multilayer CNN paradigms