Verilog to Routing - VPR
|
Initializes and allocates the physical logic block grid for VPR. More...
#include <vector>
#include "physical_types.h"
Go to the source code of this file.
Functions | |
DeviceGrid | create_device_grid (std::string layout_name, const std::vector< t_grid_def > &grid_layouts, const std::map< t_logical_block_type_ptr, size_t > &minimum_instance_counts, float target_device_utilization) |
Find the device satisfying the specified minimum resources. More... | |
DeviceGrid | create_device_grid (std::string layout_name, const std::vector< t_grid_def > &grid_layouts, size_t min_width, size_t min_height) |
Find the device close in size to the specified dimensions. More... | |
float | calculate_device_utilization (const DeviceGrid &grid, std::map< t_logical_block_type_ptr, size_t > instance_counts) |
Calculate the device utilization. More... | |
size_t | count_grid_tiles (const DeviceGrid &grid) |
Returns the effective size of the device (size of the bounding box of non-empty grid tiles) More... | |
Initializes and allocates the physical logic block grid for VPR.
float calculate_device_utilization | ( | const DeviceGrid & | grid, |
std::map< t_logical_block_type_ptr, size_t > | instance_counts | ||
) |
Calculate the device utilization.
Calculate the device utilization (i.e. fraction of used grid tiles) foor the specified grid and resource requirements
size_t count_grid_tiles | ( | const DeviceGrid & | grid | ) |
Returns the effective size of the device (size of the bounding box of non-empty grid tiles)
DeviceGrid create_device_grid | ( | std::string | layout_name, |
const std::vector< t_grid_def > & | grid_layouts, | ||
const std::map< t_logical_block_type_ptr, size_t > & | minimum_instance_counts, | ||
float | target_device_utilization | ||
) |
Find the device satisfying the specified minimum resources.
Find the device satisfying the specified minimum resources.
DeviceGrid create_device_grid | ( | std::string | layout_name, |
const std::vector< t_grid_def > & | grid_layouts, | ||
size_t | width, | ||
size_t | height | ||
) |
Find the device close in size to the specified dimensions.
Find the device close in size to the specified dimensions.