#include <time.h>#include <stdarg.h>#include <stdlib.h>#include <assert.h>#include <stdio.h>#include <string.h>#include "abc_namespaces.h"
Go to the source code of this file.
Macros | |
| #define | ABC_USE_BRIDGE |
| INCLUDES ///. | |
| #define | ABC_DLLIMPORT |
| #define | ABC_DLL ABC_DLLIMPORT |
| #define | ___unused |
| #define | ABC_CONST(number) |
| PARAMETERS ///. | |
| #define | ABC_INFINITY (1000000000) |
| MACRO DEFINITIONS ///. | |
| #define | ABC_INT_MAX (2147483647) |
| #define | ABC_SWAP(Type, a, b) |
| #define | ABC_PRT(a, t) |
| #define | ABC_PRTr(a, t) |
| #define | ABC_PRTn(a, t) |
| #define | ABC_PRTP(a, t, T) |
| #define | ABC_PRM(a, f) |
| #define | ABC_PRMr(a, f) |
| #define | ABC_PRMn(a, f) |
| #define | ABC_PRMP(a, f, F) |
| #define | ABC_ALLOC(type, num) |
| #define | ABC_CALLOC(type, num) |
| #define | ABC_FALLOC(type, num) |
| #define | ABC_FREE(obj) |
| #define | ABC_REALLOC(type, obj, num) |
| #define | APPLE_MACH 0 |
| #define | APPLE_MACH 0 |
| #define | BRIDGE_NETLIST 106 |
| #define | BRIDGE_ABS_NETLIST 107 |
Typedefs | |
| typedef ABC_UINT64_T | word |
| typedef ABC_INT64_T | iword |
| typedef ABC_INT64_T | abctime |
Enumerations | |
| enum | Abc_VerbLevel { ABC_PROMPT = -2 , ABC_ERROR = -1 , ABC_WARNING = 0 , ABC_STANDARD = 1 , ABC_VERBOSE = 2 } |
Functions | |
| int | Gia_ManToBridgeText (FILE *pFile, int Size, unsigned char *pBuffer) |
| int | Gia_ManToBridgeAbsNetlist (FILE *pFile, void *p, int pkg_type) |
| char * | vnsprintf (const char *format, va_list args) |
| char * | nsprintf (const char *format,...) |
| void | Abc_MergeSort (int *pInput, int nSize) |
| int * | Abc_MergeSortCost (int *pCosts, int nSize) |
| void | Abc_MergeSortCost2 (int *pInput, int nSize, int *pCost) |
| void | Abc_MergeSortCost2Reverse (int *pInput, int nSize, int *pCost) |
| void | Abc_QuickSort1 (word *pData, int nSize, int fDecrease) |
| void | Abc_QuickSort2 (word *pData, int nSize, int fDecrease) |
| void | Abc_QuickSort3 (word *pData, int nSize, int fDecrease) |
| void | Abc_QuickSortCostData (int *pCosts, int nSize, int fDecrease, word *pData, int *pResult) |
| int * | Abc_QuickSortCost (int *pCosts, int nSize, int fDecrease) |
| unsigned | Abc_Random (int fReset) |
| word | Abc_RandomW (int fReset) |
| void | Util_ProcessThreads (int(*pUserFunc)(void *), void *vData, int nProcs, int TimeOut, int fVerbose) |
| DECLARATIONS ///. | |
| #define ___unused |
Definition at line 64 of file abc_global.h.
| #define ABC_ALLOC | ( | type, | |
| num ) |
| #define ABC_CALLOC | ( | type, | |
| num ) |
| #define ABC_CONST | ( | number | ) |
PARAMETERS ///.
BASIC TYPES /// Pointer difference type; replacement for ptrdiff_t. This is a signed integral type that is the same size as a pointer. NOTE: This type may be different sizes on different platforms. Unsigned integral type that can contain a pointer. This is an unsigned integral type that is the same size as a pointer. NOTE: This type may be different sizes on different platforms. Signed integral type that can contain a pointer. This is a signed integral type that is the same size as a pointer. NOTE: This type may be different sizes on different platforms. 64-bit signed integral type. 64-bit unsigned integral type.
Definition at line 240 of file abc_global.h.
| #define ABC_DLL ABC_DLLIMPORT |
Definition at line 57 of file abc_global.h.
| #define ABC_DLLIMPORT |
Definition at line 53 of file abc_global.h.
| #define ABC_FALLOC | ( | type, | |
| num ) |
| #define ABC_FREE | ( | obj | ) |
Definition at line 267 of file abc_global.h.
| #define ABC_INFINITY (1000000000) |
MACRO DEFINITIONS ///.
Definition at line 250 of file abc_global.h.
| #define ABC_INT_MAX (2147483647) |
Definition at line 251 of file abc_global.h.
| #define ABC_PRM | ( | a, | |
| f ) |
Definition at line 259 of file abc_global.h.
| #define ABC_PRMn | ( | a, | |
| f ) |
Definition at line 261 of file abc_global.h.
| #define ABC_PRMP | ( | a, | |
| f, | |||
| F ) |
Definition at line 262 of file abc_global.h.
| #define ABC_PRMr | ( | a, | |
| f ) |
Definition at line 260 of file abc_global.h.
| #define ABC_PRT | ( | a, | |
| t ) |
Definition at line 255 of file abc_global.h.
| #define ABC_PRTn | ( | a, | |
| t ) |
Definition at line 257 of file abc_global.h.
| #define ABC_PRTP | ( | a, | |
| t, | |||
| T ) |
Definition at line 258 of file abc_global.h.
| #define ABC_PRTr | ( | a, | |
| t ) |
Definition at line 256 of file abc_global.h.
| #define ABC_REALLOC | ( | type, | |
| obj, | |||
| num ) |
Definition at line 268 of file abc_global.h.
| #define ABC_SWAP | ( | Type, | |
| a, | |||
| b ) |
Definition at line 253 of file abc_global.h.
| #define ABC_USE_BRIDGE |
INCLUDES ///.
CFile****************************************************************
FileName [abc_global.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Global declarations.]
Synopsis [Global declarations.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - Jan 30, 2009.]
Revision [
]
Definition at line 29 of file abc_global.h.
| #define APPLE_MACH 0 |
| #define APPLE_MACH 0 |
| #define BRIDGE_ABS_NETLIST 107 |
Definition at line 387 of file abc_global.h.
| #define BRIDGE_NETLIST 106 |
Definition at line 386 of file abc_global.h.
| typedef ABC_INT64_T abctime |
Definition at line 332 of file abc_global.h.
| typedef ABC_INT64_T iword |
Definition at line 244 of file abc_global.h.
| typedef ABC_UINT64_T word |
Definition at line 243 of file abc_global.h.
| enum Abc_VerbLevel |
| Enumerator | |
|---|---|
| ABC_PROMPT | |
| ABC_ERROR | |
| ABC_WARNING | |
| ABC_STANDARD | |
| ABC_VERBOSE | |
Definition at line 373 of file abc_global.h.
|
extern |
Function*************************************************************
Synopsis [Returns the sorted array of integers.]
Description [This procedure is about 10% faster than qsort().]
SideEffects []
SeeAlso []
Definition at line 129 of file utilSort.c.


