From 6369787a502e12523559a4d0e40566b0c2d5cf9f Mon Sep 17 00:00:00 2001 From: tangxifan Date: Wed, 13 Nov 2024 10:56:27 -0800 Subject: [PATCH] [core] code format --- openfpga/src/annotation/annotate_rr_graph.cpp | 3 ++- openfpga/src/tile_direct/build_tile_direct.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/openfpga/src/annotation/annotate_rr_graph.cpp b/openfpga/src/annotation/annotate_rr_graph.cpp index 0fffdb979..51c9bd3cc 100644 --- a/openfpga/src/annotation/annotate_rr_graph.cpp +++ b/openfpga/src/annotation/annotate_rr_graph.cpp @@ -686,7 +686,8 @@ static void annotate_direct_circuit_models( VprDeviceAnnotation& vpr_device_annotation, const bool& verbose_output) { size_t count = 0; - for (size_t idirect = 0; idirect < vpr_device_ctx.arch->directs.size(); ++idirect) { + for (size_t idirect = 0; idirect < vpr_device_ctx.arch->directs.size(); + ++idirect) { std::string direct_name = vpr_device_ctx.arch->directs[idirect].name; /* The name-to-circuit mapping is stored in either cb_switch-to-circuit or * sb_switch-to-circuit, Try to find one and update the device annotation diff --git a/openfpga/src/tile_direct/build_tile_direct.cpp b/openfpga/src/tile_direct/build_tile_direct.cpp index c8e6f7d64..2e6b87db1 100644 --- a/openfpga/src/tile_direct/build_tile_direct.cpp +++ b/openfpga/src/tile_direct/build_tile_direct.cpp @@ -794,7 +794,8 @@ TileDirect build_device_tile_direct(const DeviceContext& device_ctx, TileDirect tile_direct; /* Walk through each direct definition in the VPR arch */ - for (size_t idirect = 0; idirect < device_ctx.arch->directs.size(); ++idirect) { + for (size_t idirect = 0; idirect < device_ctx.arch->directs.size(); + ++idirect) { ArchDirectId arch_direct_id = arch_direct.direct(std::string(device_ctx.arch->directs[idirect].name)); if (ArchDirectId::INVALID() == arch_direct_id) {