mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-02 19:38:40 +02:00
Version abc80717
This commit is contained in:
@@ -56,8 +56,10 @@ int main( int argc, char * argv[] )
|
||||
|
||||
// added to detect memory leaks:
|
||||
#ifdef _DEBUG
|
||||
#ifdef ABC_CHECK_LEAKS
|
||||
_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Npn_Experiment();
|
||||
// Npn_Generate();
|
||||
@@ -255,7 +257,9 @@ void Abc_Start()
|
||||
Abc_Frame_t * pAbc;
|
||||
// added to detect memory leaks:
|
||||
#ifdef _DEBUG
|
||||
#ifdef ABC_CHECK_LEAKS
|
||||
_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
|
||||
#endif
|
||||
#endif
|
||||
// start the glocal frame
|
||||
pAbc = Abc_FrameGetGlobalFrame();
|
||||
|
||||
@@ -40,10 +40,6 @@ typedef struct Abc_Frame_t_ Abc_Frame_t;
|
||||
/// INCLUDES ///
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// this include should be the first one in the list
|
||||
// it is used to catch memory leaks on Windows
|
||||
#include "leaks.h"
|
||||
|
||||
// data structure packages
|
||||
#include "extra.h"
|
||||
#include "vec.h"
|
||||
|
||||
@@ -114,8 +114,8 @@ Abc_Frame_t * Abc_FrameAllocate()
|
||||
// networks to be used by choice
|
||||
p->vStore = Vec_PtrAlloc( 16 );
|
||||
// initialize decomposition manager
|
||||
define_cube_size(20);
|
||||
set_espresso_flags();
|
||||
// define_cube_size(20);
|
||||
// set_espresso_flags();
|
||||
// initialize the trace manager
|
||||
// Abc_HManStart();
|
||||
return p;
|
||||
@@ -139,7 +139,7 @@ void Abc_FrameDeallocate( Abc_Frame_t * p )
|
||||
extern void undefine_cube_size();
|
||||
// extern void Ivy_TruthManStop();
|
||||
// Abc_HManStop();
|
||||
undefine_cube_size();
|
||||
// undefine_cube_size();
|
||||
Rwt_ManGlobalStop();
|
||||
// Ivy_TruthManStop();
|
||||
if ( p->pLibVer ) Abc_LibFree( p->pLibVer, NULL );
|
||||
|
||||
Reference in New Issue
Block a user