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

Netlist views of a board for component recognition (doc 15 §3.1 "Topology", §8.0 topology detectors): pads per net, nets per footprint, part kinds from reference letters, and the decoupling-capacitor ties of decision D25. More...

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

Go to the source code of this file.

Classes

class  tmk::crules::BoardIndex
struct  tmk::crules::DecapTie
 Decision D25 (doc 04 §2): a two-pad capacitor (C*) between a supply net and a ground net is tied to the nearest pad, in the input placement, of an IC (U*, IC*) on the same supply; ties keep the lowest pad index. More...
struct  tmk::crules::Point

Namespaces

namespace  tmk
namespace  tmk::crules

Functions

std::vector< DecapTie > tmk::crules::decap_ties (const model::Board &b, const std::function< bool(int)> &usable, bool generalised)

Detailed Description

Netlist views of a board for component recognition (doc 15 §3.1 "Topology", §8.0 topology detectors): pads per net, nets per footprint, part kinds from reference letters, and the decoupling-capacitor ties of decision D25.

Every list is in ascending index order so results never depend on hash order (CLAUDE.md rule 2).

Definition in file topology.hpp.