Remove xbar/noc remnants, rule-based cube-view connectors
- Delete xbar.py and noc.py (TwoDMeshNocComponent) — unused since router mesh - Remove xbar_v1/noc_2d_mesh_v1 from components.yaml - Fix pe_to_xbar → pe_to_router in routing exclusion set - Fix xbar_to_hbm_bw_gbs → hbm_to_router_bw_gbs in report.py - Update all docstrings/comments referencing xbar/bridge → router mesh - Cube-view connectors: rule-based _connector_points helper - PE↔router: single diagonal line (not chevron) - UCIe N/S: 45°→horizontal→45° - UCIe E/W: 45°→vertical→45° - HBM ports: 45°→horizontal→45° Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -158,9 +158,9 @@ def test_pe_dma_to_router():
|
||||
def test_command_path_m_cpu_router_pe_cpu():
|
||||
es = _edge_set(_graph())
|
||||
cp = "sip0.cube0"
|
||||
# m_cpu <-> r0c2 (bidirectional command)
|
||||
assert (f"{cp}.m_cpu", f"{cp}.r0c2") in es
|
||||
assert (f"{cp}.r0c2", f"{cp}.m_cpu") in es
|
||||
# m_cpu <-> r1c2 (bidirectional command)
|
||||
assert (f"{cp}.m_cpu", f"{cp}.r1c2") in es
|
||||
assert (f"{cp}.r1c2", f"{cp}.m_cpu") in es
|
||||
# router -> pe_cpu for each PE (command kind)
|
||||
assert (f"{cp}.r0c0", f"{cp}.pe0.pe_cpu") in es
|
||||
assert (f"{cp}.r5c5", f"{cp}.pe7.pe_cpu") in es
|
||||
@@ -416,8 +416,8 @@ def test_cube_view_hbm_router():
|
||||
|
||||
|
||||
def test_cube_view_m_cpu_router():
|
||||
"""Cube view: m_cpu connects to its router r0c2."""
|
||||
"""Cube view: m_cpu connects to its router r1c2."""
|
||||
v = _graph().cube_view
|
||||
ves = {(e.src, e.dst) for e in v.edges}
|
||||
assert ("m_cpu", "r0c2") in ves
|
||||
assert ("r0c2", "m_cpu") in ves
|
||||
assert ("m_cpu", "r1c2") in ves
|
||||
assert ("r1c2", "m_cpu") in ves
|
||||
|
||||
Reference in New Issue
Block a user