Verilog to Routing - VPR
Functions
SetupGrid.h File Reference

Initializes and allocates the physical logic block grid for VPR. More...

#include <vector>
#include "physical_types.h"
Include dependency graph for SetupGrid.h:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Initializes and allocates the physical logic block grid for VPR.

Author
Jason Luu
Date
October 8, 2008

Function Documentation

◆ calculate_device_utilization()

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

◆ count_grid_tiles()

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)

◆ create_device_grid() [1/2]

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.

◆ create_device_grid() [2/2]

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.