Skip to content

Commit 0e5a4e3

Browse files
committed
run make format
Signed-off-by: Alessandro Comodi <[email protected]>
1 parent 20b4ee9 commit 0e5a4e3

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

vpr/src/base/ShowSetup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ static void ShowAnalysisOpts(const t_analysis_opts& AnalysisOpts) {
612612
for (const auto& opt : opts) {
613613
auto value = *std::get<0>(opt);
614614
VTR_LOG("AnalysisOpts.%s: ", std::get<1>(opt));
615-
switch(value) {
615+
switch (value) {
616616
case e_post_synth_netlist_unconn_handling::UNCONNECTED:
617617
VTR_LOG("UNCONNECTED\n");
618618
break;

vpr/src/base/netlist_writer.cpp

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2182,23 +2182,29 @@ void print_verilog_port(std::ostream& os, size_t& unconn_count, const std::strin
21822182
if (type == PortType::INPUT || type == PortType::CLOCK) {
21832183
switch (opts.post_synth_netlist_unconn_input_handling) {
21842184
case e_post_synth_netlist_unconn_handling::GND:
2185-
os << "1'b0"; break;
2185+
os << "1'b0";
2186+
break;
21862187
case e_post_synth_netlist_unconn_handling::VCC:
2187-
os << "1'b1"; break;
2188+
os << "1'b1";
2189+
break;
21882190
case e_post_synth_netlist_unconn_handling::NETS:
2189-
os << create_unconn_net(unconn_count); break;
2191+
os << create_unconn_net(unconn_count);
2192+
break;
21902193
case e_post_synth_netlist_unconn_handling::UNCONNECTED:
21912194
default:
2192-
os << "1'bX";;
2195+
os << "1'bX";
2196+
;
21932197
}
21942198
} else {
21952199
VTR_ASSERT(type == PortType::OUTPUT);
21962200
switch (opts.post_synth_netlist_unconn_output_handling) {
21972201
case e_post_synth_netlist_unconn_handling::NETS:
2198-
os << create_unconn_net(unconn_count); break;
2202+
os << create_unconn_net(unconn_count);
2203+
break;
21992204
case e_post_synth_netlist_unconn_handling::UNCONNECTED:
22002205
default:
2201-
os << "1'bX";;
2206+
os << "1'bX";
2207+
;
22022208
}
22032209
}
22042210
} else {

vpr/src/base/vpr_types.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,10 +1191,10 @@ enum class e_timing_report_detail {
11911191
};
11921192

11931193
enum class e_post_synth_netlist_unconn_handling {
1194-
UNCONNECTED, // Leave unrouted ports unconnected
1195-
NETS, // Leave unrouted ports unconnected but add new named nets to each of them
1196-
GND, // Tie unrouted ports to ground (only for input ports)
1197-
VCC // Tie unrouted ports to VCC (only for input ports)
1194+
UNCONNECTED, // Leave unrouted ports unconnected
1195+
NETS, // Leave unrouted ports unconnected but add new named nets to each of them
1196+
GND, // Tie unrouted ports to ground (only for input ports)
1197+
VCC // Tie unrouted ports to VCC (only for input ports)
11981198
};
11991199

12001200
struct t_timing_analysis_profile_info {

0 commit comments

Comments
 (0)