3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-15 09:25:31 +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

@ -12,6 +12,6 @@ def line_ref(dir, filename, pattern):
for number, line in enumerate(file, 1):
if pattern_re.search(line):
# Needs to match source locations for both verilog frontends
return fr"{filename}:(?:{number}|\d+.\d+-{number}.\d+)"
return fr"{filename}:(?:{number}|\d+\.\d+-{number}\.\d+)"
raise RuntimeError("%s: pattern `%s` not found" % (filename, pattern))