I did a comparison script that compare Xyce and ngspice results for different type of sweeps. I tried dc sweep for sky130_fd_pr__nfet_01v8 for tt corner simulating all Bins w and L in the model and i found max error between the two simulators was 0.033%
Here is the link for comparison script and results.
https://github.com/mabrains/xyce_sky130/tree/main/testcases/xyce_vs_ngspice@User@User@User@User
👍 2
image.png
m
Matthew Guthaus
10/17/2021, 10:06 PM
Very cool. For the ones that differ, is it an edge case possibly that causes this?