abc-master
|
#include "base/abc/abc.h"
#include "aig/gia/gia.h"
#include "misc/vec/vec.h"
#include "misc/st/st.h"
#include "base/cmd/cmd.h"
#include "base/io/ioAbc.h"
Go to the source code of this file.
Typedefs | |
typedef typedefABC_NAMESPACE_HEADER_START struct Abc_Frame_t_ | Abc_Frame_t |
INCLUDES ///. More... | |
typedef typedefABC_NAMESPACE_HEADER_START struct Abc_Frame_t_ Abc_Frame_t |
INCLUDES ///.
CFile****************************************************************
FileName [main.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [The main package.]
Synopsis [External declarations of the main package.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
Definition at line 39 of file base/main/main.h.
ABC_DLL int Abc_FrameCheckPoConst | ( | Abc_Frame_t * | p, |
int | iPoNum | ||
) |
Function*************************************************************
Synopsis [Returns 0/1 if pNtkCur is an AIG and PO is 0/1; -1 otherwise.]
Description []
SideEffects []
SeeAlso []
Definition at line 684 of file mainFrame.c.
ABC_DLL void Abc_FrameClearVerifStatus | ( | Abc_Frame_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 247 of file mainFrame.c.
ABC_DLL void Abc_FrameDeleteAllNetworks | ( | Abc_Frame_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 551 of file mainFrame.c.
ABC_DLL Gia_Man_t* Abc_FrameGetGia | ( | Abc_Frame_t * | pAbc | ) |
ABC_DLL Abc_Frame_t* Abc_FrameGetGlobalFrame | ( | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 593 of file mainFrame.c.
ABC_DLL int Abc_FrameIsBatchMode | ( | ) |
Definition at line 92 of file mainFrame.c.
ABC_DLL int Abc_FrameIsBridgeMode | ( | ) |
Definition at line 94 of file mainFrame.c.
ABC_DLL int Abc_FrameIsFlagEnabled | ( | char * | pFlag | ) |
Function*************************************************************
Synopsis [Returns 1 if the flag is enabled without value or with value 1.]
Description []
SideEffects []
SeeAlso []
Definition at line 113 of file mainFrame.c.
ABC_DLL int Abc_FrameReadBmcFrames | ( | Abc_Frame_t * | p | ) |
Definition at line 66 of file mainFrame.c.
ABC_DLL Abc_Cex_t* Abc_FrameReadCex | ( | Abc_Frame_t * | p | ) |
Definition at line 68 of file mainFrame.c.
ABC_DLL int Abc_FrameReadCexFrame | ( | Abc_Frame_t * | p | ) |
Definition at line 78 of file mainFrame.c.
ABC_DLL int Abc_FrameReadCexPiNum | ( | Abc_Frame_t * | p | ) |
Definition at line 75 of file mainFrame.c.
ABC_DLL int Abc_FrameReadCexPo | ( | Abc_Frame_t * | p | ) |
Definition at line 77 of file mainFrame.c.
ABC_DLL int Abc_FrameReadCexRegNum | ( | Abc_Frame_t * | p | ) |
Definition at line 76 of file mainFrame.c.
ABC_DLL Vec_Ptr_t* Abc_FrameReadCexVec | ( | Abc_Frame_t * | p | ) |
Definition at line 69 of file mainFrame.c.
ABC_DLL char* Abc_FrameReadDrivingCell | ( | ) |
Definition at line 97 of file mainFrame.c.
ABC_DLL FILE* Abc_FrameReadErr | ( | Abc_Frame_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 330 of file mainFrame.c.
ABC_DLL char* Abc_FrameReadFlag | ( | char * | pFlag | ) |
Definition at line 64 of file mainFrame.c.
ABC_DLL Gia_Man_t* Abc_FrameReadGia | ( | Abc_Frame_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 298 of file mainFrame.c.
ABC_DLL Abc_Frame_t* Abc_FrameReadGlobalFrame | ( | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 616 of file mainFrame.c.
ABC_DLL void* Abc_FrameReadLibBox | ( | ) |
Definition at line 55 of file mainFrame.c.
ABC_DLL void* Abc_FrameReadLibGen | ( | ) |
Definition at line 56 of file mainFrame.c.
ABC_DLL void* Abc_FrameReadLibGen2 | ( | ) |
Definition at line 57 of file mainFrame.c.
ABC_DLL void* Abc_FrameReadLibLut | ( | ) |
Definition at line 54 of file mainFrame.c.
ABC_DLL void* Abc_FrameReadLibScl | ( | ) |
Definition at line 59 of file mainFrame.c.
ABC_DLL void* Abc_FrameReadLibSuper | ( | ) |
Definition at line 58 of file mainFrame.c.
ABC_DLL void* Abc_FrameReadManDd | ( | ) |
Definition at line 60 of file mainFrame.c.
ABC_DLL void* Abc_FrameReadManDec | ( | ) |
Definition at line 61 of file mainFrame.c.
ABC_DLL void* Abc_FrameReadManDsd | ( | ) |
Definition at line 62 of file mainFrame.c.
ABC_DLL void* Abc_FrameReadManDsd2 | ( | ) |
Definition at line 63 of file mainFrame.c.
ABC_DLL float Abc_FrameReadMaxLoad | ( | ) |
Definition at line 98 of file mainFrame.c.
ABC_DLL int Abc_FrameReadMode | ( | Abc_Frame_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 346 of file mainFrame.c.
ABC_DLL Abc_Ntk_t* Abc_FrameReadNtk | ( | Abc_Frame_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 282 of file mainFrame.c.
ABC_DLL Vec_Int_t* Abc_FrameReadObjIds | ( | Abc_Frame_t * | p | ) |
Definition at line 73 of file mainFrame.c.
ABC_DLL FILE* Abc_FrameReadOut | ( | Abc_Frame_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 314 of file mainFrame.c.
ABC_DLL Vec_Ptr_t* Abc_FrameReadPoEquivs | ( | Abc_Frame_t * | p | ) |
Definition at line 71 of file mainFrame.c.
ABC_DLL Vec_Int_t* Abc_FrameReadPoStatuses | ( | Abc_Frame_t * | p | ) |
Definition at line 72 of file mainFrame.c.
ABC_DLL int Abc_FrameReadProbStatus | ( | Abc_Frame_t * | p | ) |
Definition at line 67 of file mainFrame.c.
ABC_DLL Vec_Int_t* Abc_FrameReadStatusVec | ( | Abc_Frame_t * | p | ) |
Definition at line 70 of file mainFrame.c.
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [APIs to access parameters in the flobal frame.]
Description []
SideEffects []
SeeAlso []
Definition at line 52 of file mainFrame.c.
ABC_DLL int Abc_FrameReadStoreSize | ( | ) |
Definition at line 53 of file mainFrame.c.
ABC_DLL void Abc_FrameReplaceCex | ( | Abc_Frame_t * | pAbc, |
Abc_Cex_t ** | ppCex | ||
) |
ABC_DLL void Abc_FrameReplaceCexVec | ( | Abc_Frame_t * | pAbc, |
Vec_Ptr_t ** | pvCexVec | ||
) |
ABC_DLL void Abc_FrameReplaceCurrentNetwork | ( | Abc_Frame_t * | p, |
Abc_Ntk_t * | pNtk | ||
) |
Function*************************************************************
Synopsis [Replaces the current network by the given one.]
Description [This procedure does not modify the stack of saved networks.]
SideEffects []
SeeAlso []
Definition at line 493 of file mainFrame.c.
ABC_DLL void Abc_FrameReplacePoEquivs | ( | Abc_Frame_t * | pAbc, |
Vec_Ptr_t ** | pvPoEquivs | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 537 of file abc.c.
ABC_DLL void Abc_FrameReplacePoStatuses | ( | Abc_Frame_t * | pAbc, |
Vec_Int_t ** | pvStatuses | ||
) |
ABC_DLL void Abc_FrameRestart | ( | Abc_Frame_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 232 of file mainFrame.c.
ABC_DLL void Abc_FrameSetBridgeMode | ( | ) |
Definition at line 95 of file mainFrame.c.
Definition at line 86 of file mainFrame.c.
ABC_DLL void Abc_FrameSetCurrentNetwork | ( | Abc_Frame_t * | p, |
Abc_Ntk_t * | pNtkNew | ||
) |
Function*************************************************************
Synopsis [Sets the given network to be the current one.]
Description [Takes the network and makes it the current network. The previous current network is attached to the given network as a backup copy. In the stack of backup networks contains too many networks (defined by the paramater "savesteps"), the bottom most network is deleted.]
SideEffects []
SeeAlso []
Definition at line 396 of file mainFrame.c.
ABC_DLL void Abc_FrameSetDrivingCell | ( | char * | pName | ) |
Definition at line 99 of file mainFrame.c.
ABC_DLL void Abc_FrameSetFlag | ( | char * | pFlag, |
char * | pValue | ||
) |
Definition at line 85 of file mainFrame.c.
ABC_DLL void Abc_FrameSetGlobalFrame | ( | Abc_Frame_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 577 of file mainFrame.c.
ABC_DLL void Abc_FrameSetLibBox | ( | void * | pLib | ) |
Definition at line 81 of file mainFrame.c.
ABC_DLL void Abc_FrameSetLibGen | ( | void * | pLib | ) |
Definition at line 82 of file mainFrame.c.
ABC_DLL void Abc_FrameSetLibGen2 | ( | void * | pLib | ) |
Definition at line 83 of file mainFrame.c.
ABC_DLL void Abc_FrameSetLibLut | ( | void * | pLib | ) |
Definition at line 80 of file mainFrame.c.
ABC_DLL void Abc_FrameSetLibSuper | ( | void * | pLib | ) |
Definition at line 84 of file mainFrame.c.
ABC_DLL void Abc_FrameSetLibVer | ( | void * | pLib | ) |
ABC_DLL void Abc_FrameSetManDsd | ( | void * | pMan | ) |
Definition at line 89 of file mainFrame.c.
ABC_DLL void Abc_FrameSetManDsd2 | ( | void * | pMan | ) |
Definition at line 90 of file mainFrame.c.
ABC_DLL void Abc_FrameSetMaxLoad | ( | float | Load | ) |
Definition at line 100 of file mainFrame.c.
ABC_DLL int Abc_FrameSetMode | ( | Abc_Frame_t * | p, |
int | fNameMode | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 369 of file mainFrame.c.
ABC_DLL void Abc_FrameSetNFrames | ( | int | nFrames | ) |
Definition at line 87 of file mainFrame.c.
ABC_DLL void Abc_FrameSetNtkStoreSize | ( | int | nStored | ) |
ABC_DLL void Abc_FrameSetStatus | ( | int | Status | ) |
Definition at line 88 of file mainFrame.c.
ABC_DLL int Abc_FrameShowProgress | ( | Abc_Frame_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 265 of file mainFrame.c.
ABC_DLL void Abc_FrameSwapCurrentAndBackup | ( | Abc_Frame_t * | p | ) |
Function*************************************************************
Synopsis [This procedure swaps the current and the backup network.]
Description []
SideEffects []
SeeAlso []
Definition at line 451 of file mainFrame.c.
ABC_DLL void Abc_FrameUnmapAllNetworks | ( | Abc_Frame_t * | p | ) |
Function*************************************************************
Synopsis [Removes library binding of all currently stored networks.]
Description [This procedure is called when the library is freed.]
SideEffects []
SeeAlso []
Definition at line 532 of file mainFrame.c.
ABC_DLL void Abc_FrameUpdateGia | ( | Abc_Frame_t * | pAbc, |
Gia_Man_t * | pNew | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 616 of file abc.c.
ABC_NAMESPACE_HEADER_END ABC_NAMESPACE_HEADER_START ABC_DLL void Abc_Start | ( | ) |
PARAMETERS ///.
TYPEDEFS ///GLOBAL VARIABLES ///STRUCTURE DEFINITIONS ///MACRO DEFINITIONS ///FUNCTION DEFINITIONS ///
PARAMETERS ///.
INCLUDES ///.
CFile****************************************************************
FileName [main.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [The main package.]
Synopsis [Here everything starts.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Initialization procedure for the library project.]
Description [Note that when Abc_Start() is run in a static library project, it does not load the resource file by default. As a result, ABC is not set up the same way, as when it is run on a command line. For example, some error messages while parsing files will not be produced, and intermediate networks will not be checked for consistancy. One possibility is to load the resource file after Abc_Start() as follows: Abc_UtilsSource( Abc_FrameGetGlobalFrame() );]
SideEffects []
SeeAlso []
Definition at line 52 of file mainLib.c.
ABC_DLL void Abc_Stop | ( | ) |
Function*************************************************************
Synopsis [Deallocation procedure for the library project.]
Description []
SideEffects []
SeeAlso []
Definition at line 76 of file mainLib.c.