mirror of https://github.com/VLSIDA/OpenRAM.git
Vertical channel routes go from left right. Horizontal go bottom up.
This commit is contained in:
parent
ef2ed9a92c
commit
e28978180f
|
|
@ -856,13 +856,13 @@ class layout(lef.lef):
|
||||||
# Remove the net from other constriants in the VCG
|
# Remove the net from other constriants in the VCG
|
||||||
vcg=remove_net_from_graph(net_name, 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:
|
if vertical:
|
||||||
self.add_vertical_trunk_route(pin_list, offset, layer_stack, pitch)
|
self.add_vertical_trunk_route(pin_list, offset, layer_stack, pitch)
|
||||||
offset -= vector(pitch,0)
|
offset += vector(pitch,0)
|
||||||
else:
|
else:
|
||||||
self.add_horizontal_trunk_route(pin_list, offset, layer_stack, pitch)
|
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,
|
def create_vertical_channel_route(self, netlist, pins, offset,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue