summaryrefslogtreecommitdiffstats
path: root/src/map
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2015-09-23 18:44:07 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2015-09-23 18:44:07 -0700
commitf1bc34689459b984f4b2bbb269a098d7016d7e99 (patch)
treead537385630027a5b3ff1f621894965848349edf /src/map
parenta84c8174e73882f0cdd6433ca27b8222e87dbaa2 (diff)
downloadabc-f1bc34689459b984f4b2bbb269a098d7016d7e99.tar.gz
abc-f1bc34689459b984f4b2bbb269a098d7016d7e99.tar.bz2
abc-f1bc34689459b984f4b2bbb269a098d7016d7e99.zip
Several bug-fixed related to synthesis, library handling, and timimg info.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mio/mioFunc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/mio/mioFunc.c b/src/map/mio/mioFunc.c
index 59df45f5..536f5496 100644
--- a/src/map/mio/mioFunc.c
+++ b/src/map/mio/mioFunc.c
@@ -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;
}