abc-master
|
#include <stdio.h>
#include <stdlib.h>
#include "bool/kit/kit.h"
#include "misc/vec/vec.h"
#include "misc/util/abc_global.h"
Go to the source code of this file.
Data Structures | |
struct | Literal_t_ |
Typedefs | |
typedef struct Literal_t_ | Literal_t |
Enumerations | |
enum | Operator_t { LIT_NONE = 0, LIT_AND, LIT_OR, LIT_XOR } |
INCLUDES ///. More... | |
Functions | |
static void | Lit_TruthPositiveTransition (unsigned *pIn, unsigned *pOut, int nVars, int varIdx) |
FUNCTION DEFINITIONS ///. More... | |
static void | Lit_TruthNegativeTransition (unsigned *pIn, unsigned *pOut, int nVars, int varIdx) |
static Literal_t * | Lit_Alloc (unsigned *pTruth, int nVars, int varIdx, char pol) |
static Literal_t * | Lit_GroupLiterals (Literal_t *lit1, Literal_t *lit2, Operator_t op, int nVars) |
static Literal_t * | Lit_CreateLiteralConst (unsigned *pTruth, int nVars, int constant) |
static Literal_t * | Lit_Copy (Literal_t *lit, int nVars) |
static void | Lit_PrintTT (unsigned *tt, int nVars) |
static void | Lit_PrintExp (Literal_t *lit) |
static void | Lit_Free (Literal_t *lit) |
typedef struct Literal_t_ Literal_t |
enum Operator_t |
INCLUDES ///.
CFile****************************************************************
FileName [literal.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [RPO]
Synopsis [Literal structure]
Author [Mayler G. A. Martins / Vinicius Callegaro]
Affiliation [UFRGS]
Date [Ver. 1.0. Started - May 08, 2013.]
Revision [
]PARAMETERS ///
Enumerator | |
---|---|
LIT_NONE | |
LIT_AND | |
LIT_OR | |
LIT_XOR |
|
inlinestatic |
Function*************************************************************
Synopsis [Create a literal given a polarity ]
Description [The inputs are the function, index and its polarity and a the output is a literal]
SideEffects []
SeeAlso []
Definition at line 131 of file literal.h.
Definition at line 249 of file literal.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Create a const literal ]
Description []
SideEffects []
SeeAlso []
Definition at line 237 of file literal.h.
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Group 2 literals using AND or OR]
Description []
SideEffects []
SeeAlso []
Definition at line 178 of file literal.h.
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Compute the negative transition]
Description [The inputs are a function, the number of variables and a variable index and the output is a function]
SideEffects [Should this function be in kitTruth.c ?]
SeeAlso []
Definition at line 103 of file literal.h.
|
inlinestatic |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Compute the positive transition]
Description [The inputs are a function, the number of variables and a variable index and the output is a function]
SideEffects [Should this function be in kitTruth.c ?]
SeeAlso []
Definition at line 75 of file literal.h.