TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
stitch.hpp File Reference

Stitching vias (doc 05 §39.3): after routing, vias of a plane's net are added where fills of that net lie over each other on two or more layers (plane stitching), and next to the vias of signals that need a reference plane (return-path stitching). More...

#include <string>
#include <vector>
#include "model/board.hpp"
#include "model/rules.hpp"

Go to the source code of this file.

Classes

struct  tmk::passes::StitchOptions
struct  tmk::passes::StitchOptions::ReturnNet
 Return-path stitching: every via of signal wants a via (or plated through-hole pad) of plane within distance, centre to centre. More...
struct  tmk::passes::StitchReturn
struct  tmk::passes::StitchResult

Namespaces

namespace  tmk
namespace  tmk::passes

Functions

StitchResult tmk::passes::stitch_vias (const model::Board &board, const model::DesignRules &rules, const StitchOptions &opt)
 board holds the routed copper (the run's new tracks and vias appended).

Detailed Description

Stitching vias (doc 05 §39.3): after routing, vias of a plane's net are added where fills of that net lie over each other on two or more layers (plane stitching), and next to the vias of signals that need a reference plane (return-path stitching).

Every via passes the router's exact check against the refilled zones, and is kept only if a second refill still joins it to its net's fill on two layers.

Definition in file stitch.hpp.