Skip to content

Commit 9336b78

Browse files
committed
run 'make format'
1 parent 4e9c684 commit 9336b78

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

vpr/src/base/vpr_api.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,7 @@ static void unset_port_equivalences(DeviceContext& device_ctx) {
388388
}
389389
}
390390

391-
void vpr_show_resource_usage(const t_vpr_setup& vpr_setup, const t_arch& Arch)
392-
{
391+
void vpr_show_resource_usage(const t_vpr_setup& vpr_setup, const t_arch& Arch) {
393392
vtr::ScopedStartFinishTimer timer("Build Device Grid");
394393
/* Read in netlist file for placement and routing */
395394
auto& device_ctx = g_vpr_ctx.mutable_device();
@@ -404,15 +403,15 @@ void vpr_show_resource_usage(const t_vpr_setup& vpr_setup, const t_arch& Arch)
404403
std::map<t_logical_block_type_ptr, size_t> num_type_instances;
405404

406405
//Build the device
407-
for (const auto& l: Arch.grid_layouts) {
406+
for (const auto& l : Arch.grid_layouts) {
408407
std::string device_layout_variant = l.name;
409408

410409
float target_device_utilization = vpr_setup.PackerOpts.target_device_utilization;
411410
device_ctx.grid = create_device_grid(device_layout_variant, Arch.grid_layouts, num_type_instances, target_device_utilization);
412411

413412
/*
414-
*Report on the device
415-
*/
413+
*Report on the device
414+
*/
416415
size_t num_grid_tiles = count_grid_tiles(device_ctx.grid);
417416
VTR_LOG("FPGA sized to %zu x %zu: %zu grid tiles (%s)\n", device_ctx.grid.width(), device_ctx.grid.height(), num_grid_tiles, device_ctx.grid.name().c_str());
418417

0 commit comments

Comments
 (0)