diff options
Diffstat (limited to 'src/base/abci/abc.c')
-rw-r--r-- | src/base/abci/abc.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index 2492fb37..20c1e471 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -27955,13 +27955,18 @@ int Abc_CommandAbc9AbsDerive( Abc_Frame_t * pAbc, int argc, char ** argv ) Abc_Print( -1, "The network is combinational.\n" ); return 0; } - pTemp = Gia_ManCexAbstractionDerive( pAbc->pGia ); + if ( pAbc->pGia->vFlopClasses == NULL ) + { + Abc_Print( -1, "Abstraction flop map is missing.\n" ); + return 0; + } + pTemp = Gia_ManDupAbstraction( pAbc->pGia, pAbc->pGia->vFlopClasses ); Abc_CommandUpdate9( pAbc, pTemp ); return 0; usage: Abc_Print( -2, "usage: &abs_derive [-vh]\n" ); - Abc_Print( -2, "\t performs abstraction using the pre-computed flop map\n" ); + Abc_Print( -2, "\t derives abstracted model using the pre-computed flop map\n" ); Abc_Print( -2, "\t-v : toggle printing verbose information [default = %s]\n", fVerbose? "yes": "no" ); Abc_Print( -2, "\t-h : print the command usage\n"); return 1; |