better cluster management ...

This commit is contained in:
Jean-Manuel Caba 2010-08-18 09:32:54 +00:00
parent 73e73aa86f
commit 5d871b1353
2 changed files with 28 additions and 28 deletions

View File

@ -1,6 +1,5 @@
// -*-compile-command:"cd ../../../../.. && make"-*- // -*-compile-command:"cd ../../../../.. && make"-*-
// Time-stamp: "2010-08-18 10:32:07" - OpenAccessDriver.cpp // Time-stamp: "2010-08-18 11:21:49" - OpenAccessDriver.cpp
// x-----------------------------------------------------------------x // x-----------------------------------------------------------------x
// | This file is part of the hurricaneAMS Software. | // | This file is part of the hurricaneAMS Software. |
// | Copyright (c) UPMC/LIP6 2008-2010, All Rights Reserved | // | Copyright (c) UPMC/LIP6 2008-2010, All Rights Reserved |
@ -945,7 +944,7 @@ namespace {
cerr << "transformation of instances" << endl; cerr << "transformation of instances" << endl;
oaCluster* cellCluster = oaCluster::find(topBlock, oaCluster* cellCluster = oaCluster::find(topBlock,
getString(cell->getName()).c_str()); getString(cell->getName()).c_str());
if(!cellCluster) if(!cellCluster){//le cluster existe déja donc la conversion est déja faite ...
cellCluster = oaCluster::create(topBlock, cellCluster = oaCluster::create(topBlock,
getString(cell->getName()).c_str(), getString(cell->getName()).c_str(),
oacClusterTypeSuggested); oacClusterTypeSuggested);
@ -974,6 +973,7 @@ namespace {
oaBox boundingBox = toOABox(bBox); oaBox boundingBox = toOABox(bBox);
topBlock->getBBox(boundingBox); topBlock->getBBox(boundingBox);
}
return designCellView; return designCellView;
} }

View File

@ -4,7 +4,7 @@ TESTDIR= ./testOA
TECHNOFILE= /dsk/l1/misc/caba/coriolis-2.x/Linux.SLSoC5x_64/Release.Shared/install/etc/chams/config.freePDK45.xml TECHNOFILE= /dsk/l1/misc/caba/coriolis-2.x/Linux.SLSoC5x_64/Release.Shared/install/etc/chams/config.freePDK45.xml
M=$$(uname -m) M=$$(uname -m)
all: compile lefTest run all: compile run
lefTest: lefTest:
cd sxlib2lef && make cd sxlib2lef && make