Default is to use preferred layer directions

This commit is contained in:
mrg 2020-04-20 15:33:53 -07:00
parent 8c177f9947
commit dfbf6fe45c
1 changed files with 2 additions and 2 deletions

View File

@ -1127,13 +1127,13 @@ class layout():
self.horizontal_pitch)
offset += vector(0, self.horizontal_pitch)
def create_vertical_channel_route(self, netlist, offset, layer_stack, layer_dirs):
def create_vertical_channel_route(self, netlist, offset, layer_stack, layer_dirs=None):
"""
Wrapper to create a vertical channel route
"""
self.create_channel_route(netlist, offset, layer_stack, layer_dirs, vertical=True)
def create_horizontal_channel_route(self, netlist, offset, layer_stack, layer_dirs):
def create_horizontal_channel_route(self, netlist, offset, layer_stack, layer_dirs=None):
"""
Wrapper to create a horizontal channel route
"""