mirror of https://github.com/VLSIDA/OpenRAM.git
Remove static method call
This commit is contained in:
parent
07ef43eaf8
commit
575f504e4b
|
|
@ -51,8 +51,8 @@ class contact(hierarchy_design.hierarchy_design):
|
||||||
|
|
||||||
# Non-preferred directions
|
# Non-preferred directions
|
||||||
if directions == "nonpref":
|
if directions == "nonpref":
|
||||||
first_dir = "H" if self.get_preferred_direction(layer_stack[0])=="V" else "V"
|
first_dir = "H" if tech.preferred_directions[layer_stack[0]]=="V" else "V"
|
||||||
second_dir = "H" if self.get_preferred_direction(layer_stack[2])=="V" else "V"
|
second_dir = "H" if tech.preferred_directions[layer_stack[2]]=="V" else "V"
|
||||||
self.directions = (first_dir, second_dir)
|
self.directions = (first_dir, second_dir)
|
||||||
# Preferred directions
|
# Preferred directions
|
||||||
elif directions == "pref":
|
elif directions == "pref":
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue