Clean up new code for add_modules, add_pins and netlist/layouts.

This commit is contained in:
Matt Guthaus
2018-08-28 10:24:09 -07:00
parent 6401cbf2a6
commit e17c69be3e
23 changed files with 466 additions and 333 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ class instance(geometry):
""" This updates the placement of an instance. """
debug.info(3, "placing instance {}".format(self.name))
# Update the placement of an already added instance
self.offset = offset
self.offset = vector(offset)
self.mirror = mirror
self.rotate = rotate
self.update_boundary()