Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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( p1:p2 p3:p4 ))

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

t
)
)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top