DNS of separated flow: Scale-by-scale analysis