Algorithm 1 Contention Matrix Generation Algorithm Require: NoC with router Rout j,1 ≤ j ≤ X ×Y ×Z. Target flow and contention flows f⟨mi,ni⟩ with (ri,bi), 1 ≤ i ≤ FlowNum. The proportion on X, Y and Z
direction for the target flow and contention flows. Ensure: Determine Contention Matrix ConMatrix