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

Net length and propagation delay as KiCad 10.0.6 measures them for its length and skew checks (design doc 05 §59; KiCad's LENGTH_DELAY_CALCULATION with the DRC's options: via spans, merged tracks, tracks clipped in pads). More...

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

Go to the source code of this file.

Classes

struct  tmk::drc::ViaHeights
 The length a via adds to its net in KiCad's length calculation (KiCad 10, BOARD_STACKUP::GetLayerDistance): the stackup between the two copper layers the via joins, with the copper of an outer layer in full and of an inner layer by half. More...
struct  tmk::drc::LengthItems
 The items of one net that a length or skew rule matched: indices into the board's pads, tracks, arcs and vias. More...
struct  tmk::drc::NetLength
 KiCad's LENGTH_DELAY_STATS. Lengths in nm, delays in attoseconds. More...

Namespaces

namespace  tmk
namespace  tmk::drc

Functions

ViaHeights tmk::drc::via_heights (const model::Board &b, const model::DesignRules &rules)
NetLength tmk::drc::net_length (const model::Board &b, const model::DesignRules &rules, const ViaHeights &vh, const LengthItems &items, const model::TuningProfile *profile)
 Length and delay of items, all of one net.

Detailed Description

Net length and propagation delay as KiCad 10.0.6 measures them for its length and skew checks (design doc 05 §59; KiCad's LENGTH_DELAY_CALCULATION with the DRC's options: via spans, merged tracks, tracks clipped in pads).

Definition in file length.hpp.