diff options
Diffstat (limited to 'src/base/abci/abc.c')
-rw-r--r-- | src/base/abci/abc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index c4feb7a2..f2cfaaf1 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -3939,6 +3939,12 @@ int Abc_CommandSeq( Abc_Frame_t * pAbc, int argc, char ** argv ) return 1; } + if ( Abc_NtkCountSelfFeedLatches(pNtk) ) + { + fprintf( pErr, "Works AIG has self-feeding latches. Cannot continue.\n" ); + return 1; + } + // get the new network pNtkRes = Abc_NtkAigToSeq( pNtk ); if ( pNtkRes == NULL ) |