J
Joao Serras
Guest
Hi,
I'm trying to print a subcircuit with instance with parameters with
hspice HNL/OSS netlister. Something like this (inv cell):
x1 a b c d my_inv wp=2u wn=0.5u mp=4 mn=1
In order to do this I've:
1) created hspice view from symbol view;
2) created hnlHspiceFormatInst property with mySubcktInstPrint();
3) created hnlHspiceParamList property with list("wp" "wn" "mp" "mn");
wp, wn, mp and mn are CDF parameters for inv cell.
I expected to have access to to hnlHspiceParamList list inside
mySubcktInstPrint to print the name=value pairs:
foreach(val hnlHspiceParamList
hnlPrintString(
sprintf(nil "%s=%s"
val
hnlGetPropVal(val hnlCurrentInst~>cellView hnlCurrentInst)
)
)
)
but for some reason hnlHspiceParamList isn't available.
Is there an easy way to do this besides actually opening the hspice
cell view and extract this info?
Help, please...
Joao Serras
I'm trying to print a subcircuit with instance with parameters with
hspice HNL/OSS netlister. Something like this (inv cell):
x1 a b c d my_inv wp=2u wn=0.5u mp=4 mn=1
In order to do this I've:
1) created hspice view from symbol view;
2) created hnlHspiceFormatInst property with mySubcktInstPrint();
3) created hnlHspiceParamList property with list("wp" "wn" "mp" "mn");
wp, wn, mp and mn are CDF parameters for inv cell.
I expected to have access to to hnlHspiceParamList list inside
mySubcktInstPrint to print the name=value pairs:
foreach(val hnlHspiceParamList
hnlPrintString(
sprintf(nil "%s=%s"
val
hnlGetPropVal(val hnlCurrentInst~>cellView hnlCurrentInst)
)
)
)
but for some reason hnlHspiceParamList isn't available.
Is there an easy way to do this besides actually opening the hspice
cell view and extract this info?
Help, please...
Joao Serras