Skip to content

Commit

Permalink
update gcd test
Browse files Browse the repository at this point in the history
  • Loading branch information
gadfort committed Apr 9, 2024
1 parent a258240 commit b174e52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion siliconcompiler/tools/openroad/openroad.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def setup_tool(chip, exit=True, clobber=True):

chip.set('tool', tool, 'exe', tool)
chip.set('tool', tool, 'vswitch', '-version')
chip.set('tool', tool, 'version', '>=v2.0-13106', clobber=clobber)
chip.set('tool', tool, 'version', '>=v2.0-13145', clobber=clobber)
chip.set('tool', tool, 'format', 'tcl', clobber=clobber)

# exit automatically in batch mode and not breakpoint
Expand Down
11 changes: 5 additions & 6 deletions tests/examples/test_gcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ def __check_gcd(chip):
assert chip.get('metric', 'warnings', step='syn', index='0') == 74

# Warning: *. (x3)
# [WARNING PSM*] (x12)
assert chip.get('metric', 'warnings', step='floorplan', index='0') == 15
assert chip.get('metric', 'warnings', step='floorplan', index='0') == 3

# Warning: *. (x5)
assert chip.get('metric', 'warnings', step='place', index='0') == 5
Expand All @@ -37,12 +36,12 @@ def __check_gcd(chip):
assert chip.get('metric', 'warnings', step='cts', index='0') == 3

# Warning: *. (x3)
# Missing route to pin (x62)
assert chip.get('metric', 'warnings', step='route', index='0') == 65
# Missing route to pin (x76)
assert chip.get('metric', 'warnings', step='route', index='0') == 79

# Warning: *. (x3)
# Missing route to pin (x226)
assert chip.get('metric', 'warnings', step='dfm', index='0') == 229
# Missing route to pin (x244)
assert chip.get('metric', 'warnings', step='dfm', index='0') == 247

# "no fill config specified"
assert chip.get('metric', 'warnings', step='export', index='0') == 1
Expand Down

0 comments on commit b174e52

Please sign in to comment.