Skip to content

Commit 93dc1a5

Browse files
committed
Removed some commented out code and also the get_node_capacity()
function; Signed-off-by: Ethan Rogers <[email protected]>
1 parent bfabf56 commit 93dc1a5

6 files changed

+6
-17
lines changed

vpr/src/route/gen/rr_graph_uxsdcxx.h

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vpr/src/route/gen/rr_graph_uxsdcxx_capnp.h

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vpr/src/route/gen/rr_graph_uxsdcxx_interface.h

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vpr/src/route/rr_graph_uxsdcxx_serializer.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,10 +800,6 @@ class RrGraphSerializer final : public uxsd::RrGraphBase<RrGraphContextTypes> {
800800
return (*rr_nodes_)[n];
801801
}
802802

803-
inline unsigned int get_node_capacity(const t_rr_node& node) final {
804-
const auto& rr_graph = (*rr_graph_);
805-
return rr_graph.node_capacity(node.id());
806-
}
807803
inline unsigned int get_node_id(const t_rr_node& node) final {
808804
return size_t(node.id());
809805
}

vpr/src/route/rr_node.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ class t_rr_node {
100100
short yhigh() const;
101101
signed short length() const;
102102

103-
//short capacity() const; // ESR API This function has been replaced by RRGraphView::node_capacity()
104-
105103
short ptc_num() const;
106104
short pin_num() const; //Same as ptc_num() but checks that type() is consistent
107105
short track_num() const; //Same as ptc_num() but checks that type() is consistent

vpr/src/route/rr_node_impl.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ inline t_rr_node t_rr_graph_storage::back() {
7171
return t_rr_node(this, RRNodeId(size() - 1));
7272
}
7373

74-
/*inline t_rr_type t_rr_node::type() const { // No longer used
75-
return storage_->node_type(id_);
76-
}*/
77-
7874
inline t_edge_size t_rr_node::num_edges() const {
7975
return storage_->num_edges(id_);
8076
}
@@ -123,10 +119,6 @@ inline short t_rr_node::yhigh() const {
123119
return storage_->node_yhigh(id_);
124120
}
125121

126-
/*inline short t_rr_node::capacity() const { // no longer used
127-
return storage_->node_capacity(id_);
128-
}*/
129-
130122
inline short t_rr_node::ptc_num() const {
131123
return storage_->node_ptc_num(id_);
132124
}

0 commit comments

Comments
 (0)