diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-02-21 22:46:53 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-02-21 22:46:53 -0800 |
commit | dfe5f511b21690dd756e743bc502efa7c6799ce3 (patch) | |
tree | 53fb2e939c36608fc569f70fe140c05db6a9a85c /src/base/abci/abcDar.c | |
parent | f33c3007b2641f6f17c3511cb6f56d68d0b05453 (diff) | |
download | abc-dfe5f511b21690dd756e743bc502efa7c6799ce3.tar.gz abc-dfe5f511b21690dd756e743bc502efa7c6799ce3.tar.bz2 abc-dfe5f511b21690dd756e743bc502efa7c6799ce3.zip |
Adding new features to 'dualrail'.
Diffstat (limited to 'src/base/abci/abcDar.c')
-rw-r--r-- | src/base/abci/abcDar.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/base/abci/abcDar.c b/src/base/abci/abcDar.c index 03df7fec..805b41a7 100644 --- a/src/base/abci/abcDar.c +++ b/src/base/abci/abcDar.c @@ -193,6 +193,29 @@ Aig_Man_t * Abc_NtkToDarBmc( Abc_Ntk_t * pNtk, Vec_Int_t ** pvMap ) /**Function************************************************************* + Synopsis [Collects information about what flops have unknown values.] + + Description [] + + SideEffects [] + + SeeAlso [] + +***********************************************************************/ +Vec_Int_t * Abc_NtkFindDcLatches( Abc_Ntk_t * pNtk ) +{ + Vec_Int_t * vUnknown; + Abc_Obj_t * pObj; + int i; + vUnknown = Vec_IntStart( Abc_NtkLatchNum(pNtk) ); + Abc_NtkForEachLatch( pNtk, pObj, i ) + if ( Abc_LatchIsInitDc(pObj) ) + Vec_IntWriteEntry( vUnknown, i, 1 ); + return vUnknown; +} + +/**Function************************************************************* + Synopsis [Converts the network from the AIG manager into ABC.] Description [Assumes that registers are ordered after PIs/POs.] |