mirror of https://github.com/VLSIDA/OpenRAM.git
Odd bug that instances were not properly rotated.
This commit is contained in:
parent
7e2bef624e
commit
dc73e8cb60
|
|
@ -146,6 +146,10 @@ class instance(geometry):
|
||||||
if OPTS.netlist_only:
|
if OPTS.netlist_only:
|
||||||
self.width = 0
|
self.width = 0
|
||||||
self.height = 0
|
self.height = 0
|
||||||
|
else:
|
||||||
|
if mirror in ["R90","R270"] or rotate in [90,270]:
|
||||||
|
self.width = round_to_grid(mod.height)
|
||||||
|
self.height = round_to_grid(mod.width)
|
||||||
else:
|
else:
|
||||||
self.width = round_to_grid(mod.width)
|
self.width = round_to_grid(mod.width)
|
||||||
self.height = round_to_grid(mod.height)
|
self.height = round_to_grid(mod.height)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue