Modification Session for Katabatic. More...
Static Public Member Functions | |
static bool | isInDemoMode () |
static bool | doWarnGCellOverload () |
static Session * | get (const char *message=NULL) |
static Technology * | getTechnology () |
static KatabaticEngine * | getKatabatic () |
static const Configuration * | getConfiguration () |
static float | getSaturateRatio () |
static size_t | getSaturateRp () |
static DbU::Unit | getExtensionCap () |
static RoutingGauge * | getRoutingGauge () |
static const Layer * | getRoutingLayer (size_t) |
static const Layer * | getContactLayer (size_t) |
static size_t | getSegmentStackSize () |
static size_t | getContactStackSize () |
static const vector< AutoSegment * > & | getInvalidateds () |
static const vector< AutoSegment * > & | getRevalidateds () |
static const vector< AutoSegment * > & | getDoglegs () |
static const set< Net * > & | getNetsModificateds () |
static Session * | open (KatabaticEngine *) |
static void | close () |
static void | setKatabaticFlags (unsigned int) |
static void | dogleg (AutoSegment *) |
static void | revalidateTopology () |
static void | setInvalidateMask (unsigned int) |
static void | invalidate (Net *) |
static void | invalidate (AutoContact *) |
static void | invalidate (AutoSegment *) |
static size_t | revalidate () |
static void | link (AutoContact *) |
static void | link (AutoSegment *) |
static void | unlink (AutoContact *) |
static void | unlink (AutoSegment *) |
static AutoContact * | lookup (Contact *) |
static AutoSegment * | lookup (Segment *) |
Modification Session for Katabatic.
To perform modifications, the Katabatic data structure uses a session mechanism built on top of the Hurricane::UpdateSession one. Sessions obeys very simples rules:
The task of a Session is to keep track of the AutoContact and AutoSegment that have been modificateds (i.e. invalidated) and, to restore connexity and/or topology when closed.
Two kinds of revalidation could be performed:
The kind of revalidation needed is automatically detected by the Session.
In addition to it's main purpose, Session also provides cached access to frequently needed variables either from Hurricane or Katabatic Configuration and access to the AutoContact & AutoSegment LUTs of KatabaticEngine.
From a software point of view, Session is a singleton object.
Main attributes of a Session:
_netInvalidateds
, nets on which topology has changed._autoSegments
, that have been moved or createds._autoContacts
, that have been created or one of their slave segment has moved._revalidateds
, the list of AutoSegments that have just been revalidated (after calling revalidate()
).Schematic description of how a Session works:
If at least one net has been invalidated, meaning that it's topology has changed, perform _revalidateTopology()
.
id
. This stage can add itself more invalidated AutoSegments and AutoContacts as it create doglegs.
Revalidate geometry of AutoContacts. That is, expand or shrink the extremities of the invalidated AutoSegments. Note that AutoSegments are already at on their final axis position.
|
static |
Katabatic shortcut.
Referenced by GCell::checkDensity().
|
static |
Katabatic shortcut.
Referenced by GCell::checkDensity().
|
static |
Return the Session singleton, if no session is currently open throw an exception carrying message
.
References AutoSegment::base(), AutoContact::canDestroy(), Katabatic::EngineActive, AutoSegment::getAligneds(), AutoSegment::getAxis(), KatabaticEngine::getRoutingGauge(), RoutingGauge::getTechnology(), AutoSegment::isGlobal(), AutoSegment::isUnsetAxis(), Katabatic::KbPropagate, Katabatic::KbRealignate, Katabatic::SegCanonical, Katabatic::SegNotAligned, Katabatic::SegWeakGlobal, AutoSegment::setAxis(), AutoSegment::setFlags(), DbU::toLambda(), AutoSegment::toOptimalAxis(), and AutoSegment::unsetFlags().
|
inlinestatic |
Hurricane shortcut.
|
inlinestatic |
Katabatic shortcut.
Referenced by AutoSegment::create(), and AutoSegment::makeDogleg().
|
inlinestatic |
Katabatic shortcut.
Referenced by AutoHorizontal::_canSlacken(), AutoHorizontal::_makeDogleg(), AutoVertical::_makeDogleg(), AutoSegment::canMoveUp(), and AutoSegment::reduceDoglegLayer().
|
static |
Katabatic shortcut.
Referenced by GCell::isSaturated().
|
static |
Katabatic shortcut.
Referenced by GCell::rpDesaturate().
|
static |
Katabatic shortcut.
Referenced by AutoHorizontal::checkPositions(), AutoVertical::checkPositions(), AutoHorizontal::updatePositions(), and AutoVertical::updatePositions().
|
inlinestatic |
Katabatic shortcut.
Referenced by AutoHorizontal::_makeDogleg(), AutoVertical::_makeDogleg(), AutoHorizontal::canMoveULeft(), AutoVertical::canMoveULeft(), AutoSegment::canMoveUp(), AutoHorizontal::canMoveURight(), AutoVertical::canMoveURight(), AutoSegment::canPivotDown(), AutoSegment::canPivotUp(), GCell::checkDensity(), GCell::CompareByDensity::CompareByDensity(), GCell::hasFreeTrack(), AutoSegment::makeDogleg(), AutoSegment::raise(), AutoSegment::reduceDoglegLayer(), AutoSegment::slacken(), GCell::stepDesaturate(), GCell::stepNetDesaturate(), GCell::updateDensity(), AutoContactVTee::updateTopology(), AutoContactTurn::updateTopology(), AutoContactHTee::updateTopology(), and AutoContactTerminal::updateTopology().
|
inlinestatic |
Katabatic shortcut.
Referenced by AutoSegment::create(), AutoSegment::reduceDoglegLayer(), and GCell::rpDesaturate().
|
inlinestatic |
Katabatic shortcut.
References anonymous_namespace{LoadGrByNet.cpp}::NoFlags.
|
inlinestatic |
Returns: The number of AutoSegment in the invalidated stack.
|
inlinestatic |
Returns: The number of AutoSegment in the invalidated stack.
|
inlinestatic |
Returns: The stack (vector) of invalidateds AutoSegments.
|
inlinestatic |
Returns: The stack (vector) of AutoSegments that have been revalidateds.
|
inlinestatic |
Returns: The vector of AutoSegments part of a newly created dogleg. The dogleg creation functions in AutoHorizontal and AutoVertical put a triplet (for example in horizontal direction (h1,v1,h2) ) for each dogleg composed of:
Referenced by AutoHorizontal::_canSlacken(), AutoVertical::_canSlacken(), AutoSegment::makeDogleg(), and AutoSegment::reduceDoglegLayer().
|
inlinestatic |
Returns: The set of Nets that needs either a topological update or a new canonization.
|
static |
Opens a new session or returns the already opened one, if any.
Referenced by GCellGrid::updateContacts().
|
static |
Close the Session, triggering the revalidation of the AutoSegemnts and AutoContacts. If no Session is opened, throws an execption.
References RoutingGauge::getLayerDirection(), Constant::Horizontal, Katabatic::KbHorizontal, Katabatic::KbVertical, anonymous_namespace{LoadGrByNet.cpp}::NoFlags, Constant::PinOnly, and Constant::Vertical.
Referenced by GCellGrid::updateContacts().
|
static |
Katabatic shortcut.
|
inlinestatic |
Adds an AutoSegment to the dogleg vector.
References RoutingLayerGauge::getDepth().
Referenced by AutoHorizontal::_makeDogleg(), and AutoVertical::_makeDogleg().
|
inlinestatic |
Revalidate Net that have been invalidateds and re-canonize them.
|
inlinestatic |
Tells what kind of revalidation must be performed.
|
inlinestatic |
Schedule net
for a full revalidation, topological correction and canonization.
Referenced by AutoSegment::_invalidate(), AutoSegment::_postCreate(), and AutoSegment::raise().
|
inlinestatic |
Schedule contact
for revalidation.
|
inlinestatic |
Schedule segment
for revalidation.
|
inlinestatic |
Perform the revalidation. Returns the sum of AutoContacts and AutoSegemnts that have been revalidated.
|
static |
Adds ac
in the AutoContact lookup table (allow to retrieve an AutoContact by it's base Contact).
Referenced by AutoSegment::_postCreate().
|
static |
Adds as
in the AutoSegment lookup table (allow to retrieve an AutoSegment by it's base Segment).
|
static |
Removes ac
from the AutoContact lookup table.
Referenced by AutoSegment::_preDestroy().
|
static |
Removes as
from the AutoSegment lookup table.
|
static |
Lookup the AutoContact associated with contact
. NULL
if not found.
Referenced by AutoSegment::AutoSegment(), GCell::checkEdgeSaturation(), AutoSegment::create(), AutoContactTerminal::getNativeConstraintBox(), AutoSegment::getOppositeAnchor(), AutoSegment::getPerpandicularsBound(), AutoContactVTee::getSegment(), AutoContactTurn::getSegment(), and AutoContactHTee::getSegment().
|
static |
Lookup the AutoSegment associated with segment
. NULL
if not found.
Generated by doxygen 1.8.13 on Mon May 14 2018 | Return to top of page |
Katabatic - Routing Toolbox | Copyright © 2008-2016 UPMC. All rights reserved |