Skip to content

Commit

Permalink
genMetrics: nits
Browse files Browse the repository at this point in the history
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
  • Loading branch information
oharboe committed Jan 15, 2024
1 parent 946703d commit 1ca5249
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions flow/util/genMetrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,10 @@ def extract_metrics(cwd, platform, design, flow_variant, output, hier_json):
'Number of cells: +(\S+)',
rptPath + '/synth_stat.txt')

hierarchicalSynth = os.environ.get('SYNTH_HIERARCHICAL')

extractTagFromFile('synth__design__instance__area__stdcell',
metrics_dict,
'Chip area for (?:top )?module.*: +(\S+)',
rptPath + '/synth_stat.txt')
metrics_dict,
'Chip area for (?:top )?module.*: +(\S+)',
rptPath + '/synth_stat.txt')

# Clocks
# =========================================================================
Expand Down

0 comments on commit 1ca5249

Please sign in to comment.