Merge branch 'devel_anabatic' of ssh://bop-t/users/largo2/git/coriolis into devel_anabatic
This commit is contained in:
commit
2465d12c87
|
@ -2035,7 +2035,7 @@ namespace Anabatic {
|
|||
cdebug_log(112,0) << "@ " << source << endl;
|
||||
|
||||
bool isAnalog = source->getGCell()->isAnalog();
|
||||
if (isAnalog) source->resetIntervals();
|
||||
//if (isAnalog) source->resetIntervals();
|
||||
|
||||
Edge* from = source->getFrom();
|
||||
vector<Edge*> aligneds;
|
||||
|
@ -2537,6 +2537,7 @@ namespace Anabatic {
|
|||
cdebug_log(112,0) << "[Interval update3]: min : " << DbU::getValueString(pentry.getY());
|
||||
cdebug_log(112,0) << ", max : " << DbU::getValueString(current->getIMax());
|
||||
cdebug_log(112,0) << ", axis: " << DbU::getValueString(current->getIAxis()) << endl;
|
||||
|
||||
} else if (pentry.getY() > current->getIMax()){
|
||||
current->setInterv(current->getIMin(), pentry.getY(), current->getIAxis());
|
||||
cdebug_log(112,0) << "[Interval update4]: min : " << DbU::getValueString(current->getIMin());
|
||||
|
@ -2687,15 +2688,15 @@ namespace Anabatic {
|
|||
|
||||
void Dijkstra::_updateRealOccupancy ( Vertex* current )
|
||||
{
|
||||
cerr << "void Dijkstra::_updateRealOccupancy ( Vertex* current ): " << current << endl;
|
||||
//cerr << "void Dijkstra::_updateRealOccupancy ( Vertex* current ): " << current << endl;
|
||||
GCell* gcurrent = current->getGCell();
|
||||
GCell* gnext = current->getPredecessor()->getGCell();
|
||||
Edge* e = gcurrent->getEdgeTo(gnext);
|
||||
|
||||
NetRoutingState* state = NetRoutingExtension::get( _net );
|
||||
cerr << "e: " << e << endl;
|
||||
//cerr << "e: " << e << endl;
|
||||
e->incRealOccupancy2(state->getWPitch());
|
||||
cerr << "e: " << e << endl;
|
||||
//cerr << "e: " << e << endl;
|
||||
if (current->getGCell()->getWestEdge()) cerr << "W occupancy: " << current->getGCell()->getWestEdge()->getRealOccupancy() << "/" << current->getGCell()->getWestEdge()->getCapacity() << endl;
|
||||
if (current->getGCell()->getEastEdge()) cerr << "E occupancy: " << current->getGCell()->getEastEdge()->getRealOccupancy() << "/" << current->getGCell()->getEastEdge()->getCapacity() << endl;
|
||||
if (current->getGCell()->getNorthEdge()) cerr << "N occupancy: " << current->getGCell()->getNorthEdge()->getRealOccupancy() << "/" << current->getGCell()->getNorthEdge()->getCapacity() << endl;
|
||||
|
|
|
@ -514,6 +514,7 @@ namespace Anabatic {
|
|||
inline void setSearchAreaHalo ( DbU::Unit );
|
||||
void load ( Net* net );
|
||||
void run ( Mode mode=Mode::Standart );
|
||||
inline const VertexSet& getSources () const;
|
||||
private:
|
||||
Dijkstra ( const Dijkstra& );
|
||||
Dijkstra& operator= ( const Dijkstra& );
|
||||
|
@ -579,6 +580,7 @@ namespace Anabatic {
|
|||
inline void Dijkstra::setFlags ( Flags mask ) { _flags |= mask; }
|
||||
inline bool Dijkstra::needAxisTarget () const { return (_flags & Mode::AxisTarget); }
|
||||
inline void Dijkstra::unsetFlags ( Flags mask ) { _flags &= ~mask; }
|
||||
inline const VertexSet& Dijkstra::getSources () const { return _sources; }
|
||||
|
||||
} // Anabatic namespace.
|
||||
|
||||
|
|
Loading…
Reference in New Issue