Changed the behavior of renaming conflicting cells from

"<name>#<num>" to "<name>__<num>", because the use of "#" is
considered illegal for cell names in GDS.
This commit is contained in:
Tim Edwards 2024-09-15 17:33:51 -04:00
parent 974621ebe7
commit 427547c927
2 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
8.3.490
8.3.491

View File

@ -2111,7 +2111,7 @@ badTransform:
}
else
{
char *newname = (char *)mallocMagic(strlen(cellname) + 6);
char *newname = (char *)mallocMagic(strlen(cellname) + 7);
int i = 0;
/* To do: Run checksum on file (not yet implemented) */
@ -2119,7 +2119,7 @@ badTransform:
while (TRUE)
{
sprintf(newname, "%s#%d", cellname, i);
sprintf(newname, "%s__%d", cellname, i);
if (DBCellLookDef(newname) == NULL) break;
i++;
}
@ -2188,7 +2188,7 @@ badTransform:
}
else
{
char *newname = (char *)mallocMagic(strlen(cellname) + 6);
char *newname = (char *)mallocMagic(strlen(cellname) + 7);
int i = 0;
/* To do: Run checksum on file (not yet implemented) */
@ -2196,7 +2196,7 @@ badTransform:
while (TRUE)
{
sprintf(newname, "%s#%d", cellname, i);
sprintf(newname, "%s__%d", cellname, i);
if (DBCellLookDef(newname) == NULL) break;
i++;
}