Harald Pretl
04/20/2022, 6:28 PMngspice
and `xyce`: Have you ever thought about or planned to add a model file processing for xyce
like for ngspice
in open_pdks
?
I think about starting a student project to look into this, but if there is already something almost available that I would rather not.Tim Edwards
04/20/2022, 7:25 PM.option scale
, which I discovered a workaround which is to have two lines, one with the syntax for ngspice, and the other with the syntax for xyce. Each tool ignores the other's options; and (2) failure of xyce to handle level-3 diodes, which is a bit of a show-stopper for xyce, but which Eric Keiter promised to implement. For all other syntax differences, there was always some variation that would satisfy both ngspice and xyce.Harald Pretl
04/21/2022, 9:43 AMXM10 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
Xyce does not like the expression in the subcircuit call. Not sure what would be a proper syntax.Harald Pretl
04/21/2022, 9:48 AMTim Edwards
04/21/2022, 1:49 PM