Fix clock extraction

This commit is contained in:
Markus Wegmann 2017-01-08 23:10:35 +01:00
parent 659e234be0
commit a2f4e65e6c

View file

@ -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)