From 2c610036b2ee00d10286353c2e758e3778ed56b5 Mon Sep 17 00:00:00 2001 From: Bastian Koppelmann Date: Fri, 3 Jan 2020 12:24:14 +0100 Subject: [PATCH] router/supply_grid_router: Print init time to the user this can take considerable amount of time, so the user knows that useful work is done. Signed-off-by: Bastian Koppelmann --- compiler/router/supply_grid_router.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/router/supply_grid_router.py b/compiler/router/supply_grid_router.py index 881e87b2..b28f875e 100644 --- a/compiler/router/supply_grid_router.py +++ b/compiler/router/supply_grid_router.py @@ -31,6 +31,8 @@ class supply_grid_router(router): This will route on layers in design. It will get the blockages from either the gds file name or the design itself (by saving to a gds file). """ + start_time = datetime.now() + # Power rail width in minimum wire widths self.rail_track_width = 3 @@ -40,8 +42,8 @@ class supply_grid_router(router): self.supply_rails = {} # This is the same as above but as a sigle set for the all the rails self.supply_rail_tracks = {} - + print_time("Init supply router", datetime.now(), start_time, 3) def create_routing_grid(self):