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

#include <route/escape_flow.hpp>

Public Attributes

std::function< Coord(model::NetId)> width
 Planning rules per net (the router's class width, clearance and via diameter).
std::function< Coord(model::NetId)> clearance
std::function< Coord(model::NetId)> via
std::function< Coord(model::NetId)> keep
 corridor band, as for version 1 (track width + clearance)
std::function< bool(int, geom::Point, model::NetId)> track_free
 Optional checks against fixed copper (absent: geometry of the array alone).
std::function< bool(geom::Point, model::NetId)> via_free
int layers = 2
 copper layers of the board

Detailed Description

Definition at line 30 of file escape_flow.hpp.

Member Data Documentation

◆ clearance

std::function<Coord(model::NetId)> tmk::route::FlowEscapeInput::clearance

Definition at line 33 of file escape_flow.hpp.

◆ keep

std::function<Coord(model::NetId)> tmk::route::FlowEscapeInput::keep

corridor band, as for version 1 (track width + clearance)

Definition at line 34 of file escape_flow.hpp.

◆ layers

int tmk::route::FlowEscapeInput::layers = 2

copper layers of the board

Definition at line 40 of file escape_flow.hpp.

◆ track_free

std::function<bool(int, geom::Point, model::NetId)> tmk::route::FlowEscapeInput::track_free

Optional checks against fixed copper (absent: geometry of the array alone).

track_free(layer, p, net): a track of that net's planning width centred at p is clear of fixed copper on layer; via_free(p, net): that net's via fits at p.

Definition at line 38 of file escape_flow.hpp.

◆ via

std::function<Coord(model::NetId)> tmk::route::FlowEscapeInput::via

Definition at line 33 of file escape_flow.hpp.

◆ via_free

std::function<bool(geom::Point, model::NetId)> tmk::route::FlowEscapeInput::via_free

Definition at line 39 of file escape_flow.hpp.

◆ width

std::function<Coord(model::NetId)> tmk::route::FlowEscapeInput::width

Planning rules per net (the router's class width, clearance and via diameter).

An array is planned with the most common values among its pins (ties: the narrower), so one power net does not shrink every channel.

Definition at line 33 of file escape_flow.hpp.


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