From dfe5447e2a10c62738a0dc98d3111d8fa72c4b0c Mon Sep 17 00:00:00 2001 From: tangxifan Date: Fri, 25 Aug 2023 15:21:24 -0700 Subject: [PATCH] [core] format --- .../src/base/openfpga_build_fabric_template.h | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/openfpga/src/base/openfpga_build_fabric_template.h b/openfpga/src/base/openfpga_build_fabric_template.h index 2509b96a7..39e181b6d 100644 --- a/openfpga/src/base/openfpga_build_fabric_template.h +++ b/openfpga/src/base/openfpga_build_fabric_template.h @@ -69,21 +69,23 @@ void compress_routing_hierarchy_template(T& openfpga_ctx, "Detected %lu unique switch blocks from a total of %d (compression " "rate=%.2f%)\n", openfpga_ctx.device_rr_gsb().get_num_sb_unique_module(), - find_device_rr_gsb_num_sb_modules(openfpga_ctx.device_rr_gsb(), g_vpr_ctx.device().rr_graph), - 100. * - ((float)find_device_rr_gsb_num_sb_modules(openfpga_ctx.device_rr_gsb(), g_vpr_ctx.device().rr_graph) / - (float)openfpga_ctx.device_rr_gsb().get_num_sb_unique_module() - - 1.)); + find_device_rr_gsb_num_sb_modules(openfpga_ctx.device_rr_gsb(), + g_vpr_ctx.device().rr_graph), + 100. * ((float)find_device_rr_gsb_num_sb_modules( + openfpga_ctx.device_rr_gsb(), g_vpr_ctx.device().rr_graph) / + (float)openfpga_ctx.device_rr_gsb().get_num_sb_unique_module() - + 1.)); VTR_LOG( "Detected %lu unique general switch blocks from a total of %d (compression " "rate=%.2f%)\n", openfpga_ctx.device_rr_gsb().get_num_gsb_unique_module(), - find_device_rr_gsb_num_gsb_modules(openfpga_ctx.device_rr_gsb(), g_vpr_ctx.device().rr_graph), - 100. * - ((float)find_device_rr_gsb_num_gsb_modules(openfpga_ctx.device_rr_gsb(), g_vpr_ctx.device().rr_graph) / - (float)openfpga_ctx.device_rr_gsb().get_num_gsb_unique_module() - - 1.)); + find_device_rr_gsb_num_gsb_modules(openfpga_ctx.device_rr_gsb(), + g_vpr_ctx.device().rr_graph), + 100. * ((float)find_device_rr_gsb_num_gsb_modules( + openfpga_ctx.device_rr_gsb(), g_vpr_ctx.device().rr_graph) / + (float)openfpga_ctx.device_rr_gsb().get_num_gsb_unique_module() - + 1.)); } /********************************************************************