#include "cnf.h"
Go to the source code of this file.
Functions | |
| ABC_NAMESPACE_IMPL_START Vec_Int_t * | Cnf_ManWriteCnfMapping (Cnf_Man_t *p, Vec_Ptr_t *vMapped) |
| DECLARATIONS ///. | |
| void | Cnf_SopConvertToVector (char *pSop, int nCubes, Vec_Int_t *vCover) |
| int | Cnf_SopCountLiterals (char *pSop, int nCubes) |
| int | Cnf_IsopCountLiterals (Vec_Int_t *vIsop, int nVars) |
| int | Cnf_IsopWriteCube (int Cube, int nVars, int *pVars, int *pLiterals) |
| Cnf_Dat_t * | Cnf_ManWriteCnf (Cnf_Man_t *p, Vec_Ptr_t *vMapped, int nOutputs) |
| Cnf_Dat_t * | Cnf_ManWriteCnfOther (Cnf_Man_t *p, Vec_Ptr_t *vMapped) |
| Cnf_Dat_t * | Cnf_DeriveSimple (Aig_Man_t *p, int nOutputs) |
| Cnf_Dat_t * | Cnf_DeriveSimpleForRetiming (Aig_Man_t *p) |
Function*************************************************************
Synopsis [Derives a simple CNF for the AIG.]
Description [The last argument lists the number of last outputs of the manager, which will not be converted into clauses. New variables will be introduced for these outputs.]
SideEffects []
SeeAlso []
Definition at line 587 of file cnfWrite.c.


Function*************************************************************
Synopsis [Derives a simple CNF for backward retiming computation.]
Description [The last argument shows the number of last outputs of the manager, which will not be converted into clauses. New variables will be introduced for these outputs.]
SideEffects []
SeeAlso []
Definition at line 709 of file cnfWrite.c.


| int Cnf_IsopCountLiterals | ( | Vec_Int_t * | vIsop, |
| int | nVars ) |
Function*************************************************************
Synopsis [Returns the number of literals in the SOP.]
Description []
SideEffects []
SeeAlso []
Definition at line 144 of file cnfWrite.c.

| int Cnf_IsopWriteCube | ( | int | Cube, |
| int | nVars, | ||
| int * | pVars, | ||
| int * | pLiterals ) |
Function*************************************************************
Synopsis [Writes the cube and returns the number of literals in it.]
Description []
SideEffects []
SeeAlso []
Definition at line 170 of file cnfWrite.c.

Function*************************************************************
Synopsis [Derives CNF for the mapping.]
Description [The last argument shows the number of last outputs of the manager, which will not be converted into clauses but the new variables for which will be introduced.]
SideEffects []
SeeAlso []
Definition at line 199 of file cnfWrite.c.


| ABC_NAMESPACE_IMPL_START Vec_Int_t * Cnf_ManWriteCnfMapping | ( | Cnf_Man_t * | p, |
| Vec_Ptr_t * | vMapped ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [cnfWrite.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [AIG-to-CNF conversion.]
Synopsis []
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - April 28, 2007.]
Revision [
] FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Derives CNF mapping.]
Description []
SideEffects []
SeeAlso []
Definition at line 45 of file cnfWrite.c.

Function*************************************************************
Synopsis [Derives CNF for the mapping.]
Description [Derives CNF with obj IDs as SAT vars and mapping of objects into clauses (pObj2Clause and pObj2Count).]
SideEffects []
SeeAlso []
Definition at line 419 of file cnfWrite.c.


| void Cnf_SopConvertToVector | ( | char * | pSop, |
| int | nCubes, | ||
| Vec_Int_t * | vCover ) |
Function*************************************************************
Synopsis [Writes the cover into the array.]
Description []
SideEffects []
SeeAlso []
Definition at line 82 of file cnfWrite.c.

| int Cnf_SopCountLiterals | ( | char * | pSop, |
| int | nCubes ) |
Function*************************************************************
Synopsis [Returns the number of literals in the SOP.]
Description []
SideEffects []
SeeAlso []
Definition at line 117 of file cnfWrite.c.
