From 7fe9e5704d071ca9b0c9b6244ed9deae8d06fc94 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Thu, 29 Aug 2019 16:06:34 -0700 Subject: [PATCH] Convert vcg and nets to ordered dict --- compiler/base/hierarchy_layout.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/base/hierarchy_layout.py b/compiler/base/hierarchy_layout.py index 26436963..2fea5c61 100644 --- a/compiler/base/hierarchy_layout.py +++ b/compiler/base/hierarchy_layout.py @@ -6,6 +6,7 @@ # All rights reserved. # import itertools +import collections import geometry import gdsMill import debug @@ -839,10 +840,10 @@ class layout(): #hcg = {} # Initialize the vertical conflict graph (vcg) and make a list of all pins - vcg = {} + vcg = collections.OrderedDict() # Create names for the nets for the graphs - nets = {} + nets = collections.OrderedDict() index = 0 #print(netlist) for pin_list in netlist: