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:
parent
52184e5bf0
commit
6ba762db4c
7 changed files with 258 additions and 79 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue