|
abc-master
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include "misc/bzlib/bzlib.h"#include "misc/zlib/zlib.h"#include "ioAbc.h"#include "aig/gia/giaAig.h"#include "aig/saig/saig.h"Go to the source code of this file.
Data Structures | |
| struct | bz2file |
Typedefs | |
| typedef struct bz2file | bz2file |
Functions | |
| static ABC_NAMESPACE_IMPL_START unsigned | Io_ObjMakeLit (int Var, int fCompl) |
| DECLARATIONS ///. More... | |
| static unsigned | Io_ObjAigerNum (Abc_Obj_t *pObj) |
| static void | Io_ObjSetAigerNum (Abc_Obj_t *pObj, unsigned Num) |
| int | Io_WriteAigerEncode (unsigned char *pBuffer, int Pos, unsigned x) |
| FUNCTION DEFINITIONS ///. More... | |
| Vec_Int_t * | Io_WriteAigerLiterals (Abc_Ntk_t *pNtk) |
| Vec_Str_t * | Io_WriteEncodeLiterals (Vec_Int_t *vLits) |
| void | Io_WriteAiger_old (Abc_Ntk_t *pNtk, char *pFileName, int fWriteSymbols, int fCompact) |
| void | Io_WriteAigerGz (Abc_Ntk_t *pNtk, char *pFileName, int fWriteSymbols) |
| int | fprintfBz2Aig (bz2file *b, char *fmt,...) |
| void | Io_WriteAiger (Abc_Ntk_t *pNtk, char *pFileName, int fWriteSymbols, int fCompact, int fUnique) |
| ABC_NAMESPACE_IMPL_END ABC_NAMESPACE_IMPL_START void | Io_WriteAigerCex (Abc_Cex_t *pCex, Abc_Ntk_t *pNtk, void *pG, char *pFileName) |
Function*************************************************************
Synopsis [Procedure to write data into BZ2 file.]
Description [Based on the vsnprintf() man page.]
SideEffects []
SeeAlso []
| int fprintfBz2Aig | ( | bz2file * | b, |
| char * | fmt, | ||
| ... | |||
| ) |
Definition at line 588 of file ioWriteAiger.c.
|
static |
Definition at line 147 of file ioWriteAiger.c.
|
static |
DECLARATIONS ///.
CFile****************************************************************
FileName [ioWriteAiger.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Command processing package.]
Synopsis [Procedures to write binary AIGER format developed by Armin Biere, Johannes Kepler University (http://fmv.jku.at/)]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - December 16, 2006.]
Revision [
]
Definition at line 146 of file ioWriteAiger.c.
|
static |
Definition at line 148 of file ioWriteAiger.c.
| void Io_WriteAiger | ( | Abc_Ntk_t * | pNtk, |
| char * | pFileName, | ||
| int | fWriteSymbols, | ||
| int | fCompact, | ||
| int | fUnique | ||
| ) |
Function*************************************************************
Synopsis [Writes the AIG in the binary AIGER format.]
Description []
SideEffects []
SeeAlso []
Definition at line 635 of file ioWriteAiger.c.
| void Io_WriteAiger_old | ( | Abc_Ntk_t * | pNtk, |
| char * | pFileName, | ||
| int | fWriteSymbols, | ||
| int | fCompact | ||
| ) |
Function*************************************************************
Synopsis [Writes the AIG in the binary AIGER format.]
Description []
SideEffects []
SeeAlso []
Definition at line 269 of file ioWriteAiger.c.
| ABC_NAMESPACE_IMPL_END ABC_NAMESPACE_IMPL_START void Io_WriteAigerCex | ( | Abc_Cex_t * | pCex, |
| Abc_Ntk_t * | pNtk, | ||
| void * | pG, | ||
| char * | pFileName | ||
| ) |
Function*************************************************************
Synopsis [Writes the AIG in the binary AIGER format.]
Description []
SideEffects []
SeeAlso []
Definition at line 880 of file ioWriteAiger.c.
| int Io_WriteAigerEncode | ( | unsigned char * | pBuffer, |
| int | Pos, | ||
| unsigned | x | ||
| ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Adds one unsigned AIG edge to the output buffer.]
Description [This procedure is a slightly modified version of Armin Biere's procedure "void encode (FILE * file, unsigned x)" ]
SideEffects [Returns the current writing position.]
SeeAlso []
Definition at line 166 of file ioWriteAiger.c.
| void Io_WriteAigerGz | ( | Abc_Ntk_t * | pNtk, |
| char * | pFileName, | ||
| int | fWriteSymbols | ||
| ) |
Function*************************************************************
Synopsis [Writes the AIG in the binary AIGER format.]
Description []
SideEffects []
SeeAlso []
Definition at line 436 of file ioWriteAiger.c.
Function*************************************************************
Synopsis [Create the array of literals to be written.]
Description []
SideEffects []
SeeAlso []
Definition at line 193 of file ioWriteAiger.c.
Function*************************************************************
Synopsis [Creates the binary encoded array of literals.]
Description []
SideEffects []
SeeAlso []
Definition at line 223 of file ioWriteAiger.c.