From f87b427f760b9e68ff73d4799f502e8b2a9f8884 Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 20 Jul 2020 12:03:25 -0700 Subject: [PATCH] Add parent to channel route for dumpign debug gds. --- compiler/base/hierarchy_layout.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/base/hierarchy_layout.py b/compiler/base/hierarchy_layout.py index 8995488a..22826054 100644 --- a/compiler/base/hierarchy_layout.py +++ b/compiler/base/hierarchy_layout.py @@ -1018,7 +1018,7 @@ class layout(): Wrapper to create a vertical channel route """ import channel_route - cr = channel_route.channel_route(netlist, offset, layer_stack, directions, vertical=True) + cr = channel_route.channel_route(netlist, offset, layer_stack, directions, vertical=True, parent=self) self.add_inst("vc", cr) self.connect_inst([]) @@ -1027,7 +1027,7 @@ class layout(): Wrapper to create a horizontal channel route """ import channel_route - cr = channel_route.channel_route(netlist, offset, layer_stack, directions, vertical=False) + cr = channel_route.channel_route(netlist, offset, layer_stack, directions, vertical=False, parent=self) self.add_inst("hc", cr) self.connect_inst([])