Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
8c2a4bb
add build_scatter_gather.cpp/.h files
soheilshahrouz Sep 5, 2025
7101847
move sb_not_here() and related function to a new file
soheilshahrouz Sep 5, 2025
514865c
Merge branch 'temp_num_layers_size_t' into temp_3d_sg
soheilshahrouz Sep 5, 2025
5572ec7
use t_physical_loc instead of x, y, layer arguments
soheilshahrouz Sep 5, 2025
557769c
check inter_cluster_rr in sb_not_here() instead of inside every singl…
soheilshahrouz Sep 5, 2025
70bea1c
rename SwitchPointOrder to e_switch_point_order
soheilshahrouz Sep 5, 2025
cc44a8e
find scatter/gather src/dst channels
soheilshahrouz Sep 6, 2025
7b5475c
remove redundant call to count_wire_type_sizes
soheilshahrouz Sep 7, 2025
57c3348
rename WireInfo to t_wire_info
soheilshahrouz Sep 7, 2025
642427b
move count_wire_type_sizes() to utils
soheilshahrouz Sep 7, 2025
1904fe8
move some common functions used by both switch-box and scatter-gather…
soheilshahrouz Sep 7, 2025
c1f2771
collect candidate wires for scatter-gather at each location
soheilshahrouz Sep 7, 2025
8359c63
move evaluate_num_conns_formula() to common utils
soheilshahrouz Sep 8, 2025
a575d95
replace tuples with structs
soheilshahrouz Sep 8, 2025
f900cf2
call alloc_and_load_scatter_gather_connections
soheilshahrouz Sep 9, 2025
333aa57
Fix bug where sg_link offsets would be uninitialized
AmirhosseinPoolad Sep 9, 2025
7abe75e
fix the condition for checking that only one offset is set
soheilshahrouz Sep 9, 2025
a5e7fd7
pass t_physical_loc instead of x/y/layer
soheilshahrouz Sep 9, 2025
44666fe
update alloc_and_load_inter_die_rr_node_indices() to accept t_bottlen…
soheilshahrouz Sep 10, 2025
9ea5a4d
store 3d t_bottleneck_link per x/y location
soheilshahrouz Sep 10, 2025
0932ddb
add chanz nodes based on interdie 3d links (SG)
soheilshahrouz Sep 10, 2025
0253916
remove custom 3d switch block stuff from rr graph
soheilshahrouz Sep 10, 2025
f6d1881
add inter-die 3d edges
soheilshahrouz Sep 10, 2025
53dd486
add arch_wire_switch
soheilshahrouz Sep 11, 2025
8a882c1
fix the bug in index assignment to chanz nodes
soheilshahrouz Sep 11, 2025
a3a9aec
rename add_interdie_3d_edges() to add_inter_die_3d_edges()
soheilshahrouz Sep 11, 2025
2dd1731
some minor clean ups
soheilshahrouz Sep 11, 2025
0f5ae7a
add layer_low/high to RR graph API to support CHANZ nodes that span m…
soheilshahrouz Sep 12, 2025
5dbe2e1
update t_rr_node::length() to handle CHANZ nodes
soheilshahrouz Sep 12, 2025
a6c40a9
update get_min_cross_layer_delay() to use CHANZ nodes
soheilshahrouz Sep 12, 2025
25ddc9a
doxygen comment for t_wire_cost_map
soheilshahrouz Sep 12, 2025
0cb5979
find starting chanxy and chanz nodes separately
soheilshahrouz Sep 12, 2025
e6ec35e
update set_lookahead_map_costs() and fill_in_missing_lookahead_entrie…
soheilshahrouz Sep 12, 2025
df26028
parse axis="z" for segment type
soheilshahrouz Sep 14, 2025
40d89f0
alloc_and_load_rr_indexed_data supports CHANZ
soheilshahrouz Sep 15, 2025
cb85f96
counz CHANZ segments in count_rr_segment_types()
soheilshahrouz Sep 15, 2025
8866821
make e_switch_block_type enum class and move it to switchblock_types.h
soheilshahrouz Sep 16, 2025
55e93a3
update 3d_sb SIV architecture file to add scatter-gather patterns for…
soheilshahrouz Sep 17, 2025
50b3569
remove above and under sides
soheilshahrouz Sep 17, 2025
c44189f
remove unused arguments of build_inter_die_3d_rr_chan()
soheilshahrouz Sep 17, 2025
0c4ca72
move Fc_xofs to alloc_and_load_rr_graph()
soheilshahrouz Sep 17, 2025
b118f01
use std::string_view instead of chan* and converting it to string
soheilshahrouz Sep 17, 2025
417f6a9
doxygen comments in build_scatter_gather.h and utils.h
soheilshahrouz Sep 17, 2025
b794872
doxygen comments for static functions in build_scatter_gather.cpp
soheilshahrouz Sep 17, 2025
019a8e5
make format
soheilshahrouz Sep 17, 2025
87312f1
Merge remote-tracking branch 'origin/master' into temp_3d_sg
soheilshahrouz Sep 17, 2025
c35a77f
remove layer member vars from t_switchblock_edge
soheilshahrouz Sep 18, 2025
25185f3
fix compilation error in test_fasm
soheilshahrouz Sep 18, 2025
6833d1c
clean some doxygen comments
soheilshahrouz Sep 18, 2025
1ca2ea2
remove strong scatter gather test
soheilshahrouz Sep 18, 2025
6da700b
remove scatter gather test from task list
soheilshahrouz Sep 18, 2025
3336f28
add a chanz wire and mux to SIV cb 3d arch file
soheilshahrouz Sep 18, 2025
e70ce87
remove k6_sg arch file
soheilshahrouz Sep 18, 2025
c187d71
add chanz segment and switch to 3d_k4_N4_90nm.xml
soheilshahrouz Sep 18, 2025
8ebd707
remove above and under directions from a comment in parse_switchblock…
soheilshahrouz Sep 19, 2025
20dbfe6
add chan_type_to_index()
soheilshahrouz Sep 19, 2025
7e2a68f
write rr_index_info only when echo is enabled
soheilshahrouz Sep 19, 2025
15dfee5
short --> char for layer getter methods
soheilshahrouz Sep 19, 2025
293e6e7
Merge remote-tracking branch 'origin/master' into temp_3d_sg
soheilshahrouz Sep 19, 2025
61c8885
snake case
soheilshahrouz Sep 19, 2025
b4f3e75
address remaining PR comments on auto and commenting
soheilshahrouz Sep 19, 2025
01ddeae
comment explaining how chan_type_dim_size is determined
soheilshahrouz Sep 24, 2025
cf69e63
rename index_to_correct_channels to index_to_correct_sg_channels
soheilshahrouz Sep 24, 2025
96eacbe
use count() method instead of find() to see if a wire_type exist in w…
soheilshahrouz Sep 24, 2025
bbfb7c0
typo
soheilshahrouz Sep 24, 2025
d9d2169
Merge remote-tracking branch 'origin/master' into temp_3d_sg
soheilshahrouz Sep 24, 2025
1b799d7
handle CHANZ nodes in overuse report
soheilshahrouz Sep 24, 2025
0bfc909
error out when simple lookahead is used with a 3-d arch
soheilshahrouz Sep 24, 2025
cd6e0fd
use explicit type for scatter and gather wire candidates
soheilshahrouz Sep 26, 2025
89344bf
warning message when scatter/gather has no target channels
soheilshahrouz Sep 26, 2025
454fd79
add comments
soheilshahrouz Sep 26, 2025
322f30f
add warning messages for zero fanin fanout
soheilshahrouz Sep 26, 2025
da7d010
error out when compressed router lookahead is used with a 3d arch
soheilshahrouz Sep 26, 2025
a5517e1
update the arch reference to say that SG is only supported in 3D with…
soheilshahrouz Sep 26, 2025
7d9358e
updated comments in 3d_sb_siv arch file
soheilshahrouz Sep 26, 2025
0c58fb3
use rng to shuffle wire candiates
soheilshahrouz Sep 26, 2025
eeb9dbf
make format
soheilshahrouz Sep 26, 2025
8d5b442
update the arch reference to for segment z axis
soheilshahrouz Sep 26, 2025
1be6dca
Merge remote-tracking branch 'origin/master' into temp_3d_sg
soheilshahrouz Sep 26, 2025
6bf3b24
use 'LZ' segment for 3d sg_link
soheilshahrouz Sep 28, 2025
3d00065
remove custom_3d_sb_fanin_fanout cmd option from config files
soheilshahrouz Sep 28, 2025
c39e001
Merge remote-tracking branch 'origin/master' into temp_3d_sg and reso…
soheilshahrouz Sep 30, 2025
d8e92c4
fix typos in architecture reference
soheilshahrouz Oct 1, 2025
18a3eaa
remove redundant coordinate checks in check_rr_node()
soheilshahrouz Oct 1, 2025
8fad9e7
add a TODO item to inter_layer_connections_limited_to_opin()
soheilshahrouz Oct 1, 2025
b3d2174
store layer_low and layer_high next to each other in a pair
soheilshahrouz Oct 1, 2025
c9362fc
move 3d rr graph functions to a dedicated file
soheilshahrouz Oct 1, 2025
ccd98a5
chanz nodes' layer range is initialized based on SG locs
soheilshahrouz Oct 1, 2025
c642623
make format
soheilshahrouz Oct 1, 2025
21e7287
add parallel_segment_index and chan_type member vars to t_bottleneck_…
soheilshahrouz Oct 1, 2025
ccf667b
initialize the cost index of CHANZ nodes based on the segment type th…
soheilshahrouz Oct 1, 2025
1a5fab8
fix compilation warning in 3d rr graph generation
soheilshahrouz Oct 1, 2025
2334819
fix compilation error in build_scatter_gather.cpp
soheilshahrouz Oct 1, 2025
05166a5
fix seg fault
soheilshahrouz Oct 1, 2025
e8cfa82
remove 3d arch file from arch/titan
soheilshahrouz Oct 5, 2025
fdccbc5
Merge remote-tracking branch 'origin/master' into temp_3d_sg
soheilshahrouz Oct 5, 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
Prev Previous commit
Next Next commit
remove redundant call to count_wire_type_sizes
  • Loading branch information
