STAR: Synthesis of Tailored Architectures