mirror of https://github.com/YosysHQ/abc.git
Merge pull request #250 from wjrforcyber/typo
Refactor(Typo):Typo currently exists
This commit is contained in:
commit
743f3a7bdd
|
|
@ -1605,7 +1605,7 @@ usage:
|
||||||
Abc_Print( -2, "\t-f : toggles printing the literal count in the factored forms [default = %s]\n", fFactor? "yes": "no" );
|
Abc_Print( -2, "\t-f : toggles printing the literal count in the factored forms [default = %s]\n", fFactor? "yes": "no" );
|
||||||
Abc_Print( -2, "\t-b : toggles saving the best logic network in \"best.blif\" [default = %s]\n", fSaveBest? "yes": "no" );
|
Abc_Print( -2, "\t-b : toggles saving the best logic network in \"best.blif\" [default = %s]\n", fSaveBest? "yes": "no" );
|
||||||
Abc_Print( -2, "\t-d : toggles dumping statistics about the network into file [default = %s]\n", fDumpResult? "yes": "no" );
|
Abc_Print( -2, "\t-d : toggles dumping statistics about the network into file [default = %s]\n", fDumpResult? "yes": "no" );
|
||||||
Abc_Print( -2, "\t-l : toggles printing delay of LUT mapping using LUT library [default = %s]\n", fSaveBest? "yes": "no" );
|
Abc_Print( -2, "\t-l : toggles printing delay of LUT mapping using LUT library [default = %s]\n", fUseLutLib? "yes": "no" );
|
||||||
Abc_Print( -2, "\t-t : toggles printing runtime statistics [default = %s]\n", fPrintTime? "yes": "no" );
|
Abc_Print( -2, "\t-t : toggles printing runtime statistics [default = %s]\n", fPrintTime? "yes": "no" );
|
||||||
Abc_Print( -2, "\t-m : toggles printing MUX statistics [default = %s]\n", fPrintMuxes? "yes": "no" );
|
Abc_Print( -2, "\t-m : toggles printing MUX statistics [default = %s]\n", fPrintMuxes? "yes": "no" );
|
||||||
Abc_Print( -2, "\t-p : toggles printing power dissipation due to switching [default = %s]\n", fPower? "yes": "no" );
|
Abc_Print( -2, "\t-p : toggles printing power dissipation due to switching [default = %s]\n", fPower? "yes": "no" );
|
||||||
|
|
@ -3852,7 +3852,7 @@ usage:
|
||||||
Abc_Print( -2, "usage: strash [-acrih]\n" );
|
Abc_Print( -2, "usage: strash [-acrih]\n" );
|
||||||
Abc_Print( -2, "\t transforms combinational logic into an AIG\n" );
|
Abc_Print( -2, "\t transforms combinational logic into an AIG\n" );
|
||||||
Abc_Print( -2, "\t-a : toggles between using all nodes and DFS nodes [default = %s]\n", fAllNodes? "all": "DFS" );
|
Abc_Print( -2, "\t-a : toggles between using all nodes and DFS nodes [default = %s]\n", fAllNodes? "all": "DFS" );
|
||||||
Abc_Print( -2, "\t-c : toggles cleanup to remove the dagling AIG nodes [default = %s]\n", fCleanup? "all": "DFS" );
|
Abc_Print( -2, "\t-c : toggles cleanup to remove the dangling AIG nodes [default = %s]\n", fCleanup? "all": "DFS" );
|
||||||
Abc_Print( -2, "\t-r : toggles using the record of AIG subgraphs [default = %s]\n", fRecord? "yes": "no" );
|
Abc_Print( -2, "\t-r : toggles using the record of AIG subgraphs [default = %s]\n", fRecord? "yes": "no" );
|
||||||
Abc_Print( -2, "\t-i : toggles complementing the POs of the AIG [default = %s]\n", fComplOuts? "yes": "no" );
|
Abc_Print( -2, "\t-i : toggles complementing the POs of the AIG [default = %s]\n", fComplOuts? "yes": "no" );
|
||||||
Abc_Print( -2, "\t-h : print the command usage\n");
|
Abc_Print( -2, "\t-h : print the command usage\n");
|
||||||
|
|
@ -9786,8 +9786,7 @@ usage:
|
||||||
Abc_Print( -2, "\t synthesizes the smallest circuit composed of two-input gates\n" );
|
Abc_Print( -2, "\t synthesizes the smallest circuit composed of two-input gates\n" );
|
||||||
Abc_Print( -2, "\t for the only NPN class of 5-input functions that requires 12 gates;\n" );
|
Abc_Print( -2, "\t for the only NPN class of 5-input functions that requires 12 gates;\n" );
|
||||||
Abc_Print( -2, "\t all other functions can be realized with 11 two-input gates or less\n" );
|
Abc_Print( -2, "\t all other functions can be realized with 11 two-input gates or less\n" );
|
||||||
Abc_Print( -2, "\t (see Section 7.1.2 \"Boolean evaluation\" in the book by Donald Knuth\n" );
|
Abc_Print( -2, "\t (see Section 7.1.2 \"Boolean evaluation\" in the book The Art of Computer Programming by Donald Knuth)\n" );
|
||||||
Abc_Print( -2, "\t http://www.cs.utsa.edu/~wagner/knuth/fasc0c.pdf)\n" );
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -430,10 +430,10 @@ Abc_Obj_t * Abc_NtkBddCurtis( Abc_Ntk_t * pNtkNew, Abc_Obj_t * pNode, Vec_Ptr_t
|
||||||
int b, c, u, i;
|
int b, c, u, i;
|
||||||
assert( nBits + 2 <= nLutSize );
|
assert( nBits + 2 <= nLutSize );
|
||||||
assert( nLutSize < Abc_ObjFaninNum(pNode) );
|
assert( nLutSize < Abc_ObjFaninNum(pNode) );
|
||||||
// start BDDs for the decompoosed blocks
|
// start BDDs for the decomposed blocks
|
||||||
for ( b = 0; b < nBits; b++ )
|
for ( b = 0; b < nBits; b++ )
|
||||||
bBits[b] = Cudd_ReadLogicZero(ddNew), Cudd_Ref( bBits[b] );
|
bBits[b] = Cudd_ReadLogicZero(ddNew), Cudd_Ref( bBits[b] );
|
||||||
// add each bound set minterm to one of the blccks
|
// add each bound set minterm to one of the blocks
|
||||||
Vec_PtrForEachEntry( DdNode *, vCofs, bCof, c )
|
Vec_PtrForEachEntry( DdNode *, vCofs, bCof, c )
|
||||||
{
|
{
|
||||||
Vec_PtrForEachEntry( DdNode *, vUniq, bUniq, u )
|
Vec_PtrForEachEntry( DdNode *, vUniq, bUniq, u )
|
||||||
|
|
|
||||||
|
|
@ -433,14 +433,14 @@ Abc_Ntk_t * Io_ReadAiger( char * pFileName, int fCheck )
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
assert( Init == Abc_Var2Lit(1+Abc_NtkPiNum(pNtkNew)+i, 0) );
|
assert( Init == Abc_Var2Lit(1+Abc_NtkPiNum(pNtkNew)+i, 0) );
|
||||||
// unitialized value of the latch is the latch literal according to http://fmv.jku.at/hwmcc11/beyond1.pdf
|
// uninitialized value of the latch is the latch literal according to http://fmv.jku.at/hwmcc11/beyond1.pdf
|
||||||
Abc_LatchSetInitDc( Abc_NtkBox(pNtkNew, i) );
|
Abc_LatchSetInitDc( Abc_NtkBox(pNtkNew, i) );
|
||||||
}
|
}
|
||||||
while ( *pCur != ' ' && *pCur != '\n' ) pCur++;
|
while ( *pCur != ' ' && *pCur != '\n' ) pCur++;
|
||||||
}
|
}
|
||||||
if ( *pCur != '\n' )
|
if ( *pCur != '\n' )
|
||||||
{
|
{
|
||||||
fprintf( stdout, "The initial value of latch number %d is not recongnized.\n", i );
|
fprintf( stdout, "The initial value of latch number %d is not recognized.\n", i );
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
pCur++;
|
pCur++;
|
||||||
|
|
|
||||||
|
|
@ -680,7 +680,7 @@ void Io_WriteAiger( Abc_Ntk_t * pNtk, char * pFileName, int fWriteSymbols, int f
|
||||||
b.f = fopen( pFileName, "wb" );
|
b.f = fopen( pFileName, "wb" );
|
||||||
if ( b.f == NULL )
|
if ( b.f == NULL )
|
||||||
{
|
{
|
||||||
fprintf( stdout, "Ioa_WriteBlif(): Cannot open the output file \"%s\".\n", pFileName );
|
fprintf( stdout, "Io_WriteAiger(): Cannot open the output file \"%s\".\n", pFileName );
|
||||||
ABC_FREE(b.buf);
|
ABC_FREE(b.buf);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -688,7 +688,7 @@ void Io_WriteAiger( Abc_Ntk_t * pNtk, char * pFileName, int fWriteSymbols, int f
|
||||||
b.b = BZ2_bzWriteOpen( &bzError, b.f, 9, 0, 0 );
|
b.b = BZ2_bzWriteOpen( &bzError, b.f, 9, 0, 0 );
|
||||||
if ( bzError != BZ_OK ) {
|
if ( bzError != BZ_OK ) {
|
||||||
BZ2_bzWriteClose( &bzError, b.b, 0, NULL, NULL );
|
BZ2_bzWriteClose( &bzError, b.b, 0, NULL, NULL );
|
||||||
fprintf( stdout, "Ioa_WriteBlif(): Cannot start compressed stream.\n" );
|
fprintf( stdout, "Io_WriteAiger(): Cannot start compressed stream.\n" );
|
||||||
fclose( b.f );
|
fclose( b.f );
|
||||||
ABC_FREE(b.buf);
|
ABC_FREE(b.buf);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -237,7 +237,7 @@ extern void Bbl_ManDumpBinaryBlif( Bbl_Man_t * p, char * pFileName );
|
||||||
// (3) reading the data manager from file
|
// (3) reading the data manager from file
|
||||||
extern Bbl_Man_t * Bbl_ManReadBinaryBlif( char * pFileName );
|
extern Bbl_Man_t * Bbl_ManReadBinaryBlif( char * pFileName );
|
||||||
|
|
||||||
// (4) returning the mapped network after reading the data manaager from file
|
// (4) returning the mapped network after reading the data manager from file
|
||||||
extern char * Bbl_ManName( Bbl_Man_t * p );
|
extern char * Bbl_ManName( Bbl_Man_t * p );
|
||||||
extern int Bbl_ObjIsInput( Bbl_Obj_t * p );
|
extern int Bbl_ObjIsInput( Bbl_Obj_t * p );
|
||||||
extern int Bbl_ObjIsOutput( Bbl_Obj_t * p );
|
extern int Bbl_ObjIsOutput( Bbl_Obj_t * p );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue