From ca3617a029d1a2dfe6778f1dc5e5a39fa7a58953 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Wed, 20 Sep 2023 20:37:27 -0700 Subject: [PATCH] [core] code format --- openfpga/src/fabric/build_tile_modules.cpp | 12 ++++++------ .../fabric/build_top_module_child_tile_instance.cpp | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/openfpga/src/fabric/build_tile_modules.cpp b/openfpga/src/fabric/build_tile_modules.cpp index b11ee2a45..6fafbcf3d 100644 --- a/openfpga/src/fabric/build_tile_modules.cpp +++ b/openfpga/src/fabric/build_tile_modules.cpp @@ -203,7 +203,8 @@ static int build_tile_module_port_and_nets_between_sb_and_pb( std::string temp_sb_module_name = generate_switch_block_module_name( fabric_tile.sb_coordinates(fabric_tile_id)[isb]); if (name_module_using_index) { - temp_sb_module_name = generate_switch_block_module_name_using_index(isb); + temp_sb_module_name = + generate_switch_block_module_name_using_index(isb); } src_grid_port.set_name(generate_tile_module_port_name( temp_sb_module_name, sink_sb_port.get_name())); @@ -434,8 +435,7 @@ static int build_tile_module_port_and_nets_between_cb_and_pb( cb_type, cb_inst_rr_gsb.get_cb_coordinate(cb_type)); if (name_module_using_index) { cb_instance_name_in_tile = - generate_connection_block_module_name_using_index( - cb_type, icb); + generate_connection_block_module_name_using_index(cb_type, icb); } src_cb_port.set_name(generate_tile_module_port_name( cb_instance_name_in_tile, src_cb_port.get_name())); @@ -700,7 +700,8 @@ static int build_tile_module_port_and_nets_between_sb_and_cb( std::string temp_sb_module_name = generate_switch_block_module_name( fabric_tile.sb_coordinates(fabric_tile_id)[isb]); if (name_module_using_index) { - temp_sb_module_name = generate_switch_block_module_name_using_index(isb); + temp_sb_module_name = + generate_switch_block_module_name_using_index(isb); } chan_input_port.set_name(generate_tile_module_port_name( temp_sb_module_name, chan_input_port.get_name())); @@ -920,8 +921,7 @@ static int build_tile_module_ports_from_cb( cb_type, unique_rr_gsb.get_cb_coordinate(cb_type)); if (name_module_using_index) { cb_instance_name_in_tile = - generate_connection_block_module_name_using_index( - cb_type, icb); + generate_connection_block_module_name_using_index(cb_type, icb); } vtr::Point tile_coord = fabric_tile.tile_coordinate(curr_fabric_tile_id); diff --git a/openfpga/src/fabric/build_top_module_child_tile_instance.cpp b/openfpga/src/fabric/build_top_module_child_tile_instance.cpp index 416bbbeb3..b4bc5e8c2 100644 --- a/openfpga/src/fabric/build_top_module_child_tile_instance.cpp +++ b/openfpga/src/fabric/build_top_module_child_tile_instance.cpp @@ -853,8 +853,8 @@ static int build_top_module_tile_nets_between_sb_and_cb( cb_type, unique_cb_rr_gsb.get_cb_coordinate(cb_type)); if (name_module_using_index) { cb_instance_name_in_unique_tile = - generate_connection_block_module_name_using_index( - cb_type, cb_idx_in_cb_tile); + generate_connection_block_module_name_using_index(cb_type, + cb_idx_in_cb_tile); } std::string cb_tile_module_name = generate_tile_module_name(cb_unique_tile_coord);