Text this: Method for designing specialized computing systems based on hardware and software co-optimization