mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
changed filename
This commit is contained in:
parent
06c2744ac1
commit
6a1f1e2496
@ -6,8 +6,8 @@ field_names = [ 'Name', 'Critical Path Length', 'Cell Area']
|
|||||||
data = []
|
data = []
|
||||||
for name in glob.glob("/home/ssanghai/riscv-wally/synthDC/runs/*/reports/wallypipelinedcore_qor.rep"):
|
for name in glob.glob("/home/ssanghai/riscv-wally/synthDC/runs/*/reports/wallypipelinedcore_qor.rep"):
|
||||||
f = open(name, 'r')
|
f = open(name, 'r')
|
||||||
trimName = re.search("runs\/(.*?)\/reports", name).group(1)
|
# trimName = re.search("runs\/(.*?)\/reports", name).group(1)
|
||||||
# trimName = re.search("wallypipelinedcore_(.*?)_sky9",name).group(1)
|
trimName = re.search("wallypipelinedcore_(.*?)_sky9",name).group(1)
|
||||||
for line in f:
|
for line in f:
|
||||||
if "Critical Path Length" in line:
|
if "Critical Path Length" in line:
|
||||||
pathLen = re.search("Length: *(.*?)\\n", line).group(1)
|
pathLen = re.search("Length: *(.*?)\\n", line).group(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user