Fixed lib files to be syntactically correct with multiport. Fixed issue in geometry.py that prevented netlist_only option from working.

This commit is contained in:
Hunter Nichols
2018-10-22 23:33:01 -07:00
parent 62439bdac6
commit 53cb4e7f5e
6 changed files with 33 additions and 30 deletions
+3 -2
View File
@@ -143,8 +143,9 @@ class instance(geometry):
self.rotate = rotate
self.offset = vector(offset).snap_to_grid()
self.mirror = mirror
self.width = round_to_grid(mod.width)
self.height = round_to_grid(mod.height)
if not OPTS.netlist_only:
self.width = round_to_grid(mod.width)
self.height = round_to_grid(mod.height)
self.compute_boundary(offset,mirror,rotate)
debug.info(4, "creating instance: " + self.name)