abc-master
|
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include "misc/vec/vec.h"
#include "utilCex.h"
Go to the source code of this file.
Functions | |
ABC_NAMESPACE_IMPL_START Abc_Cex_t * | Abc_CexAlloc (int nRegs, int nRealPis, int nFrames) |
DECLARATIONS ///. More... | |
Abc_Cex_t * | Abc_CexAllocFull (int nRegs, int nRealPis, int nFrames) |
Abc_Cex_t * | Abc_CexMakeTriv (int nRegs, int nTruePis, int nTruePos, int iFrameOut) |
Abc_Cex_t * | Abc_CexCreate (int nRegs, int nPis, int *pArray, int iFrame, int iPo, int fSkipRegs) |
Abc_Cex_t * | Abc_CexDup (Abc_Cex_t *p, int nRegsNew) |
Abc_Cex_t * | Abc_CexDeriveFromCombModel (int *pModel, int nPis, int nRegs, int iPo) |
Abc_Cex_t * | Abc_CexMerge (Abc_Cex_t *pCex, Abc_Cex_t *pPart, int iFrBeg, int iFrEnd) |
void | Abc_CexPrintStats (Abc_Cex_t *p) |
void | Abc_CexPrintStatsInputs (Abc_Cex_t *p, int nInputs) |
void | Abc_CexPrint (Abc_Cex_t *p) |
void | Abc_CexFreeP (Abc_Cex_t **p) |
void | Abc_CexFree (Abc_Cex_t *p) |
Abc_Cex_t * | Abc_CexTransformPhase (Abc_Cex_t *p, int nPisOld, int nPosOld, int nRegsOld) |
Abc_Cex_t * | Abc_CexTransformTempor (Abc_Cex_t *p, int nPisOld, int nPosOld, int nRegsOld) |
Abc_Cex_t * | Abc_CexTransformUndc (Abc_Cex_t *p, char *pInit) |
Abc_Cex_t * | Abc_CexPermute (Abc_Cex_t *p, Vec_Int_t *vMapOld2New) |
Abc_Cex_t * | Abc_CexPermuteTwo (Abc_Cex_t *p, Vec_Int_t *vPermOld, Vec_Int_t *vPermNew) |
static int | Abc_CexOnes32 (unsigned i) |
int | Abc_CexCountOnes (Abc_Cex_t *p) |
ABC_NAMESPACE_IMPL_START Abc_Cex_t* Abc_CexAlloc | ( | int | nRegs, |
int | nRealPis, | ||
int | nFrames | ||
) |
DECLARATIONS ///.
MACRO DEFINITIONS ///.
CFile****************************************************************
FileName [utilCex.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Handling counter-examples.]
Synopsis [Handling counter-examples.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - Feburary 13, 2011.]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Allocates a counter-example.]
Description []
SideEffects []
SeeAlso []
Definition at line 51 of file utilCex.c.
Abc_Cex_t* Abc_CexAllocFull | ( | int | nRegs, |
int | nRealPis, | ||
int | nFrames | ||
) |
Definition at line 62 of file utilCex.c.
Abc_Cex_t* Abc_CexCreate | ( | int | nRegs, |
int | nPis, | ||
int * | pArray, | ||
int | iFrame, | ||
int | iPo, | ||
int | fSkipRegs | ||
) |
Function*************************************************************
Synopsis [Derives the counter-example.]
Description []
SideEffects []
SeeAlso []
Definition at line 110 of file utilCex.c.
Abc_Cex_t* Abc_CexDeriveFromCombModel | ( | int * | pModel, |
int | nPis, | ||
int | nRegs, | ||
int | iPo | ||
) |
Function*************************************************************
Synopsis [Derives CEX from comb model.]
Description []
SideEffects []
SeeAlso []
Definition at line 173 of file utilCex.c.
Function*************************************************************
Synopsis [Make the trivial counter-example for the trivially asserted output.]
Description []
SideEffects []
SeeAlso []
Definition at line 145 of file utilCex.c.
void Abc_CexFree | ( | Abc_Cex_t * | p | ) |
Function*************************************************************
Synopsis [Frees the counter-example.]
Description []
SideEffects []
SeeAlso []
Definition at line 371 of file utilCex.c.
void Abc_CexFreeP | ( | Abc_Cex_t ** | p | ) |
Function*************************************************************
Synopsis [Frees the counter-example.]
Description []
SideEffects []
SeeAlso []
Definition at line 350 of file utilCex.c.
Abc_Cex_t* Abc_CexMakeTriv | ( | int | nRegs, |
int | nTruePis, | ||
int | nTruePos, | ||
int | iFrameOut | ||
) |
Function*************************************************************
Synopsis [Make the trivial counter-example for the trivially asserted output.]
Description []
SideEffects []
SeeAlso []
Definition at line 85 of file utilCex.c.
Function*************************************************************
Synopsis [Derives CEX from comb model.]
Description []
SideEffects []
SeeAlso []
Definition at line 197 of file utilCex.c.
|
inlinestatic |
Function*************************************************************
Synopsis [Count the number of 1s in the CEX.]
Description []
SideEffects []
SeeAlso []
Function*************************************************************
Synopsis [Derives permuted CEX using permutation of its inputs.]
Description []
SideEffects []
SeeAlso []
Definition at line 487 of file utilCex.c.
Function*************************************************************
Synopsis [Derives permuted CEX using two canonical permutations.]
Description []
SideEffects []
SeeAlso []
Definition at line 515 of file utilCex.c.
void Abc_CexPrint | ( | Abc_Cex_t * | p | ) |
Function*************************************************************
Synopsis [Prints out the counter-example.]
Description []
SideEffects []
SeeAlso []
Definition at line 311 of file utilCex.c.
void Abc_CexPrintStats | ( | Abc_Cex_t * | p | ) |
Function*************************************************************
Synopsis [Prints out the counter-example.]
Description []
SideEffects []
SeeAlso []
Definition at line 256 of file utilCex.c.
void Abc_CexPrintStatsInputs | ( | Abc_Cex_t * | p, |
int | nInputs | ||
) |
Definition at line 275 of file utilCex.c.
Function*************************************************************
Synopsis [Transform CEX after phase abstraction with nFrames frames.]
Description []
SideEffects []
SeeAlso []
Definition at line 390 of file utilCex.c.
Function*************************************************************
Synopsis [Transform CEX after phase temporal decomposition with nFrames frames.]
Description []
SideEffects []
SeeAlso []
Definition at line 416 of file utilCex.c.
Function*************************************************************
Synopsis [Transform CEX after "logic; undc; st; zero".]
Description []
SideEffects []
SeeAlso []
Definition at line 448 of file utilCex.c.