Go to the source code of this file.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso [] 
Definition at line 71 of file rwrTemp.c.
   80     pFile = fopen( 
"nnclass_stats5.txt", 
"r" );
 
   81     for ( i = 0; i < 13719; i++ )
 
   83         int RetValue = fscanf( pFile, 
"%s%d", Buffer, &
pFreqs[i] );
 
   89     for ( i = 0; i < 13719; i++ )
 
   92     qsort( (
void *)
pPerm, 13719, 
sizeof(
int), 
 
   96     pFile = fopen( 
"5npn_100.blif", 
"w" );
 
   97     fprintf( pFile, 
"# Most frequent NPN classes of 5 vars.\n" );
 
   98     fprintf( pFile, 
".model 5npn\n" );
 
   99     fprintf( pFile, 
".inputs a b c d e\n" );
 
  100     fprintf( pFile, 
".outputs" );
 
  101     for ( i = 0; i < nEntries; i++ )
 
  102         fprintf( pFile, 
" %02d", i );
 
  103     fprintf( pFile, 
"\n" );
 
  105     for ( i = 0; i < nEntries; i++ )
 
  107         fprintf( pFile, 
".names a b c d e %02d\n", i );
 
  109         for ( k = 0; k < 32; k++ )
 
  110             if ( uTruth & (1 << k) )
 
  113                 fprintf( pFile, 
" 1\n" );
 
  116     fprintf( pFile, 
".end\n" );
 
static ABC_NAMESPACE_IMPL_START int pTruths[13719]
DECLARATIONS ///. 
int Rwr_TempCompare(int *pNum1, int *pNum2)
FUNCTION DEFINITIONS ///. 
void Extra_PrintBinary(FILE *pFile, unsigned Sign[], int nBits)
 
 
 
      
        
          | int Rwr_TempCompare | ( | int * | pNum1, | 
        
          |  |  | int * | pNum2 | 
        
          |  | ) |  |  | 
      
 
FUNCTION DEFINITIONS ///. 
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso [] 
Definition at line 49 of file rwrTemp.c.
   51     int Freq1 = 
pFreqs[*pNum1];
 
   52     int Freq2 = 
pFreqs[*pNum2];
 
 
 
 
DECLARATIONS ///. 
CFile****************************************************************
FileName [rwrCut.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [DAG-aware AIG rewriting package.]
Synopsis [Cut computation.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
- Id:
- rwrCut.c,v 1.00 2005/06/20 00:00:00 alanmi Exp 
] 
Definition at line 30 of file rwrTemp.c.