diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-24 01:13:51 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-09-24 01:13:51 -0700 |
commit | 6f03813557ba8aa9ad4d228984bc569b840ddb6c (patch) | |
tree | 81afd6f3970a95e867bd09354d901b4335986f4d /src/base/abci | |
parent | 255f171f632610eead441e62c7fe4cd4148bb207 (diff) | |
download | abc-6f03813557ba8aa9ad4d228984bc569b840ddb6c.tar.gz abc-6f03813557ba8aa9ad4d228984bc569b840ddb6c.tar.bz2 abc-6f03813557ba8aa9ad4d228984bc569b840ddb6c.zip |
Testing GIA with time manager.
Diffstat (limited to 'src/base/abci')
-rw-r--r-- | src/base/abci/abcTim.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/abci/abcTim.c b/src/base/abci/abcTim.c index 1296510d..a9cc4b96 100644 --- a/src/base/abci/abcTim.c +++ b/src/base/abci/abcTim.c @@ -216,7 +216,7 @@ Gia_Man_t * Abc_NtkTestTimDeriveGia( Abc_Ntk_t * pNtk, int fVerbose ) vNodes = Abc_NtkDfs( pNtk, 0 ); // construct GIA - Abc_NtkCleanCopy( pNtk ); + Abc_NtkFillTemp( pNtk ); pGia = Gia_ManStart( Abc_NtkObjNumMax(pNtk) ); Gia_ManHashAlloc( pGia ); // create primary inputs @@ -246,7 +246,7 @@ Gia_Man_t * Abc_NtkTestTimDeriveGia( Abc_Ntk_t * pNtk, int fVerbose ) vCone = Abc_NtkTestTimCollectCone( pNtk, NULL ); // perform GIA constructino for these nodes Vec_PtrForEachEntry( Abc_Obj_t *, vCone, pFanin, k ) - pObj->iTemp = Abc_NtkTestTimNodeStrash( pGia, pFanin ); + pFanin->iTemp = Abc_NtkTestTimNodeStrash( pGia, pFanin ); Vec_PtrFree( vCone ); // create primary outputs Abc_NtkForEachCo( pNtk, pObj, i ) @@ -374,7 +374,7 @@ void Abc_NtkTestTimByWritingFile( Gia_Man_t * pGia, char * pFileName ) ***********************************************************************/ void Abc_NtkTestTim( Abc_Ntk_t * pNtk, int fVerbose ) { - int fUseChoices = 1; + int fUseChoices = 0; Gia_Man_t * pGia, * pTemp; // this test only works for a logic network (for example, network with LUT mapping) |