![]() |
KiCad PCB EDA Suite
|
#include <pns_meander_skew_placer.h>
Public Types | |
enum | TUNING_STATUS { TOO_SHORT = 0, TOO_LONG, TUNED } |
< Result of the length tuning operation More... | |
Public Member Functions | |
MEANDER_SKEW_PLACER (ROUTER *aRouter) | |
~MEANDER_SKEW_PLACER () | |
bool | Start (const VECTOR2I &aP, ITEM *aStartItem) override |
Function Start() More... | |
bool | Move (const VECTOR2I &aP, ITEM *aEndItem) override |
Function Move() More... | |
const wxString | TuningInfo (EDA_UNITS aUnits) const override |
Return a string describing the status and length of the tuned traces. More... | |
virtual bool | FixRoute (const VECTOR2I &aP, ITEM *aEndItem, bool aForceFinish=false) override |
Function FixRoute() More... | |
bool | CommitPlacement () override |
bool | AbortPlacement () override |
bool | HasPlacedAnything () const override |
NODE * | CurrentNode (bool aLoopsRemoved=false) const override |
Function CurrentNode() More... | |
const ITEM_SET | Traces () override |
Function Traces() More... | |
const VECTOR2I & | CurrentEnd () const override |
Function CurrentEnd() More... | |
const std::vector< int > | CurrentNets () const override |
Function CurrentNets() More... | |
int | CurrentLayer () const override |
Function CurrentLayer() More... | |
virtual TUNING_STATUS | TuningStatus () const override |
Return the tuning status (too short, too long, etc.) of the trace(s) being tuned. More... | |
bool | CheckFit (MEANDER_SHAPE *aShape) override |
Checks if it's OK to place the shape aShape (i.e. More... | |
virtual void | AmplitudeStep (int aSign) |
Increase/decreases the current meandering amplitude by one step. More... | |
virtual void | SpacingStep (int aSign) |
Increase/decrease the current meandering spacing by one step. More... | |
virtual const MEANDER_SETTINGS & | MeanderSettings () const |
Return the current meandering configuration. More... | |
virtual void | UpdateSettings (const MEANDER_SETTINGS &aSettings) |
int | GetTotalPadToDieLength (const LINE &aLine) const |
virtual bool | UnfixRoute () |
virtual bool | ToggleVia (bool aEnabled) |
Function ToggleVia() More... | |
virtual bool | IsPlacingVia () const |
Function IsPlacingVia() More... | |
virtual bool | SetLayer (int aLayer) |
Function SetLayer() More... | |
virtual void | FlipPosture () |
Function FlipPosture() More... | |
virtual void | UpdateSizes (const SIZES_SETTINGS &aSizes) |
Function UpdateSizes() More... | |
virtual void | SetOrthoMode (bool aOrthoMode) |
Function SetOrthoMode() More... | |
virtual void | GetModifiedNets (std::vector< int > &aNets) const |
Function GetModifiedNets. More... | |
ROUTER * | Router () const |
Return current router settings. More... | |
ROUTING_SETTINGS & | Settings () const |
Return the logger object, allowing to dump geometry to a file. More... | |
virtual LOGGER * | Logger () |
void | SetLogger (LOGGER *aLogger) |
void | SetDebugDecorator (DEBUG_DECORATOR *aDecorator) |
Assign a debug decorator allowing this algo to draw extra graphics for visual debugging. More... | |
DEBUG_DECORATOR * | Dbg () const |
const BOX2I & | VisibleViewArea () const |
Protected Member Functions | |
bool | doMove (const VECTOR2I &aP, ITEM *aEndItem, long long int aTargetLength) |
void | setWorld (NODE *aWorld) |
void | cutTunedLine (const SHAPE_LINE_CHAIN &aOrigin, const VECTOR2I &aTuneStart, const VECTOR2I &aCursorPos, SHAPE_LINE_CHAIN &aPre, SHAPE_LINE_CHAIN &aTuned, SHAPE_LINE_CHAIN &aPost) |
Extract the part of a track to be meandered, depending on the starting point and the cursor position. More... | |
void | tuneLineLength (MEANDERED_LINE &aTuned, long long int aElongation) |
Take a set of meanders in aTuned and tunes their length to extend the original line length by aElongation. More... | |
int | compareWithTolerance (long long int aValue, long long int aExpected, long long int aTolerance=0) const |
Compare aValue against aExpected with given tolerance. More... | |
VECTOR2I | getSnappedStartPoint (LINKED_ITEM *aStartItem, VECTOR2I aStartPoint) |
Pointer to world to search colliding items. More... | |
Protected Attributes | |
VECTOR2I | m_currentStart |
Current world state. More... | |
NODE * | m_currentNode |
LINE | m_originLine |
LINE | m_currentTrace |
SHAPE_LINE_CHAIN | m_finalShape |
MEANDERED_LINE | m_result |
LINKED_ITEM * | m_initialSegment |
long long int | m_lastLength |
TUNING_STATUS | m_lastStatus |
NODE * | m_world |
Total length added by pad to die size. More... | |
int | m_padToDieLenth |
Width of the meandered trace(s). More... | |
int | m_currentWidth |
Meander settings. More... | |
MEANDER_SETTINGS | m_settings |
The current end point. More... | |
VECTOR2I | m_currentEnd |
DEBUG_DECORATOR * | m_debugDecorator |
ROUTER * | m_router |
LOGGER * | m_logger |
Private Member Functions | |
long long int | currentSkew () const |
long long int | itemsetLength (const ITEM_SET &aSet) const |
long long int | origPathLength () const override |
current routing start point (end of tail, beginning of head) More... | |
Private Attributes | |
DIFF_PAIR | m_originPair |
ITEM_SET | m_tunedPath |
ITEM_SET | m_tunedPathP |
ITEM_SET | m_tunedPathN |
long long int | m_coupledLength |
int | m_padToDieP |
int | m_padToDieN |
Differential pair skew adjustment algorithm.
Definition at line 39 of file pns_meander_skew_placer.h.
|
inherited |
< Result of the length tuning operation
Enumerator | |
---|---|
TOO_SHORT | |
TOO_LONG | |
TUNED |
Definition at line 51 of file pns_meander_placer_base.h.
PNS::MEANDER_SKEW_PLACER::MEANDER_SKEW_PLACER | ( | ROUTER * | aRouter | ) |
Definition at line 34 of file pns_meander_skew_placer.cpp.
References m_coupledLength, m_padToDieN, and m_padToDieP.
PNS::MEANDER_SKEW_PLACER::~MEANDER_SKEW_PLACER | ( | ) |
Definition at line 44 of file pns_meander_skew_placer.cpp.
|
overridevirtualinherited |
Reimplemented from PNS::PLACEMENT_ALGO.
Definition at line 206 of file pns_meander_placer.cpp.
References PNS::NODE::KillChildren(), and PNS::MEANDER_PLACER_BASE::m_world.
|
virtualinherited |
Increase/decreases the current meandering amplitude by one step.
aSign | direction (negative = decrease, positive = increase). |
Definition at line 44 of file pns_meander_placer_base.cpp.
References PNS::MEANDER_SETTINGS::m_maxAmplitude, PNS::MEANDER_SETTINGS::m_minAmplitude, PNS::MEANDER_PLACER_BASE::m_settings, and PNS::MEANDER_SETTINGS::m_step.
|
overridevirtualinherited |
Checks if it's OK to place the shape aShape (i.e.
if it doesn't cause DRC violations or collide with other meanders).
aShape | the shape to check. |
Reimplemented from PNS::MEANDER_PLACER_BASE.
Definition at line 230 of file pns_meander_placer.cpp.
References PNS::NODE::CheckColliding(), PNS::MEANDERED_LINE::CheckSelfIntersections(), PNS::MEANDER_SHAPE::CLine(), PNS::MEANDER_PLACER::m_currentNode, PNS::MEANDER_PLACER::m_originLine, PNS::MEANDER_PLACER::m_result, PNS::MEANDER_PLACER_BASE::m_settings, PNS::MEANDER_SETTINGS::m_spacing, and PNS::MEANDER_SHAPE::Width().
|
overridevirtualinherited |
Reimplemented from PNS::PLACEMENT_ALGO.
Definition at line 219 of file pns_meander_placer.cpp.
References PNS::ROUTER::CommitRouting(), PNS::MEANDER_PLACER::m_currentNode, NULL, and PNS::ALGO_BASE::Router().
Referenced by PNS::MEANDER_PLACER::FixRoute().
|
protectedinherited |
Compare aValue against aExpected with given tolerance.
Definition at line 228 of file pns_meander_placer_base.cpp.
Referenced by PNS::MEANDER_PLACER::doMove(), and PNS::DP_MEANDER_PLACER::Move().
|
overridevirtualinherited |
Function CurrentEnd()
Returns the current end of the line(s) being placed/tuned. It may not be equal to the cursor position due to collisions.
Implements PNS::PLACEMENT_ALGO.
Definition at line 251 of file pns_meander_placer.cpp.
References PNS::MEANDER_PLACER_BASE::m_currentEnd.
|
overridevirtualinherited |
Function CurrentLayer()
Returns the layer of currently routed track.
Implements PNS::PLACEMENT_ALGO.
Definition at line 256 of file pns_meander_placer.cpp.
References PNS::ITEM::Layers(), PNS::MEANDER_PLACER::m_initialSegment, and LAYER_RANGE::Start().
|
inlineoverridevirtualinherited |
Function CurrentNets()
Returns the net code(s) of currently routed track(s).
Implements PNS::PLACEMENT_ALGO.
Definition at line 82 of file pns_meander_placer.h.
References PNS::MEANDER_PLACER::m_originLine, and PNS::ITEM::Net().
|
overridevirtualinherited |
Function CurrentNode()
Returns the most recent board state.
Implements PNS::PLACEMENT_ALGO.
Definition at line 51 of file pns_meander_placer.cpp.
References PNS::MEANDER_PLACER::m_currentNode, and PNS::MEANDER_PLACER_BASE::m_world.
|
private |
Definition at line 128 of file pns_meander_skew_placer.cpp.
References m_coupledLength, and PNS::MEANDER_PLACER::m_lastLength.
|
protectedinherited |
Extract the part of a track to be meandered, depending on the starting point and the cursor position.
aOrigin | the original line. |
aTuneStart | point where we start meandering (start click coordinates). |
aCursorPos | current cursor position. |
aPre | part before the beginning of meanders. |
aTuned | part to be meandered. |
aPost | part after the end of meanders. |
Definition at line 68 of file pns_meander_placer_base.cpp.
References SEG::A, SEG::B, SHAPE_LINE_CHAIN::CSegment(), SHAPE_LINE_CHAIN::Find(), SHAPE_LINE_CHAIN::FindSegment(), SHAPE_LINE_CHAIN::NearestPoint(), SHAPE_LINE_CHAIN::Reverse(), SHAPE_LINE_CHAIN::Simplify(), SHAPE_LINE_CHAIN::Slice(), and SHAPE_LINE_CHAIN::Split().
Referenced by PNS::MEANDER_PLACER::doMove(), and PNS::DP_MEANDER_PLACER::Move().
|
inlineinherited |
Definition at line 78 of file pns_algo_base.h.
References PNS::ALGO_BASE::m_debugDecorator.
Referenced by PNS::MEANDER_PLACER::doMove(), PNS::COMPONENT_DRAGGER::Drag(), Move(), PNS::DP_MEANDER_PLACER::Move(), PNS::SHOVE::onCollidingArc(), PNS::SHOVE::onCollidingLine(), PNS::SHOVE::onCollidingSegment(), PNS::SHOVE::onCollidingSolid(), PNS::DRAGGER::optimizeAndUpdateDraggedLine(), PNS::SHOVE::replaceLine(), PNS::LINE_PLACER::rhShoveOnly(), PNS::LINE_PLACER::rhWalkOnly(), PNS::SHOVE::runOptimizer(), PNS::SHOVE::shoveIteration(), PNS::SHOVE::ShoveLines(), PNS::SHOVE::shoveLineToHullSet(), PNS::SHOVE::ShoveObstacleLine(), PNS::WALKAROUND::singleStep(), PNS::DRAGGER::Start(), and PNS::DRAGGER::tryWalkaround().
|
protectedinherited |
Definition at line 110 of file pns_meander_placer.cpp.
References SEG::A, PNS::MEANDERED_LINE::AddCorner(), PNS::DEBUG_DECORATOR::AddLine(), SHAPE_LINE_CHAIN::Append(), SEG::B, PNS::NODE::Branch(), PNS::ITEM_SET::CItems(), SHAPE_LINE_CHAIN::Clear(), PNS::LINE::CLine(), PNS::MEANDER_PLACER_BASE::compareWithTolerance(), PNS::MEANDER_PLACER_BASE::cutTunedLine(), PNS::ALGO_BASE::Dbg(), PNS::MEANDER_PLACER::m_currentNode, PNS::MEANDER_PLACER::m_currentStart, PNS::MEANDER_PLACER::m_finalShape, PNS::MEANDER_PLACER::m_lastLength, PNS::MEANDER_PLACER::m_lastStatus, PNS::MEANDER_SETTINGS::m_lengthTolerance, PNS::MEANDER_PLACER::m_originLine, PNS::MEANDER_PLACER::m_result, PNS::MEANDER_PLACER_BASE::m_settings, PNS::MEANDER_PLACER::m_tunedPath, PNS::MEANDER_PLACER_BASE::m_world, PNS::MEANDERED_LINE::Meanders(), PNS::MEANDERED_LINE::MeanderSegment(), PNS::MT_EMPTY, PNS::MEANDER_PLACER::origPathLength(), PNS::MEANDERED_LINE::SetBaselineOffset(), PNS::MEANDERED_LINE::SetWidth(), SHAPE_LINE_CHAIN::Simplify(), PNS::MEANDER_PLACER_BASE::TOO_LONG, PNS::MEANDER_PLACER_BASE::TOO_SHORT, PNS::MEANDER_PLACER_BASE::TUNED, PNS::MEANDER_PLACER_BASE::tuneLineLength(), and PNS::LINE::Width().
Referenced by Move(), and PNS::MEANDER_PLACER::Move().
|
overridevirtualinherited |
Function FixRoute()
Commits the currently routed items to the parent node, taking aP as the final end point and aEndItem as the final anchor (if provided).
Implements PNS::PLACEMENT_ALGO.
Definition at line 193 of file pns_meander_placer.cpp.
References PNS::NODE::Add(), PNS::MEANDER_PLACER::CommitPlacement(), PNS::MEANDER_PLACER::m_currentNode, PNS::MEANDER_PLACER::m_currentTrace, PNS::MEANDER_PLACER::m_finalShape, and PNS::MEANDER_PLACER::m_originLine.
|
inlinevirtualinherited |
Function FlipPosture()
Toggles the current posture (straight/diagonal) of the trace head.
Reimplemented in PNS::LINE_PLACER, and PNS::DIFF_PAIR_PLACER.
Definition at line 160 of file pns_placement_algo.h.
|
inlinevirtualinherited |
Function GetModifiedNets.
Returns the net codes of all currently routed trace(s)
Reimplemented in PNS::LINE_PLACER, and PNS::DIFF_PAIR_PLACER.
Definition at line 191 of file pns_placement_algo.h.
|
protectedinherited |
Pointer to world to search colliding items.
Definition at line 240 of file pns_meander_placer_base.cpp.
References PNS::ITEM::ARC_T, PNS::ITEM::Kind(), and PNS::ITEM::SEGMENT_T.
Referenced by Start(), PNS::MEANDER_PLACER::Start(), and PNS::DP_MEANDER_PLACER::Start().
|
inherited |
Definition at line 184 of file pns_meander_placer_base.cpp.
References PNS::NODE::FindLineEnds(), PNS::JOINT::LinkList(), and PNS::MEANDER_PLACER_BASE::m_world.
Referenced by Start(), PNS::MEANDER_PLACER::Start(), and PNS::DP_MEANDER_PLACER::Start().
|
overridevirtualinherited |
Reimplemented from PNS::PLACEMENT_ALGO.
Definition at line 213 of file pns_meander_placer.cpp.
References PNS::MEANDER_PLACER::m_currentTrace, and PNS::LINE::SegmentCount().
|
inlinevirtualinherited |
Function IsPlacingVia()
Returns true if the placer is placing a via (or more vias).
Reimplemented in PNS::LINE_PLACER, and PNS::DIFF_PAIR_PLACER.
Definition at line 104 of file pns_placement_algo.h.
|
private |
Definition at line 113 of file pns_meander_skew_placer.cpp.
References PNS::ITEM_SET::CItems(), and PNS::MEANDER_PLACER_BASE::m_padToDieLenth.
Referenced by origPathLength(), and Start().
|
virtualinherited |
Reimplemented in PNS::SHOVE.
Definition at line 34 of file pns_algo_base.cpp.
References NULL.
Referenced by PNS::LINE_PLACER::rhShoveOnly(), PNS::LINE_PLACER::rhWalkOnly(), PNS::DRAGGER::Start(), and PNS::DRAGGER::tryWalkaround().
|
virtualinherited |
Return the current meandering configuration.
Definition at line 222 of file pns_meander_placer_base.cpp.
References PNS::MEANDER_PLACER_BASE::m_settings.
Referenced by PNS::MEANDER_SHAPE::makeMiterShape(), LENGTH_TUNER_TOOL::meanderSettingsDialog(), PNS::MEANDER_SHAPE::Settings(), and PNS::MEANDERED_LINE::Settings().
Function Move()
Moves the end of the currently routed primtive(s) to the point aP, taking aEndItem as the anchor (if not NULL). (unless NULL).
Reimplemented from PNS::MEANDER_PLACER.
Definition at line 134 of file pns_meander_skew_placer.cpp.
References PNS::DEBUG_DECORATOR::AddLine(), PNS::ITEM_SET::CItems(), PNS::ALGO_BASE::Dbg(), PNS::MEANDER_PLACER::doMove(), m_coupledLength, PNS::MEANDER_PLACER_BASE::m_settings, PNS::MEANDER_SETTINGS::m_targetSkew, m_tunedPathN, and m_tunedPathP.
|
overrideprivatevirtual |
current routing start point (end of tail, beginning of head)
Reimplemented from PNS::MEANDER_PLACER.
Definition at line 107 of file pns_meander_skew_placer.cpp.
References itemsetLength(), and m_tunedPath.
|
inlineinherited |
Return current router settings.
Definition at line 54 of file pns_algo_base.h.
References PNS::ALGO_BASE::m_router.
Referenced by PNS::DIFF_PAIR_PLACER::attemptWalk(), PNS::MEANDER_PLACER::CommitPlacement(), PNS::DP_MEANDER_PLACER::CommitPlacement(), PNS::DIFF_PAIR_PLACER::CommitPlacement(), PNS::LINE_PLACER::CommitPlacement(), PNS::COMPONENT_DRAGGER::FixRoute(), PNS::DRAGGER::FixRoute(), PNS::DIFF_PAIR_PLACER::initPlacement(), PNS::LINE_PLACER::initPlacement(), PNS::SHOVE::onCollidingSolid(), PNS::LINE_PLACER::rhShoveOnly(), PNS::LINE_PLACER::rhWalkOnly(), Start(), PNS::MEANDER_PLACER::Start(), PNS::DP_MEANDER_PLACER::Start(), PNS::DRAGGER::Start(), PNS::DIFF_PAIR_PLACER::Start(), and PNS::DRAGGER::tryWalkaround().
|
inlineinherited |
Assign a debug decorator allowing this algo to draw extra graphics for visual debugging.
Definition at line 73 of file pns_algo_base.h.
References PNS::ALGO_BASE::m_debugDecorator.
Referenced by PNS::LINE_PLACER::rhShoveOnly(), PNS::LINE_PLACER::rhWalkOnly(), PNS::SHOVE::SHOVE(), and PNS::DRAGGER::tryWalkaround().
|
inlinevirtualinherited |
Function SetLayer()
Sets the current routing layer.
Reimplemented in PNS::LINE_PLACER, and PNS::DIFF_PAIR_PLACER.
Definition at line 114 of file pns_placement_algo.h.
|
inlineinherited |
Definition at line 65 of file pns_algo_base.h.
References PNS::ALGO_BASE::m_logger.
Referenced by PNS::LINE_PLACER::rhShoveOnly(), PNS::LINE_PLACER::rhWalkOnly(), and PNS::DRAGGER::tryWalkaround().
|
inlinevirtualinherited |
Function SetOrthoMode()
Forces the router to place a straight 90/45 degree trace (with the end as near to the cursor as possible) instead of a standard 135 degree two-segment bend.
Reimplemented in PNS::LINE_PLACER, and PNS::DIFF_PAIR_PLACER.
Definition at line 182 of file pns_placement_algo.h.
|
inherited |
Return the logger object, allowing to dump geometry to a file.
Definition at line 28 of file pns_algo_base.cpp.
References PNS::ALGO_BASE::m_router, and PNS::ROUTER::Settings().
Referenced by PNS::DIFF_PAIR_PLACER::attemptWalk(), PNS::LINE_PLACER::buildInitialLine(), PNS::DRAGGER::dragMarkObstacles(), PNS::DRAGGER::dragShove(), PNS::DRAGGER::dragWalkaround(), PNS::COMPONENT_DRAGGER::FixRoute(), PNS::DRAGGER::FixRoute(), PNS::DIFF_PAIR_PLACER::FixRoute(), PNS::LINE_PLACER::FixRoute(), PNS::DIFF_PAIR_PLACER::initPlacement(), PNS::LINE_PLACER::initPlacement(), PNS::LINE_PLACER::Move(), PNS::SHOVE::onCollidingSolid(), PNS::DRAGGER::optimizeAndUpdateDraggedLine(), PNS::LINE_PLACER::rhMarkObstacles(), PNS::LINE_PLACER::rhShoveOnly(), PNS::LINE_PLACER::rhWalkOnly(), PNS::LINE_PLACER::routeStep(), PNS::SHOVE::runOptimizer(), PNS::SHOVE::shoveMainLoop(), PNS::DRAGGER::Start(), PNS::LINE_PLACER::Start(), and PNS::DRAGGER::tryWalkaround().
|
protectedinherited |
|
virtualinherited |
Increase/decrease the current meandering spacing by one step.
aSign | direction (negative = decrease, positive = increase). |
Definition at line 53 of file pns_meander_placer_base.cpp.
References PNS::MEANDER_PLACER_BASE::m_currentWidth, PNS::MEANDER_PLACER_BASE::m_settings, PNS::MEANDER_SETTINGS::m_spacing, and PNS::MEANDER_SETTINGS::m_step.
Function Start()
Starts placement/drag operation at point aP, taking item aStartItem as anchor (unless NULL).
Reimplemented from PNS::MEANDER_PLACER.
Definition at line 49 of file pns_meander_skew_placer.cpp.
References _, PNS::ITEM::ARC_T, PNS::TOPOLOGY::AssembleDiffPair(), PNS::NODE::AssembleLine(), PNS::TOPOLOGY::AssembleTrivialPath(), PNS::NODE::Branch(), PNS::DIFF_PAIR::Gap(), PNS::LINK_HOLDER::GetLink(), PNS::MEANDER_PLACER_BASE::getSnappedStartPoint(), PNS::MEANDER_PLACER_BASE::GetTotalPadToDieLength(), PNS::ROUTER::GetWorld(), itemsetLength(), m_coupledLength, PNS::MEANDER_PLACER_BASE::m_currentEnd, PNS::MEANDER_PLACER::m_currentNode, PNS::MEANDER_PLACER::m_currentStart, PNS::MEANDER_PLACER_BASE::m_currentWidth, PNS::MEANDER_PLACER::m_initialSegment, PNS::MEANDER_PLACER::m_originLine, m_originPair, PNS::MEANDER_PLACER_BASE::m_padToDieLenth, m_padToDieN, m_padToDieP, m_tunedPath, m_tunedPathN, m_tunedPathP, PNS::MEANDER_PLACER_BASE::m_world, PNS::ITEM::Net(), PNS::DIFF_PAIR::NLine(), PNS::ITEM::OfKind(), PNS::DIFF_PAIR::PLine(), PNS::NODE::Remove(), PNS::ALGO_BASE::Router(), PNS::ITEM::SEGMENT_T, PNS::LINE::SegmentCount(), PNS::ROUTER::SetFailureReason(), PNS::DIFF_PAIR::SetGap(), and PNS::LINE::Width().
|
inlinevirtualinherited |
Function ToggleVia()
Enables/disables a via at the end of currently routed trace.
Reimplemented in PNS::LINE_PLACER, and PNS::DIFF_PAIR_PLACER.
Definition at line 94 of file pns_placement_algo.h.
|
overridevirtualinherited |
Function Traces()
Returns all routed/tuned traces.
Implements PNS::PLACEMENT_ALGO.
Definition at line 244 of file pns_meander_placer.cpp.
References PNS::MEANDER_PLACER::m_currentTrace, PNS::MEANDER_PLACER::m_finalShape, and PNS::MEANDER_PLACER::m_originLine.
|
protectedinherited |
Take a set of meanders in aTuned and tunes their length to extend the original line length by aElongation.
Definition at line 114 of file pns_meander_placer_base.cpp.
References PNS::MEANDER_SETTINGS::m_minAmplitude, PNS::MEANDER_PLACER_BASE::m_settings, PNS::MEANDERED_LINE::Meanders(), PNS::MT_CORNER, PNS::MT_EMPTY, PNS::MT_FINISH, PNS::MT_SINGLE, and PNS::MT_START.
Referenced by PNS::MEANDER_PLACER::doMove(), and PNS::DP_MEANDER_PLACER::Move().
|
overridevirtual |
Return a string describing the status and length of the tuned traces.
Reimplemented from PNS::MEANDER_PLACER.
Definition at line 152 of file pns_meander_skew_placer.cpp.
References _, m_coupledLength, PNS::MEANDER_PLACER::m_lastLength, PNS::MEANDER_PLACER::m_lastStatus, PNS::MEANDER_PLACER_BASE::m_settings, PNS::MEANDER_SETTINGS::m_targetSkew, MessageTextFromValue(), PNS::MEANDER_PLACER_BASE::TOO_LONG, PNS::MEANDER_PLACER_BASE::TOO_SHORT, and PNS::MEANDER_PLACER_BASE::TUNED.
|
overridevirtualinherited |
Return the tuning status (too short, too long, etc.) of the trace(s) being tuned.
Implements PNS::MEANDER_PLACER_BASE.
Definition at line 289 of file pns_meander_placer.cpp.
References PNS::MEANDER_PLACER::m_lastStatus.
|
inlinevirtualinherited |
Reimplemented in PNS::LINE_PLACER.
Definition at line 81 of file pns_placement_algo.h.
|
virtualinherited |
Definition at line 62 of file pns_meander_placer_base.cpp.
References PNS::MEANDER_PLACER_BASE::m_settings.
Referenced by LENGTH_TUNER_TOOL::meanderSettingsDialog().
|
inlinevirtualinherited |
Function UpdateSizes()
Performs on-the-fly update of the width, via diameter & drill size from a settings class. Used to dynamically change these parameters as the track is routed.
Reimplemented in PNS::LINE_PLACER, and PNS::DIFF_PAIR_PLACER.
Definition at line 171 of file pns_placement_algo.h.
|
inherited |
Definition at line 39 of file pns_algo_base.cpp.
References PNS::ALGO_BASE::m_router, and PNS::ROUTER::VisibleViewArea().
Referenced by PNS::SHOVE::runOptimizer().
|
private |
Definition at line 63 of file pns_meander_skew_placer.h.
Referenced by currentSkew(), MEANDER_SKEW_PLACER(), Move(), Start(), and TuningInfo().
|
protectedinherited |
Definition at line 155 of file pns_meander_placer_base.h.
Referenced by PNS::MEANDER_PLACER::CurrentEnd(), PNS::DP_MEANDER_PLACER::CurrentEnd(), Start(), and PNS::MEANDER_PLACER::Start().
|
protectedinherited |
Definition at line 110 of file pns_meander_placer.h.
Referenced by PNS::MEANDER_PLACER::CheckFit(), PNS::MEANDER_PLACER::CommitPlacement(), PNS::MEANDER_PLACER::CurrentNode(), PNS::MEANDER_PLACER::doMove(), PNS::MEANDER_PLACER::FixRoute(), PNS::MEANDER_PLACER::MEANDER_PLACER(), Start(), and PNS::MEANDER_PLACER::Start().
|
protectedinherited |
Current world state.
Definition at line 107 of file pns_meander_placer.h.
Referenced by PNS::MEANDER_PLACER::doMove(), Start(), and PNS::MEANDER_PLACER::Start().
|
protectedinherited |
Definition at line 113 of file pns_meander_placer.h.
Referenced by PNS::MEANDER_PLACER::FixRoute(), PNS::MEANDER_PLACER::HasPlacedAnything(), and PNS::MEANDER_PLACER::Traces().
|
protectedinherited |
Meander settings.
Definition at line 149 of file pns_meander_placer_base.h.
Referenced by PNS::MEANDER_PLACER_BASE::MEANDER_PLACER_BASE(), PNS::MEANDER_PLACER_BASE::SpacingStep(), Start(), PNS::MEANDER_PLACER::Start(), and PNS::DP_MEANDER_PLACER::Start().
|
protectedinherited |
Definition at line 86 of file pns_algo_base.h.
Referenced by PNS::ALGO_BASE::Dbg(), and PNS::ALGO_BASE::SetDebugDecorator().
|
protectedinherited |
Definition at line 116 of file pns_meander_placer.h.
Referenced by PNS::MEANDER_PLACER::doMove(), PNS::MEANDER_PLACER::FixRoute(), and PNS::MEANDER_PLACER::Traces().
|
protectedinherited |
Definition at line 118 of file pns_meander_placer.h.
Referenced by PNS::MEANDER_PLACER::CurrentLayer(), PNS::MEANDER_PLACER::MEANDER_PLACER(), Start(), and PNS::MEANDER_PLACER::Start().
|
protectedinherited |
Definition at line 120 of file pns_meander_placer.h.
Referenced by currentSkew(), PNS::MEANDER_PLACER::doMove(), PNS::MEANDER_PLACER::MEANDER_PLACER(), TuningInfo(), and PNS::MEANDER_PLACER::TuningInfo().
|
protectedinherited |
Definition at line 121 of file pns_meander_placer.h.
Referenced by PNS::MEANDER_PLACER::doMove(), PNS::MEANDER_PLACER::MEANDER_PLACER(), TuningInfo(), PNS::MEANDER_PLACER::TuningInfo(), and PNS::MEANDER_PLACER::TuningStatus().
|
protectedinherited |
Definition at line 88 of file pns_algo_base.h.
Referenced by PNS::ALGO_BASE::SetLogger(), and PNS::WALKAROUND::singleStep().
|
protectedinherited |
Definition at line 112 of file pns_meander_placer.h.
Referenced by PNS::MEANDER_PLACER::CheckFit(), PNS::MEANDER_PLACER::CurrentNets(), PNS::MEANDER_PLACER::doMove(), PNS::MEANDER_PLACER::FixRoute(), Start(), PNS::MEANDER_PLACER::Start(), and PNS::MEANDER_PLACER::Traces().
|
private |
Definition at line 60 of file pns_meander_skew_placer.h.
Referenced by Start().
|
protectedinherited |
Width of the meandered trace(s).
Definition at line 146 of file pns_meander_placer_base.h.
Referenced by itemsetLength(), PNS::MEANDER_PLACER_BASE::MEANDER_PLACER_BASE(), PNS::MEANDER_PLACER::origPathLength(), PNS::DP_MEANDER_PLACER::origPathLength(), Start(), PNS::MEANDER_PLACER::Start(), and PNS::DP_MEANDER_PLACER::Start().
|
private |
Definition at line 65 of file pns_meander_skew_placer.h.
Referenced by MEANDER_SKEW_PLACER(), and Start().
|
private |
Definition at line 64 of file pns_meander_skew_placer.h.
Referenced by MEANDER_SKEW_PLACER(), and Start().
|
protectedinherited |
Definition at line 117 of file pns_meander_placer.h.
Referenced by PNS::MEANDER_PLACER::CheckFit(), and PNS::MEANDER_PLACER::doMove().
|
protectedinherited |
Definition at line 87 of file pns_algo_base.h.
Referenced by PNS::ALGO_BASE::Router(), PNS::ALGO_BASE::Settings(), PNS::DIFF_PAIR_PLACER::updateLeadingRatLine(), PNS::LINE_PLACER::updateLeadingRatLine(), and PNS::ALGO_BASE::VisibleViewArea().
|
protectedinherited |
The current end point.
Definition at line 152 of file pns_meander_placer_base.h.
Referenced by PNS::MEANDER_PLACER_BASE::AmplitudeStep(), PNS::MEANDER_PLACER::CheckFit(), PNS::DP_MEANDER_PLACER::CheckFit(), PNS::MEANDER_PLACER::doMove(), PNS::MEANDER_PLACER_BASE::MeanderSettings(), Move(), PNS::MEANDER_PLACER::Move(), PNS::DP_MEANDER_PLACER::Move(), PNS::MEANDER_PLACER_BASE::SpacingStep(), PNS::MEANDER_PLACER_BASE::tuneLineLength(), TuningInfo(), PNS::MEANDER_PLACER::TuningInfo(), PNS::DP_MEANDER_PLACER::TuningInfo(), and PNS::MEANDER_PLACER_BASE::UpdateSettings().
|
private |
Definition at line 61 of file pns_meander_skew_placer.h.
Referenced by origPathLength(), and Start().
|
private |
Definition at line 61 of file pns_meander_skew_placer.h.
|
private |
Definition at line 61 of file pns_meander_skew_placer.h.
|
protectedinherited |
Total length added by pad to die size.
Definition at line 143 of file pns_meander_placer_base.h.
Referenced by PNS::MEANDER_PLACER::AbortPlacement(), PNS::DP_MEANDER_PLACER::AbortPlacement(), PNS::MEANDER_PLACER::CurrentNode(), PNS::DP_MEANDER_PLACER::CurrentNode(), PNS::MEANDER_PLACER::doMove(), PNS::DP_MEANDER_PLACER::DP_MEANDER_PLACER(), PNS::MEANDER_PLACER_BASE::GetTotalPadToDieLength(), PNS::MEANDER_PLACER_BASE::MEANDER_PLACER_BASE(), PNS::DP_MEANDER_PLACER::Move(), Start(), PNS::MEANDER_PLACER::Start(), and PNS::DP_MEANDER_PLACER::Start().