summaryrefslogtreecommitdiffstats
path: root/src/base/io/ioWriteBlif.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2011-07-13 12:48:51 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2011-07-13 12:48:51 +0700
commit669f390c6d8ca50473e8eb6e8c0f3ae98c5fd00b (patch)
tree8f9cd87d61805fa880028b2182dd59f1243deaf2 /src/base/io/ioWriteBlif.c
parent97b488e72e6e9c86c8a561ba67a2dc03d2ad77c8 (diff)
downloadabc-669f390c6d8ca50473e8eb6e8c0f3ae98c5fd00b.tar.gz
abc-669f390c6d8ca50473e8eb6e8c0f3ae98c5fd00b.tar.bz2
abc-669f390c6d8ca50473e8eb6e8c0f3ae98c5fd00b.zip
Other changes to enable new features in the mapper (bug fix).
Diffstat (limited to 'src/base/io/ioWriteBlif.c')
-rw-r--r--src/base/io/ioWriteBlif.c6
1 files changed, 6 insertions, 0 deletions
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;