Packetization of Shared-Memory Traces for Message Passing Oriented NoC Simulation