I
I-F AB
Guest
Hi,
I've got some weird results when creating a pcell.
When using rodCreatePath(), I used the ?size option as below:
-------------------------------------------------------------------------------------------------------------------------------------
?size ;B spacing + 1/2 width
max(techInfo[M1]->minSpa -techInfo[M1]->encOD + techInfo[NP]-
;C spacing + 1/2 width
RING*( max(techInfo[M1]->minSpa -techInfo[M1]->encOD +
techInfo[PP]->spaOD + techInfo[PP]->encOD -
techInfo[M1]->encOD) )
-------------------------------------------------------------------------------------------------------------------------------------
This resulted in the error below:
*Error* eval: not a function - max((techInfo[M1]->minSpa) ((-& + (&-
So what I did was to create a variable to do the max() operation
outside the rodCreatePath() function, and use this variable instead,
i.e. :
-------------------------------------------------------------------------------------------------------------------------------------
BSpacing = max(techInfo[M1]->minSpa -techInfo[M1]->encOD +
techInfo[NP]->spaOD + techInfo[NP]->encOD -
techInfo[M1]->encOD)
C_BSpacing = max(techInfo[M1]->minSpa -techInfo[M1]->encOD +
techInfo[PP]->spaOD +techInfo[PP]->encOD -
techInfo[M1]->encOD)
for( RING 0 1 ;C ;B
Ring = rodCreatePath(
.......
.......
?size ;B spacing + 1/2 width
BSpacing + (RING + 1/2.0)*M1Ring +
;C spacing + 1/2 width
RING*C_BSpacing
-------------------------------------------------------------------------------------------------------------------------------------
Could anyone explain why my information became read in as an ampersand
(& sign?
I'm assuming that ROD creation commands don't handle certain functions
internally well.
Conditional commands such as if() works fine so far.
Thanks in advance.
I-FAB
I've got some weird results when creating a pcell.
When using rodCreatePath(), I used the ?size option as below:
-------------------------------------------------------------------------------------------------------------------------------------
?size ;B spacing + 1/2 width
max(techInfo[M1]->minSpa -techInfo[M1]->encOD + techInfo[NP]-
(RING + 1/2.0)*M1Ring +spaOD +
techInfo[NP]->encOD - techInfo[M1]->encOD) +
;C spacing + 1/2 width
RING*( max(techInfo[M1]->minSpa -techInfo[M1]->encOD +
techInfo[PP]->spaOD + techInfo[PP]->encOD -
techInfo[M1]->encOD) )
-------------------------------------------------------------------------------------------------------------------------------------
This resulted in the error below:
*Error* eval: not a function - max((techInfo[M1]->minSpa) ((-& + (&-
->encOD)))
So what I did was to create a variable to do the max() operation
outside the rodCreatePath() function, and use this variable instead,
i.e. :
-------------------------------------------------------------------------------------------------------------------------------------
BSpacing = max(techInfo[M1]->minSpa -techInfo[M1]->encOD +
techInfo[NP]->spaOD + techInfo[NP]->encOD -
techInfo[M1]->encOD)
C_BSpacing = max(techInfo[M1]->minSpa -techInfo[M1]->encOD +
techInfo[PP]->spaOD +techInfo[PP]->encOD -
techInfo[M1]->encOD)
for( RING 0 1 ;C ;B
Ring = rodCreatePath(
.......
.......
?size ;B spacing + 1/2 width
BSpacing + (RING + 1/2.0)*M1Ring +
;C spacing + 1/2 width
RING*C_BSpacing
-------------------------------------------------------------------------------------------------------------------------------------
Could anyone explain why my information became read in as an ampersand
(& sign?
I'm assuming that ROD creation commands don't handle certain functions
internally well.
Conditional commands such as if() works fine so far.
Thanks in advance.
I-FAB