Simulator for embeded systems