Verilog to Routing - VPR
Public Member Functions | Data Fields | Friends
t_pl_offset Struct Reference

An offset between placement locations (t_pl_loc) More...

#include <vpr_types.h>

Public Member Functions

 t_pl_offset ()=default
 
 t_pl_offset (int xoffset, int yoffset, int sub_tile_offset)
 
t_pl_offsetoperator+= (const t_pl_offset &rhs)
 
t_pl_offsetoperator-= (const t_pl_offset &rhs)
 

Data Fields

int x = 0
 
int y = 0
 
int sub_tile = 0
 

Friends

t_pl_offset operator+ (t_pl_offset lhs, const t_pl_offset &rhs)
 
t_pl_offset operator- (t_pl_offset lhs, const t_pl_offset &rhs)
 
t_pl_offset operator- (const t_pl_offset &other)
 
t_pl_offset operator+ (const t_pl_offset &other)
 
bool operator< (const t_pl_offset &lhs, const t_pl_offset &rhs)
 
bool operator== (const t_pl_offset &lhs, const t_pl_offset &rhs)
 
bool operator!= (const t_pl_offset &lhs, const t_pl_offset &rhs)
 

Detailed Description

An offset between placement locations (t_pl_loc)

x: x-offset y: y-offset z: z-offset

Constructor & Destructor Documentation

◆ t_pl_offset() [1/2]

t_pl_offset::t_pl_offset ( )
default

◆ t_pl_offset() [2/2]

t_pl_offset::t_pl_offset ( int  xoffset,
int  yoffset,
int  sub_tile_offset 
)
inline

Member Function Documentation

◆ operator+=()

t_pl_offset& t_pl_offset::operator+= ( const t_pl_offset rhs)
inline

◆ operator-=()

t_pl_offset& t_pl_offset::operator-= ( const t_pl_offset rhs)
inline

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const t_pl_offset lhs,
const t_pl_offset rhs 
)
friend

◆ operator+ [1/2]

t_pl_offset operator+ ( t_pl_offset  lhs,
const t_pl_offset rhs 
)
friend

◆ operator+ [2/2]

t_pl_offset operator+ ( const t_pl_offset other)
friend

◆ operator- [1/2]

t_pl_offset operator- ( t_pl_offset  lhs,
const t_pl_offset rhs 
)
friend

◆ operator- [2/2]

t_pl_offset operator- ( const t_pl_offset other)
friend

◆ operator<

bool operator< ( const t_pl_offset lhs,
const t_pl_offset rhs 
)
friend

◆ operator==

bool operator== ( const t_pl_offset lhs,
const t_pl_offset rhs 
)
friend

Field Documentation

◆ sub_tile

int t_pl_offset::sub_tile = 0

◆ x

int t_pl_offset::x = 0

◆ y

int t_pl_offset::y = 0

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