MC-Sim: An efficient simulation tool for MPSoC designs