Xpipes: a network-on-chip architecture for gigascale systems-on-chip