Adding nets to metrics in schema
Related to cells but not one to one, so should be tracked
@@ -1416,6 +1416,22 @@ def schema_metrics(cfg, group, step='default'):
"""
}
+ cfg[group][step]['nets'] = {
+ 'switch' : '-'+group+'_nets',
+ 'type' : ['num'],
+ 'lock' : 'false',
+ 'requirement' : 'optional',
+ 'defvalue' : [],
+ 'short_help' : 'Total Nets ' + group.capitalize(),
+ 'param_help' : "'"+group+"' step 'nets' <num>",
+ 'example':["cli: -"+group+"_cells 'place 100'",
+ "api: chip.add('"+group+"','place','nets','100')"],
+ 'help' : """
+ Metric tracking the total number of net segments on a per step
+ basis.
+ """
+ }
+
cfg[group][step]['area'] = {
'switch' : '-'+group+'_area',
'type' : ['num'],