soheilshahrouz committed Sep 7, 2025
commit 7b5475c52910cb4a9674597648bd57f282af2e3b
3 changes: 1 addition & 2 deletions vpr/src/route/rr_graph_generation/build_switchblocks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ t_sb_connection_map* alloc_and_load_switchblock_permutations(const t_chan_detail
*/
t_wire_type_sizes wire_type_sizes_y = count_wire_type_sizes(chan_details_y[0][0].data(), nodes_per_chan.y_max);
t_wire_type_sizes wire_type_sizes_x = count_wire_type_sizes(chan_details_x[0][0].data(), nodes_per_chan.x_max);
t_wire_type_sizes wire_type_sizes = count_wire_type_sizes(chan_details_x[0][0].data(), nodes_per_chan.max);

/******** slow switch block computation method; computes switchblocks at each coordinate ********/
// Iterate over all the switchblocks specified in the architecture
Expand Down Expand Up @@ -618,7 +617,7 @@ static void compute_wireconn_connections(const DeviceGrid& grid,
// Choose the to_side to be the same as from_side if the connection is travelling across dice in multi-die FPGAs
e_side to_side = (sb_conn.to_side != ABOVE && sb_conn.to_side != UNDER) ? sb_conn.to_side : sb_conn.from_side;

/* vectors that will contain indices of the wires belonging to the source/dest wire types/points */
// vectors that will contain indices of the wires belonging to the source/dest wire types/points
get_switchpoint_wires(grid, from_chan_details[from_x][from_y].data(), from_chan_type, from_x, from_y, from_side,
wireconn.from_switchpoint_set, wire_type_sizes_from, /*is_dest=*/false, wireconn.from_switchpoint_order, rng,
&scratchpad->potential_src_wires,
Expand Down