Design of Reliable and Secure Network-On-Chip Architectures