<@U01EK2VDMDG> <@U02HV6B4QLU> I have a question re...
# ihp-sg13g2
k
@Amro Tork @Farag Elsayed I have a question regarding the HBT device and its CDL netlist. In the unit tests I could find the following:
Copy code
.SUBCKT npn13G2
Q1 C1 B1 E1 sub! npn13G2 le=900.0n we=70.00n m=1
Q2 C2 B2 E2 sub! npn13G2 le=900.0n we=70.00n m=2
Q3 C3 B3 E3 sub! npn13G2 le=900.0n we=70.00n m=4
.ENDS
however this netlist lack number of emitter
Nx
parameter and the
m
multiplier can be skipped together with
we
which has a fixed value. In the case of
npnG2l
and
npnG2v
devices there exist a second parameter
le
which has to be considered.
image.png
f
• For the
npn13G2
[Fixed Device], we track the following parameters:
AE
,
PE
, and
m
. The
AE
and
PE
values are calculated from the
we
and
le
values provided in the netlist, if not already specified. The
m
parameter represents the number of emitters. • Regarding the
Nx
and
Ny
parameters (number of columns and rows), we have agreed to ignore them. • Details for extraction: ◦ For `npn13G2`: The device will be extracted if it has the same
we
and
le
values. Therefore, the comparison will primarily focus on the
m
parameter, as
AE
and
PE
values will already match. ◦ For
npn13G2l
and `npn13G2v`: The device will be extracted if it has the same
we
value and its
le
value falls within the specified range in the documentation. In this case, the comparison will focus on the
AE
,
PE
, and
m
parameters.
• npn13G2l
• npn13G2v
• npn13G2
Info from DRM
k
Ok so
m
represents the number of emmiters
f
Yes
k
it is a little bit confusing since usually it is used as a device multiplier
f
image.png
k
could you please change it to Nx and situate it on the first place in the parameter list ?
f
I thought both are the same, no of emitters and multipliers.
Nx represents no of devices in X-direction. Nx, Ny are used to create array of the device.
k
ok, so I will stream the Nx parameter in lvs_format as m
to be compatible
lvs_format="@spiceprefix@name @pinlist @model le=@le we=70.0n m=@Nx"
f
Not sure I got that. But in lvs the
m
parameter represents the total number of devices that have same connections. So if we have BJT with Nx=3 & Ny=3, the
m
parameter will be
3*3
. In cdf, we have the
m
parameter which is different than the
Nx
But if
Ny
is fixed to be 1. The
m
parameter will be the same as
Nx
k
we do not support 2 dimensional devices, only Nx can be changed
f
Great, so yes. The
Nx
should be same as
m
k
ok, I have updated the symbols
1