Stefan Schippers
04/27/2022, 7:17 AM.param A=3 B=5 C=B+A
?Tim Edwards
04/27/2022, 1:03 PMXM10 out in VDD VDD sky130_fd_pr__pfet_g5v0d10v5 L=0.5 W=8 nf=2
+ ad='int((nf+1)/2) * W/nf * 0.29'
+ as='int((nf+2)/2) * W/nf * 0.29'
+ pd='2*int((nf+1)/2) * (W/nf + 0.29)'
+ ps='2*int((nf+2)/2) * (W/nf + 0.29)'
+ nrd='0.29 / W' nrs='0.29 / W'
+ sa=0 sb=0 sd=0 mult=1 m=1
and that was previously failing in Xyce, but now works correctly if you have the most recent version of Xyce compiled from git source.Eric Keiter
04/27/2022, 5:48 PM.param A=3 B=5 C=B+A
has always worked in Xyce, as Xyce will parse that as being the equivalent as 3 separate .param
statements. The use case we recently fixed had to do specifically with subcircuit parameter specified on an “X” line being allowed to refer to each other.Eric Keiter
04/27/2022, 5:48 PMm1 2 1 0 0 p1 L=0.35u W=2*L
wouldn’t work, and that is still the case. But “X” lines are a special case, so they are now treated differently.Stefan Schippers
04/27/2022, 9:03 PMTim Edwards
04/27/2022, 9:05 PM