bu-bu wrote:
> First i create:
> d_net = dbCreateNet(pcCellview "PLUS")
>
> and
> d_term = dbCreateTerm(d_net "PLUS" "inputOutput")
>
> But i don't know how to create/define the missing parameter, i mean
> d_inst ??
> I think i must use dbCreateInst, to get d_inst, but it seems that i
> can use it only for existing cells. It's not my case.
>
> I use rodCreateRect in my pcell, to draw shape of poly.
>
> Or just to use dbCreatePin ?? I think it's not enough to perform what
> i need.
It is. If I understand you correctly... instTerms are used to define the
connections to an instance.
You would create instTerms if you had instances in your pcell, which is
not the case.
To create pins, first create a net, then a terminal on that net, and
finally a pin on that terminal/net.
You'll just need a shape/instance to associate with the pin ; it defines
the physical connection
point. In a layout, it can be a piece of metal ; in a schematic an
instance of
basic/(ipin|opin|iopin) ; in a symbol, a simple rectangle....
Stéphane


|