* ./kite:

- New: Adds support to restrict the number of routing layers. Not enabled yet
        because the router needs some more tweak if using only two routing layers.
This commit is contained in:
Jean-Paul Chaput 2010-05-27 16:12:44 +00:00
parent 67a5ecae40
commit f29ec72d80
3 changed files with 11 additions and 0 deletions

View File

@ -119,6 +119,10 @@ namespace Kite {
{ return _base->getDepth(); }
size_t Configuration::getAllowedDepth () const
{ return _base->getAllowedDepth(); }
size_t Configuration::getLayerDepth ( const Layer* layer ) const
{ return _base->getLayerDepth(layer); }
@ -151,6 +155,10 @@ namespace Kite {
{ return _base->getGlobalThreshold(); }
void Configuration::setAllowedDepth ( size_t allowedDepth )
{ _base->setAllowedDepth(allowedDepth); }
void Configuration::setSaturateRatio ( float ratio )
{ _base->setSaturateRatio(ratio); }

View File

@ -113,6 +113,7 @@ namespace Kite {
, _minimumWL (0.0)
, _toolSuccess (false)
{
//_configuration->setAllowedDepth ( 3 );
}

View File

@ -69,6 +69,7 @@ namespace Kite {
// Decorateds.
virtual bool isGMetal ( const Layer* ) const;
virtual size_t getDepth () const;
virtual size_t getAllowedDepth () const;
virtual size_t getLayerDepth ( const Layer* ) const;
virtual RoutingGauge* getRoutingGauge () const;
virtual RoutingLayerGauge* getLayerGauge ( size_t depth ) const;
@ -77,6 +78,7 @@ namespace Kite {
virtual DbU::Unit getExtensionCap () const;
virtual float getSaturateRatio () const;
virtual DbU::Unit getGlobalThreshold () const;
virtual void setAllowedDepth ( size_t );
virtual void setSaturateRatio ( float );
virtual void setGlobalThreshold ( DbU::Unit );
virtual void print ( Cell* ) const;