public static NetlistAreaStat synthesisAreaStat(ModelDB m, FLATNELTIST_TYPE type) { NetlistConfig config = configManager.baseConfig(m, type); return ((AreaCalculator) NetlistConfigToolManager.getTool(CFG_TOOLS.AREA_CALCULATOR, config)) .getAreaStat(); }
/** * Return the area stat of a specific netlist config. The input config can be a synthesis or a * layout config * * @param config * @return */ public static NetlistAreaStat areaStat(NetlistConfig config) { return ((AreaCalculator) NetlistConfigToolManager.getTool(CFG_TOOLS.AREA_CALCULATOR, config)) .getAreaStat(); }