All-digital time-domain CNN engine for energy efficient edge computing