From 669f390c6d8ca50473e8eb6e8c0f3ae98c5fd00b Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Wed, 13 Jul 2011 12:48:51 +0700 Subject: Other changes to enable new features in the mapper (bug fix). --- src/base/io/ioWriteBlif.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/base/io') diff --git a/src/base/io/ioWriteBlif.c b/src/base/io/ioWriteBlif.c index 52856437..ca54a766 100644 --- a/src/base/io/ioWriteBlif.c +++ b/src/base/io/ioWriteBlif.c @@ -344,6 +344,12 @@ void Io_NtkWritePos( FILE * pFile, Abc_Ntk_t * pNtk, int fWriteLatches ) { Abc_NtkForEachPo( pNtk, pTerm, i ) { + if ( i && i == pNtk->nRealPos ) + { + fprintf( pFile, "\n.outputs" ); + LineLength = 8; + NameCounter = 0; + } pNet = Abc_ObjFanin0(pTerm); // get the line length after this name is written AddedLength = strlen(Abc_ObjName(pNet)) + 1; -- cgit v1.2.3