Skip to content

Commit 23642d7

Browse files
committed
[vpr][route][crr] remove is_annotated from sb_manager init
1 parent b433a8a commit 23642d7

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

vpr/src/route/rr_graph_generation/tileable_rr_graph/crr_generator/crr_switch_block_manager.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ namespace crrgenerator {
1515
SwitchBlockManager::SwitchBlockManager() = default;
1616

1717
void SwitchBlockManager::initialize(const std::string& sb_maps_file,
18-
const std::string& sb_annotated_dir,
19-
const bool is_annotated) {
18+
const std::string& sb_annotated_dir) {
2019
VTR_LOG("Initializing SwitchBlockManager with maps file: %s\n", sb_maps_file.c_str());
2120

2221
annotated_dir_ = sb_annotated_dir;

vpr/src/route/rr_graph_generation/tileable_rr_graph/crr_generator/crr_switch_block_manager.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ class SwitchBlockManager {
2626
* @param is_annotated Whether the switches are annotated in switch template files
2727
*/
2828
void initialize(const std::string& sb_maps_file,
29-
const std::string& sb_annotated_dir,
30-
const bool is_annotated);
29+
const std::string& sb_annotated_dir);
3130

3231
/**
3332
* @brief Get the switch template file name for a given pattern

vpr/src/route/rr_graph_generation/tileable_rr_graph/tileable_rr_graph_edge_builder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ void build_rr_graph_regular_edges(const RRGraphView& rr_graph,
331331
crrgenerator::NodeLookupManager node_lookup(rr_graph, grids.width(), grids.height());
332332
crrgenerator::CRRGraphGenerator parser(crr_opts, rr_graph, node_lookup, sb_manager);
333333
if (build_crr_edges) {
334-
sb_manager.initialize(crr_opts.sb_maps, crr_opts.sb_templates, crr_opts.annotated_rr_graph);
334+
sb_manager.initialize(crr_opts.sb_maps, crr_opts.sb_templates);
335335
node_lookup.initialize();
336336
parser.run();
337337
crr_connection_builder = parser.get_connection_builder();

0 commit comments

Comments
 (0)