diff --git a/.clang-format b/.clang-format index f53e8a6adf4..774aba72016 100644 --- a/.clang-format +++ b/.clang-format @@ -69,6 +69,7 @@ IndentCaseLabels: true IndentWidth: 4 IndentWrappedFunctionNames: false IndentPPDirectives: None +InsertNewlineAtEOF: true JavaScriptQuotes: Leave JavaScriptWrapImports: true KeepEmptyLinesAtTheStartOfBlocks: true diff --git a/libs/libarchfpga/src/physical_types.cpp b/libs/libarchfpga/src/physical_types.cpp index bdacf50931d..f1e145a4406 100644 --- a/libs/libarchfpga/src/physical_types.cpp +++ b/libs/libarchfpga/src/physical_types.cpp @@ -360,4 +360,4 @@ const t_physical_tile_port* t_sub_tile::get_port_by_pin(int pin) const { } return nullptr; -} \ No newline at end of file +} diff --git a/libs/libarchfpga/src/read_xml_arch_file.cpp b/libs/libarchfpga/src/read_xml_arch_file.cpp index 734e6dc6e9b..5ac6acf6b9a 100644 --- a/libs/libarchfpga/src/read_xml_arch_file.cpp +++ b/libs/libarchfpga/src/read_xml_arch_file.cpp @@ -4818,4 +4818,4 @@ static T* get_type_by_name(std::string_view type_name, std::vector& types) { archfpga_throw(__FILE__, __LINE__, "Could not find type: %s\n", type_name); -} \ No newline at end of file +} diff --git a/libs/libarchfpga/src/read_xml_arch_file_noc_tag.cpp b/libs/libarchfpga/src/read_xml_arch_file_noc_tag.cpp index a9428c64ffc..aa415590551 100644 --- a/libs/libarchfpga/src/read_xml_arch_file_noc_tag.cpp +++ b/libs/libarchfpga/src/read_xml_arch_file_noc_tag.cpp @@ -684,4 +684,4 @@ static void process_noc_overrides(pugi::xml_node noc_overrides_tag, bad_tag(override_tag, loc_data, noc_overrides_tag, {"router", "link"}); } } -} \ No newline at end of file +} diff --git a/libs/libarchfpga/src/write_models_bb.cpp b/libs/libarchfpga/src/write_models_bb.cpp index 24de3938c96..a48c0b1ab9f 100644 --- a/libs/libarchfpga/src/write_models_bb.cpp +++ b/libs/libarchfpga/src/write_models_bb.cpp @@ -116,4 +116,4 @@ void DeclareModel_bb(FILE* Echo, const t_model* model) { // endmodule fprintf(Echo, "endmodule\n\n"); -} \ No newline at end of file +} diff --git a/libs/libarchfpga/test/main.cpp b/libs/libarchfpga/test/main.cpp index 2a2e12d62b2..f5c7e84bcee 100644 --- a/libs/libarchfpga/test/main.cpp +++ b/libs/libarchfpga/test/main.cpp @@ -1,2 +1,2 @@ #define CATCH_CONFIG_MAIN -#include "catch2/catch_test_macros.hpp" \ No newline at end of file +#include "catch2/catch_test_macros.hpp" diff --git a/libs/libarchfpga/test/test_read_xml_arch_file.cpp b/libs/libarchfpga/test/test_read_xml_arch_file.cpp index 24a17af9ea2..e6b4b58a3f4 100644 --- a/libs/libarchfpga/test/test_read_xml_arch_file.cpp +++ b/libs/libarchfpga/test/test_read_xml_arch_file.cpp @@ -269,4 +269,4 @@ TEST_CASE("Verifying mesh topology creation", "[NoC Arch Tests]") { REQUIRE(vtr::isclose(golden_results_y[expected_router_id], test_noc.router_list[expected_router_id].device_y_position)); } } -} \ No newline at end of file +} diff --git a/libs/liblog/src/main.cpp b/libs/liblog/src/main.cpp index 65388256080..646e6c94a56 100644 --- a/libs/liblog/src/main.cpp +++ b/libs/liblog/src/main.cpp @@ -15,4 +15,4 @@ int main() { log_print_info("Test complete\n"); return 0; -} \ No newline at end of file +} diff --git a/odin_ii/src/ast/ast_elaborate.h b/odin_ii/src/ast/ast_elaborate.h index cf6beb85607..d93f0c51f6c 100644 --- a/odin_ii/src/ast/ast_elaborate.h +++ b/odin_ii/src/ast/ast_elaborate.h @@ -32,4 +32,4 @@ ast_node_t* find_top_module(ast_t* ast); int simplify_ast_module(ast_node_t** ast_module, sc_hierarchy* local_ref); void create_param_table_for_scope(ast_node_t* module_items, sc_hierarchy* local_ref); -#endif \ No newline at end of file +#endif diff --git a/odin_ii/src/config/read_xml_config_file.cpp b/odin_ii/src/config/read_xml_config_file.cpp index b329dbd461b..124c395337f 100644 --- a/odin_ii/src/config/read_xml_config_file.cpp +++ b/odin_ii/src/config/read_xml_config_file.cpp @@ -321,4 +321,4 @@ void read_optimizations(pugi::xml_node a_node, config_t* config, const pugiutil: } return; -} \ No newline at end of file +} diff --git a/odin_ii/src/core/block_memories.cpp b/odin_ii/src/core/block_memories.cpp index 0b3cad7e3ea..fe0717c953e 100644 --- a/odin_ii/src/core/block_memories.cpp +++ b/odin_ii/src/core/block_memories.cpp @@ -1470,4 +1470,4 @@ static void free_block_memory(block_memory_t* to_free) { vtr::free(to_free->memory_id); vtr::free(to_free); -} \ No newline at end of file +} diff --git a/odin_ii/src/core/odin_memory.h b/odin_ii/src/core/odin_memory.h index ee1388ab200..2b431c9db3c 100644 --- a/odin_ii/src/core/odin_memory.h +++ b/odin_ii/src/core/odin_memory.h @@ -138,4 +138,4 @@ void realloc(T** ptr_ref, S _n_bytes) { } } // namespace odin -#endif //ODIN_MEMORY_H \ No newline at end of file +#endif //ODIN_MEMORY_H diff --git a/odin_ii/src/main.cpp b/odin_ii/src/main.cpp index a0bc57d9cae..458be4ae027 100644 --- a/odin_ii/src/main.cpp +++ b/odin_ii/src/main.cpp @@ -46,4 +46,4 @@ int main(int argc, char** argv) { netlist_t* odin_netlist = start_odin_ii(argc, argv); terminate_odin_ii(odin_netlist); return 0; -} \ No newline at end of file +} diff --git a/odin_ii/src/netlist/netlist_statistic.cpp b/odin_ii/src/netlist/netlist_statistic.cpp index 6a2aeef0061..6d8ce8c5711 100644 --- a/odin_ii/src/netlist/netlist_statistic.cpp +++ b/odin_ii/src/netlist/netlist_statistic.cpp @@ -547,4 +547,4 @@ void compute_statistics(netlist_t* netlist, bool display) { printf("\n"); } } -} \ No newline at end of file +} diff --git a/odin_ii/src/utils/hierarchy_util.cpp b/odin_ii/src/utils/hierarchy_util.cpp index 7e5f9556601..72c78914e3d 100644 --- a/odin_ii/src/utils/hierarchy_util.cpp +++ b/odin_ii/src/utils/hierarchy_util.cpp @@ -332,4 +332,4 @@ ast_node_t* resolve_hierarchical_name_reference_by_upward_search(sc_hierarchy* l } return NULL; -} \ No newline at end of file +} diff --git a/odin_ii/src/utils/hierarchy_util.h b/odin_ii/src/utils/hierarchy_util.h index af38204243c..88148de1bc8 100644 --- a/odin_ii/src/utils/hierarchy_util.h +++ b/odin_ii/src/utils/hierarchy_util.h @@ -62,4 +62,4 @@ sc_hierarchy* copy_sc_hierarchy(sc_hierarchy* to_copy); void free_sc_hierarchy(sc_hierarchy* to_free); ast_node_t* resolve_hierarchical_name_reference(sc_hierarchy* local_ref, char* identifier); -#endif \ No newline at end of file +#endif diff --git a/odin_ii/src/utils/scope_util.cpp b/odin_ii/src/utils/scope_util.cpp index 658533b9f47..2d77fd9276d 100644 --- a/odin_ii/src/utils/scope_util.cpp +++ b/odin_ii/src/utils/scope_util.cpp @@ -80,4 +80,4 @@ void push_scope() { /* update current scope */ current_scope = scope_stack.back(); -} \ No newline at end of file +} diff --git a/vpr/src/base/partition_region.cpp b/vpr/src/base/partition_region.cpp index e95b512dea1..068f181b7c2 100644 --- a/vpr/src/base/partition_region.cpp +++ b/vpr/src/base/partition_region.cpp @@ -111,4 +111,4 @@ const PartitionRegion& get_device_partition_region() { VTR_ASSERT_SAFE(layer_low == 0 && layer_high == n_layers - 1); return device_pr; -} \ No newline at end of file +} diff --git a/vpr/src/base/setup_noc.h b/vpr/src/base/setup_noc.h index e4b36c51e81..9b728e0f0ab 100644 --- a/vpr/src/base/setup_noc.h +++ b/vpr/src/base/setup_noc.h @@ -131,4 +131,4 @@ void create_noc_routers(const t_noc_inf& noc_info, */ void create_noc_links(const t_noc_inf& noc_info, NocStorage* noc_model); -#endif \ No newline at end of file +#endif diff --git a/vpr/src/base/user_route_constraints.cpp b/vpr/src/base/user_route_constraints.cpp index 67cabe6b20e..b6d3f1b0384 100644 --- a/vpr/src/base/user_route_constraints.cpp +++ b/vpr/src/base/user_route_constraints.cpp @@ -72,4 +72,4 @@ const std::string UserRouteConstraints::get_routing_network_name_by_net_name(std int UserRouteConstraints::get_num_route_constraints(void) const { return route_constraints_.size(); -} \ No newline at end of file +} diff --git a/vpr/src/base/user_route_constraints.h b/vpr/src/base/user_route_constraints.h index ec925d7887d..62ba08cda1d 100644 --- a/vpr/src/base/user_route_constraints.h +++ b/vpr/src/base/user_route_constraints.h @@ -153,4 +153,4 @@ class UserRouteConstraints { */ std::unordered_map route_constraints_; }; -#endif /* USER_ROUTE_CONSTRAINTS_H */ \ No newline at end of file +#endif /* USER_ROUTE_CONSTRAINTS_H */ diff --git a/vpr/src/draw/draw_noc.h b/vpr/src/draw/draw_noc.h index 87ae4dc28ac..e24ae6b1db2 100644 --- a/vpr/src/draw/draw_noc.h +++ b/vpr/src/draw/draw_noc.h @@ -243,4 +243,4 @@ void shift_noc_link(noc_link_draw_coords& link_coords, NocLinkShift link_shift_d #endif -#endif \ No newline at end of file +#endif diff --git a/vpr/src/draw/gtkcomboboxhelper.cpp b/vpr/src/draw/gtkcomboboxhelper.cpp index 6da464289ca..4892fb0afc3 100644 --- a/vpr/src/draw/gtkcomboboxhelper.cpp +++ b/vpr/src/draw/gtkcomboboxhelper.cpp @@ -58,4 +58,4 @@ gint get_item_index_by_text(gpointer combo_box, const gchar* target_item) { return result_index; } -#endif // NO_GRAPHICS \ No newline at end of file +#endif // NO_GRAPHICS diff --git a/vpr/src/draw/search_bar.h b/vpr/src/draw/search_bar.h index af74a784280..5aafd49435d 100644 --- a/vpr/src/draw/search_bar.h +++ b/vpr/src/draw/search_bar.h @@ -53,4 +53,4 @@ GdkEvent simulate_keypress(char key, GdkWindow* window); std::string get_search_type(ezgl::application* app); #endif /* NO_GRAPHICS */ -#endif /* SEARCH_BAR_H */ \ No newline at end of file +#endif /* SEARCH_BAR_H */ diff --git a/vpr/src/draw/ui_setup.h b/vpr/src/draw/ui_setup.h index 4c045fae08c..3b543adb493 100644 --- a/vpr/src/draw/ui_setup.h +++ b/vpr/src/draw/ui_setup.h @@ -101,4 +101,4 @@ void show_widget(std::string widgetName, ezgl::application* app); #endif /* NO_GRAPHICS */ -#endif /* UISETUP_H */ \ No newline at end of file +#endif /* UISETUP_H */ diff --git a/vpr/src/noc/bfs_routing.cpp b/vpr/src/noc/bfs_routing.cpp index a72ec6b29e4..ef7d5c00d0e 100644 --- a/vpr/src/noc/bfs_routing.cpp +++ b/vpr/src/noc/bfs_routing.cpp @@ -129,4 +129,4 @@ void BFSRouting::generate_route(NocRouterId start_router_id, // now get the parent of the router we moved to curr_intermediate_router_parent_link = router_parent_link.find(curr_intermediate_router); } -} \ No newline at end of file +} diff --git a/vpr/src/noc/bfs_routing.h b/vpr/src/noc/bfs_routing.h index ca28a8ca3fd..7d881bed8b1 100644 --- a/vpr/src/noc/bfs_routing.h +++ b/vpr/src/noc/bfs_routing.h @@ -87,4 +87,4 @@ class BFSRouting : public NocRouting { const std::unordered_map& router_parent_link); }; -#endif \ No newline at end of file +#endif diff --git a/vpr/src/noc/channel_dependency_graph.cpp b/vpr/src/noc/channel_dependency_graph.cpp index 31bd4052485..f85de80c0ac 100644 --- a/vpr/src/noc/channel_dependency_graph.cpp +++ b/vpr/src/noc/channel_dependency_graph.cpp @@ -125,4 +125,4 @@ bool ChannelDependencyGraph::has_cycles() { // if no vertex in the graph points to at least one of its ancestors, the graph does not have any cycles return false; -} \ No newline at end of file +} diff --git a/vpr/src/noc/noc_data_types.h b/vpr/src/noc/noc_data_types.h index 6317db4ae09..85752445245 100644 --- a/vpr/src/noc/noc_data_types.h +++ b/vpr/src/noc/noc_data_types.h @@ -28,4 +28,4 @@ typedef vtr::StrongId NocTrafficFlowId; struct noc_group_id_tag; typedef vtr::StrongId NocGroupId; -#endif \ No newline at end of file +#endif diff --git a/vpr/src/noc/noc_link.h b/vpr/src/noc/noc_link.h index b5be26de179..ba7ba01fbba 100644 --- a/vpr/src/noc/noc_link.h +++ b/vpr/src/noc/noc_link.h @@ -121,4 +121,4 @@ class NocLink { operator NocLinkId() const; }; -#endif \ No newline at end of file +#endif diff --git a/vpr/src/noc/noc_router.cpp b/vpr/src/noc/noc_router.cpp index b0fc9ab77c3..d2b18ec6b40 100644 --- a/vpr/src/noc/noc_router.cpp +++ b/vpr/src/noc/noc_router.cpp @@ -47,4 +47,4 @@ ClusterBlockId NocRouter::get_router_block_ref() const { // setters void NocRouter::set_router_block_ref(ClusterBlockId router_block_ref_id) { router_block_ref = router_block_ref_id; -} \ No newline at end of file +} diff --git a/vpr/src/noc/noc_router.h b/vpr/src/noc/noc_router.h index 8c78ad14ed6..e7a2b04ab0e 100644 --- a/vpr/src/noc/noc_router.h +++ b/vpr/src/noc/noc_router.h @@ -119,4 +119,4 @@ class NocRouter { void set_router_block_ref(ClusterBlockId router_block_ref_id); }; -#endif \ No newline at end of file +#endif diff --git a/vpr/src/noc/noc_routing_algorithm_creator.cpp b/vpr/src/noc/noc_routing_algorithm_creator.cpp index 5af9eb2af2c..15cbbf5bbfb 100644 --- a/vpr/src/noc/noc_routing_algorithm_creator.cpp +++ b/vpr/src/noc/noc_routing_algorithm_creator.cpp @@ -29,4 +29,4 @@ std::unique_ptr NocRoutingAlgorithmCreator::create_routing_algorithm } return noc_routing_algorithm; -} \ No newline at end of file +} diff --git a/vpr/src/noc/noc_traffic_flows.h b/vpr/src/noc/noc_traffic_flows.h index 89edb60bb71..a05a2e37696 100644 --- a/vpr/src/noc/noc_traffic_flows.h +++ b/vpr/src/noc/noc_traffic_flows.h @@ -315,4 +315,4 @@ class NocTrafficFlows { static constexpr double DEFAULT_MAX_TRAFFIC_FLOW_LATENCY = 1.; }; -#endif \ No newline at end of file +#endif diff --git a/vpr/src/noc/read_xml_noc_traffic_flows_file.h b/vpr/src/noc/read_xml_noc_traffic_flows_file.h index 2d8b348ad71..b53a0e432be 100644 --- a/vpr/src/noc/read_xml_noc_traffic_flows_file.h +++ b/vpr/src/noc/read_xml_noc_traffic_flows_file.h @@ -257,4 +257,4 @@ bool check_that_all_router_blocks_have_an_associated_traffic_flow(NocContext& no */ std::vector get_cluster_blocks_compatible_with_noc_router_tiles(const ClusteringContext& cluster_ctx, t_physical_tile_type_ptr noc_router_tile_type); -#endif \ No newline at end of file +#endif diff --git a/vpr/src/noc/sat_routing.cpp b/vpr/src/noc/sat_routing.cpp index b9e6799d739..0ccf1426720 100644 --- a/vpr/src/noc/sat_routing.cpp +++ b/vpr/src/noc/sat_routing.cpp @@ -670,4 +670,4 @@ vtr::vector> noc_sat_route(bool minimiz return {}; } -#endif //ENABLE_NOC_SAT_ROUTING \ No newline at end of file +#endif //ENABLE_NOC_SAT_ROUTING diff --git a/vpr/src/noc/sat_routing.h b/vpr/src/noc/sat_routing.h index 7abf5b965ff..60f9a900fb0 100644 --- a/vpr/src/noc/sat_routing.h +++ b/vpr/src/noc/sat_routing.h @@ -67,4 +67,4 @@ struct hash> { } // namespace std #endif -#endif \ No newline at end of file +#endif diff --git a/vpr/src/noc/xy_routing.cpp b/vpr/src/noc/xy_routing.cpp index ba2b1a3bfc2..5d181ff78d4 100644 --- a/vpr/src/noc/xy_routing.cpp +++ b/vpr/src/noc/xy_routing.cpp @@ -82,4 +82,4 @@ bool XYRouting::is_turn_legal(const std::array no_direction{}; }; -#endif \ No newline at end of file +#endif diff --git a/vpr/src/place/delay_model/PlacementDelayModelCreator.cpp b/vpr/src/place/delay_model/PlacementDelayModelCreator.cpp index 3482cd091e0..e58cb4b9539 100644 --- a/vpr/src/place/delay_model/PlacementDelayModelCreator.cpp +++ b/vpr/src/place/delay_model/PlacementDelayModelCreator.cpp @@ -77,4 +77,4 @@ PlacementDelayModelCreator::create_delay_model(const t_placer_opts& placer_opts, free_routing_structs(); return place_delay_model; -} \ No newline at end of file +} diff --git a/vpr/src/place/delay_model/compute_delta_delays_utils.cpp b/vpr/src/place/delay_model/compute_delta_delays_utils.cpp index 85602dec33b..bb1232d2778 100644 --- a/vpr/src/place/delay_model/compute_delta_delays_utils.cpp +++ b/vpr/src/place/delay_model/compute_delta_delays_utils.cpp @@ -963,4 +963,4 @@ std::vector get_best_classes(enum e_pin_type pintype, t_physical_tile_type_ std::stable_sort(best_classes.begin(), best_classes.end(), cmp_class); return best_classes; -} \ No newline at end of file +} diff --git a/vpr/src/place/delay_model/compute_delta_delays_utils.h b/vpr/src/place/delay_model/compute_delta_delays_utils.h index 71ac632b149..d51c41cf18f 100644 --- a/vpr/src/place/delay_model/compute_delta_delays_utils.h +++ b/vpr/src/place/delay_model/compute_delta_delays_utils.h @@ -53,4 +53,4 @@ bool find_direct_connect_sample_locations(const t_direct_inf* direct, * with the same number of pins. */ -std::vector get_best_classes(enum e_pin_type pintype, t_physical_tile_type_ptr type); \ No newline at end of file +std::vector get_best_classes(enum e_pin_type pintype, t_physical_tile_type_ptr type); diff --git a/vpr/src/place/delay_model/delta_delay_model.h b/vpr/src/place/delay_model/delta_delay_model.h index c3ae0d83cf7..a4c548210ae 100644 --- a/vpr/src/place/delay_model/delta_delay_model.h +++ b/vpr/src/place/delay_model/delta_delay_model.h @@ -44,4 +44,4 @@ class DeltaDelayModel : public PlaceDelayModel { /// Indicates whether the router is a two-stage or run-flat bool is_flat_; -}; \ No newline at end of file +}; diff --git a/vpr/src/place/delay_model/override_delay_model.h b/vpr/src/place/delay_model/override_delay_model.h index 5965261c272..e7d71c72318 100644 --- a/vpr/src/place/delay_model/override_delay_model.h +++ b/vpr/src/place/delay_model/override_delay_model.h @@ -109,4 +109,4 @@ class OverrideDelayModel : public PlaceDelayModel { static_assert(sizeof(t_override::to_class) == sizeof(short), "Expect all t_override data members to be shorts"); static_assert(sizeof(t_override::delta_x) == sizeof(short), "Expect all t_override data members to be shorts"); static_assert(sizeof(t_override::delta_y) == sizeof(short), "Expect all t_override data members to be shorts"); -}; \ No newline at end of file +}; diff --git a/vpr/src/place/delay_model/simple_delay_model.h b/vpr/src/place/delay_model/simple_delay_model.h index 25dce08c4fc..0a7ace6aece 100644 --- a/vpr/src/place/delay_model/simple_delay_model.h +++ b/vpr/src/place/delay_model/simple_delay_model.h @@ -36,4 +36,4 @@ class SimpleDelayModel : public PlaceDelayModel { *One might argue that this variability could also occur for dx and dy. However, we are operating under the assumption that the FPGA fabric architecture is regular. */ vtr::NdMatrix delays_; // [0..num_physical_type-1][0..num_layers-1][0..num_layers-1][0..max_dx][0..max_dy] -}; \ No newline at end of file +}; diff --git a/vpr/src/place/grid_tile_lookup.h b/vpr/src/place/grid_tile_lookup.h index 60684029dba..b155bf99410 100644 --- a/vpr/src/place/grid_tile_lookup.h +++ b/vpr/src/place/grid_tile_lookup.h @@ -87,4 +87,4 @@ class GridTileLookup { std::vector max_placement_locations; }; -#endif /* VPR_SRC_PLACE_GRID_TILE_LOOKUP_H_ */ \ No newline at end of file +#endif /* VPR_SRC_PLACE_GRID_TILE_LOOKUP_H_ */ diff --git a/vpr/src/place/placer_breakpoint.h b/vpr/src/place/placer_breakpoint.h index b202a25081e..159e9c40b38 100644 --- a/vpr/src/place/placer_breakpoint.h +++ b/vpr/src/place/placer_breakpoint.h @@ -15,4 +15,4 @@ void stop_placement_and_check_breakpoints(t_pl_blocks_to_be_moved& blocks_affect e_move_result move_outcome, double delta_c, double bb_delta_c, - double timing_delta_c); \ No newline at end of file + double timing_delta_c); diff --git a/vpr/src/place/timing/PlacerTimingCosts.cpp b/vpr/src/place/timing/PlacerTimingCosts.cpp index d8ad6afafab..483111a14e6 100644 --- a/vpr/src/place/timing/PlacerTimingCosts.cpp +++ b/vpr/src/place/timing/PlacerTimingCosts.cpp @@ -123,4 +123,4 @@ void PlacerTimingCosts::invalidate(const double* invalidated_cost) { } VTR_ASSERT_SAFE_MSG(std::isnan(connection_costs_[0]), "Invalidating any connection should have invalidated the root"); -} \ No newline at end of file +} diff --git a/vpr/src/route/rr_graph_indexed_data.cpp b/vpr/src/route/rr_graph_indexed_data.cpp index 115f29b0445..09bad36ad28 100644 --- a/vpr/src/route/rr_graph_indexed_data.cpp +++ b/vpr/src/route/rr_graph_indexed_data.cpp @@ -19,4 +19,4 @@ void load_rr_index_segments(const int num_segment) { index = CHANX_COST_INDEX_START + num_segment + iseg; device_ctx.rr_indexed_data[RRIndexedDataId(index)].seg_index = iseg; } -} \ No newline at end of file +} diff --git a/vpr/src/timing/NetPinTimingInvalidator.h b/vpr/src/timing/NetPinTimingInvalidator.h index f977c9e5b0a..09badeecc53 100644 --- a/vpr/src/timing/NetPinTimingInvalidator.h +++ b/vpr/src/timing/NetPinTimingInvalidator.h @@ -191,4 +191,4 @@ inline std::unique_ptr make_net_pin_timing_invalidator( return std::make_unique(net_list, clb_atom_pin_lookup, atom_nlist, atom_lookup, timing_info, is_flat); } -} \ No newline at end of file +} diff --git a/vpr/test/test_bfs_routing.cpp b/vpr/test/test_bfs_routing.cpp index c0c03a9ad1d..61d98a3c200 100644 --- a/vpr/test/test_bfs_routing.cpp +++ b/vpr/test/test_bfs_routing.cpp @@ -139,4 +139,4 @@ TEST_CASE("test_route_flow", "[vpr_noc_bfs_routing]") { } } -} // namespace \ No newline at end of file +} // namespace diff --git a/vpr/test/test_clustered_netlist.cpp b/vpr/test/test_clustered_netlist.cpp index cd0059c173e..bcd42988068 100644 --- a/vpr/test/test_clustered_netlist.cpp +++ b/vpr/test/test_clustered_netlist.cpp @@ -146,4 +146,4 @@ TEST_CASE("test_find_block_with_matching_name", "[vpr_clustered_netlist]") { REQUIRE((size_t)(block_id_from_name.find("router:noc_router_four|flit_out_two[0]~reg0")->second) == (size_t)test_router_id); } } -} // namespace \ No newline at end of file +} // namespace diff --git a/vpr/test/test_compressed_grid.cpp b/vpr/test/test_compressed_grid.cpp index ccc89d22ac9..028a1164af9 100644 --- a/vpr/test/test_compressed_grid.cpp +++ b/vpr/test/test_compressed_grid.cpp @@ -324,4 +324,4 @@ TEST_CASE("test_compressed_grid", "[vpr_compressed_grid]") { logical_block_types.clear(); } -} // namespace \ No newline at end of file +} // namespace diff --git a/vpr/test/test_noc_storage.cpp b/vpr/test/test_noc_storage.cpp index 0320fa130dc..225614a43a2 100644 --- a/vpr/test/test_noc_storage.cpp +++ b/vpr/test/test_noc_storage.cpp @@ -457,4 +457,4 @@ TEST_CASE("test_generate_router_key_from_grid_location", "[vpr_noc]") { } } -} // namespace \ No newline at end of file +} // namespace diff --git a/vpr/test/test_noc_traffic_flows.cpp b/vpr/test/test_noc_traffic_flows.cpp index 1afd37727e6..ea5806d3261 100644 --- a/vpr/test/test_noc_traffic_flows.cpp +++ b/vpr/test/test_noc_traffic_flows.cpp @@ -133,4 +133,4 @@ TEST_CASE("test_adding_traffic_flows", "[vpr_noc_traffic_flows]") { REQUIRE(traffic_flow_storage.get_traffic_flows_associated_to_router_block(invalid_block).empty()); } } -} // namespace \ No newline at end of file +} // namespace diff --git a/vpr/test/test_odd_even_routing.cpp b/vpr/test/test_odd_even_routing.cpp index 095f56befc1..4f00b7d2663 100644 --- a/vpr/test/test_odd_even_routing.cpp +++ b/vpr/test/test_odd_even_routing.cpp @@ -263,4 +263,4 @@ TEST_CASE("test_route_flow", "[vpr_noc_odd_even_routing]") { } } -} // namespace \ No newline at end of file +} // namespace diff --git a/vpr/test/test_read_xml_noc_traffic_flows_file.cpp b/vpr/test/test_read_xml_noc_traffic_flows_file.cpp index f16a5d9feff..17aedd6bad1 100644 --- a/vpr/test/test_read_xml_noc_traffic_flows_file.cpp +++ b/vpr/test/test_read_xml_noc_traffic_flows_file.cpp @@ -553,4 +553,4 @@ TEST_CASE("test_get_cluster_blocks_compatible_with_noc_router_tiles", "[vpr_noc_ free_clustered_netlist(); } } -} // namespace \ No newline at end of file +} // namespace diff --git a/vpr/test/test_server_taskresolver.cpp b/vpr/test/test_server_taskresolver.cpp index 20d34b5524f..20c6a865183 100644 --- a/vpr/test/test_server_taskresolver.cpp +++ b/vpr/test/test_server_taskresolver.cpp @@ -112,4 +112,4 @@ TEST_CASE("test_server_taskresolver_cmdSpamAndOverrideOptions", "[vpr]") { REQUIRE(task1->options() == ""); } -#endif /* NO_SERVER */ \ No newline at end of file +#endif /* NO_SERVER */ diff --git a/vpr/test/test_server_telegrambuffer.cpp b/vpr/test/test_server_telegrambuffer.cpp index 54c46bbc4c6..1b20a3c312f 100644 --- a/vpr/test/test_server_telegrambuffer.cpp +++ b/vpr/test/test_server_telegrambuffer.cpp @@ -144,4 +144,4 @@ TEST_CASE("test_server_telegrambuffer_clear", "[vpr]") { REQUIRE(comm::ByteArray{} == tBuff.data()); } -#endif /* NO_SERVER */ \ No newline at end of file +#endif /* NO_SERVER */ diff --git a/vpr/test/test_server_telegramoptions.cpp b/vpr/test/test_server_telegramoptions.cpp index d7b3160a0d1..e49b684bc72 100644 --- a/vpr/test/test_server_telegramoptions.cpp +++ b/vpr/test/test_server_telegramoptions.cpp @@ -27,4 +27,4 @@ TEST_CASE("test_server_telegramoptions_get_wrong_keys", "[vpr]") { REQUIRE(options.get_bool("_is_flat_routing", true) == true); } -#endif /* NO_SERVER */ \ No newline at end of file +#endif /* NO_SERVER */ diff --git a/vpr/test/test_server_telegramparser.cpp b/vpr/test/test_server_telegramparser.cpp index 187b646b7c0..a3ac0defa4e 100644 --- a/vpr/test/test_server_telegramparser.cpp +++ b/vpr/test/test_server_telegramparser.cpp @@ -33,4 +33,4 @@ TEST_CASE("test_server_telegram_parser_invalid_types", "[vpr]") { REQUIRE(std::nullopt == comm::TelegramParser::try_extract_field_status(tBadData)); } -#endif /* NO_SERVER */ \ No newline at end of file +#endif /* NO_SERVER */ diff --git a/vpr/test/test_setup_noc.cpp b/vpr/test/test_setup_noc.cpp index d1c14c211a8..31dacd0b5d8 100644 --- a/vpr/test/test_setup_noc.cpp +++ b/vpr/test/test_setup_noc.cpp @@ -1249,4 +1249,4 @@ TEST_CASE("test_setup_noc", "[vpr_setup_noc]") { } } -} // namespace \ No newline at end of file +} // namespace diff --git a/vpr/test/test_xy_routing.cpp b/vpr/test/test_xy_routing.cpp index 8b79960c4c8..b96331cc83a 100644 --- a/vpr/test/test_xy_routing.cpp +++ b/vpr/test/test_xy_routing.cpp @@ -389,4 +389,4 @@ TEST_CASE("test_route_flow when it fails in a non mesh topology.", "[vpr_noc_xy_ REQUIRE_THROWS_WITH(routing_algorithm.route_flow(start_router_id, sink_router_id, traffic_flow_id, found_path, noc_model), "No route could be found from starting router with ID:'3' and the destination router with ID:'1' using the XY-Routing algorithm."); } -} // namespace \ No newline at end of file +} // namespace