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 4213c3a commit e3f7513Copy full SHA for e3f7513
libs/librrgraph/src/base/rr_graph_view.h
@@ -242,6 +242,11 @@ class RRGraphView {
242
inline int node_length(RRNodeId node) const {
243
VTR_ASSERT(node_type(node) == e_rr_type::CHANX || node_type(node) == e_rr_type::CHANY || node_type(node) == e_rr_type::CHANZ);
244
245
+ // Inter-layer wires travel only one layer
246
+ // For now, we decided to set the length of an inter-layer wire to 1
247
+ // TODO: The user should be able to set a parameter to say how long inter-layer wires are
248
+ // TODO: inter-layer wires are modeled with two CHANZ nodes on two different layer
249
+ // In the future, we should remove one of them and give a direction to CHANZ nodes
250
if (node_type(node) == e_rr_type::CHANZ) {
251
return 1;
252
}
0 commit comments