diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2011-11-12 17:18:49 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2011-11-12 17:18:49 -0800 |
commit | fa96b8d7988da75e38d45b719d21a64e5ecbdb9c (patch) | |
tree | d2771ad61f6d7cc107929be8196d63ac0d91b580 | |
parent | c1ac6b9b3e9fb87a209692ae9d513520ca5918ba (diff) | |
download | abc-fa96b8d7988da75e38d45b719d21a64e5ecbdb9c.tar.gz abc-fa96b8d7988da75e38d45b719d21a64e5ecbdb9c.tar.bz2 abc-fa96b8d7988da75e38d45b719d21a64e5ecbdb9c.zip |
Do not allow interpolation with constraints.
-rw-r--r-- | src/base/abci/abc.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 ) |