Integration of the latest Coloquinte in Etesian & misc modifs.
* New: In Bootstrap, in Builder & coriolisEnv.py support for RHEL7/SL7.
The sub-directory name is 'el7_64'.
In qt_setup() add QtSvg to list of Qt5 & Qt4 used libraries.
* New: In Hurricane, In Cell add a placeholder for flags. First use to
store whether the Nets have been transhierarchically flatteneds.
* New: In Hurricane, In NetRoutingState add an Unconnected flag for
more accurate diagnosis.
* New: Hurricane, in CellViewer add an entry menu for stress tests.
The script must be named "stressScript.py" in the cwd.
* Change: In CRL Core, in display.conf add a scaling parameter for the
display threhold of the layer. This way we can adapt to different
standard cells height.
* Change: In CRL Core, in ISPD05 bookshelf loader, use the pitch of the
cell gauge instead of a hard-wired 5.0.
* Change: In Cumulus, in ClockTreePlugin, add support for Etesian placer
and a new configuration parameter to choose between Mauka/Etesian.
* New: In Etesian, support for the latest Coloquinte.
Add feed insertion stage.
* Bug: In Kite, In BuildPowerRails, check that _ck is not NULL before
tring to access it's name...
* Change: In Kite, check if the Cell has it's Nets flattened before
doing it (or not).
2015-02-01 16:24:13 -06:00
|
|
|
// -*- C++ -*-
|
|
|
|
//
|
|
|
|
// This file is part of the Coriolis Software.
|
|
|
|
// Copyright (c) UPMC 2015-2015, All Rights Reserved
|
|
|
|
//
|
|
|
|
// +-----------------------------------------------------------------+
|
|
|
|
// | C O R I O L I S |
|
|
|
|
// | E t e s i a n - A n a l y t i c P l a c e r |
|
|
|
|
// | |
|
|
|
|
// | Author : Jean-Paul CHAPUT |
|
|
|
|
// | E-mail : Jean-Paul.Chaput@asim.lip6.fr |
|
|
|
|
// | =============================================================== |
|
|
|
|
// | C++ Module : "./AddFeeds.cpp" |
|
|
|
|
// +-----------------------------------------------------------------+
|
|
|
|
|
|
|
|
|
|
|
|
#include <map>
|
|
|
|
#include <list>
|
|
|
|
#include "hurricane/Error.h"
|
|
|
|
#include "hurricane/Warning.h"
|
|
|
|
#include "hurricane/DataBase.h"
|
|
|
|
#include "hurricane/UpdateSession.h"
|
|
|
|
#include "hurricane/Instance.h"
|
|
|
|
#include "hurricane/Plug.h"
|
|
|
|
#include "hurricane/Path.h"
|
|
|
|
#include "hurricane/viewer/CellWidget.h"
|
|
|
|
#include "crlcore/AllianceFramework.h"
|
|
|
|
#include "crlcore/ToolBox.h"
|
|
|
|
#include "etesian/EtesianEngine.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace {
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
using Hurricane::tab;
|
|
|
|
using Hurricane::inltrace;
|
|
|
|
using Hurricane::ltracein;
|
|
|
|
using Hurricane::ltraceout;
|
|
|
|
using Hurricane::ForEachIterator;
|
|
|
|
using Hurricane::Warning;
|
|
|
|
using Hurricane::Error;
|
|
|
|
using Hurricane::DbU;
|
|
|
|
using Hurricane::Box;
|
|
|
|
using Hurricane::Interval;
|
|
|
|
using Hurricane::Instance;
|
|
|
|
using Hurricane::Path;
|
|
|
|
using Hurricane::Transformation;
|
|
|
|
using Hurricane::DataBase;
|
|
|
|
using Hurricane::Cell;
|
|
|
|
using CRL::AllianceFramework;
|
|
|
|
using CRL::CatalogExtension;
|
|
|
|
using CRL::getTransformation;
|
|
|
|
using Etesian::EtesianEngine;
|
|
|
|
|
|
|
|
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Class : "::SliceHoles".
|
|
|
|
|
|
|
|
class SliceHoles;
|
|
|
|
|
|
|
|
class Slice {
|
|
|
|
public:
|
|
|
|
Slice ( SliceHoles*, DbU::Unit ybottom, Interval xspan );
|
|
|
|
inline DbU::Unit getYBottom () const;
|
|
|
|
inline const Interval& getXSpan () const;
|
|
|
|
inline DbU::Unit getXMin () const;
|
|
|
|
inline DbU::Unit getXMax () const;
|
|
|
|
inline SliceHoles* getSliceHoles () const;
|
|
|
|
inline EtesianEngine* getEtesian () const;
|
|
|
|
inline size_t getSpinSlice0 () const;
|
|
|
|
void merge ( DbU::Unit source, DbU::Unit target );
|
|
|
|
void addFeeds ( size_t islice );
|
|
|
|
void fillHole ( DbU::Unit xmin, DbU::Unit xmax, DbU::Unit ybottom, size_t yspin );
|
|
|
|
string _getString () const;
|
|
|
|
private:
|
|
|
|
SliceHoles* _sliceHoles;
|
|
|
|
DbU::Unit _ybottom;
|
|
|
|
Interval _xspan;
|
|
|
|
list<Interval> _chunks;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
class SliceHoles {
|
|
|
|
public:
|
|
|
|
SliceHoles ( EtesianEngine* );
|
|
|
|
~SliceHoles ();
|
|
|
|
inline EtesianEngine* getEtesian () const;
|
|
|
|
inline size_t getSpinSlice0 () const;
|
|
|
|
inline void setSpinSlice0 ( size_t );
|
|
|
|
void merge ( const Box& );
|
|
|
|
void addFeeds ();
|
|
|
|
private:
|
|
|
|
EtesianEngine* _etesian;
|
|
|
|
Box _cellAb;
|
|
|
|
DbU::Unit _sliceHeight;
|
|
|
|
vector<Slice*> _slices;
|
|
|
|
size_t _spinSlice0;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
Slice::Slice ( SliceHoles* sliceHoles, DbU::Unit ybottom, Interval xspan )
|
|
|
|
: _sliceHoles(sliceHoles)
|
|
|
|
, _ybottom (ybottom)
|
|
|
|
, _xspan (xspan)
|
|
|
|
, _chunks ()
|
|
|
|
{ }
|
|
|
|
|
|
|
|
inline DbU::Unit Slice::getYBottom () const { return _ybottom; }
|
|
|
|
inline DbU::Unit Slice::getXMin () const { return _xspan.getVMin(); }
|
|
|
|
inline DbU::Unit Slice::getXMax () const { return _xspan.getVMax(); }
|
|
|
|
inline const Interval& Slice::getXSpan () const { return _xspan; }
|
|
|
|
inline SliceHoles* Slice::getSliceHoles () const { return _sliceHoles; }
|
|
|
|
inline EtesianEngine* Slice::getEtesian () const { return getSliceHoles()->getEtesian(); }
|
|
|
|
inline size_t Slice::getSpinSlice0 () const { return getSliceHoles()->getSpinSlice0(); }
|
|
|
|
|
|
|
|
|
|
|
|
void Slice::merge ( DbU::Unit source, DbU::Unit target )
|
|
|
|
{
|
|
|
|
Interval chunkToMerge = _xspan.getIntersection( Interval(source,target) );
|
|
|
|
ltrace(300) << " Slice::merge() " << " " << chunkToMerge << endl;
|
|
|
|
ltrace(300) << " | " << _getString() << endl;
|
|
|
|
|
|
|
|
if (chunkToMerge.isEmpty()) return;
|
|
|
|
|
|
|
|
list<Interval>::iterator imerge = _chunks.end();
|
|
|
|
list<Interval>::iterator ichunk = _chunks.begin();
|
|
|
|
|
|
|
|
while ( ichunk != _chunks.end() ) {
|
|
|
|
if (imerge == _chunks.end()) {
|
|
|
|
if (chunkToMerge.getVMax() < (*ichunk).getVMin()) {
|
|
|
|
ltrace(300) << " | Insert before " << *ichunk << endl;
|
|
|
|
imerge = _chunks.insert( ichunk, chunkToMerge );
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (chunkToMerge.intersect(*ichunk)) {
|
|
|
|
ltrace(300) << " | Merge with " << *ichunk << endl;
|
|
|
|
imerge = ichunk;
|
|
|
|
(*imerge).merge( chunkToMerge );
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
if (chunkToMerge.getVMax() >= (*ichunk).getVMin()) {
|
|
|
|
(*imerge).merge( *ichunk );
|
|
|
|
ltrace(300) << " | Absorb (erase) " << *ichunk << endl;
|
|
|
|
ichunk = _chunks.erase( ichunk );
|
|
|
|
continue;
|
|
|
|
} else
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
++ichunk;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (imerge == _chunks.end()) {
|
|
|
|
_chunks.insert( ichunk, chunkToMerge );
|
|
|
|
ltrace(300) << " | Insert at end " << DbU::getValueString(_ybottom) << " " << chunkToMerge << endl;
|
|
|
|
ltrace(300) << " | " << _getString() << endl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Slice::addFeeds ( size_t islice )
|
|
|
|
{
|
|
|
|
if (_chunks.empty()) {
|
|
|
|
fillHole( getXMin(), getXMax(), getYBottom(), islice%2 );
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
list<Interval>::iterator ichunk = _chunks.begin();
|
|
|
|
list<Interval>::iterator ichunknext = ichunk;
|
|
|
|
++ichunknext;
|
|
|
|
|
|
|
|
// Hole before the first chunk.
|
|
|
|
if ((*ichunk).getVMin() > getXMin()) {
|
|
|
|
fillHole( getXMin(), (*ichunk).getVMin(), getYBottom(), (islice+getSpinSlice0())%2 );
|
|
|
|
}
|
|
|
|
|
|
|
|
for ( ; ichunknext != _chunks.end() ; ++ichunk, ++ichunknext ) {
|
|
|
|
fillHole( (*ichunk).getVMax(), (*ichunknext).getVMin(), getYBottom(), (islice+getSpinSlice0())%2 );
|
|
|
|
}
|
|
|
|
|
|
|
|
// Hole after the last chunk.
|
|
|
|
if ((*ichunk).getVMax() < getXMax()) {
|
|
|
|
fillHole( (*ichunk).getVMax(), getXMax(), getYBottom(), (islice+getSpinSlice0())%2 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Slice::fillHole ( DbU::Unit xmin, DbU::Unit xmax, DbU::Unit ybottom, size_t yspin )
|
|
|
|
{
|
|
|
|
Cell* feed = getEtesian()->getFeedCells().getBiggestFeed();
|
|
|
|
if (feed == NULL) {
|
|
|
|
cerr << Error("EtesianEngine: No feed has been registered, ignoring.") << endl;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
DbU::Unit feedWidth = feed->getAbutmentBox().getWidth();
|
|
|
|
DbU::Unit xtie = xmin;
|
|
|
|
|
|
|
|
while ( true ) {
|
|
|
|
if (xtie >= xmax) break;
|
|
|
|
if (xtie+feedWidth > xmax) {
|
|
|
|
// Feed is too big, try to find a smaller one.
|
|
|
|
int pitch = (int)((xmax-xtie) / getEtesian()->getPitch());
|
|
|
|
for ( ; pitch > 0 ; --pitch ) {
|
|
|
|
feed = getEtesian()->getFeedCells().getFeed( pitch );
|
|
|
|
feedWidth = feed->getAbutmentBox().getWidth();
|
|
|
|
if (feed != NULL) break;
|
|
|
|
}
|
|
|
|
if (feed == NULL) break;
|
|
|
|
}
|
|
|
|
|
|
|
|
Instance::create ( getEtesian()->getCell()
|
|
|
|
, getEtesian()->getFeedCells().getUniqueInstanceName().c_str()
|
|
|
|
, feed
|
|
|
|
, getTransformation( feed->getAbutmentBox()
|
|
|
|
, xtie
|
|
|
|
, _ybottom
|
|
|
|
, (yspin)?Transformation::Orientation::MY
|
|
|
|
:Transformation::Orientation::ID
|
|
|
|
)
|
|
|
|
, Instance::PlacementStatus::PLACED
|
|
|
|
);
|
|
|
|
|
|
|
|
xtie += feedWidth;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
string Slice::_getString () const
|
|
|
|
{
|
|
|
|
ostringstream os;
|
|
|
|
|
|
|
|
os << "<Slice " << " @" << DbU::getValueString(_ybottom) << " ";
|
|
|
|
list<Interval>::const_iterator ichunk = _chunks.begin();
|
|
|
|
for ( ; ichunk != _chunks.end() ; ++ichunk ) {
|
|
|
|
if (ichunk != _chunks.begin()) os << " ";
|
|
|
|
os << "[" << DbU::getValueString((*ichunk).getVMin())
|
|
|
|
<< " " << DbU::getValueString((*ichunk).getVMax()) << "]";
|
|
|
|
}
|
|
|
|
os << ">";
|
|
|
|
return os.str();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SliceHoles::SliceHoles ( EtesianEngine* etesian )
|
|
|
|
: _etesian (etesian)
|
|
|
|
, _cellAb (etesian->getCell()->getAbutmentBox())
|
|
|
|
, _sliceHeight(_etesian->getSliceHeight())
|
|
|
|
, _slices ()
|
|
|
|
{
|
|
|
|
size_t slicesNb = _cellAb.getHeight() / _sliceHeight;
|
|
|
|
for ( size_t islice=0 ; islice<slicesNb ; ++islice )
|
|
|
|
_slices.push_back( new Slice( this
|
|
|
|
, _cellAb.getYMin()+islice*_sliceHeight
|
|
|
|
, Interval(_cellAb.getXMin(),_cellAb.getXMax()) ) );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SliceHoles::~SliceHoles ()
|
|
|
|
{
|
|
|
|
for ( size_t islice=0 ; islice<_slices.size() ; ++islice )
|
|
|
|
delete _slices[islice];
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inline EtesianEngine* SliceHoles::getEtesian () const { return _etesian; }
|
|
|
|
inline size_t SliceHoles::getSpinSlice0 () const { return _spinSlice0; }
|
|
|
|
inline void SliceHoles::setSpinSlice0 ( size_t spinSlice0 ) { _spinSlice0 = spinSlice0; }
|
|
|
|
|
|
|
|
|
|
|
|
void SliceHoles::merge ( const Box& bb )
|
|
|
|
{
|
|
|
|
if (bb.getYMin() < _cellAb.getYMin()) {
|
|
|
|
cerr << Warning("Attempt to merge instance outside the Cell abutment box.") << endl;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
size_t ibegin = (bb.getYMin()-_cellAb.getYMin()) / _sliceHeight;
|
|
|
|
size_t iend = (bb.getYMax()-_cellAb.getYMin()) / _sliceHeight;
|
|
|
|
|
|
|
|
for ( size_t islice=ibegin ; islice<iend ; ++islice ) {
|
|
|
|
_slices[islice]->merge( bb.getXMin(), bb.getXMax() );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void SliceHoles::addFeeds ()
|
|
|
|
{
|
|
|
|
for ( size_t islice=0 ; islice<_slices.size() ; islice++ )
|
|
|
|
_slices[islice]->addFeeds( islice );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} // End of anonymous namespace.
|
|
|
|
|
|
|
|
|
|
|
|
namespace Etesian {
|
|
|
|
|
|
|
|
|
|
|
|
using Hurricane::ForEachIterator;
|
|
|
|
using Hurricane::DataBase;
|
|
|
|
using Hurricane::UpdateSession;
|
|
|
|
using Hurricane::Occurrence;
|
|
|
|
|
|
|
|
|
|
|
|
void EtesianEngine::addFeeds ()
|
|
|
|
{
|
|
|
|
UpdateSession::open();
|
|
|
|
|
|
|
|
bool yspinSet = false;
|
|
|
|
size_t yspinSlice0 = 0;
|
|
|
|
SliceHoles sliceHoles ( this );
|
Bug in Python proxy deallocation. Update to latest Coloquinte.
* Bug: In Bootstrap, in coriolisEnv.py, check if devtoolset-2 is already
active before launching it as a sub-shell.
* Bug: In Isobar, In PyHurricane.h, DBoDestroyAttribute() set the proxy
pointer toward the C++ object to NULL. So when the Python object is
deleted no double-deletion occurs on the C++ object.
Add some more trace information in Python link/dealloc.
* Change: In CRL Core, in cyclop, make CMakeLists.txt automatically
choose the right rule for linking the binary wether we use Qt 4 or
Qt 5. Very irksome problem.
* New: In EtesianEngine::addFeed(), do not take into account instances
that are not placed entirely inside the top cell abutment box (was
causing a core dump).
* Bug: In Katabatic, in GCellQueue, correct a mismatch between a GCell
set and the iterators used upon it.
* Bug: In Mauka, in Row & Surface correct a mismatch between a container
and it's iterator.
* New: In Etesian, updated to work with the latest Coloquinte, patch
contributed by G. Gouvine.
Added EtesianEngine::setDefaultAb() to compute an abutment box if
the Cell is completly unplaced.
* New: In cumulus, in ClockTree, now the placer can be configured to be
either Mauka (slow simulated annealing) or Etesian (fast analytic).
New setting 'clockTree.placerEngine' in plugin settings.
2015-02-13 16:38:55 -06:00
|
|
|
Box toCellAb = getCell()->getAbutmentBox();
|
Integration of the latest Coloquinte in Etesian & misc modifs.
* New: In Bootstrap, in Builder & coriolisEnv.py support for RHEL7/SL7.
The sub-directory name is 'el7_64'.
In qt_setup() add QtSvg to list of Qt5 & Qt4 used libraries.
* New: In Hurricane, In Cell add a placeholder for flags. First use to
store whether the Nets have been transhierarchically flatteneds.
* New: In Hurricane, In NetRoutingState add an Unconnected flag for
more accurate diagnosis.
* New: Hurricane, in CellViewer add an entry menu for stress tests.
The script must be named "stressScript.py" in the cwd.
* Change: In CRL Core, in display.conf add a scaling parameter for the
display threhold of the layer. This way we can adapt to different
standard cells height.
* Change: In CRL Core, in ISPD05 bookshelf loader, use the pitch of the
cell gauge instead of a hard-wired 5.0.
* Change: In Cumulus, in ClockTreePlugin, add support for Etesian placer
and a new configuration parameter to choose between Mauka/Etesian.
* New: In Etesian, support for the latest Coloquinte.
Add feed insertion stage.
* Bug: In Kite, In BuildPowerRails, check that _ck is not NULL before
tring to access it's name...
* Change: In Kite, check if the Cell has it's Nets flattened before
doing it (or not).
2015-02-01 16:24:13 -06:00
|
|
|
|
|
|
|
forEach ( Occurrence, ioccurrence, getCell()->getLeafInstanceOccurrences() )
|
|
|
|
{
|
|
|
|
Instance* instance = static_cast<Instance*>((*ioccurrence).getEntity());
|
|
|
|
Cell* masterCell = instance->getMasterCell();
|
|
|
|
|
|
|
|
if (CatalogExtension::isFeed(masterCell)) {
|
|
|
|
cerr << Warning( "Feed instance %s already present."
|
|
|
|
, getString(instance->getName()).c_str() ) << endl;
|
|
|
|
}
|
|
|
|
|
|
|
|
Box instanceAb = masterCell->getAbutmentBox();
|
|
|
|
|
|
|
|
Transformation instanceTransf = instance->getTransformation();
|
|
|
|
(*ioccurrence).getPath().getTransformation().applyOn( instanceTransf );
|
|
|
|
instanceTransf.applyOn( instanceAb );
|
|
|
|
|
Bug in Python proxy deallocation. Update to latest Coloquinte.
* Bug: In Bootstrap, in coriolisEnv.py, check if devtoolset-2 is already
active before launching it as a sub-shell.
* Bug: In Isobar, In PyHurricane.h, DBoDestroyAttribute() set the proxy
pointer toward the C++ object to NULL. So when the Python object is
deleted no double-deletion occurs on the C++ object.
Add some more trace information in Python link/dealloc.
* Change: In CRL Core, in cyclop, make CMakeLists.txt automatically
choose the right rule for linking the binary wether we use Qt 4 or
Qt 5. Very irksome problem.
* New: In EtesianEngine::addFeed(), do not take into account instances
that are not placed entirely inside the top cell abutment box (was
causing a core dump).
* Bug: In Katabatic, in GCellQueue, correct a mismatch between a GCell
set and the iterators used upon it.
* Bug: In Mauka, in Row & Surface correct a mismatch between a container
and it's iterator.
* New: In Etesian, updated to work with the latest Coloquinte, patch
contributed by G. Gouvine.
Added EtesianEngine::setDefaultAb() to compute an abutment box if
the Cell is completly unplaced.
* New: In cumulus, in ClockTree, now the placer can be configured to be
either Mauka (slow simulated annealing) or Etesian (fast analytic).
New setting 'clockTree.placerEngine' in plugin settings.
2015-02-13 16:38:55 -06:00
|
|
|
if (not toCellAb.contains(instanceAb)) {
|
|
|
|
cerr << Warning( "Instance %s is not fully enclosed in the top cell."
|
|
|
|
, getString(instance->getName()).c_str() ) << endl;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
Integration of the latest Coloquinte in Etesian & misc modifs.
* New: In Bootstrap, in Builder & coriolisEnv.py support for RHEL7/SL7.
The sub-directory name is 'el7_64'.
In qt_setup() add QtSvg to list of Qt5 & Qt4 used libraries.
* New: In Hurricane, In Cell add a placeholder for flags. First use to
store whether the Nets have been transhierarchically flatteneds.
* New: In Hurricane, In NetRoutingState add an Unconnected flag for
more accurate diagnosis.
* New: Hurricane, in CellViewer add an entry menu for stress tests.
The script must be named "stressScript.py" in the cwd.
* Change: In CRL Core, in display.conf add a scaling parameter for the
display threhold of the layer. This way we can adapt to different
standard cells height.
* Change: In CRL Core, in ISPD05 bookshelf loader, use the pitch of the
cell gauge instead of a hard-wired 5.0.
* Change: In Cumulus, in ClockTreePlugin, add support for Etesian placer
and a new configuration parameter to choose between Mauka/Etesian.
* New: In Etesian, support for the latest Coloquinte.
Add feed insertion stage.
* Bug: In Kite, In BuildPowerRails, check that _ck is not NULL before
tring to access it's name...
* Change: In Kite, check if the Cell has it's Nets flattened before
doing it (or not).
2015-02-01 16:24:13 -06:00
|
|
|
if (not yspinSet) {
|
|
|
|
yspinSet = true;
|
|
|
|
|
|
|
|
int islice = (instanceAb.getYMin() - getCell()->getAbutmentBox().getYMin()) / getSliceHeight();
|
|
|
|
|
|
|
|
switch ( instanceTransf.getOrientation() ) {
|
|
|
|
case Transformation::Orientation::ID:
|
|
|
|
case Transformation::Orientation::MX:
|
|
|
|
yspinSlice0 = (islice % 2);
|
|
|
|
break;
|
|
|
|
case Transformation::Orientation::R2:
|
|
|
|
case Transformation::Orientation::MY:
|
|
|
|
yspinSlice0 = ((islice+1) % 2);
|
|
|
|
break;
|
|
|
|
case Transformation::Orientation::R1:
|
|
|
|
case Transformation::Orientation::R3:
|
|
|
|
case Transformation::Orientation::XR:
|
|
|
|
case Transformation::Orientation::YR:
|
|
|
|
cerr << Warning( "Instance %s has invalid transformation %s."
|
|
|
|
, getString(instance->getName()).c_str()
|
|
|
|
, getString(instanceTransf.getOrientation()).c_str()
|
|
|
|
) << endl;
|
|
|
|
yspinSet = false;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
sliceHoles.setSpinSlice0( yspinSlice0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
sliceHoles.merge( instanceAb );
|
|
|
|
}
|
|
|
|
|
|
|
|
sliceHoles.addFeeds();
|
|
|
|
|
|
|
|
UpdateSession::close();
|
|
|
|
|
|
|
|
if (_cellWidget) _cellWidget->refresh();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} // Kite namespace.
|