diff --git a/configs/topologies/CustomMesh.py b/configs/topologies/CustomMesh.py index 545ba4b326..088e4b9cfe 100644 --- a/configs/topologies/CustomMesh.py +++ b/configs/topologies/CustomMesh.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021 ARM Limited +# Copyright (c) 2021,2022 ARM Limited # All rights reserved. # # The license below extends only to copyright in the software and shall @@ -372,6 +372,10 @@ class CustomMesh(SimpleTopology): # Set up network.int_links = self._int_links network.ext_links = self._ext_links + # fix Routers being set as link child + for r in self._routers: + if r.has_parent(): + r.get_parent().clear_child(r.get_name()) network.routers = self._routers pairing = getattr(options, "pairing", None)