From fa96b8d7988da75e38d45b719d21a64e5ecbdb9c Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 12 Nov 2011 17:18:49 -0800 Subject: Do not allow interpolation with constraints. --- src/base/abci/abc.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/base/abci') diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index ed40fee0..ed23abfd 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -19430,6 +19430,11 @@ int Abc_CommandBmcInter( Abc_Frame_t * pAbc, int argc, char ** argv ) Abc_Print( -1, "Does not work for combinational networks.\n" ); return 0; } + if ( Abc_NtkConstrNum(pNtk) > 0 ) + { + Abc_Print( -1, "Cannot run interpolation with constraints. Use \"fold\".\n" ); + return 0; + } if ( Abc_NtkPoNum(pNtk)-Abc_NtkConstrNum(pNtk) != 1 ) { if ( Abc_NtkConstrNum(pNtk) > 0 ) -- cgit v1.2.3