ESPRIT/sim: A high speed performance-simulator for heterogeneous embedded multiprocessors