mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-05 00:51:01 +02:00
Several bug-fixed related to synthesis, library handling, and timimg info.
This commit is contained in:
@@ -75,12 +75,13 @@ char * Mio_SopRegister( Mem_Flex_t * pMan, char * pName )
|
||||
***********************************************************************/
|
||||
int Mio_GateCollectNames( char * pFormula, char * pPinNames[] )
|
||||
{
|
||||
char Buffer[1000];
|
||||
char * Buffer;
|
||||
char * pTemp;
|
||||
int nPins, i;
|
||||
|
||||
// save the formula as it was
|
||||
strcpy( Buffer, pFormula );
|
||||
//strcpy( Buffer, pFormula );
|
||||
Buffer = Abc_UtilStrsav( pFormula );
|
||||
|
||||
// remove the non-name symbols
|
||||
for ( pTemp = Buffer; *pTemp; pTemp++ )
|
||||
@@ -106,6 +107,7 @@ int Mio_GateCollectNames( char * pFormula, char * pPinNames[] )
|
||||
// get the next name
|
||||
pTemp = strtok( NULL, " " );
|
||||
}
|
||||
ABC_FREE( Buffer );
|
||||
return nPins;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user