Skip to content

Override edge attributes in RR graph #2930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
Apr 21, 2025
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ff48e6b
added load_rr_edge_overrides function
soheilshahrouz Feb 7, 2025
5722c79
add -read_rr_edge_override command line option
soheilshahrouz Feb 7, 2025
dc89abd
Merge branch 'master' into ingest_per_edge_delay
soheilshahrouz Mar 12, 2025
08538ff
add help message for --read_rr_edge_override
soheilshahrouz Mar 12, 2025
3be8914
remove unused header files and types in rr_graph.cpp
soheilshahrouz Mar 12, 2025
7c6a282
rename device_ctx.read_rr_graph_filename to loaded_rr_graph_filename …
soheilshahrouz Mar 12, 2025
16870df
doxygen comment for t_det_routing_arch. Comment read_rr_edge_override…
soheilshahrouz Mar 12, 2025
43bde82
add declaration for process_rr_edge_override()
soheilshahrouz Mar 12, 2025
ba2656d
Merge branch 'master' into ingest_per_edge_delay
soheilshahrouz Apr 2, 2025
03849e4
fix a few typos
soheilshahrouz Apr 2, 2025
04e25e8
added a doxygen comments
soheilshahrouz Apr 2, 2025
a648aab
use VTR_LOGV_ERROR instead of is statements
soheilshahrouz Apr 2, 2025
4115a25
doxygen comment for load_rr_edge_overrides()
soheilshahrouz Apr 2, 2025
97da592
make format
soheilshahrouz Apr 2, 2025
305c46e
only override edge delay and not electrical stuff
soheilshahrouz Apr 2, 2025
1163f30
add a unit test for reading edge override file
soheilshahrouz Apr 9, 2025
dbeec69
Add edge_id() method to find an edge that connects given src and sink…
soheilshahrouz Apr 9, 2025
690244a
replace for loop with edge_id() method that return an edge connecting…
soheilshahrouz Apr 9, 2025
fb5ad75
add doxygen comment for edge_id() method
soheilshahrouz Apr 9, 2025
ebf88f0
verify overridden edge attribute in the unit test
soheilshahrouz Apr 9, 2025
9b6d824
move operator==() and hash function of t_rr_switch_inf to physical_ty…
soheilshahrouz Apr 9, 2025
df627ce
add test_read_rr_edge_override.txt
soheilshahrouz Apr 9, 2025
4110acd
make format
soheilshahrouz Apr 9, 2025
14b562e
Merge branch 'master' into ingest_per_edge_delay
soheilshahrouz Apr 9, 2025
010b0ac
init value of false for load_flat_placement
soheilshahrouz Apr 9, 2025
7ce51f0
Merge branch 'master' into ingest_per_edge_delay
soheilshahrouz Apr 10, 2025
94e24be
Merge remote-tracking branch 'origin/master' into ingest_per_edge_delay
soheilshahrouz Apr 15, 2025
9f06be2
apply PR comments
soheilshahrouz Apr 15, 2025
5da6cf7
add the requested comments
soheilshahrouz Apr 15, 2025
8c960f9
update file_formats.rst
soheilshahrouz Apr 15, 2025
c71a2bc
add --read_rr_edge_override to command_line_usage.rst
soheilshahrouz Apr 15, 2025
eac8bfc
remove duplicate text in command_line_usage.rst
soheilshahrouz Apr 15, 2025
2ef555f
Merge branch 'master' into ingest_per_edge_delay
soheilshahrouz Apr 19, 2025
d390291
explain what RR edge override feature is useful for
soheilshahrouz Apr 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions doc/src/vpr/file_formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,27 @@ To aid in handling large graphs, rr_graph files can also be :ref:`saved in <file

.. _end:

RR Graph Edge Attribute Override File Format (.txt)
---------------------------------------------------
This file lets users override attributes of specific edges in the RR graph. Currently, only the intrinsic delay (Tdel)
can be changed. The expected format is:

.. code-block:: none

# edge Tdel
64812 5.9e-11
9981 4.2e-11
1234 7.1e-11
4321 9.4e-11
(42, 64) 7.3e-11

.. _end:

Lines starting with # are comments and ignored. Each other line should specify either: an edge ID and its new delay, or
a source/sink node pair and its delay.

This allows more accurate modeling of switch delays in the RR graph without creating many switch types
in the architecture file and limiting them to small regions.

Network-on-Chip (NoC) Traffic Flows Format (.flows)
---------------------------------------------------
Expand Down