summaryrefslogtreecommitdiffstats
path: root/src/base/io/ioWriteBlifMv.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2007-02-09 08:01:00 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2007-02-09 08:01:00 -0800
commitb9e0c95b690cf363f99b182ba8e7688aef091d95 (patch)
tree4b64e1b61435d4797cf5f46a87175ba270df7ec3 /src/base/io/ioWriteBlifMv.c
parenta13c64a5b4164b5a10943c0d5283260252be30d0 (diff)
downloadabc-b9e0c95b690cf363f99b182ba8e7688aef091d95.tar.gz
abc-b9e0c95b690cf363f99b182ba8e7688aef091d95.tar.bz2
abc-b9e0c95b690cf363f99b182ba8e7688aef091d95.zip
Version abc70209
Diffstat (limited to 'src/base/io/ioWriteBlifMv.c')
-rw-r--r--src/base/io/ioWriteBlifMv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/io/ioWriteBlifMv.c b/src/base/io/ioWriteBlifMv.c
index dc3a8b2d..1c7e7bed 100644
--- a/src/base/io/ioWriteBlifMv.c
+++ b/src/base/io/ioWriteBlifMv.c
@@ -187,7 +187,8 @@ void Io_NtkWriteBlifMvOne( FILE * pFile, Abc_Ntk_t * pNtk )
}
// write the subcircuits
- if ( !Abc_NtkBlackboxNum(pNtk) )
+ assert( Abc_NtkWhiteboxNum(pNtk) == 0 );
+ if ( Abc_NtkBlackboxNum(pNtk) > 0 )
{
fprintf( pFile, "\n" );
Abc_NtkForEachBlackbox( pNtk, pNode, i )