
Go to the source code of this file.
Classes | |
| struct | _CSAT_Target_ResultT |
Macros | |
| #define | _ABC_GATE_TYPE_ |
| #define | _ABC_STATUS_ |
| #define | _ABC_CALLER_ |
| #define | _ABC_OPTION_ |
| #define | _ABC_Target_Result |
Typedefs | |
| typedef typedefABC_NAMESPACE_HEADER_START struct ABC_ManagerStruct_t | ABC_Manager_t |
| INCLUDES ///. | |
| typedef struct ABC_ManagerStruct_t * | ABC_Manager |
| typedef struct _CSAT_Target_ResultT | CSAT_Target_ResultT |
Enumerations | |
| enum | GateType { CSAT_CONST = 0 , CSAT_BPI , CSAT_BPPI , CSAT_BAND , CSAT_BNAND , CSAT_BOR , CSAT_BNOR , CSAT_BXOR , CSAT_BXNOR , CSAT_BINV , CSAT_BBUF , CSAT_BMUX , CSAT_BDFF , CSAT_BSDFF , CSAT_BTRIH , CSAT_BTRIL , CSAT_BBUS , CSAT_BPPO , CSAT_BPO , CSAT_BCNF , CSAT_BDC } |
| enum | CSAT_StatusT { UNDETERMINED = 0 , UNSATISFIABLE , SATISFIABLE , TIME_OUT , FRAME_OUT , NO_TARGET , ABORTED , SEQ_SATISFIABLE } |
| enum | CSAT_CallerT { BLS = 0 , SATORI , NONE } |
| enum | CSAT_OptionT { BASE_LINE = 0 , IMPLICT_LEARNING , EXPLICT_LEARNING } |
| #define _ABC_CALLER_ |
Definition at line 95 of file csat_apis.h.
| #define _ABC_GATE_TYPE_ |
Definition at line 48 of file csat_apis.h.
| #define _ABC_OPTION_ |
Definition at line 108 of file csat_apis.h.
| #define _ABC_STATUS_ |
Definition at line 78 of file csat_apis.h.
| #define _ABC_Target_Result |
Definition at line 119 of file csat_apis.h.
| typedef struct ABC_ManagerStruct_t* ABC_Manager |
Definition at line 42 of file csat_apis.h.
| typedef typedefABC_NAMESPACE_HEADER_START struct ABC_ManagerStruct_t ABC_Manager_t |
INCLUDES ///.
CFile****************************************************************
FileName [csat_apis.h]
PackageName [Interface to CSAT.]
Synopsis [APIs, enums, and data structures expected from the use of CSAT.]
Author [Alan Mishchenko alanm.nosp@m.i@ee.nosp@m.cs.be.nosp@m.rkel.nosp@m.ey.ed.nosp@m.u]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - August 28, 2005]
Revision [
] PARAMETERS /// STRUCTURE DEFINITIONS ///
Definition at line 41 of file csat_apis.h.
| typedef struct _CSAT_Target_ResultT CSAT_Target_ResultT |
Definition at line 120 of file csat_apis.h.
| enum CSAT_CallerT |
| Enumerator | |
|---|---|
| BLS | |
| SATORI | |
| NONE | |
Definition at line 96 of file csat_apis.h.
| enum CSAT_OptionT |
| Enumerator | |
|---|---|
| BASE_LINE | |
| IMPLICT_LEARNING | |
| EXPLICT_LEARNING | |
Definition at line 109 of file csat_apis.h.
| enum CSAT_StatusT |
| Enumerator | |
|---|---|
| UNDETERMINED | |
| UNSATISFIABLE | |
| SATISFIABLE | |
| TIME_OUT | |
| FRAME_OUT | |
| NO_TARGET | |
| ABORTED | |
| SEQ_SATISFIABLE | |
Definition at line 79 of file csat_apis.h.
| enum GateType |
Definition at line 49 of file csat_apis.h.
|
extern |
Function*************************************************************
Synopsis [Adds a gate to the circuit.]
Description [The meaning of the parameters are: type: the type of the gate to be added name: the name of the gate to be added, name should be unique in a circuit. nofi: number of fanins of the gate to be added; fanins: the name array of fanins of the gate to be added.]
SideEffects []
SeeAlso []
Definition at line 175 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis [Adds a new target to the manager.]
Description [The meaning of the parameters are: nog: number of gates that are in the targets, names: name array of gates, values: value array of the corresponding gates given in "names" to be solved. The relation of them is AND.]
SideEffects []
SeeAlso []
Definition at line 534 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis [Currently not implemented.]
Description []
SideEffects []
SeeAlso []
Definition at line 596 of file csat_apis.c.
|
extern |
Function*************************************************************
Synopsis [Checks integraty of the manager.]
Description [Checks if there are gates that are not used by any primary output. If no such gates exist, return 1 else return 0.]
SideEffects []
SeeAlso []
Definition at line 332 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis [Dumps the original network into the BENCH file.]
Description [This procedure should be modified to dump the target.]
SideEffects []
SeeAlso []
Definition at line 680 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis [Sets the file name to dump the structurally hashed network used for solving.]
Description []
SideEffects []
SeeAlso []
Definition at line 513 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis [Gets the solve status of a target.]
Description [TargetID: the target id returned by ABC_AddTarget().]
SideEffects []
SeeAlso []
Definition at line 664 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 481 of file csat_apis.c.
|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 497 of file csat_apis.c.
|
extern |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Creates a new manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 81 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis [This procedure also finalizes construction of the ABC network.]
Description []
SideEffects []
SeeAlso []
Definition at line 308 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis [Deletes the manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 113 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 402 of file csat_apis.c.
|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 386 of file csat_apis.c.
|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 418 of file csat_apis.c.
|
extern |
Function*************************************************************
Synopsis [Sets solver options for learning.]
Description []
SideEffects []
SeeAlso []
Definition at line 140 of file csat_apis.c.
|
extern |
Function*************************************************************
Synopsis [Sets time limit for solving a target.]
Description [Runtime: time limit (in second).]
SideEffects []
SeeAlso []
Definition at line 370 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 450 of file csat_apis.c.
|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 466 of file csat_apis.c.
|
extern |
Function*************************************************************
Synopsis [Solves the targets added by ABC_AddTarget().]
Description []
SideEffects []
SeeAlso []
Definition at line 611 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis [Initialize the solver internal data structure.]
Description [Prepares the solver to work on one specific target set by calling ABC_AddTarget before.]
SideEffects []
SeeAlso []
Definition at line 570 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis [Deallocates the target result.]
Description []
SideEffects []
SeeAlso []
Definition at line 733 of file csat_apis.c.

|
extern |
Function*************************************************************
Synopsis [Sets solving mode by brute-force SAT.]
Description []
SideEffects []
SeeAlso []
Definition at line 155 of file csat_apis.c.
|
extern |