mirror of https://github.com/YosysHQ/abc.git
parent
ec8419c84b
commit
39f6fbb052
|
|
@ -1035,7 +1035,7 @@ void Pdr_OutputCexToDir( Pdr_Par_t * pPars, Abc_Cex_t * pCex )
|
||||||
FILE * pCexFile;
|
FILE * pCexFile;
|
||||||
|
|
||||||
iCexPathSize = snprintf( NULL, 0, "%s%d.aiw", pPars->pCexFilePrefix, pCex->iPo ) + 1;
|
iCexPathSize = snprintf( NULL, 0, "%s%d.aiw", pPars->pCexFilePrefix, pCex->iPo ) + 1;
|
||||||
pCexPath = (char *)malloc( iCexPathSize );
|
pCexPath = malloc( iCexPathSize );
|
||||||
snprintf( pCexPath, iCexPathSize, "%s%d.aiw", pPars->pCexFilePrefix, pCex->iPo );
|
snprintf( pCexPath, iCexPathSize, "%s%d.aiw", pPars->pCexFilePrefix, pCex->iPo );
|
||||||
Abc_Print( 1, "Writing CEX for output %d to %s\n", pCex->iPo, pCexPath );
|
Abc_Print( 1, "Writing CEX for output %d to %s\n", pCex->iPo, pCexPath );
|
||||||
pCexFile = fopen( pCexPath, "w" );
|
pCexFile = fopen( pCexPath, "w" );
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue