Adding fix to netlist_only mode in geometry.py. Uncommenting functional tests and running both tests in netlist_only mode.

This commit is contained in:
Michael Timothy Grimes
2018-10-22 09:17:03 -07:00
parent 2053a1ca4d
commit cda2e93cd7
3 changed files with 10 additions and 7 deletions
+6 -2
View File
@@ -143,8 +143,12 @@ 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 OPTS.netlist_only:
self.width = 0
self.height = 0
else:
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)