Skip to content

Commit

Permalink
toolchain: add report_methodology to runtimes
Browse files Browse the repository at this point in the history
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
  • Loading branch information
acomodi committed May 14, 2020
1 parent 8ad57f9 commit f4bad46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def get_runtimes(self):
'fasm': ['fasm'],
'checkpoint': ['open_checkpoint'],
'bitstream': ['write_bitstream', 'bitstream'],
'reports': ['report_power'],
'reports': ['report_power', 'report_methodology'],
'total': ['total'],
'nop': ['nop']
}
Expand All @@ -243,6 +243,7 @@ def get_standard_runtime(runtime):

for k, v in self.runtimes.items():
runtime = get_standard_runtime(k)

runtimes[runtime] = round(v, 3)

return runtimes
Expand Down

0 comments on commit f4bad46

Please sign in to comment.