3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-18 10:52:18 +00:00

Support for "abc --keep-going pdr" via new "pdr -X" mode

This commit is contained in:
Jannis Harder 2024-02-07 18:43:23 +01:00
parent 52184e5bf0
commit 6ba762db4c
7 changed files with 258 additions and 79 deletions

View file

@ -787,8 +787,8 @@ class SbySummary:
event = same_events[0]
steps = sorted(e.step for e in same_events)
if short and len(steps) > step_limit:
steps = [str(step) for step in steps[:step_limit]]
excess = len(steps) - step_limit
steps = [str(step) for step in steps[:step_limit]]
omitted_excess = True
steps[-1] += f" and {excess} further step{'s' if excess != 1 else ''}"