Changed the property attribute number used for cell instance names
from 98 (arbitrarily selected) to 61 (apparently commonly used by other tools). This should help increase compatibility with GDS files output from other tools.
This commit is contained in:
parent
df26cf1ace
commit
6e09586c54
|
|
@ -882,7 +882,8 @@ calmaElementSref(filename)
|
|||
if (rtype == CALMA_PROPATTR)
|
||||
{
|
||||
READI2(propAttrType);
|
||||
if (propAttrType == CALMA_PROP_USENAME)
|
||||
if (propAttrType == CALMA_PROP_USENAME ||
|
||||
propAttrType == CALMA_PROP_USENAME_STD)
|
||||
{
|
||||
char *s;
|
||||
|
||||
|
|
|
|||
|
|
@ -1346,7 +1346,7 @@ calmaWriteUseFunc(use, f)
|
|||
if (!calmaIsUseNameDefault(use->cu_def->cd_name, use->cu_id))
|
||||
{
|
||||
calmaOutRH(6, CALMA_PROPATTR, CALMA_I2, f);
|
||||
calmaOutI2(CALMA_PROP_USENAME, f);
|
||||
calmaOutI2(CALMA_PROP_USENAME_STD, f);
|
||||
calmaOutStringRecord(CALMA_PROPVALUE, use->cu_id, f);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@
|
|||
#define CALMA_NUMRECORDTYPES 60 /* Number of above types */
|
||||
|
||||
/* Property types defined for magic */
|
||||
#define CALMA_PROP_USENAME_STD 61 /* To record non-default cell use ids */
|
||||
#define CALMA_PROP_USENAME 98 /* To record non-default cell use ids */
|
||||
#define CALMA_PROP_ARRAY_LIMITS 99 /* To record non-default array limits */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue