@@ -13,10 +13,6 @@ namespace crrgenerator {
1313/* *
1414 * @brief Builds connections between routing nodes based on switch block
1515 * configurations
16- *
17- * This class processes switch block configurations and generates routing
18- * connections between nodes, supporting both parallel and sequential
19- * processing.
2016 */
2117class CRRConnectionBuilder {
2218 public:
@@ -42,37 +38,6 @@ class CRRConnectionBuilder {
4238 */
4339 std::vector<Connection> get_tile_connections (size_t tile_x, size_t tile_y) const ;
4440
45- /* *
46- * @brief Get all generated connections
47- * @return Vector of all connections
48- */
49- const std::vector<std::vector<std::vector<Connection>>>& get_all_connections () const {
50- return all_connections_;
51- }
52-
53- /* *
54- * @brief Get connection count
55- * @return Number of connections generated
56- */
57- size_t get_connection_count () const {
58- size_t count = 0 ;
59- for (const auto & x : all_connections_) {
60- for (const auto & y : x) {
61- count += y.size ();
62- }
63- }
64- return count;
65- }
66-
67- /* *
68- * @brief Clear all connections
69- */
70- void clear () { all_connections_.clear (); }
71- void remove_tile_connections (int x, int y) {
72- all_connections_[static_cast <size_t >(x)][static_cast <size_t >(y)].clear ();
73- all_connections_[static_cast <size_t >(x)][static_cast <size_t >(y)].shrink_to_fit ();
74- }
75-
7641 private:
7742 // Info from config
7843 int fpga_grid_x_;
@@ -84,9 +49,6 @@ class CRRConnectionBuilder {
8449 const NodeLookupManager& node_lookup_;
8550 const SwitchBlockManager& sb_manager_;
8651
87- // Generated connections
88- std::vector<std::vector<std::vector<Connection>>> all_connections_;
89-
9052 // Processing state
9153 std::atomic<size_t > processed_locations_{0 };
9254 size_t total_locations_{0 };
0 commit comments