You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to demonstrate it, i added two transistors to the ihp-sg13g2/libs.tech/xschem/sg13g2_tests_xyce/ac_lv_nmosrf.sch. one with m=10 and the other with w=10u (standard is 1u).
i would expect similar results, but the m=10 device looks exactly like the m=1 device with the same w...
I can confirm that multiplier didn't work with Xyce. It seems that Xyce can not change parameter "m" in subckt call.
Changing this parameter name to "mult" or something else will work as in following script:
`psp103 nch transfer
vd d 0 dc 0.1
vg g 0 dc 0.0
vb b 0 dc 0.0
XPSP103_VA d g 0 b psp_sub w=10u l=1u mult=2
.subckt psp_sub d g s b w=10u l=1u mult=1
YPSP103_VA m1 d g s b nch l='l' w='w' mult='mult'
.ends
Xyce team has agreed that the parser has a bug.
Change parameter name to mult instead m for symbols and subckt definitions for xyce and ngspice lib's is preferable. Positive side effect is that the meaning for the user is unique.
to demonstrate it, i added two transistors to the
ihp-sg13g2/libs.tech/xschem/sg13g2_tests_xyce/ac_lv_nmosrf.sch
. one with m=10 and the other with w=10u (standard is 1u).i would expect similar results, but the m=10 device looks exactly like the m=1 device with the same w...
ac_lv_nmosrf_mult_Xyce.sch.zip
my simulation command is
Xyce -plugin $env(PDK_ROOT)/$env(PDK)/libs.tech/xyce/plugins/Xyce_Plugin_PSP103_VA.so "$N"
The text was updated successfully, but these errors were encountered: