changed filename

This commit is contained in:
Shreya Sanghai 2022-02-28 17:33:15 +00:00
parent 06c2744ac1
commit 6a1f1e2496

View file

@ -6,8 +6,8 @@ field_names = [ 'Name', 'Critical Path Length', 'Cell Area']
data = []
for name in glob.glob("/home/ssanghai/riscv-wally/synthDC/runs/*/reports/wallypipelinedcore_qor.rep"):
f = open(name, 'r')
trimName = re.search("runs\/(.*?)\/reports", name).group(1)
# trimName = re.search("wallypipelinedcore_(.*?)_sky9",name).group(1)
# trimName = re.search("runs\/(.*?)\/reports", name).group(1)
trimName = re.search("wallypipelinedcore_(.*?)_sky9",name).group(1)
for line in f:
if "Critical Path Length" in line:
pathLen = re.search("Length: *(.*?)\\n", line).group(1)