An on-chip interconnect and protocol stack for multiple communication paradigms and programming models