Verilog to Routing - VPR
Data Fields
PlacementContext Struct Reference

State relating to placement. More...

#include <vpr_context.h>

Inheritance diagram for PlacementContext:
Inheritance graph
[legend]
Collaboration diagram for PlacementContext:
Collaboration graph
[legend]

Data Fields

vtr::vector_map< ClusterBlockId, t_block_locblock_locs
 Clustered block placement locations. More...
 
vtr::vector_map< ClusterPinId, int > physical_pins
 Clustered pin placement mapping with physical pin. More...
 
vtr::Matrix< t_grid_blocksgrid_blocks
 Clustered block associated with each grid location (i.e. inverse of block_locs) More...
 
std::vector< t_pl_macro > pl_macros
 The pl_macros array stores all the placement macros (usually carry chains). More...
 
t_compressed_block_grids compressed_block_grids
 Compressed grid space for each block type. More...
 
std::string placement_id
 SHA256 digest of the .place file. More...
 

Additional Inherited Members

- Public Member Functions inherited from Context
 Context ()=default
 
 Context (Context &)=delete
 
Contextoperator= (Context &)=delete
 
virtual ~Context ()=default
 

Detailed Description

State relating to placement.

This should contain only data structures that describe the current placement, or related placer algorithm state.

Field Documentation

◆ block_locs

vtr::vector_map<ClusterBlockId, t_block_loc> PlacementContext::block_locs

Clustered block placement locations.

◆ compressed_block_grids

t_compressed_block_grids PlacementContext::compressed_block_grids

Compressed grid space for each block type.

Used to efficiently find logically 'adjacent' blocks of the same block type even though the may be physically far apart

◆ grid_blocks

vtr::Matrix<t_grid_blocks> PlacementContext::grid_blocks

Clustered block associated with each grid location (i.e. inverse of block_locs)

◆ physical_pins

vtr::vector_map<ClusterPinId, int> PlacementContext::physical_pins

Clustered pin placement mapping with physical pin.

◆ pl_macros

std::vector<t_pl_macro> PlacementContext::pl_macros

The pl_macros array stores all the placement macros (usually carry chains).

◆ placement_id

std::string PlacementContext::placement_id

SHA256 digest of the .place file.

Used for unique identification and consistency checking


The documentation for this struct was generated from the following file: