diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2005-09-11 08:01:00 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2005-09-11 08:01:00 -0700 |
commit | 798bbfc5a9b6f7dd5b47425c8c7026762451b0ba (patch) | |
tree | df3f0a05afac0050211b39844120928cd3e4da25 /src/base/abci | |
parent | e52e48c3643b0a69ee84291634d5a31956d183db (diff) | |
download | abc-798bbfc5a9b6f7dd5b47425c8c7026762451b0ba.tar.gz abc-798bbfc5a9b6f7dd5b47425c8c7026762451b0ba.tar.bz2 abc-798bbfc5a9b6f7dd5b47425c8c7026762451b0ba.zip |
Version abc50911
Diffstat (limited to 'src/base/abci')
-rw-r--r-- | src/base/abci/abc.c | 6 | ||||
-rw-r--r-- | src/base/abci/abcPrint.c | 2 |
2 files changed, 7 insertions, 1 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 ) diff --git a/src/base/abci/abcPrint.c b/src/base/abci/abcPrint.c index 41b9288e..e4af8e12 100644 --- a/src/base/abci/abcPrint.c +++ b/src/base/abci/abcPrint.c @@ -50,7 +50,7 @@ void Abc_NtkPrintStats( FILE * pFile, Abc_Ntk_t * pNtk, int fFactored ) if ( !Abc_NtkIsSeq(pNtk) ) fprintf( pFile, " lat = %4d", Abc_NtkLatchNum(pNtk) ); else - fprintf( pFile, " lat = %4d", Abc_NtkSeqLatchNum(pNtk) ); + fprintf( pFile, " lat = %4d(%d)", Abc_NtkSeqLatchNum(pNtk), Abc_NtkSeqLatchNumShared(pNtk) ); if ( Abc_NtkIsNetlist(pNtk) ) { |