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

View File

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