rotate input to rail contacts for drc

This commit is contained in:
Jesse Cirimelli-Low 2021-06-10 14:01:28 -07:00
parent 247a388ab5
commit 2e72da0e53
1 changed files with 6 additions and 2 deletions

View File

@ -215,12 +215,16 @@ class hierarchical_predecode(design.design):
in_pos = vector(self.input_rails[in_pin].cx(), y_offset)
a_pos = vector(self.decode_rails[a_pin].cx(), y_offset)
self.add_path(self.input_layer, [in_pos, a_pos])
self.add_via_stack_center(from_layer=self.input_layer,
to_layer=self.bus_layer,
offset=[self.input_rails[in_pin].cx(), y_offset])
offset=[self.input_rails[in_pin].cx(), y_offset],
directions= ("H", "H"))
self.add_via_stack_center(from_layer=self.input_layer,
to_layer=self.bus_layer,
offset=[self.decode_rails[a_pin].cx(), y_offset])
offset=[self.decode_rails[a_pin].cx(), y_offset],
directions=("H", "H"))
def route_output_ands(self):
"""