Skip to content

Commit 5da6cf7

Browse files
add the requested comments
1 parent 9f06be2 commit 5da6cf7

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

libs/librrgraph/src/io/rr_graph_reader.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ void load_rr_file(RRGraphBuilder* rr_graph_builder,
4141
* @details This function tries to find a switch with the overridden delay. If such a
4242
* switch exists, the edge will point to it as its corresponding switch.
4343
* Otherwise, a new switch is created so that the edge can point to a valid switch.
44+
* The architecture file allows the user to specify nominal switch delays, but delays
45+
* may vary for the same switch type across the device. To represent switch delays
46+
* more accurately, the user can specify multiple switch types in the architecture file
47+
* and restrict each one to a region or a single location. Alternatively, the user can
48+
* use this file to override edge delays.
4449
*
4550
* @param filename The text file to be ingested by this function.
4651
* @param rr_graph_builder Used to add switches and override switch IDs for edges.

vpr/src/base/read_options.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,8 +1775,11 @@ argparse::ArgumentParser create_arg_parser(const std::string& prog_name, t_optio
17751775
.show_in(argparse::ShowIn::HELP_ONLY);
17761776

17771777
file_grp.add_argument(args.read_rr_edge_override_file, "--read_rr_edge_override")
1778-
.help(
1779-
"The routing resource edge attributes override file to load.")
1778+
.help("The routing resource edge attributes override file to load. "
1779+
"This file overrides edge attributes in the routing resource graph. "
1780+
"The user can use the architecture file to specify nominal switch delays, "
1781+
"while this file can be used to override the nominal delays to make it more accurate "
1782+
"for specific edges.")
17801783
.show_in(argparse::ShowIn::HELP_ONLY);
17811784

17821785
file_grp.add_argument(args.write_rr_graph_file, "--write_rr_graph")

0 commit comments

Comments
 (0)