Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resistor Model issue #59

Open
christoph-weiser opened this issue Oct 9, 2022 · 6 comments
Open

Resistor Model issue #59

christoph-weiser opened this issue Oct 9, 2022 · 6 comments
Assignees

Comments

@christoph-weiser
Copy link

Expected Behavior

ppolyf_u_2k_6p0 has a sheet resistance of 2k/square.

Actual Behavior

The resistance is much lower than this (68 ohm).
This is also true for the other ppolyf resistors. Also the modelling of the parasitic capacitance
is not compatible with ngspice.

Steps to Reproduce the Problem

* Netlist

Vin top GND 1
XR1 GND top GND ppolyf_u_2k_6p0 r_length=1e-6 r_width=1e-6 m=1

.control
op
let ires=-1*vin#branch
let res=1/ires
print res
.endc

.inc design.ngspice
.lib sm141064.ngspice res_typical

.GLOBAL GND
.end
@mithro
Copy link
Contributor

mithro commented Oct 9, 2022

@atorkmabrains / @mkkassem - Thoughts?

@atorkmabrains
Copy link
Collaborator

Hi @mithro and @christoph-weiser,

We have reported this back to the foundry and we are aware that some of the models are not matching the actual measurement from foundry.

Please check the following document:
https://docs.google.com/spreadsheets/d/1xxxg_VzZWJ1NNysSMcOVzyUin7M2dvtb_E7X-5WQKJ0/edit?usp=sharing

@atorkmabrains
Copy link
Collaborator

@mithro and @christoph-weiser We will update the resistors models in ng-spice to make sure that they match.

@atorkmabrains
Copy link
Collaborator

@mithro and @christoph-weiser Please find the fix for this issue here: #61

@christoph-weiser
Copy link
Author

@atorkmabrains thanks for the update. I can confirm that the resistance is now corrected.

I'm however still wondering about the modelling of the substrate capacitance.


.model fox_sub c cox=8.85E-05

c1  1 3  fox_sub       l='r_l/2' w=r_w dtemp=dtemp
c2  2 3  fox_sub       l='r_l/2' w=r_w dtemp=dtemp

From the ngspice manual i cannot find cox being a valid input to the semiconductor capacitor model or any of the other "c" models for that matter.

@atorkmabrains
Copy link
Collaborator

@christoph-weiser There is a capacitance associated with the resistor model in the subcircuit definition for the resistor. I don't know if they have taken the substrate capacitance the way you mentioned. I also didn't quantify that against the silicon R/C data. We are planning to do that later.

proppy pushed a commit to proppy/globalfoundries-pdk-libs-gf180mcu_fd_pr that referenced this issue Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants