From f7caf84f21ff02b12e41be6b7e1fdfeeab3a560f Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 23 Sep 2012 14:30:17 -0700 Subject: Modified structural constraint extraction (unfold -s) to work for multi-output testcases. --- src/base/abci/abc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/base/abci') diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index fb431bf7..5cf1fa0b 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -21280,9 +21280,9 @@ int Abc_CommandUnfold( Abc_Frame_t * pAbc, int argc, char ** argv ) Abc_Print( -1, "Constraints are already extracted.\n" ); return 0; } - if ( Abc_NtkPoNum(pNtk) > 1 ) + if ( Abc_NtkPoNum(pNtk) > 1 && !fStruct ) { - Abc_Print( -1, "Constraint extraction works for single-output miters (use \"orpos\").\n" ); + Abc_Print( -1, "Functional constraint extraction works for single-output miters (use \"orpos\").\n" ); return 0; } // modify the current network -- cgit v1.2.3