diff --git a/scripts/ri5cly-manage.py b/scripts/ri5cly-manage.py index 5ad1aa8c..d15851bf 100755 --- a/scripts/ri5cly-manage.py +++ b/scripts/ri5cly-manage.py @@ -330,7 +330,7 @@ def synthesizeAll(littleRISCV_path): content = f.read() clock_p = re.compile("set\sCLOCK_SLOW\s(\d+\.?\d*);") - m = clock_p.match(content) + m = clock_p.search(content) if m is not None: clock = m.group(1)