mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-02 17:55:19 +00:00
Updated extractSummary to read synthesis outputs in new form
This commit is contained in:
parent
06e34b7be4
commit
2b50b30f23
@ -33,15 +33,19 @@ def synthsintocsv():
|
||||
|
||||
for oneSynth in allSynths:
|
||||
descrip = specReg.findall(oneSynth)
|
||||
width = descrip[2][:4]
|
||||
config = descrip[2][4:]
|
||||
if descrip[3][-2:] == 'nm':
|
||||
if (descrip[3] == "sram"):
|
||||
base = 4
|
||||
else:
|
||||
base = 3
|
||||
width = descrip[base][:4]
|
||||
config = descrip[base][4:]
|
||||
if descrip[base+1][-2:] == 'nm':
|
||||
mod = ''
|
||||
else:
|
||||
mod = descrip[3]
|
||||
mod = descrip[base+1]
|
||||
descrip = descrip[1:]
|
||||
tech = descrip[3][:-2]
|
||||
freq = descrip[4]
|
||||
tech = descrip[base+1][:-2]
|
||||
freq = descrip[base+2]
|
||||
metrics = []
|
||||
for phrase in ['Path Slack', 'Design Area']:
|
||||
bashCommand = 'grep "{}" '+ oneSynth[2:]+'/reports/*qor*'
|
||||
|
Loading…
Reference in New Issue
Block a user