Vertical channel routes go from left right. Horizontal go bottom up.

This commit is contained in:
Matt Guthaus 2018-11-08 16:49:02 -08:00
parent ef2ed9a92c
commit e28978180f
1 changed files with 3 additions and 3 deletions

View File

@ -856,13 +856,13 @@ class layout(lef.lef):
# Remove the net from other constriants in the VCG
vcg=remove_net_from_graph(net_name, vcg)
# Add the trunk routes from the bottom up or right to left
# Add the trunk routes from the bottom up or the left to right
if vertical:
self.add_vertical_trunk_route(pin_list, offset, layer_stack, pitch)
offset -= vector(pitch,0)
offset += vector(pitch,0)
else:
self.add_horizontal_trunk_route(pin_list, offset, layer_stack, pitch)
offset -= vector(0,pitch)
offset += vector(0,pitch)
def create_vertical_channel_route(self, netlist, pins, offset,