synchro with modifications from the cvs root

This commit is contained in:
The Coriolis Project 2008-03-06 17:56:58 +00:00
parent 4222306aa1
commit 5cf6b33727
5 changed files with 31 additions and 16 deletions

View File

@ -75,6 +75,3 @@ string GetString(const H::GenericDtrAccess&);
#endif // HURRICANE_GENERICDTRACCESS #endif // HURRICANE_GENERICDTRACCESS

View File

@ -20,11 +20,11 @@ namespace Hurricane {
// Utilitarians // Utilitarians
// **************************************************************************************************** // ****************************************************************************************************
const long& GetRdsUnit(); extern const long& GetRdsUnit();
const long& GetRdsPhysicalGrid(); extern const long& GetRdsPhysicalGrid();
const long& GetRdsLambda(); extern const long& GetRdsLambda();
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
// Function : "ConvertRealToRdsUnit(const double&)". // Function : "ConvertRealToRdsUnit(const double&)".

View File

@ -31,7 +31,7 @@
// Authors-Tag // Authors-Tag
// =================================================================== // ===================================================================
// //
// $Id: DeepNet.cpp,v 1.3 2007/06/27 21:13:25 jpc Exp $ // $Id: DeepNet.cpp,v 1.4 2008/02/15 12:26:38 dosfin Exp $
// //
// x-----------------------------------------------------------------x // x-----------------------------------------------------------------x
// | | // | |
@ -172,4 +172,20 @@ size_t DeepNet::_CreateRoutingPads ( bool buildRings )
} }
// -------------------------------------------------------------------
//
Net* GetDeepNet(HyperNet& hypernet)
// ********************************
{
Occurrence rootNetOccurrence = GetHyperNetRootNetOccurrence ( hypernet.GetNetOccurrence() );
//if ( rootNetOccurrence.GetMasterCell()->IsFlattenLeaf() ) return NULL;
//if ( rootNetOccurrence.GetPath().IsEmpty() ) return NULL;
return rootNetOccurrence.GetOwnerCell()->GetNet(rootNetOccurrence.GetName());
}
} // End of Hurricane namespace. } // End of Hurricane namespace.

View File

@ -31,7 +31,7 @@
// Authors-Tag // Authors-Tag
// =================================================================== // ===================================================================
// //
// $Id: DeepNet.h,v 1.3 2007/06/27 21:13:25 jpc Exp $ // $Id: DeepNet.h,v 1.4 2008/02/15 12:26:38 dosfin Exp $
// //
// x-----------------------------------------------------------------x // x-----------------------------------------------------------------x
// | | // | |
@ -99,6 +99,8 @@ namespace Hurricane {
}; };
Net* GetDeepNet(HyperNet& hyperNet);
} // End of Hurricane namespace. } // End of Hurricane namespace.