Challenges of software-hardware co-design: Prestudy in TWINS project