TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::place::CongestionMap Struct Reference

#include <place/congestion.hpp>

Public Member Functions

int bin (Point q) const
 bin containing q (clamped to the grid)
std::size_t size () const

Public Attributes

Coord ox = 0
Coord oy = 0
Coord cell = 1'000'000
int nx = 1
int ny = 1
std::vector< std::int64_t > cap
 track-length capacity per bin, nm
Coord pin_demand = 0
 track length consumed by one pin, nm

Detailed Description

Definition at line 31 of file congestion.hpp.

Member Function Documentation

◆ bin()

int tmk::place::CongestionMap::bin ( Point q) const

bin containing q (clamped to the grid)

◆ size()

std::size_t tmk::place::CongestionMap::size ( ) const
inline

Definition at line 37 of file congestion.hpp.

Member Data Documentation

◆ cap

std::vector<std::int64_t> tmk::place::CongestionMap::cap

track-length capacity per bin, nm

Definition at line 34 of file congestion.hpp.

◆ cell

Coord tmk::place::CongestionMap::cell = 1'000'000

Definition at line 32 of file congestion.hpp.

◆ nx

int tmk::place::CongestionMap::nx = 1

Definition at line 33 of file congestion.hpp.

◆ ny

int tmk::place::CongestionMap::ny = 1

Definition at line 33 of file congestion.hpp.

◆ ox

Coord tmk::place::CongestionMap::ox = 0

Definition at line 32 of file congestion.hpp.

◆ oy

Coord tmk::place::CongestionMap::oy = 0

Definition at line 32 of file congestion.hpp.

◆ pin_demand

Coord tmk::place::CongestionMap::pin_demand = 0

track length consumed by one pin, nm

Definition at line 35 of file congestion.hpp.


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