Network on Chip (NoC) has significantly solved the problem caused by the bus architecture of System on Chip (SoC). The multicast communication will become an increasingly important factor in future NoC-based system. Network coding (NC) can help to improve the performance of NoC. In this paper, we design a router architecture based on network coding. The design principle and working process of this new router, especially the coding and decoding modules are discussed in details. Finally, a simulation model of the router is established.