We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fed0456 commit 0ef9c1cCopy full SHA for 0ef9c1c
vpr/src/route/clock_connection_builders.cpp
@@ -248,11 +248,10 @@ void ClockToPinsConnection::create_switches(const ClockRRGraphBuilder& clock_gra
248
} else if (x == grid.width()-1) {
249
clock_x_offset = -1; // chanx clock always ends at 1 offset
250
clock_y_offset = -1; // pick the chanx below the block
251
- } else if (y == 0) { // pick chanx above the block, no offset needed
252
- } else if (y == grid.height()-1) {
253
- clock_y_offset = -1; // pick the chanx below the block
+ } else if (y == 0) {
+ clock_y_offset = 0; // pick chanx above the block, no offset needed
254
} else {
255
- clock_y_offset = -1;
+ clock_y_offset = -1; // pick the chanx below the block
256
}
257
258
auto clock_pin_node_idx = get_rr_node_index(
0 commit comments