Skip to content

Commit 7649fdd

Browse files
committed
[vpr][analysis] apply comments
1 parent 87d161c commit 7649fdd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

vpr/src/analysis/timing_reports.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ void generate_net_timing_report_csv(const std::string& prefix,
197197
for (const auto& net : atom_netlist.nets()) {
198198
const auto& net_name = atom_netlist.net_name(net);
199199
const auto& source_pin = *atom_netlist.net_pins(net).begin();
200+
// for the driver/source, this is the worst slack to any fanout.
200201
auto source_pin_slack = timing_info.setup_pin_slack(source_pin);
201202
auto tg_source_node = atom_lookup.atom_pin_tnode(source_pin);
202203
VTR_ASSERT(tg_source_node.is_valid());

vpr/src/base/read_options.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3089,7 +3089,10 @@ argparse::ArgumentParser create_arg_parser(const std::string& prog_name, t_optio
30893089
.show_in(argparse::ShowIn::HELP_ONLY);
30903090

30913091
analysis_grp.add_argument<bool, ParseOnOff>(args.generate_net_timing_report, "--generate_net_timing_report")
3092-
.help("Generates a net timing report for each net in the design.")
3092+
.help(
3093+
"Generates a net timing report in CSV format, reporting the delay and slack\n"
3094+
"for every routed connection in the design.\n"
3095+
"The report is saved as 'report_net_timing.csv'.")
30933096
.default_value("off")
30943097
.show_in(argparse::ShowIn::HELP_ONLY);
30953098

0 commit comments

Comments
 (0)