Skip to content

Commit

Permalink
Fixing diode and MIM issues for models
Browse files Browse the repository at this point in the history
  • Loading branch information
FaragElsayed2 committed Jan 24, 2023
1 parent ce68168 commit 472b8be
Show file tree
Hide file tree
Showing 29 changed files with 208 additions and 177 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Vn n 0 dc 1
.options tnom={{temp}}


dn n 0 {{device}} AREA = {{area}}p PJ = {{pj}}u
dn n 0 {{device}} AREA = {{area}}p PJ = {{perim}}u

.control
set filetype=ascii
Expand All @@ -38,12 +38,7 @@ save @dn[cd]
*******************
DC Vn $&vn_min $&vn_max $&vn_step

* ** parameters calculation

print @dn[cd]*1000000000000000

wrdata diode_regr/{{device}}/{{device}}_netlists_cv/simulated_W{{width}}_L{{length}}_t{{temp}}_{{corner}}.csv @dn[cd]*1000000000000000

wrdata diode_regr/{{device}}/{{device}}_netlists_cv/simulated_A{{area}}_P{{perim}}_t{{temp}}_{{corner}}.csv @dn[cd]*1e15

.endc

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,19 @@ Vn n 0 dc 1
.temp {{temp}}
.options tnom={{temp}}



dn1 n 0 {{device}} AREA = {{area}}p PJ = {{pj}}u
dn1 n 0 {{device}} AREA = {{area}}p PJ = {{perim}}u

**** begin architecture code


.control
set filetype=ascii

dc Vn -40.41 1.41 0.41
print abs(i(Vn))

wrdata diode_regr/{{device}}/{{device}}_netlists_iv/simulated_W{{width}}_L{{Length}}_t{{temp}}_{{corner}}.csv abs(i(Vn))
wrdata diode_regr/{{device}}/{{device}}_netlists_iv/simulated_A{{area}}_P{{perim}}_t{{temp}}_{{corner}}.csv abs(i(Vn))
.endc



** library calling

.include "../../../design.ngspice"
Expand Down
Loading

0 comments on commit 472b8be

Please sign in to comment.