Skip to content

Commit fe9f85d

Browse files
committed
formatting
Signed-off-by: Lucas Yuki Imamura <lucasyuki@yahoo.com.br>
1 parent 2d94af6 commit fe9f85d

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/upf/src/upf.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -653,8 +653,8 @@ static bool find_smallest_isolation(sta::dbNetwork* network,
653653
// Find enable & data pins for the isolation cell
654654
sta::LibertyPort* tmp_enable_lib_port = nullptr;
655655
sta::LibertyPort* tmp_out_lib_port = nullptr;
656-
odb::dbMTerm* tmp_enable_term = nullptr;
657-
odb::dbMTerm* tmp_data_term = nullptr;
656+
odb::dbMTerm* tmp_enable_term = nullptr;
657+
odb::dbMTerm* tmp_data_term = nullptr;
658658
odb::dbMTerm* tmp_output_term = nullptr;
659659

660660
for (auto&& term : iso_cell->getMTerms()) {
@@ -681,21 +681,21 @@ static bool find_smallest_isolation(sta::dbNetwork* network,
681681
}
682682

683683
if (!tmp_output_term || !tmp_data_term || !tmp_enable_term) {
684-
// Isolation cell defined, but can't find one of output, data or enable terms.
684+
// Isolation cell defined, but can't find one of output, data or enable
685+
// terms.
685686
continue;
686687
}
687-
688+
688689
// Determine if an inverter is needed for the control pin & output
689690
bool tmp_invert_output = false;
690691
bool tmp_invert_control = false;
691-
bool matched = check_isolation_match(
692-
tmp_out_lib_port->function(),
693-
tmp_enable_lib_port,
694-
isolation_sense,
695-
isolation_clamp_val,
696-
logger,
697-
tmp_invert_control,
698-
tmp_invert_output);
692+
bool matched = check_isolation_match(tmp_out_lib_port->function(),
693+
tmp_enable_lib_port,
694+
isolation_sense,
695+
isolation_clamp_val,
696+
logger,
697+
tmp_invert_control,
698+
tmp_invert_output);
699699
if (!matched) {
700700
continue;
701701
}
@@ -705,12 +705,12 @@ static bool find_smallest_isolation(sta::dbNetwork* network,
705705
if (tmp_invert_control || tmp_invert_output) {
706706
if (!inverter_m)
707707
continue;
708-
708+
709709
if (tmp_invert_control)
710710
tmp_area += inverter_m->getArea();
711711
if (tmp_invert_output)
712712
tmp_area += inverter_m->getArea();
713-
}
713+
}
714714

715715
if (tmp_area < smallest_area) {
716716
smallest_area = tmp_area;
@@ -1000,11 +1000,11 @@ static bool isolate_connection(odb::dbITerm* src_term,
10001000
odb::dbMTerm *input_m = nullptr, *output_m = nullptr;
10011001
bool inverter_found
10021002
= find_smallest_inverter(network, block, inverter_m, input_m, output_m);
1003-
1003+
10041004
if (!inverter_found) {
10051005
logger->warn(utl::UPF, 31, "can't find any inverters");
10061006
}
1007-
1007+
10081008
odb::dbMTerm* enable_term = nullptr;
10091009
odb::dbMTerm* data_term = nullptr;
10101010
odb::dbMTerm* output_term = nullptr;

0 commit comments

Comments
 (0)