From 457e243e588e7ed5f39251784335e254a0c9e711 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 22 Dec 2005 08:01:00 -0800 Subject: Version abc51222 --- src/base/cmd/cmd.c | 11 +++++++++++ src/base/cmd/cmdUtils.c | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'src/base/cmd') diff --git a/src/base/cmd/cmd.c b/src/base/cmd/cmd.c index bbaca5a9..f20855ab 100644 --- a/src/base/cmd/cmd.c +++ b/src/base/cmd/cmd.c @@ -1245,6 +1245,12 @@ int CmdCommandSis( Abc_Frame_t * pAbc, int argc, char **argv ) } fclose( pFile ); + if ( Abc_NtkIsMappedLogic(pNtk) ) + { + Abc_NtkUnmap(pNtk); + printf( "The current network is unmapped before calling SIS.\n" ); + } + // write out the current network pNetlist = Abc_NtkLogicToNetlist(pNtk); Io_WriteBlif( pNetlist, "_sis_in.blif", 1 ); @@ -1375,6 +1381,11 @@ int CmdCommandMvsis( Abc_Frame_t * pAbc, int argc, char **argv ) } fclose( pFile ); + if ( Abc_NtkIsMappedLogic(pNtk) ) + { + Abc_NtkUnmap(pNtk); + printf( "The current network is unmapped before calling MVSIS.\n" ); + } // write out the current network pNetlist = Abc_NtkLogicToNetlist(pNtk); diff --git a/src/base/cmd/cmdUtils.c b/src/base/cmd/cmdUtils.c index 2f74c2a5..9b7fb49f 100644 --- a/src/base/cmd/cmdUtils.c +++ b/src/base/cmd/cmdUtils.c @@ -245,7 +245,7 @@ int CmdApplyAlias( Abc_Frame_t * pAbc, int *argcp, char ***argvp, int *loop ) argc = *argcp; argv = *argvp; stopit = 0; - for ( ; *loop < 20; ( *loop )++ ) + for ( ; *loop < 200; ( *loop )++ ) { if ( argc == 0 ) return 0; -- cgit v1.2.3