|
extern |
Function*************************************************************
Synopsis [Sorting procedure.]
Description [Returns permutation for the non-decreasing order of costs.]
SideEffects []
SeeAlso []
Definition at line 442 of file utilSort.c.


|
extern |
Function*************************************************************
Synopsis [Returns the sorted array of integers.]
Description [This procedure is about 10% faster than qsort().]
SideEffects []
SeeAlso []
Definition at line 231 of file utilSort.c.

|
extern |
Function*************************************************************
Synopsis [Returns the sorted array of integers.]
Description [This procedure is about 10% faster than qsort().]
SideEffects []
SeeAlso []
Definition at line 333 of file utilSort.c.


|
extern |
Definition at line 681 of file utilSort.c.


|
extern |
Definition at line 866 of file utilSort.c.

|
extern |
Definition at line 884 of file utilSort.c.


|
extern |
Definition at line 923 of file utilSort.c.


|
extern |
Function*************************************************************
Synopsis [Wrapper around QuickSort to sort entries based on cost.]
Description []
SideEffects []
SeeAlso []
Definition at line 914 of file utilSort.c.


|
extern |
Definition at line 1004 of file utilSort.c.
|
extern |
Definition at line 1022 of file utilSort.c.


|
extern |
Definition at line 192 of file utilBridge.c.


|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 171 of file utilBridge.c.

|
extern |
Definition at line 233 of file utilFile.c.

|
extern |
DECLARATIONS ///.
CFile****************************************************************
FileName [utilPth.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Generic interface to pthreads.]
Synopsis [Generic interface to pthreads.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - August 3, 2024.]
Revision [
] FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 70 of file utilPth.c.

|
extern |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso [] Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 196 of file utilFile.c.
