How would you write then a NMOS with m=2 in the ne...
# xyce
m
How would you write then a NMOS with m=2 in the netlist? @User
t
Disregarding the complication of fingered devices, you would want to specify "M=2 mult=2".
m
Still need to check Xyce manual, but I am not sure if Xyce subcircuits automatically understand m parameter as denoting multiplicity.
I checked and I can't find any reference to a default M parameter for subcircuits in Xyce. The way I changed the interface, a single MULT=2 parameter would be sufficient to define parallel MOSFET devices. Of course, adding a default M parameter to subcircuit definitions might have been quite useful.
t
Parameter M for subcircuits is implicit.
m
Are you sure? I can't find any reference in Xyce manual.
In any case, trying to keep track of two parameters is error-prone.
This the reply I got from Eric Keiter regarding multiplicity factor issue: Unfortunately, Xyce doesn't yet support the m= multiplier for subcircuits. Xyce currently only supports it on the device level, in some devices.
e
Hi all, sorry that I’m late to this discussion. I can confirm that Xyce does not currently support the m= multiplier for subcircuits. This is an issue that is in our issue tracker but hasn’t been resolved yet.
m
Hi Eric, I wonder if a netlist preprocessor could be the way forward including the array notation as in the Cadence virtuoso.
t
@Eric Keiter: Lack of M = for subcircuits is a serious problem especially for technologies like SkyWater where all the low-level devices like transistors are represented by subcircuits. Fortunately magic doesn't output M by default, so at least magic-extracted layouts should be okay. Everything else, though. . .
e
@Tim Edwards thanks for the info. This has come recently with our internal users as well for another PDK. So, we’ll have to fix this soon. It has been in our issue tracker since earlier this year, but wasn’t prioritized until now.
m
@Amro Tork
a
@Eric Keiter I was wondering when you would be able to have a version with m support for transistors? We are building a regression here to compare ng-spice and Xyce simulation results on basic circuits:
e
@Amro Tork I believe Xyce supports the
M=
multiplier for all MOSFET models already. The main thing missing is support for multiplier on subcircuits. That is something I’m working on adding now.
a
Thanks @Eric Keiter. Appreciate all the help
I’ll wrap a testcase for you to show that m seems to not be working.
e
thanks!
a
@Eric Keiter Just to confirm here
Is M multiplayer or divisor?
Image from iOS.jpg
Like it takes W and divide it by M or W total is W * M
?
Just to confirm
e
M is supposed to be a scalar multiplier. It should increase the size of the current coming out at each terminal of the device. So it effectively scales the area.
a
@Mustafa Ahmad please read Eric note above
@Eric Keiter thanks for your help. We will update the test case and send it to you.