Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions align/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(self, *args, **kwargs):
parser.add_argument("-n",
"--nvariants",
type=int,
default=1,
default=4,
help='Number of layout candidates to (attempt to) generate')
parser.add_argument("-e",
"--effort",
Expand Down Expand Up @@ -102,7 +102,7 @@ def __init__(self, *args, **kwargs):

parser.add_argument('--router_mode',
type=str,
default='top_down',
default='bottom_up',
choices=['top_down','bottom_up','collect_pins','no_op'],
help='Router mode')

Expand All @@ -111,7 +111,7 @@ def __init__(self, *args, **kwargs):
help='Run in GUI mode')

parser.add_argument('--skipGDS',
action='store_true',
action='store_false',
help='Don\'t generate GDS files.')

parser.add_argument('--lambda_coeff',
Expand Down
3 changes: 2 additions & 1 deletion align/pnr/write_constraint.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def map_valid_const(self, all_const, module):
del const['instances']

# Exclude constraints not to be exposed to PnR
if const['const_name'] in ['DoNotIdentify', 'GroupBlocks', 'DoNotUseLib', 'ConfigureCompiler', 'SameTemplate', 'PlaceOnBoundary']:
skip_constraints = {'DoNotIdentify', 'GroupBlocks', 'DoNotUseLib', 'ConfigureCompiler', 'SameTemplate', 'PlaceOnBoundary'}
if const['const_name'] in skip_constraints:
continue

# Exclude constraints that need to be to multiple constraints
Expand Down