Routing and connecting rails with vias done.

Refactored grid path class.
Added direction enum.
Does not route multi-track width wires in signal router.
This commit is contained in:
Matt Guthaus
2018-09-07 14:46:58 -07:00
parent c2c17a33d2
commit 69261a0dc1
11 changed files with 445 additions and 359 deletions
+2 -2
View File
@@ -24,11 +24,11 @@ class vector():
def __str__(self):
""" override print function output """
return "["+str(self.x)+","+str(self.y)+"]"
return "v["+str(self.x)+","+str(self.y)+"]"
def __repr__(self):
""" override print function output """
return "["+str(self.x)+","+str(self.y)+"]"
return "v["+str(self.x)+","+str(self.y)+"]"
def __setitem__(self, index, value):
"""