Commit 3b4e9573 by Alan Mishchenko

Small bug in the unused code.

parent 623b5e82
...@@ -730,7 +730,7 @@ Vec_Str_t * Scl_LibertyReadGenlibStr( Scl_Tree_t * p, int fVerbose ) ...@@ -730,7 +730,7 @@ Vec_Str_t * Scl_LibertyReadGenlibStr( Scl_Tree_t * p, int fVerbose )
// iterate through output pins // iterate through output pins
Scl_ItemForEachChildName( p, pCell, pOutput, "pin" ) Scl_ItemForEachChildName( p, pCell, pOutput, "pin" )
{ {
if ( (pFormula = Scl_LibertyReadPinFormula(p, pOutput)) ) if ( !(pFormula = Scl_LibertyReadPinFormula(p, pOutput)) )
continue; continue;
if ( !strcmp(pFormula, "0") || !strcmp(pFormula, "1") ) if ( !strcmp(pFormula, "0") || !strcmp(pFormula, "1") )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment