diff options
Diffstat (limited to 'src/base/abci/abc.c')
-rw-r--r-- | src/base/abci/abc.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 4395607d..b70ec468 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -9407,7 +9407,14 @@ int Abc_CommandTest( Abc_Frame_t * pAbc, int argc, char ** argv ) if ( pNtk ) { extern void Abc_NtkTestTim( Abc_Ntk_t * pNtk, int fVerbose ); - Abc_NtkTestTim( pNtk, fVerbose ); + extern void Abc_NtkTestPinGia( Abc_Ntk_t * pNtk, int fWhiteBoxOnly, int fVerbose ); +// Abc_NtkTestTim( pNtk, fVerbose ); + if ( !Abc_NtkIsLogic(pNtk) ) + { + Abc_Print( -1, "The current ABC netowrk is not a logic network.\n" ); + return 1; + } + Abc_NtkTestPinGia( pNtk, 0, 0 ); } return 0; |