diff options
Diffstat (limited to 'src/base/abci/abcGen.c')
-rw-r--r-- | src/base/abci/abcGen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/abci/abcGen.c b/src/base/abci/abcGen.c index 7c18ca2c..e40c21d6 100644 --- a/src/base/abci/abcGen.c +++ b/src/base/abci/abcGen.c @@ -131,7 +131,7 @@ void Abc_GenSorter( char * pFileName, int nVars ) fprintf( pFile, " y%02d=%0*d", k, nDigits, Counter++ ); fprintf( pFile, "\n" ); Counter -= nVars; - for ( i = 1; i < nVars-2; i++ ) + for ( i = 1; i < 2*nVars-2; i++ ) { fprintf( pFile, ".subckt Layer%d", (i&1) ); for ( k = 0; k < nVars; k++ ) |