Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

problem to parse m as subckt parameter for multiplier

17 views
Skip to first unread message

Dietmar Warning

unread,
Feb 9, 2025, 8:56:53 AMFeb 9
to xyce-users
In following circuit Xyce (v7.9) did not recognize subckt parameter m:

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 m=2
.subckt psp_sub d g s b w=10u l=1u m=1
YPSP103_VA m1  d g s b nch l='l' w='w' m='m'
.ends
.step  vb -3 0 0.5
.dc vg 0 1.5 0.02
.print dc format=gnuplot v(g) i(vd)
.model nch psp103_va type=1
.end

Changing m=1 in mult=1 in subckt parameter and mult=mult in device instantiation everything is fine. Seemes a special handling of single letter "m" in parser stage.
Reply all
Reply to author
Forward
0 new messages