Cadence error while loading skill file for Pcell

Status
Not open for further replies.

simongu89

Newbie level 4
Joined
May 18, 2012
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,326
Hi everyone,

I am writing a skill file to generate a Pcell

In the command window I type: load ("/home/guhao/IC51_NCSU/g_test/a.il") in the command window (a.il is my skill file)

but receive the following error:

*Error* range: argument #1 should be a number (type template = "n") - nil
*Error* load: error while loading file - "/home/guhao/IC51_NCSU/g_test/a.il"

I am so confused about this error. Is there anybody who can give me some suggestion? Thank you so much!!!

my skill file: (a.il)
pcDefinePCell(list( ddGetObj( "g_test") "nmos2_SKILL" "layout")
(
(p1 float 1.0)
(p2 float 1.0)
(p3 float 2.0)
(p4 float 2.0)
)

let((p1 p2 p3 p4)

dbCreateRect( pcCellView list( "metal1" "drawing") list( p12 p34 ))

dbReplaceProp( pcCellView "instNamePrefix" "string" "nmos2_SKILL")

t
)
)
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…