Gauge of a Layer for the detailed routing. More...
Public Member Functions | |
virtual void | destroy () |
const Layer * | getLayer () const |
const Layer * | getBlockageLayer () const |
unsigned int | getDepth () const |
Constant::Direction | getDirection () const |
Constant::LayerGaugeType | getType () const |
double | getDensity () const |
DbU::Unit | getOffset () const |
DbU::Unit | getPitch () const |
DbU::Unit | getHalfPitch () const |
DbU::Unit | getWireWidth () const |
DbU::Unit | getHalfWireWidth () const |
DbU::Unit | getViaWidth () const |
DbU::Unit | getHalfViaWidth () const |
void | divide (DbU::Unit dividend, long "ient, long &modulo) const |
unsigned int | getTrackNumber (DbU::Unit start, DbU::Unit stop) const |
long | getTrackIndex (DbU::Unit start, DbU::Unit stop, DbU::Unit position, unsigned mode) const |
Static Public Member Functions | |
static RoutingLayerGauge * | create (const Layer *layer, Constant::Direction direction, Constant::LayerGaugeType type, unsigned int depth, double density, DbU::Unit offset, DbU::Unit pitch, DbU::Unit wireWidth, DbU::Unit pwireWidth, DbU::Unit viaWidth, DbU::Unit obsDw) |
Gauge of a Layer for the detailed routing.
|
static |
layer | the layer of the gauge (has to be of metal type). |
direction | the preferred routing direction. |
type | is it a pin only layer. |
depth | the depth (position) of the gauge. |
density | the track density (0.0 < d < 1.0). |
offset | position of the first track. |
pitch | distance, center-to-center between tracks. |
wireWidth | width to use to draw routing wire. |
viaWidth | side length to use for VIAs. Returns: The new layer gauge. |
|
virtual |
Returns: destroy the routing gauge.
|
inline |
Returns: the routing layer.
|
inline |
Returns: the associated blockage layer.
|
inline |
Returns: the depth (position) of the gauge inside the complete RoutingGauge.
|
inline |
Returns: the preferred routing direction.
Referenced by CRL::RoutingGauge::getLayerDirection().
|
inline |
Returns: the gauge type.
|
inline |
Returns: the density of routing tracks (ratio).
|
inline |
Returns: the position of the first track.
|
inline |
Returns: the distance center-to-center between tracks.
|
inline |
Returns: the half distance center-to-center between tracks.
|
inline |
Returns: the width of the routing wires.
|
inline |
Returns: the half width of the routing wires.
|
inline |
Returns: the side of the routing VIAs.
|
inline |
Returns: the half side of the routing VIAs.
void CRL::RoutingLayerGauge::divide | ( | DbU::Unit | dividend, |
long & | quotient, | ||
long & | modulo | ||
) | const |
dividend | the length into witch put tracks. |
quotient | the number of tracks that fits the interval. |
modulo | the remainder. |
Returns: the number of tracks that can tool place in the interval [start:stop]
.
unsigned int CRL::RoutingLayerGauge::getTrackIndex | ( | DbU::Unit | start, |
DbU::Unit | stop, | ||
DbU::Unit | position, | ||
unsigned | mode | ||
) | const |
Returns: the index of the track nearest position position
in interval [start:stop]
, according the rounding mode
.
Generated by doxygen 1.8.14 on Sun Nov 21 2021 | Return to top of page |
Coriolis Core (CRL) | Copyright © 2008-2020 Sorbonne Universite, All rights reserved |