Tricky problem in creation of Pcell Symbol

Yes Stephane.
That's it !

Merci beaucoup, bonne journee.

Sylvain
 
(pcDefinePCell (list (ddGetObj "MYLIB") "MYDEVICE" "symbol")
(
(Fix string "Default")
)
(let (
(cv pcCellView)
)
(dbCreateLine cv (list "device" "drawing") (list 0:0 2:0))
)
)
The first argument to pcDefinePCell has an optional fourth entry, the viewType. It defaults to
maskLayout - makes sense, most pcells are layout cells - however if you want a schematic or symbol,
you should specify it as "schematic" or "schematicSymbol".

In your case,

(pcDefinePCell (list (ddGetObj "MYLIB") "MYDEVICE" "symbol" "schematicSymbol") ... )

Other than that, I do not see a problem here.


Stéphane
 
S

Sylvain

Guest
Hello,

I am trying to create a new symbol in my database, this symbol should
be a Pcell in order to change its appearance depending on users
parameters.

This creation works well, as I can see my new symbol in the library
browser, but when I want to instanciate it it in a schematic, it
doesnt work anymore and all my device views(layout, symbol) don't
appear anymore in the browser.
I have to tell that if I open a layoutm and try to instanciate my
device, the browser shows both layout and symbol views (and both can
be instanciated)...

So i'm wondering if I'm not doing something wrong.

Here is a sample code that show my problem :

(pcDefinePCell (list (ddGetObj "MYLIB") "MYDEVICE" "symbol")
(
(Fix string "Default")
)
(let (
(cv pcCellView)
)
(dbCreateLine cv (list "device" "drawing") (list 0:0 2:0))
)
)

Do you see something in this code, or anywhere else , that can lead to
my problem ?


Thank you for your time.


Sylvain
 

Welcome to EDABoard.com

Sponsor

Back
Top