@@ -83,6 +83,8 @@ using CheckErrorSeq = std::vector<CheckError*>;
8383enum class CmdNamespace { sta, sdc };
8484using ParasiticsNameMap = std::map<std::string, Parasitics*, std::less<>>;
8585using GraphLoopSeq = std::vector<GraphLoop*>;
86+ using ReportFieldGetValue = std::function<std::string (const Path *path,
87+ const StaState *sta)>;
8688
8789// Initialize sta functions that are not part of the Sta class.
8890void initSta ();
@@ -982,15 +984,16 @@ public:
982984 bool clk_gating_hold);
983985 void setReportPathFormat (ReportPathFormat format);
984986 void setReportPathFieldOrder (const StringSeq &field_names);
985- void setReportPathFields (bool report_input_pin,
986- bool report_hier_pins,
987- bool report_net,
988- bool report_cap,
989- bool report_slew,
990- bool report_fanout,
991- bool report_variation,
992- bool report_src_attr);
987+ void setReportPathFields (const StringSeq &fields);
993988 ReportField *findReportPathField (std::string_view name);
989+ ReportField *findReportPathFieldAbrev (std::string_view name);
990+ void makeReportPathField (std::string_view name,
991+ std::string_view name_abrev,
992+ std::string_view title,
993+ size_t width,
994+ bool left_justify,
995+ Unit *unit,
996+ const ReportFieldGetValue &get_value);
994997 void setReportPathDigits (int digits);
995998 void setReportPathNoSplit (bool no_split);
996999 void reportPathEnd (PathEnd *end);
0 commit comments