<@U01SBMJT5BP> We've been working to use agauss in...
# xyce
m
@User We've been working to use agauss in the skywater libraries for enabling MC. Right now they are disabled since a parameter is set to 0 to exclude it. However, we still get a lot of warnings (errors actually, because Xyce quits) like this
Copy code
Netlist warning in file
 /software/PDKs/sky130A/libs.tech/xyce/../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__pfet_01v8__tt.pm3.spice
 at or near line 33
 Device instance
 XSKY130_FD_BD_SRAM__OPENRAM_DFF:X1020:MSKY130_FD_PR__PFET_01V8: Source
 conductance reset to 1.0e3 mho
Netlist warning in file
 /software/PDKs/sky130A/libs.tech/xyce/../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__pfet_01v8__tt.pm3.spice
 at or near line 33
 Device instance
 XSKY130_FD_BD_SRAM__OPENRAM_DFF:X1020:MSKY130_FD_PR__PFET_01V8: Drain
 conductance reset to 1.0e3 mho
 ...
Netlist error in file
 /software/PDKs/sky130A/libs.tech/xyce/../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__pfet_01v8__tt.pm3.spice
 at or near line 33
 Device instance
 XSKY130_FD_BD_SRAM__OPENRAM_DFF:X1020:MSKY130_FD_PR__PFET_01V8: mosfet
 XSKY130_FD_BD_SRAM__OPENRAM_DFF:X1020:MSKY130_FD_PR__PFET_01V8 model
 XSKY130_FD_BD_SRAM__OPENRAM_DFF:X1020:SKY130_FD_PR__PFET_01V8__MODEL.26
  Effective channel width <= 0
Netlist warning in file
 /software/PDKs/sky130A/libs.tech/xyce/../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__pfet_01v8__tt.pm3.spice
 at or near line 33
 Device instance
 XSKY130_FD_BD_SRAM__OPENRAM_DFF:X1020:MSKY130_FD_PR__PFET_01V8: Source
 conductance reset to 1.0e3 mho
The difference between the functioning and non-functioning models are things like this (but also for vth0 and other parameters):
Copy code
< + toxe = {4.23e-09+MC_MM_SWITCH*AGAUSS(0,1.0,1)*(4.23e-09*(sky130_fd_pr__pfet_01v8__toxe_slope/sqrt(l*w*mult)))}
---
> + toxe = {4.23e-09+sky130_fd_pr__pfet_01v8__toxe_slope_spectre*(4.23e-09*(sky130_fd_pr__pfet_01v8__toxe_slope/sqrt(l*w*mult)))}
The second works but the first doesn't (MC_MM_SWITCH is 0, sky130_fd_pr__pfet__01v8__toxe__slope_spectre is also 0). Any idea what is the issue?