abc-master
|
#include "gia.h"
#include "base/main/main.h"
#include "sat/bsat/satSolver.h"
#include "proof/ssc/ssc.h"
Go to the source code of this file.
Data Structures | |
struct | Swp_Man_t_ |
Typedefs | |
typedef typedefABC_NAMESPACE_IMPL_START struct Swp_Man_t_ | Swp_Man_t |
DECLARATIONS ///. More... | |
typedef typedefABC_NAMESPACE_IMPL_START struct Swp_Man_t_ Swp_Man_t |
DECLARATIONS ///.
CFile****************************************************************
FileName [giaSweeper.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Scalable AIG package.]
Synopsis [Incremental SAT sweeper.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
Definition at line 56 of file giaSweeper.c.
Function*************************************************************
Synopsis [Addes clauses to the solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 543 of file giaSweeper.c.
Function*************************************************************
Synopsis [Addes clauses to the solver.]
Description []
SideEffects []
SeeAlso []
Definition at line 622 of file giaSweeper.c.
|
static |
Definition at line 701 of file giaSweeper.c.
Definition at line 670 of file giaSweeper.c.
Function*************************************************************
Synopsis [Collects the supergate.]
Description []
SideEffects []
SeeAlso []
Definition at line 659 of file giaSweeper.c.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 347 of file giaSweeper.c.
|
static |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 753 of file giaSweeper.c.
Function*************************************************************
Synopsis [Updates the solver clause database.]
Description []
SideEffects []
SeeAlso []
Definition at line 690 of file giaSweeper.c.
int Gia_SweeperCheckEquiv | ( | Gia_Man_t * | pGia, |
int | Probe1, | ||
int | Probe2 | ||
) |
Function*************************************************************
Synopsis [Runs equivalence test for probes.]
Description []
SideEffects []
SeeAlso []
Definition at line 789 of file giaSweeper.c.
Function*************************************************************
Synopsis [Sweeper cleanup.]
Description [Returns new GIA with sweeper defined, which is the same as the original sweeper, with all the dangling logic removed and SAT solver restarted. The probe IDs are guaranteed to have the same logic functions as in the original manager.]
SideEffects [The input manager is deleted inside this procedure.]
SeeAlso []
Definition at line 461 of file giaSweeper.c.
Function*************************************************************
Synopsis [This procedure returns indexes of all currently defined valid probes.]
Description []
SideEffects []
SeeAlso []
Definition at line 295 of file giaSweeper.c.
int Gia_SweeperCondCheckUnsat | ( | Gia_Man_t * | pGia | ) |
Function*************************************************************
Synopsis [Returns 1 if the set of conditions is UNSAT (0 if SAT; -1 if undecided).]
Description []
SideEffects []
SeeAlso []
Definition at line 924 of file giaSweeper.c.
int Gia_SweeperCondPop | ( | Gia_Man_t * | p | ) |
Definition at line 324 of file giaSweeper.c.
void Gia_SweeperCondPush | ( | Gia_Man_t * | p, |
int | ProbeId | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 319 of file giaSweeper.c.
Definition at line 329 of file giaSweeper.c.
Gia_Man_t* Gia_SweeperExtractUserLogic | ( | Gia_Man_t * | p, |
Vec_Int_t * | vProbeIds, | ||
Vec_Ptr_t * | vInNames, | ||
Vec_Ptr_t * | vOutNames | ||
) |
Definition at line 358 of file giaSweeper.c.
int Gia_SweeperFraig | ( | Gia_Man_t * | p, |
Vec_Int_t * | vProbeIds, | ||
char * | pCommLime, | ||
int | nWords, | ||
int | nConfs, | ||
int | fVerify, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Procedure to perform conditional fraig sweeping on separate logic cones.]
Description [The procedure takes GIA with the sweeper defined. The sweeper is assumed to have some conditions currently pushed, which will be used as constraints for fraig sweeping. The second argument (vProbes) contains the array of probe IDs pointing to the user's logic cones to be SAT swept. Finally, the optional command line (pCommLine) is an ABC command line to be applied to the resulting GIA after SAT sweeping before it is grafted back into the original GIA manager. The return value is the status (success/failure) and the array of original probes possibly pointing to the new literals in the original GIA manager, corresponding to the user's logic cones after sweeping, synthesis and grafting.]
SideEffects []
SeeAlso []
Definition at line 1064 of file giaSweeper.c.
Function*************************************************************
Synopsis [Sweeper sweeper test.]
Description []
SideEffects []
SeeAlso []
Definition at line 1152 of file giaSweeper.c.
Definition at line 230 of file giaSweeper.c.
Function*************************************************************
Synopsis [Performs grafting from another manager.]
Description [Returns the array of resulting literals in the destination manager.]
SideEffects []
SeeAlso []
Definition at line 985 of file giaSweeper.c.
int Gia_SweeperIsRunning | ( | Gia_Man_t * | pGia | ) |
Definition at line 164 of file giaSweeper.c.
void Gia_SweeperLogicDump | ( | Gia_Man_t * | p, |
Vec_Int_t * | vProbeIds, | ||
int | fDumpConds, | ||
char * | pFileName | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 428 of file giaSweeper.c.
double Gia_SweeperMemUsage | ( | Gia_Man_t * | pGia | ) |
Definition at line 168 of file giaSweeper.c.
void Gia_SweeperPrintStats | ( | Gia_Man_t * | pGia | ) |
Definition at line 181 of file giaSweeper.c.
int Gia_SweeperProbeCreate | ( | Gia_Man_t * | p, |
int | iLit | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 249 of file giaSweeper.c.
int Gia_SweeperProbeDelete | ( | Gia_Man_t * | p, |
int | ProbeId | ||
) |
Definition at line 258 of file giaSweeper.c.
int Gia_SweeperProbeLit | ( | Gia_Man_t * | p, |
int | ProbeId | ||
) |
Definition at line 276 of file giaSweeper.c.
int Gia_SweeperProbeUpdate | ( | Gia_Man_t * | p, |
int | ProbeId, | ||
int | iLitNew | ||
) |
Definition at line 267 of file giaSweeper.c.
Function*************************************************************
Synopsis [Executes given command line for the logic defined by the probes.]
Description [ ]
SideEffects []
SeeAlso []
Definition at line 1106 of file giaSweeper.c.
void Gia_SweeperSetConflictLimit | ( | Gia_Man_t * | p, |
int | nConfMax | ||
) |
Function*************************************************************
Synopsis [Setting resource limits.]
Description []
SideEffects []
SeeAlso []
Definition at line 220 of file giaSweeper.c.
void Gia_SweeperSetRuntimeLimit | ( | Gia_Man_t * | p, |
int | nSeconds | ||
) |
Definition at line 225 of file giaSweeper.c.
Definition at line 145 of file giaSweeper.c.
void Gia_SweeperStop | ( | Gia_Man_t * | pGia | ) |
Definition at line 157 of file giaSweeper.c.
Gia_Man_t* Gia_SweeperSweep | ( | Gia_Man_t * | p, |
Vec_Int_t * | vProbeOuts, | ||
int | nWords, | ||
int | nConfs, | ||
int | fVerify, | ||
int | fVerbose | ||
) |
Function*************************************************************
Synopsis [Performs conditional sweeping of the cone.]
Description [Returns the result as a new GIA manager with as many inputs as the original manager and as many outputs as there are logic cones.]
SideEffects []
SeeAlso []
Definition at line 1017 of file giaSweeper.c.
|
inlinestatic |
Definition at line 89 of file giaSweeper.c.
|
inlinestatic |
Definition at line 88 of file giaSweeper.c.
|
inlinestatic |
Definition at line 90 of file giaSweeper.c.
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Creating/deleting the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 107 of file giaSweeper.c.
|
inlinestatic |
Definition at line 131 of file giaSweeper.c.