IHP-GmbH / IHP-Open-PDK

130nm BiCMOS Open Source PDK, dedicated for Analog, Mixed Signal and RF Design
Apache License 2.0
418 stars 65 forks source link

Statistical modeling with parameter mc_ok #149

Open miesli opened 5 months ago

miesli commented 5 months ago

Expected Behavior

Turning on and off statistical modeling by choosing different corners

Actual Behavior

Turning on and off statistical modeling by choosing different corners PLUS option to change the sigma of the Gaussian function using mc_ok.

Fix

There are multiple options depending on the wanted behavior. The most obvious is:

Replace all mc_ok appearances with Sigma in the ngspice/models/cornerXXX.lib files

Thanks

I report this here after someone else reported this to me.

dwarning commented 5 months ago

No, this is partly a misunderstanding: In a former version of the PDK lib with different library concept mc_ok was used to switch on/off statistical simulation with Monte Carlo. Actual the selection followed by mos_tt_stat library parameter. Everything works well as we can see in attached picture: Bildschirmfoto vom 2024-06-25 15-24-21 The problem is that the name mc_ok is not correct anymore. He has now the meaning of Sigma. The simulation is made with Sigma=6.