CerebrasSoftware Engineer · OnsiteCodemia practiceSimulate Contended XY Routing of Messages Across a Core Mesh
Single-flit messages are injected at given cycles and travel on a 2D mesh using XY routing (fix x, then y), one hop per cycle, with each directed link carrying at most one flit per cycle. When flits compete for a link, the one that has waited longest wins, then lower id; return each message's delivery cycle.