Skip to content

Commit e7f5c87

Browse files
committed
make format
1 parent aff8af4 commit e7f5c87

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

libs/librtlnumber/src/include/internal_bits.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ constexpr short integer_t_size = (sizeof(integer_t) * 8);
2727
}
2828

2929
#define unroll_1d(lut) \
30-
{ lut[_0], lut[_1], lut[_x], lut[_z] }
30+
{lut[_0], lut[_1], lut[_x], lut[_z]}
3131
#define unroll_2d(lut) \
32-
{ unroll_1d(lut[_0]), unroll_1d(lut[_1]), unroll_1d(lut[_x]), unroll_1d(lut[_z]) }
32+
{unroll_1d(lut[_0]), unroll_1d(lut[_1]), unroll_1d(lut[_x]), unroll_1d(lut[_z])}
3333

3434
#define unroll_1d_invert(lut) \
35-
{ l_not[lut[_0]], l_not[lut[_1]], l_not[lut[_x]], l_not[lut[_z]] }
35+
{l_not[lut[_0]], l_not[lut[_1]], l_not[lut[_x]], l_not[lut[_z]]}
3636
#define unroll_2d_invert(lut) \
37-
{ unroll_1d_invert(lut[_0]), unroll_1d_invert(lut[_1]), unroll_1d_invert(lut[_x]), unroll_1d_invert(lut[_z]) }
37+
{unroll_1d_invert(lut[_0]), unroll_1d_invert(lut[_1]), unroll_1d_invert(lut[_x]), unroll_1d_invert(lut[_z])}
3838

3939
namespace BitSpace {
4040
typedef uint8_t bit_value_t;

vpr/src/route/rr_graph_generation/rr_graph_area.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ static void count_bidir_routing_transistors(int num_switch, float R_minW_nmos, f
161161

162162
sharable_switch_trans = alloc_and_load_sharable_switch_trans(num_switch,
163163
R_minW_nmos, R_minW_pmos);
164-
164+
165165
std::unordered_map<RRSwitchId, size_t> ipin_switch_count;
166166

167167
for (const RRNodeId from_rr_node : device_ctx.rr_graph.nodes()) {
@@ -293,8 +293,9 @@ static void count_bidir_routing_transistors(int num_switch, float R_minW_nmos, f
293293
RRSwitchId most_frequent_ipin_switch = std::max_element(ipin_switch_count.begin(),
294294
ipin_switch_count.end(),
295295
[](const auto& a, const auto& b) {
296-
return a.second < b.second;
297-
})->first;
296+
return a.second < b.second;
297+
})
298+
->first;
298299
input_cblock_trans = get_cblock_trans(num_inputs_to_cblock,
299300
most_frequent_ipin_switch,
300301
max_inputs_to_cblock,
@@ -491,8 +492,8 @@ static void count_unidir_routing_transistors(std::vector<t_segment_inf>& /*segme
491492

492493
// Get most frequent ipin switch
493494
RRSwitchId most_frequent_ipin_switch = std::max_element(ipin_switch_count.begin(), ipin_switch_count.end(), [](const auto& a, const auto& b) {
494-
return a.second < b.second;
495-
})->first;
495+
return a.second < b.second;
496+
})->first;
496497

497498
input_cblock_trans = get_cblock_trans(num_inputs_to_cblock,
498499
most_frequent_ipin_switch,

0 commit comments

Comments
 (0)