UpdateSession forgotten in Blif parser.

This commit is contained in:
Jean-Paul Chaput 2017-02-16 09:57:43 +01:00
parent 4559ec38b9
commit 0925afa188
2 changed files with 2 additions and 3 deletions

View File

@ -245,7 +245,6 @@ namespace Anabatic {
} }
if (vnext->getGCell()->isMatrix()) { if (vnext->getGCell()->isMatrix()) {
cerr << "This is not planned" << endl;
return Point(vnext->getGCell()->getXCenter(), vnext->getGCell()->getYCenter()); return Point(vnext->getGCell()->getXCenter(), vnext->getGCell()->getYCenter());
} }
@ -1086,12 +1085,10 @@ namespace Anabatic {
if (h) { if (h) {
seed->setIAsH(); seed->setIAsH();
seed->setInterv(rp->getBoundingBox().getXMin(), rp->getBoundingBox().getXMax(), rp->getBoundingBox().getYCenter()); seed->setInterv(rp->getBoundingBox().getXMin(), rp->getBoundingBox().getXMax(), rp->getBoundingBox().getYCenter());
seed->printInterval();
} }
if (v) { if (v) {
seed->setIAsV(); seed->setIAsV();
seed->setInterv(rp->getBoundingBox().getYMin(), rp->getBoundingBox().getYMax(), rp->getBoundingBox().getXCenter()); seed->setInterv(rp->getBoundingBox().getYMin(), rp->getBoundingBox().getYMax(), rp->getBoundingBox().getXCenter());
seed->printInterval();
} }
if (seed->getConnexId() < 0) { if (seed->getConnexId() < 0) {

View File

@ -595,6 +595,7 @@ namespace CRL {
Tokenize tokenize ( blifFile ); Tokenize tokenize ( blifFile );
const vector<string>& blifLine = tokenize.blifLine(); const vector<string>& blifLine = tokenize.blifLine();
UpdateSession::open();
while ( tokenize.readEntry() ) { while ( tokenize.readEntry() ) {
if (tokenize.state() == Tokenize::Model) { if (tokenize.state() == Tokenize::Model) {
if (blifModel) { if (blifModel) {
@ -732,6 +733,7 @@ namespace CRL {
Model::connectModels(); Model::connectModels();
Model::toVhdlModels(); Model::toVhdlModels();
Model::clearStatic(); Model::clearStatic();
UpdateSession::close();
--tab; --tab;